aboutsummaryrefslogtreecommitdiff
path: root/source/getset.h
diff options
context:
space:
mode:
authorJoão Silva2017-01-16 22:39:57 +0000
committerJoão Silva2017-01-16 22:39:57 +0000
commitcbbfa871ae3d9db3852d9122a6d8355896c073ed (patch)
tree73e7755d117b8dd9eea499977c632727deb20d00 /source/getset.h
parent7ed90abe19954aaf1fa56657a08e3cae4c8a67ce (diff)
downloadsnes9x2005-cbbfa871ae3d9db3852d9122a6d8355896c073ed.tar.gz
snes9x2005-cbbfa871ae3d9db3852d9122a6d8355896c073ed.tar.bz2
snes9x2005-cbbfa871ae3d9db3852d9122a6d8355896c073ed.zip
Many cleanups.
Diffstat (limited to 'source/getset.h')
-rw-r--r--source/getset.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/getset.h b/source/getset.h
index 8939e76..ebd377a 100644
--- a/source/getset.h
+++ b/source/getset.h
@@ -478,11 +478,9 @@ INLINE uint8_t* GetBasePointer(uint32_t Address)
}
case MAP_SPC7110_ROM:
return Get7110BasePtr(Address);
- case MAP_PPU:
- //just a guess, but it looks like this should match the CPU as a source.
- return (Memory.FillRAM);
- case MAP_CPU:
- //fixes Ogre Battle's green lines
+ case MAP_PPU: //just a guess, but it looks like this should match the CPU as a source.
+ case MAP_CPU: //fixes Ogre Battle's green lines
+ case MAP_OBC_RAM:
return (Memory.FillRAM);
case MAP_DSP:
return (Memory.FillRAM - 0x6000);
@@ -495,8 +493,6 @@ INLINE uint8_t* GetBasePointer(uint32_t Address)
return (Memory.SRAM - 0x6000);
case MAP_C4:
return (Memory.C4RAM - 0x6000);
- case MAP_OBC_RAM:
- return GetBasePointerOBC1(Address);
case MAP_SETA_DSP:
return Memory.SRAM;
case MAP_DEBUG: