Fix OPL detect.
Subversion-branch: /branches/opl-branch Subversion-revision: 1536
This commit is contained in:
parent
223879d264
commit
b695843cc5
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ int DetectOPL(void)
|
|||
WriteReg(OPL_REG_TIMER_CTRL, 0x60);
|
||||
WriteReg(OPL_REG_TIMER_CTRL, 0x80);
|
||||
|
||||
return val1 != 0 || val2 != 0xc0;
|
||||
return val1 == 0 && val2 == 0xc0;
|
||||
}
|
||||
|
||||
void Init(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue