Skip to content

Commit

Permalink
fix(fb): Fix signature of doGPUPanic wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Oct 21, 2024
1 parent f9b7759 commit 008112b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NootedRed/X6000FB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<char *>(IOMalloc(1000));
Expand Down
2 changes: 1 addition & 1 deletion NootedRed/X6000FB.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...);
};

Expand Down

0 comments on commit 008112b

Please sign in to comment.