continuing input framework integration
[libpicofe.git] / common / emu.c
index eaabe08..58fee61 100644 (file)
@@ -17,9 +17,9 @@
 #include "config.h"\r
 #include "common.h"\r
 \r
-#include <Pico/PicoInt.h>\r
-#include <Pico/Patch.h>\r
-#include <Pico/cd/cue.h>\r
+#include <pico/pico_int.h>\r
+#include <pico/patch.h>\r
+#include <pico/cd/cue.h>\r
 #include <zlib/zlib.h>\r
 \r
 \r
@@ -670,6 +670,16 @@ int emu_WriteConfig(int is_game)
 }\r
 \r
 \r
+void emu_writelrom(void)\r
+{\r
+       char cfg[512];\r
+       make_config_cfg(cfg);\r
+       config_writelrom(cfg);\r
+#ifndef NO_SYNC\r
+       sync();\r
+#endif\r
+}\r
+\r
 #ifndef UIQ3\r
 void emu_textOut8(int x, int y, const char *text)\r
 {\r