fix corruption on empty sel_fname
[libpicofe.git] / gp2x / soc_dummy.c
index ad01ab7..21aef2a 100644 (file)
@@ -1,8 +1,19 @@
+/*
+ * (C) GraÅžvydas "notaz" Ignotas, 2009,2010
+ *
+ * This work is licensed under the terms of any of these licenses
+ * (at your option):
+ *  - GNU GPL, version 2 or later.
+ *  - GNU LGPL, version 2.1 or later.
+ *  - MAME license.
+ * See the COPYING file in the top-level directory.
+ */
+
 /* dummy code for qemu testing, etc */
 #include <stdlib.h>
 
 #include "soc.h"
-#include "../common/emu.h"
+#include "../emu.h"
 
 extern void *gp2x_screens[4];
 
@@ -35,11 +46,6 @@ static void gp2x_video_wait_vsync_(void)
 {
 }
 
-/* CPU clock */
-static void gp2x_set_cpuclk_(unsigned int mhz)
-{
-}
-
 /* RAM timings */
 static void set_ram_timings_(void)
 {
@@ -81,8 +87,6 @@ void dummy_init(void)
        gp2x_video_RGB_setscaling = gp2x_video_RGB_setscaling_;
        gp2x_video_wait_vsync = gp2x_video_wait_vsync_;
 
-       gp2x_set_cpuclk = gp2x_set_cpuclk_;
-
        set_lcd_custom_rate = set_lcd_custom_rate_;
        unset_lcd_custom_rate = unset_lcd_custom_rate_;
        set_lcd_gamma = set_lcd_gamma_;