Skip to content

Commit

Permalink
Merge pull request #19922 from hrydgard/adhoc-logging-fixes
Browse files Browse the repository at this point in the history
Paper over the problems of the hlecall stack
  • Loading branch information
hrydgard authored Jan 27, 2025
2 parents 4c8c35d + 0f5d9fe commit 689492e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Core/HLE/HLE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,8 @@ static void updateSyscallStats(int modulenum, int funcnum, double total)
}

static void CallSyscallWithFlags(const HLEFunction *info) {
_dbg_assert_(g_stackSize == 0);
// _dbg_assert_(g_stackSize == 0);
g_stackSize = 0;

const int stackSize = g_stackSize;
if (stackSize == 0) {
Expand Down Expand Up @@ -749,7 +750,8 @@ static void CallSyscallWithFlags(const HLEFunction *info) {
}

static void CallSyscallWithoutFlags(const HLEFunction *info) {
_dbg_assert_(g_stackSize == 0);
// _dbg_assert_(g_stackSize == 0);
g_stackSize = 0;

const int stackSize = g_stackSize;
if (stackSize == 0) {
Expand Down

0 comments on commit 689492e

Please sign in to comment.