diff options
author | Nebuleon Fumika | 2013-01-08 16:26:43 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-01-08 16:26:43 -0500 |
commit | 1896286ad5bbe3390ccaf2e7ca54917a3a48a42f (patch) | |
tree | 355b041e1de11a37ca2c7a8bc054090e764f7fd0 /source/sa1.cpp | |
parent | 65f1ead0e736f857df83277465fdc068419d7434 (diff) | |
download | snes9x2005-1896286ad5bbe3390ccaf2e7ca54917a3a48a42f.tar.gz snes9x2005-1896286ad5bbe3390ccaf2e7ca54917a3a48a42f.tar.bz2 snes9x2005-1896286ad5bbe3390ccaf2e7ca54917a3a48a42f.zip |
Permanently remove NO_OPEN_BUS hacks. It was a premature optimisation.
Diffstat (limited to 'source/sa1.cpp')
-rw-r--r-- | source/sa1.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/sa1.cpp b/source/sa1.cpp index 1f6b13f..4dbf9b0 100644 --- a/source/sa1.cpp +++ b/source/sa1.cpp @@ -228,23 +228,14 @@ uint8 S9xSA1GetByte (uint32 address) #ifdef DEBUGGER // printf ("R(B) %06x\n", address); #endif -#ifndef NO_OPEN_BUS return OpenBus; -#else - return 0; // Arbitrarily chosen value [Neb] -#endif } } uint16 S9xSA1GetWord (uint32 address) { -#ifndef NO_OPEN_BUS OpenBus = S9xSA1GetByte (address); return (OpenBus | (S9xSA1GetByte (address + 1) << 8)); -#else - uint8 Split = S9xSA1GetByte (address); - return (Split | (S9xSA1GetByte (address + 1) << 8)); -#endif } void S9xSA1SetByte (uint8 byte, uint32 address) |