Skip to content

Commit

Permalink
Create null GS handler for IOP tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed May 31, 2021
1 parent 340ece9 commit 62297f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/AutoTest/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ void ExecuteIopTest(const fs::path& testFilePath)
CPS2VM virtualMachine;
virtualMachine.Initialize();
virtualMachine.Reset();
virtualMachine.CreateGSHandler(CGSH_Null::GetFactoryFunction());
{
auto iopOs = dynamic_cast<CIopBios*>(virtualMachine.m_iop->m_bios.get());
int32 rootModuleId = iopOs->LoadModuleFromHost(moduleData.data());
Expand Down

0 comments on commit 62297f6

Please sign in to comment.