diff --git a/common/include/PS2Edefs.h b/common/include/PS2Edefs.h index 368d234f02..b3c7ddc7b4 100644 --- a/common/include/PS2Edefs.h +++ b/common/include/PS2Edefs.h @@ -532,7 +532,7 @@ typedef void (CALLBACK* _GSprintf)(int timeout, char *fmt, ...); typedef void (CALLBACK* _GSsetBaseMem)(void*); typedef void (CALLBACK* _GSsetGameCRC)(int, int); typedef void (CALLBACK* _GSsetFrameSkip)(int frameskip); -typedef void (CALLBACK* _GSsetFrameLimit)(bool); +typedef void (CALLBACK* _GSsetFrameLimit)(int limit); typedef int (CALLBACK* _GSsetupRecording)(int, void*); typedef void (CALLBACK* _GSreset)(); typedef void (CALLBACK* _GSwriteCSR)(u32 value); diff --git a/plugins/GSdx/GS.cpp b/plugins/GSdx/GS.cpp index 70d4362ff7..cf223a1c6d 100644 --- a/plugins/GSdx/GS.cpp +++ b/plugins/GSdx/GS.cpp @@ -301,7 +301,7 @@ EXPORT_C GSsetFrameSkip(int frameskip) s_gs->SetFrameSkip(frameskip); } -EXPORT_C GSsetFrameLimit(bool limit) +EXPORT_C GSsetFrameLimit(int limit) { s_gs->SetFrameLimit(limit); }