desktop-ui: surround sg1000a with CORE_SG ifdef

このコミットが含まれているのは:
Luke Usher 2023-10-25 09:42:13 +01:00
コミット a47bbea7a2
1個のファイルの変更4行の追加3行の削除

ファイルの表示

@ -41,6 +41,7 @@ auto Arcade::load() -> bool {
if(!system->load()) return false;
//Determine from the game manifest which core to use for the given arcade rom
#ifdef CORE_SG
if(game->pak->attribute("board") == "sg1000a") {
if(!ares::SG1000::load(root, {"[Sega] SG-1000A"})) return false;
systemPakName = "SG-1000A";
@ -50,11 +51,11 @@ auto Arcade::load() -> bool {
port->allocate();
port->connect();
}
} else {
return false;
return true;
}
#endif
return true;
return false;
}
auto Arcade::save() -> bool {