Skip to content

Commit bb0c787

Browse files
committed
libretro: add OSD message when core system files are not installed
1 parent 3e215aa commit bb0c787

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Source/Core/DolphinLibretro/Boot.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,12 @@ bool retro_load_game(const struct retro_game_info* game)
304304
const std::string codehandler = std::string(sys_dir) + DIR_SEP GECKO_CODE_HANDLER;
305305

306306
if (!File::Exists(codehandler))
307+
{
308+
OSD::AddMessage(fmt::format("Core file {} missing! Go to Online Updater ->\nCore System Files Downloader -> Install Dolphin.zip",
309+
GECKO_CODE_HANDLER), OSD::Duration::VERY_LONG, OSD::Color::RED);
307310
ERROR_LOG_FMT(BOOT, "Core file {} missing! Go to Online Updater -> Core System Files Downloader -> Install Dolphin.zip",
308311
GECKO_CODE_HANDLER);
312+
}
309313

310314
// Main.Core
311315
Config::SetBase(Config::MAIN_CPU_CORE,

0 commit comments

Comments
 (0)