Skip to content

Commit

Permalink
getcolor inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Baekalfen committed Nov 11, 2023
1 parent 03eee48 commit b00ee42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyboy/core/lcd.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ cdef class PaletteRegister:
@cython.locals(x=uint16_t)
cdef bint set(self, uint64_t) noexcept
cdef uint8_t get(self) noexcept
cdef uint32_t getcolor(self, uint8_t) noexcept
cdef inline uint32_t getcolor(self, uint8_t) noexcept

cdef class STATRegister:
cdef uint8_t value
Expand Down Expand Up @@ -270,7 +270,7 @@ cdef class PaletteColorRegister:
cdef uint32_t cgb_to_rgb(self, uint16_t, uint8_t) noexcept
cdef void set(self, uint16_t) noexcept
cdef uint16_t get(self) noexcept
cdef uint32_t getcolor(self, uint8_t, uint8_t) noexcept
cdef inline uint32_t getcolor(self, uint8_t, uint8_t) noexcept

cdef void save_state(self, IntIOInterface) noexcept
cdef void load_state(self, IntIOInterface, int) noexcept

0 comments on commit b00ee42

Please sign in to comment.