aboutsummaryrefslogtreecommitdiff
path: root/source/cpuexec.cpp
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-08 03:23:55 -0500
committerNebuleon Fumika2013-01-08 03:23:55 -0500
commit12c5afbe60035f52da6ae33e853ea01fe075d06c (patch)
tree021b1a3c2a5cfe2cfb1d08b3919852a36f10117d /source/cpuexec.cpp
parente4d3aeac2ac45a5c8b650e04a81842ebed666d71 (diff)
downloadsnes9x2005-12c5afbe60035f52da6ae33e853ea01fe075d06c.tar.gz
snes9x2005-12c5afbe60035f52da6ae33e853ea01fe075d06c.tar.bz2
snes9x2005-12c5afbe60035f52da6ae33e853ea01fe075d06c.zip
GLORIOUS interrupt-based sound playback. Now, the note-length-hopping problem isn't as apparent anymore, and automatic frame skipping doesn't go to 8 FPS all the time in Super Mario World. Thank the deities!
Reverses the auto frameskip synchronisation from commit dac11c74ac112728016e51625ac9f2a727152ddd, because that doesn't play well with interrupts.
Diffstat (limited to 'source/cpuexec.cpp')
-rw-r--r--source/cpuexec.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/cpuexec.cpp b/source/cpuexec.cpp
index b90da6d..c4836ec 100644
--- a/source/cpuexec.cpp
+++ b/source/cpuexec.cpp
@@ -211,19 +211,8 @@ void S9xClearIRQ (uint32 source)
CLEAR_IRQ_SOURCE (source);
}
-static unsigned int sync_last= 0;
-static unsigned int sync_next = 0;
-static unsigned int framenum = 0;
-static unsigned int realframe = 0;
-
-extern "C" unsigned int game_fast_forward;
-static unsigned int skip_rate= 0;
-
void S9xDoHBlankProcessing ()
{
- unsigned int syncnow;
- unsigned int syncdif;
-
#ifdef CPU_SHUTDOWN
CPU.WaitCounter++;
#endif