notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
another timer change for Dai Makaimura
[picodrive.git]
/
platform
/
gizmondo
/
menu.c
diff --git
a/platform/gizmondo/menu.c
b/platform/gizmondo/menu.c
index
4f156b4
..
64222e5
100644
(file)
--- a/
platform/gizmondo/menu.c
+++ b/
platform/gizmondo/menu.c
@@
-1618,10
+1618,11
@@
int menu_loop_tray(void)
case 0: // select image
\r
selfname = romsel_loop(curr_path);
\r
if (selfname) {
\r
case 0: // select image
\r
selfname = romsel_loop(curr_path);
\r
if (selfname) {
\r
- int ret = -1, cd_type;
\r
+ int ret = -1;
\r
+ cd_img_type cd_type;
\r
cd_type = emu_cdCheck(NULL);
\r
cd_type = emu_cdCheck(NULL);
\r
- if (cd_type
> 0
)
\r
- ret = Insert_CD(romFileName, cd_type
== 2
);
\r
+ if (cd_type
!= CIT_NOT_CD
)
\r
+ ret = Insert_CD(romFileName, cd_type);
\r
if (ret != 0) {
\r
sprintf(menuErrorMsg, "Load failed, invalid CD image?");
\r
lprintf("%s\n", menuErrorMsg);
\r
if (ret != 0) {
\r
sprintf(menuErrorMsg, "Load failed, invalid CD image?");
\r
lprintf("%s\n", menuErrorMsg);
\r