Skip to content

Commit

Permalink
624 drystones / 2428 video
Browse files Browse the repository at this point in the history
  • Loading branch information
xrip committed Dec 3, 2023
1 parent b85e016 commit 46e1c1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ void writew86(uint32_t addr32, uint16_t value) {
}
}

INLINE uint8_t read86rom(uint32_t addr32) {
static __inline uint8_t read86rom(uint32_t addr32) {
if ((addr32 >= 0xFE000UL) && (addr32 <= 0xFFFFFUL)) {
// BIOS ROM range
return BIOS[addr32 - 0xFE000UL];
Expand All @@ -483,7 +483,7 @@ INLINE uint8_t read86rom(uint32_t addr32) {
return 0;
}

INLINE uint16_t read16arr(uint8_t* arr, uint32_t base_addr, uint32_t addr32) {
static __inline uint16_t read16arr(uint8_t* arr, uint32_t base_addr, uint32_t addr32) {
register uint8_t* ptr = arr + addr32 - base_addr;
register uint16_t b1 = *ptr++;
register uint16_t b0 = *ptr;
Expand Down

0 comments on commit 46e1c1d

Please sign in to comment.