From eecc39834949e6affbf3268cb5405a296cd12216 Mon Sep 17 00:00:00 2001 From: Javier Degirolmo Date: Mon, 22 Apr 2013 05:30:00 -0300 Subject: Now you can change the sample rate of PCM instruments --- src-z80/core/main.z80 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src-z80/core/main.z80') diff --git a/src-z80/core/main.z80 b/src-z80/core/main.z80 index 1bd6074..33d8ec4 100644 --- a/src-z80/core/main.z80 +++ b/src-z80/core/main.z80 @@ -101,6 +101,8 @@ PollPCM: macro ;**************************************************************************** ; RunCommand ; Checks which command to run +;---------------------------------------------------------------------------- +; To-do: replace with pointer list? ;**************************************************************************** RunCommand: @@ -116,6 +118,8 @@ RunCommand: jp z, StopBGMCmd dec a ; Command $06: resume BGM jp z, ResumeBGM + dec a ; Command $07: set PCM rate + jp z, SetPCMRate PollPCM -- cgit v1.2.3