notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
infoprint, FDS moviefix, alignment bugfixing
[fceu.git]
/
drivers
/
gp2x
/
input.c
diff --git
a/drivers/gp2x/input.c
b/drivers/gp2x/input.c
index
cc8132b
..
99a0867
100644
(file)
--- a/
drivers/gp2x/input.c
+++ b/
drivers/gp2x/input.c
@@
-98,15
+98,18
@@
static void do_emu_acts(uint32 acts)
}
else if (acts & (1 << 27)) // FDS insert/eject
{
}
else if (acts & (1 << 27)) // FDS insert/eject
{
- FCEU_DoSimpleCommand(FCEUNPCMD_FDSINSERT);
+ if(FCEUGameInfo.type == GIT_FDS)
+ FCEU_DoSimpleCommand(FCEUNPCMD_FDSINSERT);
}
else if (acts & (1 << 26)) // FDS select
{
}
else if (acts & (1 << 26)) // FDS select
{
- FCEU_DoSimpleCommand(FCEUNPCMD_FDSSELECT);
+ if(FCEUGameInfo.type == GIT_FDS)
+ FCEU_DoSimpleCommand(FCEUNPCMD_FDSSELECT);
}
else if (acts & (1 << 25)) // VS Unisystem insert coin
{
}
else if (acts & (1 << 25)) // VS Unisystem insert coin
{
- FCEU_DoSimpleCommand(FCEUNPCMD_VSUNICOIN);
+ if(FCEUGameInfo.type == GIT_VSUNI)
+ FCEU_DoSimpleCommand(FCEUNPCMD_VSUNICOIN);
}
}
}
}