Skip to content

Commit 6607b2e

Browse files
authored
Merge pull request #97 from Provenance-Emu/libretro/fix/gpu-logic-or
Fix logical OR bug in GPU address range check
2 parents ec991b1 + 6e99d12 commit 6607b2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ void GPUWriteWord(uint32_t offset, uint16_t data, uint32_t who/*=UNKNOWN*/)
442442

443443
return;
444444
}
445-
else if ((offset == GPU_WORK_RAM_BASE + 0x0FFF) || (GPU_CONTROL_RAM_BASE + 0x1F))
445+
else if ((offset == GPU_WORK_RAM_BASE + 0x0FFF) || (offset == GPU_CONTROL_RAM_BASE + 0x1F))
446446
return;
447447

448448
// Have to be careful here--this can cause an infinite loop!

0 commit comments

Comments
 (0)