Skip to content

Commit

Permalink
Fix Unravel Two incompatibility with ReverseNX-RT
Browse files Browse the repository at this point in the history
  • Loading branch information
masagrator authored Nov 22, 2024
1 parent 6029f63 commit 668eb05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions saltysd_core/source/ReverseNX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ uint32_t GetPerformanceMode() {
}

uint8_t GetOperationMode() {
//Fix for Unravel Two that calls this function constantly without checking notifications
ReverseNX_RT->pluginActive = true;

if (ReverseNX_RT->def) ReverseNX_RT->isDocked = ((_ZN2nn2oe16GetOperationModeEv)(Address_weaks.GetOperationMode))();

return ReverseNX_RT->isDocked;
Expand Down

0 comments on commit 668eb05

Please sign in to comment.