From 27e124f88580d2c262560483dc4df20a0283c9ce Mon Sep 17 00:00:00 2001 From: Extrems Date: Fri, 24 May 2024 01:25:27 -0400 Subject: [PATCH] Missed one line --- libogc/sdgecko_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libogc/sdgecko_io.c b/libogc/sdgecko_io.c index 66bf7f0b..987a64ef 100644 --- a/libogc/sdgecko_io.c +++ b/libogc/sdgecko_io.c @@ -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); }