core / system: Disc-Region Fix For Netplay

Fixes an issue which is only really valid for netplay since can start from an non-auto region sinc eit pulls it from the host.
This commit is contained in:
Jamie Meyer 2023-05-24 12:33:24 +02:00 committed by GitHub
parent ffb832eed3
commit 36c4345019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1173,9 +1173,9 @@ bool System::BootSystem(SystemBootParameters parameters)
return false; return false;
} }
disc_region = GetRegionForImage(disc.get());
if (s_region == ConsoleRegion::Auto) if (s_region == ConsoleRegion::Auto)
{ {
disc_region = GetRegionForImage(disc.get());
if (disc_region != DiscRegion::Other) if (disc_region != DiscRegion::Other)
{ {
s_region = GetConsoleRegionForDiscRegion(disc_region); s_region = GetConsoleRegionForDiscRegion(disc_region);