input: rework abs handling, change API, allow custom key names
[libpicofe.git] / win32 / plat.c
index 4173da3..f83a901 100644 (file)
 static unsigned short screen_buff[320 * 240];
 static unsigned char PicoDraw2FB_[(8+320) * (8+240+8)];
 unsigned char *PicoDraw2FB = PicoDraw2FB_;
-const char **renderer_names = NULL;
-const char **renderer_names32x = NULL;
-
-char cpu_clk_name[] = "unused";
+const char *renderer_names[] = { NULL };
+const char *renderer_names32x[] = { NULL };
 
 void plat_init(void)
 {
@@ -82,7 +80,7 @@ void pemu_loop_end(void)
        pemu_sound_stop();
 }
 
-void pemu_forced_frame(int opts)
+void pemu_forced_frame(int opts, int no_scale)
 {
 }
 
@@ -219,12 +217,12 @@ void plat_debug_cat(char *str)
 }
 
 // required by pico
-int mp3_get_bitrate(FILE *f, int size)
+int mp3_get_bitrate(void *f, int size)
 {
        return 128;
 }
 
-void mp3_start_play(FILE *f, int pos)
+void mp3_start_play(void *f, int pos)
 {
 }