mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-11-28 01:00:33 +00:00
Oops, my bad
This commit is contained in:
parent
1b89294075
commit
a723031bc4
@ -1113,11 +1113,12 @@ static bool LoadBios(const string_view& name, const string& type, u8* buffer, si
|
||||
return true;
|
||||
};
|
||||
|
||||
// Prefer looking in "system/melonDS DS/${name}", but fall back to "system/${name}" if that fails
|
||||
if (optional<string> path = retro::get_system_subdir_path(name); path && LoadBiosImpl(*path)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (optional<string> path = retro::get_system_path(name); path || !LoadBiosImpl(*path)) {
|
||||
if (optional<string> path = retro::get_system_path(name); path && LoadBiosImpl(*path)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user