mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Cut down on a debug check in release mode.
In Jewel Summoner, for example, this gets called a lot, and eats a measurable percentage of time.
This commit is contained in:
parent
444dd15a25
commit
c7f1197ab1
1 changed files with 3 additions and 2 deletions
|
@ -265,8 +265,9 @@ void hleCheckCurrentCallbacks()
|
|||
|
||||
void hleReSchedule(const char *reason)
|
||||
{
|
||||
_dbg_assert_msg_(HLE, reason != 0, "hleReSchedule: Expecting a valid reason.");
|
||||
_dbg_assert_msg_(HLE, reason != 0 && strlen(reason) < 256, "hleReSchedule: Not too long reason.");
|
||||
#ifdef _DEBUG
|
||||
_dbg_assert_msg_(HLE, reason != 0 && strlen(reason) < 256, "hleReSchedule: Invalid or too long reason.");
|
||||
#endif
|
||||
|
||||
hleAfterSyscall |= HLE_AFTER_RESCHED;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue