(Win32) Works now with Win32 Mingw - had to implement mmap implementation
[picodrive.git] / platform / gp2x / plat.c
index 321a4b6..2a3b079 100644 (file)
@@ -198,13 +198,11 @@ void plat_init(void)
        // use buffer2 for menubg to save mem (using only buffers 0, 1 in menu)
        g_menubg_ptr = gp2x_screens[2];
 
-       // snd
-       sndout_oss_init();
-
        if (gp2x_dev_id == GP2X_DEV_CAANOO)
                in_set_config(in_name_to_id("evdev:pollux-analog"), IN_CFG_KEY_NAMES,
                                caanoo_keys, sizeof(caanoo_keys));
 
+       flip_after_sync = 1;
        gp2x_menu_init();
 }
 
@@ -227,7 +225,5 @@ void plat_finish(void)
                dummy_finish();
                break;
        }
-
-       sndout_oss_exit();
 }