Skip to content

Commit 4941fdf

Browse files
committed
libretro build fix
1 parent 81d4756 commit 4941fdf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/emulator.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,10 @@ void Emulator::loadGame(const char *path, LoadProgress *progress)
638638
{
639639
nvmem::loadFiles();
640640
naomi_cart_LoadRom(settings.content.path, settings.content.fileName, progress);
641+
#ifndef LIBRETRO
641642
if (settings.content.gameId.empty() && settings.naomi.slave)
642643
settings.content.gameId = config::loadStr("naomi", "gameId", "");
644+
#endif
643645
loadGameSpecificSettings();
644646
// Reload the BIOS in case a game-specific region is set
645647
naomi_cart_LoadBios(path);

0 commit comments

Comments
 (0)