mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
handle 32x+cd
This commit is contained in:
parent
87650acd75
commit
fa8fb75445
11 changed files with 191 additions and 103 deletions
|
@ -287,6 +287,7 @@ enum media_type_e PicoLoadMedia(const char *filename,
|
|||
goto out;
|
||||
}
|
||||
rom_data = NULL; // now belongs to PicoCart
|
||||
Pico.m.ncart_in = 0;
|
||||
|
||||
// insert CD if it was detected
|
||||
if (cd_img_type != CIT_NOT_CD) {
|
||||
|
@ -296,6 +297,7 @@ enum media_type_e PicoLoadMedia(const char *filename,
|
|||
media_type = PM_BAD_CD;
|
||||
goto out;
|
||||
}
|
||||
Pico.m.ncart_in = 1;
|
||||
}
|
||||
|
||||
if (PicoQuirks & PQUIRK_FORCE_6BTN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue