#include "../common/fonts.h"\r
#include "../common/emu.h"\r
#include "../common/config.h"\r
+#include "../common/input.h"\r
#include "../linux/sndout_oss.h"\r
#include "cpuctrl.h"\r
\r
SRam.changed = 0;\r
}\r
\r
- if (!(currentConfig.EmuOpt & 0x20)) {\r
- config_writelrom(PicoConfigFile);\r
-#ifndef NO_SYNC\r
- sync();\r
-#endif\r
- }\r
+ if (!(currentConfig.EmuOpt & EOPT_NO_AUTOSVCFG))\r
+ emu_writelrom();\r
\r
free(PicoDraw2FB);\r
\r
keys &= CONFIGURABLE_KEYS;\r
keys2 = keys;\r
\r
+#if 1\r
+ /* FIXME: combos, player2 */\r
+ allActions[0] = in_update();\r
+#else\r
for (i = 0; i < 32; i++)\r
{\r
if (keys2 & (1 << i))\r
}\r
}\r
}\r
+#endif\r
\r
// add joy inputs\r
if (num_of_joys > 0)\r