PC speaker: register view

one register :p
This commit is contained in:
tildearrow 2022-03-07 01:54:28 -05:00
parent 8f957baa3e
commit 165a8a4361

View file

@ -310,6 +310,13 @@ void* DivPlatformPCSpeaker::getChanState(int ch) {
}
unsigned char* DivPlatformPCSpeaker::getRegisterPool() {
if (on) {
regPool[0]=freq;
regPool[1]=freq>>8;
} else {
regPool[0]=0;
regPool[1]=0;
}
return regPool;
}