Skip to content

Commit

Permalink
fixup: Trying to fix rgb-bgr signed overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Jan 20, 2024
1 parent 7552018 commit f0321a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyboy/core/lcd.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ cdef uint8_t CGB_NUM_PALETTES

cdef Logger logger

@cython.locals(a=uint32_t, r=uint32_t, g=uint32_t, b=uint32_t)
cpdef uint32_t rgb_to_bgr(uint32_t) noexcept

cdef class LCD:
cdef bint disable_renderer
cdef uint8_t[8 * 1024] VRAM0
Expand Down

0 comments on commit f0321a3

Please sign in to comment.