From a002255e355adc0f9eddec124f15070ff13a9f98 Mon Sep 17 00:00:00 2001 From: kub Date: Sat, 9 May 2020 10:45:56 +0200 Subject: [PATCH] 32x: libretro bugfix --- platform/libretro/libretro.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/libretro/libretro.c b/platform/libretro/libretro.c index 9111048f..0794f555 100644 --- a/platform/libretro/libretro.c +++ b/platform/libretro/libretro.c @@ -83,6 +83,8 @@ static short ALIGNED(4) sndBuffer[2*44100/50]; static void snd_write(int len); +char **g_argv; + #ifdef _WIN32 #define SLASH '\\' #else @@ -500,6 +502,8 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols) void emu_32x_startup(void) { + PicoDrawSetOutFormat(PDF_RGB555, 0); + PicoDrawSetOutBuf(vout_buf, vout_width * 2); } void lprintf(const char *fmt, ...) -- 2.39.5