Skip to content

Commit

Permalink
fix: Set max log severity value to 0xFF
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Sep 21, 2024
1 parent a6f8fdc commit 86f2c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NootedRed/X6000FB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ void *X6000FB::wrapLinkCreate(void *data) {
bool X6000FB::wrapInitWithPciInfo(void *that, void *pciDevice) {
auto ret = FunctionCast(wrapInitWithPciInfo, callback->orgInitWithPciInfo)(that, pciDevice);
getMember<UInt64>(that, 0x28) = 0xFFFFFFFFFFFFFFFF; // Enable all log types
getMember<UInt32>(that, 0x30) = 0xFFFFFFFF; // Enable all log severities
getMember<UInt32>(that, 0x30) = 0xFF; // Enable all log severities
return ret;
}

Expand Down

0 comments on commit 86f2c96

Please sign in to comment.