aboutsummaryrefslogtreecommitdiff
path: root/src/SPU.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SPU.h')
-rw-r--r--src/SPU.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SPU.h b/src/SPU.h
index 8ab17a0..964841d 100644
--- a/src/SPU.h
+++ b/src/SPU.h
@@ -69,6 +69,7 @@ public:
u8 VolumeShift;
u8 Pan;
+ bool KeyOn;
u32 Timer;
s32 Pos;
s16 CurSample;
@@ -105,7 +106,7 @@ public:
if ((val & (1<<31)) && !(oldcnt & (1<<31)))
{
- Start();
+ KeyOn = true;
}
}