Skip to content

Commit

Permalink
Missed one line
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed May 24, 2024
1 parent 935bd73 commit 27e124f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libogc/sdgecko_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ s32 sdgecko_doUnmount(s32 drv_no)
}
_ioFlag[drv_no] = NOT_INITIALIZED;
_ioCardInserted[drv_no] = FALSE;
if(drv_no!=2) {
if(drv_no!=2 && _ioCardSelect[drv_no]==EXI_DEVICE_0) {
EXI_Detach(drv_no);
sdgecko_ejectedCB(drv_no);
}
Expand Down

0 comments on commit 27e124f

Please sign in to comment.