Skip to content

Commit 551072b

Browse files
authored
Update pgm2_run.cpp (#2499)
1 parent 395c416 commit 551072b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/burn/drv/pgm2/pgm2_run.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,13 @@ static void pgm2McuCommand(bool isCommand)
851851
break;
852852

853853
case 0xc0: // insert card / check card presence
854-
case 0xc1: // check ready/busy
854+
if (!pgm2CardPresent(arg1 & 3)) {
855+
status = 0x00f70000;
856+
}
857+
Pgm2McuResult0 = cmd;
858+
break;
859+
860+
case 0xc1: // check ready/busy
855861
if (!pgm2CardPresent(arg1)) {
856862
status = 0x00f40000;
857863
}

0 commit comments

Comments
 (0)