apply new hard reset strategy on all OPN chips
This commit is contained in:
parent
48a1e6a976
commit
b33ea8f0ac
6 changed files with 187 additions and 100 deletions
|
|
@ -47,6 +47,8 @@ class DivPlatformFMBase: public DivDispatch {
|
|||
0,2,1,3
|
||||
};
|
||||
|
||||
const unsigned int hardResetCycles=127;
|
||||
|
||||
struct FMChannel: public SharedChannel<int> {
|
||||
DivInstrumentFM state;
|
||||
unsigned char freqH, freqL;
|
||||
|
|
@ -83,7 +85,6 @@ class DivPlatformFMBase: public DivDispatch {
|
|||
|
||||
unsigned char lastBusy;
|
||||
int delay;
|
||||
unsigned int hardResetCycles;
|
||||
bool flushFirst;
|
||||
|
||||
unsigned char regPool[512];
|
||||
|
|
@ -124,7 +125,6 @@ class DivPlatformFMBase: public DivDispatch {
|
|||
DivDispatch(),
|
||||
lastBusy(0),
|
||||
delay(0),
|
||||
hardResetCycles(0),
|
||||
flushFirst(false) {}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue