aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.c
diff options
context:
space:
mode:
authortwinaphex2014-12-15 00:48:14 +0100
committertwinaphex2014-12-15 00:48:14 +0100
commitb27c451831082179cc9bc3c1b3424ebb0f66dd74 (patch)
treeadae88a42dc696f3e5e8c5de6c2d1694091c1fc7 /source/cpuexec.c
parentc26dca005ec484bdb855ef2ba6e1080fd1f8c1ce (diff)
downloadsnes9x2005-b27c451831082179cc9bc3c1b3424ebb0f66dd74.tar.gz
snes9x2005-b27c451831082179cc9bc3c1b3424ebb0f66dd74.tar.bz2
snes9x2005-b27c451831082179cc9bc3c1b3424ebb0f66dd74.zip
Remove ACCUMULATE_READ_JOYPAD
Diffstat (limited to 'source/cpuexec.c')
-rw-r--r--source/cpuexec.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source/cpuexec.c b/source/cpuexec.c
index 7b9cdcd..9319255 100644
--- a/source/cpuexec.c
+++ b/source/cpuexec.c
@@ -103,10 +103,6 @@
#include "sa1.h"
#include "spc7110.h"
-#ifdef ACCUMULATE_JOYPAD
-#include "display.h"
-#endif
-
extern void S9xProcessSound(unsigned int);
void S9xMainLoop_SA1_SFX(void);
@@ -495,15 +491,6 @@ void S9xDoHBlankProcessing_SFX()
switch (CPU.WhichEvent)
{
case HBLANK_START_EVENT:
-#ifdef ACCUMULATE_JOYPAD
- /*
- * This call allows NDSSFC to synchronise the DS controller more often.
- * If porting a later version of Snes9x into NDSSFC, it is essential to
- * preserve it.
- */
- if ((CPU.V_Counter & 0xF) == 0)
- NDSSFCAccumulateJoypad();
-#endif
if (IPPU.HDMA && CPU.V_Counter <= PPU.ScreenHeight)
IPPU.HDMA = S9xDoHDMA(IPPU.HDMA);
@@ -688,14 +675,6 @@ void S9xDoHBlankProcessing_NoSFX()
switch (CPU.WhichEvent)
{
case HBLANK_START_EVENT:
-#ifdef ACCUMULATE_JOYPAD
- /*
- * This call allows NDSSFC to synchronise the DS controller more often.
- * If porting a later version of Snes9x into NDSSFC, it is essential to
- * preserve it.
- */
- NDSSFCAccumulateJoypad();
-#endif
if (IPPU.HDMA && CPU.V_Counter <= PPU.ScreenHeight)
IPPU.HDMA = S9xDoHDMA(IPPU.HDMA);