One result checking is enought to detect OPL3.
This commit is contained in:
parent
7c377fc88a
commit
54c2e6d4e5
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ int OPL_Detect(void)
|
|||
{
|
||||
result1 = OPL_ReadPort(OPL_REGISTER_PORT);
|
||||
result2 = OPL_ReadPort(OPL_REGISTER_PORT_OPL3);
|
||||
if (result1 == 0x00 && result2 == 0xff)
|
||||
if (result1 == 0x00)
|
||||
{
|
||||
return 2;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue