From d770d67b9d765db8903ea049e3e1611527057211 Mon Sep 17 00:00:00 2001 From: Souryo Date: Sun, 24 Jul 2016 13:51:21 -0400 Subject: [PATCH] Fixed function signatures for PGO/Test helpers --- PGOHelper/PGOHelper.cpp | 4 ++-- TestHelper/TestHelper.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PGOHelper/PGOHelper.cpp b/PGOHelper/PGOHelper.cpp index 48b28e73..53bb12ed 100644 --- a/PGOHelper/PGOHelper.cpp +++ b/PGOHelper/PGOHelper.cpp @@ -4,7 +4,7 @@ #include extern "C" { - void __stdcall InitializeEmu(char* homeFolder, void*, void*); + void __stdcall InitializeEmu(char* homeFolder, void*, void*, bool, bool, bool); void __stdcall LoadROM(const char* filename, int32_t archiveFileIndex); void __stdcall Run(); void __stdcall Stop(); @@ -32,7 +32,7 @@ int main(int argc, char* argv[]) "..\\..\\Games\\Dragon Warrior IV (USA).nes" }; - InitializeEmu("C:\\Windows\\Temp\\Mesen", nullptr, nullptr); + InitializeEmu("C:\\Windows\\Temp\\Mesen", nullptr, nullptr, false, false, false); LoadROM(testRoms[0], -1); std::cout << "Running: " << testRoms[0] << std::endl; thread testThread([testRoms] { diff --git a/TestHelper/TestHelper.cpp b/TestHelper/TestHelper.cpp index 82d2e025..f213a51d 100644 --- a/TestHelper/TestHelper.cpp +++ b/TestHelper/TestHelper.cpp @@ -33,7 +33,7 @@ public: }; extern "C" { - void __stdcall InitializeEmu(const char* homeFolder, void*, void*); + void __stdcall InitializeEmu(const char* homeFolder, void*, void*, bool, bool, bool); void __stdcall SetControllerType(uint32_t port, ControllerType type); int __stdcall RomTestRun(char* filename); void __stdcall LoadROM(char* filename); @@ -140,7 +140,7 @@ int main(int argc, char* argv[]) char* testFilename = argv[2]; RegisterNotificationCallback((NotificationListenerCallback)OnNotificationReceived); - InitializeEmu(mesenFolder.c_str(), nullptr, nullptr); + InitializeEmu(mesenFolder.c_str(), nullptr, nullptr, false, false, false); SetControllerType(0, ControllerType::StandardController); SetControllerType(1, ControllerType::StandardController);