add a hack for Decap Attack
[picodrive.git] / platform / gizmondo / main.c
index 7b2dc91..562b7ad 100644 (file)
@@ -1,7 +1,10 @@
-// (c) Copyright 2007 notaz, All rights reserved.\r
-// Free for non-commercial use.\r
-\r
-// For commercial use, separate licencing terms must be obtained.\r
+/*\r
+ * PicoDrive\r
+ * (C) notaz, 2006-2008\r
+ *\r
+ * This work is licensed under the terms of MAME license.\r
+ * See COPYING file in the top-level directory.\r
+ */\r
 \r
 #include <windows.h>\r
 \r
@@ -34,7 +37,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdL
                                break;\r
 \r
                        case PGS_ReloadRom:\r
-                               if (emu_ReloadRom())\r
+                               if (emu_reload_rom(romFileName))\r
                                        engineState = PGS_Running;\r
                                else {\r
                                        lprintf("PGS_ReloadRom == 0\n");\r
@@ -46,7 +49,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdL
                                engineState = PGS_Running;\r
 \r
                        case PGS_Running:\r
-                               emu_Loop();\r
+                               pemu_loop();\r
                                break;\r
 \r
                        case PGS_Quit:\r