mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Fix SleepThread SVC (Fixes nullptr access in SM3DL and Pokemon Rumble Blast)
This commit is contained in:
parent
da50d0f6a4
commit
f68ddebf90
2 changed files with 2 additions and 2 deletions
|
@ -207,8 +207,8 @@ void Kernel::svcSleepThread() {
|
||||||
const s64 ns = s64(u64(regs[0]) | (u64(regs[1]) << 32));
|
const s64 ns = s64(u64(regs[0]) | (u64(regs[1]) << 32));
|
||||||
logSVC("SleepThread(ns = %lld)\n", ns);
|
logSVC("SleepThread(ns = %lld)\n", ns);
|
||||||
|
|
||||||
sleepThread(ns);
|
|
||||||
regs[0] = SVCResult::Success;
|
regs[0] = SVCResult::Success;
|
||||||
|
sleepThread(ns);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Kernel::getThreadID() {
|
void Kernel::getThreadID() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue