notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4d2723
)
platform, fix pad setting from configs files
author
kub
<derkub@gmail.com>
Tue, 7 Dec 2021 20:07:34 +0000
(21:07 +0100)
committer
kub
<derkub@gmail.com>
Tue, 7 Dec 2021 20:07:34 +0000
(21:07 +0100)
platform/common/emu.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/common/emu.c
b/platform/common/emu.c
index
ddfac49
..
1b3e708
100644
(file)
--- a/
platform/common/emu.c
+++ b/
platform/common/emu.c
@@
-508,6
+508,9
@@
int emu_reload_rom(const char *rom_fname_in)
}
\r
else
\r
{
\r
+ PicoSetInputDevice(0, currentConfig.input_dev0);
\r
+ PicoSetInputDevice(1, currentConfig.input_dev1);
\r
+
\r
system_announce();
\r
PicoIn.opt &= ~POPT_DIS_VDP_FIFO;
\r
}
\r
@@
-1288,9
+1291,6
@@
void emu_init(void)
PicoIn.mcdTrayClose = emu_tray_close;
\r
\r
sndout_init();
\r
-
\r
- PicoSetInputDevice(0, currentConfig.input_dev0);
\r
- PicoSetInputDevice(1, currentConfig.input_dev1);
\r
}
\r
\r
void emu_finish(void)
\r