OPN: fix possible crash when CSM is off
This commit is contained in:
parent
45c6a1cbfb
commit
8c2b3ba438
4 changed files with 5 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ class DivPlatformYM2203: public DivPlatformOPN {
|
|||
int init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags);
|
||||
void quit();
|
||||
DivPlatformYM2203():
|
||||
DivPlatformOPN(2, 3, 6, 6, 6, 4720270.0, 36, 16),
|
||||
DivPlatformOPN(2, 3, 6, 6, 6, 4720270.0, 36, 16, false, 6),
|
||||
prescale(0x2d),
|
||||
isCSM(0) {}
|
||||
~DivPlatformYM2203();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue