summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opl/opl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opl/opl.c b/opl/opl.c
index 92ed3b5b..a6ad4a9d 100644
--- a/opl/opl.c
+++ b/opl/opl.c
@@ -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;
}