mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
MemMap: Fixed typo with GetPointer to VRAM address.
This commit is contained in:
parent
2542350b85
commit
c48ab0bd9e
|
@ -168,7 +168,7 @@ u8 *GetPointer(const u32 addr) {
|
||||||
return g_system_mem + (vaddr & SYSTEM_MEMORY_MASK);
|
return g_system_mem + (vaddr & SYSTEM_MEMORY_MASK);
|
||||||
|
|
||||||
// VRAM
|
// VRAM
|
||||||
} else if ((vaddr > VRAM_VADDR) && (vaddr < VRAM_VADDR_END)) {
|
} else if ((vaddr >= VRAM_VADDR) && (vaddr < VRAM_VADDR_END)) {
|
||||||
return g_vram + (vaddr & VRAM_MASK);
|
return g_vram + (vaddr & VRAM_MASK);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue