aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core/main.z80
diff options
context:
space:
mode:
authorJavier Degirolmo2011-11-08 20:42:48 -0300
committerJavier Degirolmo2011-11-08 20:42:48 -0300
commite74812eb87574c625a28c1fe8e35cd6708ec6c88 (patch)
treeb5bf03f0088de5c85655e4676f51bb0976b62bbd /src-z80/core/main.z80
parentec2abd03428ae2c282860f0f2adb0c974586ff4b (diff)
Cleanup and bugfixes. SFXs now restore BGM volume when unlocking, but seems still buggy.
Diffstat (limited to 'src-z80/core/main.z80')
-rw-r--r--src-z80/core/main.z808
1 files changed, 0 insertions, 8 deletions
diff --git a/src-z80/core/main.z80 b/src-z80/core/main.z80
index cb0329e..9ac1aa4 100644
--- a/src-z80/core/main.z80
+++ b/src-z80/core/main.z80
@@ -88,7 +88,6 @@ EntryPoint:
ld (ix+1), $03
ld (ix+0), $26
ld (ix+1), $C9
- ;ld (ix+1), $FF
ld (ix+0), $27
ld (ix+1), $3F
@@ -159,16 +158,9 @@ DoTick:
bit 0, a
call nz, UpdatePCM
-; ld (ix+0), $26 ; Reset timer
-;.timerset:
-; ld (ix+1), $C8
ld (ix+0), $27
ld (ix+1), $2F
-; ld a, (.timerset+3) ; $C8 is too fast, $C9 is too slow
-; xor $01 ; So, we alternate between them to compensate
-; ld (.timerset+3), a
-
PollPCM
DoTick_SFX: ; Process SFXs