mirror of
https://github.com/libretro/Mesen.git
synced 2025-01-31 13:52:19 +00:00
Automatic tests: PAL test support
This commit is contained in:
parent
82884113d7
commit
e0dc31c9ef
@ -188,6 +188,12 @@ int32_t AutoRomTest::Run(string filename)
|
||||
EmulationSettings::ClearFlags(EmulationFlags::Mmc3IrqAltBehavior);
|
||||
}
|
||||
|
||||
if(testName.compare("demo_pal") == 0 || testName.substr(0, 4).compare("pal_") == 0) {
|
||||
EmulationSettings::SetNesModel(NesModel::PAL);
|
||||
} else {
|
||||
EmulationSettings::SetNesModel(NesModel::NTSC);
|
||||
}
|
||||
|
||||
ZipReader zipReader;
|
||||
zipReader.LoadArchive(filename);
|
||||
std::stringstream testData = zipReader.GetStream("TestData.mrt");
|
||||
|
Loading…
x
Reference in New Issue
Block a user