From 1896286ad5bbe3390ccaf2e7ca54917a3a48a42f Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Tue, 8 Jan 2013 16:26:43 -0500 Subject: Permanently remove NO_OPEN_BUS hacks. It was a premature optimisation. --- source/sa1.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source/sa1.cpp') 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) -- cgit v1.2.3