File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2606,7 +2606,8 @@ u32 GodMode(int entrypoint) {
2606
2606
break ;
2607
2607
}
2608
2608
} else if (pad_state & (CART_INSERT |CART_EJECT )) {
2609
- if (!InitVCartDrive () && (pad_state & CART_INSERT )) // reinit virtual cart drive
2609
+ if (!InitVCartDrive () && (pad_state & CART_INSERT ) &&
2610
+ (curr_drvtype & DRV_CART )) // reinit virtual cart drive
2610
2611
ShowPrompt (false, "Cart init failed!" );
2611
2612
if (!(* current_path ) || (curr_drvtype & DRV_CART ))
2612
2613
GetDirContents (current_dir , current_path ); // refresh dir contents
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ u64 GetVCartDriveSize(void) {
99
99
100
100
void GetVCartTypeString (char * typestr ) {
101
101
// typestr needs to be at least 11 + 1 chars big
102
- if (!cart_init || !cdata ) sprintf (typestr , cart_checked ? "EMPTY" : "INIT " );
102
+ if (!cart_init || !cdata ) sprintf (typestr , cart_checked ? "EMPTY" : "" );
103
103
else sprintf (typestr , "%s%08lX" ,
104
104
(cdata -> cart_type & CART_CTR ) ? "CTR" :
105
105
(cdata -> cart_type & CART_TWL ) ? "TWL" :
You can’t perform that action at this time.
0 commit comments