summaryrefslogtreecommitdiff
path: root/src/os9x_asm_cpu.c
diff options
context:
space:
mode:
authortwinaphex2015-11-10 04:20:15 +0100
committertwinaphex2015-11-10 04:20:15 +0100
commit6adba795f455f1bec6c89764fc78ecb1249fa66e (patch)
tree8c14ead6aafaf5fcfd2345152ea07d60c7805a04 /src/os9x_asm_cpu.c
parent80b1ab9c519318ad5c2c5f7eb3f6b0349dccee36 (diff)
downloadsnes9x2002-6adba795f455f1bec6c89764fc78ecb1249fa66e.tar.gz
snes9x2002-6adba795f455f1bec6c89764fc78ecb1249fa66e.tar.bz2
snes9x2002-6adba795f455f1bec6c89764fc78ecb1249fa66e.zip
Cleanups
Diffstat (limited to 'src/os9x_asm_cpu.c')
-rw-r--r--src/os9x_asm_cpu.c49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/os9x_asm_cpu.c b/src/os9x_asm_cpu.c
index 6376ea5..7b34956 100644
--- a/src/os9x_asm_cpu.c
+++ b/src/os9x_asm_cpu.c
@@ -203,53 +203,4 @@ void asm_S9xOpcode_IRQ(void)
}
#endif
-/*
-void asm_APU_EXECUTE(int Mode)
-{
-#ifdef __debug_c_apuex__
- printf("apuexec\n");
-#endif
- if(CPU.APU_APUExecuting != Mode) return;
-
- if (Settings.asmspc700)
- {
- if(CPU.APU_Cycles < CPU.Cycles) {
- int cycles = CPU.Cycles - CPU.APU_Cycles;
- CPU.APU_Cycles += cycles - spc700_execute(cycles);
- }
- }
- else
- {
- while (CPU.APU_Cycles <= CPU.Cycles)
- {
- CPU.APU_Cycles += S9xAPUCycles [*IAPU.PC];
- (*S9xApuOpcodes[*IAPU.PC]) ();
- }
- }
-}
-
-
-void asm_APU_EXECUTE2(void)
-{
- if(CPU.APU_APUExecuting != 1) return;
-
- //ICPU.CPUExecuting = FALSE;
- if (Settings.asmspc700)
- {
- if(CPU.APU_Cycles < CPU.NextEvent) {
- int cycles = CPU.NextEvent - CPU.APU_Cycles;
- CPU.APU_Cycles += cycles - spc700_execute(cycles);
- }
- }
- else
- {
- do
- {
- CPU.APU_Cycles += S9xAPUCycles [*IAPU.PC];
- (*S9xApuOpcodes[*IAPU.PC]) ();
- } while (CPU.APU_Cycles < CPU.NextEvent);
- }
- //ICPU.CPUExecuting = TRUE;
-}*/
-
END_EXTERN_C