From ad432a6f700e4144674b9e2e858c24f33d9b57f7 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Sun, 13 Jan 2019 08:45:46 +0800 Subject: [PATCH] libretro: Silence warning --- src/libretro/libretro.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libretro/libretro.cpp b/src/libretro/libretro.cpp index c979f527..8f72f9da 100644 --- a/src/libretro/libretro.cpp +++ b/src/libretro/libretro.cpp @@ -240,6 +240,7 @@ static size_t wram_size(void) // the switching bank properly in GBC mode. This is to avoid possible incorrect reads. // For cheevos purposes, this bank is accessed using retro_memory_descriptor instead. return gbCgbMode ? 0x1000 : 0x2000; + return 0; } static void* vram_ptr(void)