start new makefile, migrate to libpicofe
[picodrive.git] / platform / common / main.c
index 48f218f..5f31b06 100644 (file)
@@ -8,11 +8,11 @@
 #include <string.h>\r
 #include <strings.h>\r
 \r
-#include "menu.h"\r
+#include "../libpicofe/input.h"\r
+#include "../libpicofe/plat.h"\r
+#include "menu_pico.h"\r
 #include "emu.h"\r
 #include "config.h"\r
-#include "input.h"\r
-#include "plat.h"\r
 #include <cpu/debug.h>\r
 #include <version.h>\r
 \r
@@ -72,12 +72,12 @@ int main(int argc, char *argv[])
 {\r
        g_argv = argv;\r
 \r
-       plat_early_init();\r
+       //plat_early_init();\r
 \r
        in_init();\r
        in_probe();\r
 \r
-       plat_init();\r
+       plat_target_init();\r
 \r
        emu_prep_defconfig(); // depends on input\r
        emu_read_config(NULL, 0);\r
@@ -142,7 +142,7 @@ int main(int argc, char *argv[])
        endloop:\r
 \r
        emu_finish();\r
-       plat_finish();\r
+       plat_target_finish();\r
 \r
        return 0;\r
 }\r