aboutsummaryrefslogtreecommitdiff
path: root/src/SPU.h
diff options
context:
space:
mode:
authorWaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>2020-08-05 15:06:15 +0100
committerGitHub <noreply@github.com>2020-08-05 15:06:15 +0100
commit6d71f9c83293006b02a96ce0f5a5f9f65a47cd18 (patch)
tree5558a3a2ae148e7e17fdd56ab0296b883da0aa09 /src/SPU.h
parent7e5eafe345017dc93a68572528e896f896a6e175 (diff)
parente4b1526b477bc66996bce8f0a2f81c2f1cffba63 (diff)
Merge branch 'master' into feature/zip-support
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;
}
}