notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle 32x+cd
[picodrive.git]
/
pico
/
media.c
diff --git
a/pico/media.c
b/pico/media.c
index
597a43c
..
904693f
100644
(file)
--- a/
pico/media.c
+++ b/
pico/media.c
@@
-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)