mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-15 17:25:06 +00:00
PC speaker: register view
one register :p
This commit is contained in:
parent
8f957baa3e
commit
165a8a4361
1 changed files with 7 additions and 0 deletions
|
@ -310,6 +310,13 @@ void* DivPlatformPCSpeaker::getChanState(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char* DivPlatformPCSpeaker::getRegisterPool() {
|
unsigned char* DivPlatformPCSpeaker::getRegisterPool() {
|
||||||
|
if (on) {
|
||||||
|
regPool[0]=freq;
|
||||||
|
regPool[1]=freq>>8;
|
||||||
|
} else {
|
||||||
|
regPool[0]=0;
|
||||||
|
regPool[1]=0;
|
||||||
|
}
|
||||||
return regPool;
|
return regPool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue