mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Fixed function signatures for PGO/Test helpers
This commit is contained in:
parent
aef43b1c3c
commit
d770d67b9d
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <string>
|
||||
|
||||
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] {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue