From 28a62e9bf21fe0040f895030d03549e1d9255801 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Fri, 8 Mar 2019 18:43:50 -0600 Subject: [PATCH] libretro: Pass ROM directory for any unknown. --- libretro/libretro.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 2a4b90a9..fffcf002 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -1795,12 +1795,10 @@ const char* S9xGetDirectory(s9x_getdirtype type) { switch (type) { - case ROMFILENAME_DIR: - return g_rom_dir; case BIOS_DIR: return retro_system_directory; default: - break; + return g_rom_dir; } return "";