diff --git a/NootedRed/X6000FB.cpp b/NootedRed/X6000FB.cpp index 2d07b0e4..813aa7ec 100644 --- a/NootedRed/X6000FB.cpp +++ b/NootedRed/X6000FB.cpp @@ -536,7 +536,7 @@ bool X6000FB::wrapInitWithPciInfo(void *that, void *pciDevice) { return ret; } -void X6000FB::wrapDoGPUPanic(char const *fmt, ...) { +void X6000FB::wrapDoGPUPanic(void *, char const *fmt, ...) { va_list va; va_start(va, fmt); auto *buf = static_cast(IOMalloc(1000)); diff --git a/NootedRed/X6000FB.hpp b/NootedRed/X6000FB.hpp index 5332ff31..ee587d3d 100644 --- a/NootedRed/X6000FB.hpp +++ b/NootedRed/X6000FB.hpp @@ -65,7 +65,7 @@ class X6000FB { static UInt32 wrapDcePanelCntlHwInit(void *panelCntl); static void *wrapLinkCreate(void *data); static bool wrapInitWithPciInfo(void *that, void *pciDevice); - static void wrapDoGPUPanic(char const *fmt, ...); + static void wrapDoGPUPanic(void *that, char const *fmt, ...); static void wrapDmLoggerWrite(void *logger, const UInt32 logType, const char *fmt, ...); };