mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-30 11:02:39 -06:00
core: use internal kernel pointer directly
This commit is contained in:
parent
e5b93741d3
commit
2183d0d6be
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ System::ResultStatus System::RunLoop(bool tight_loop) {
|
||||||
|
|
||||||
// If we don't have a currently active thread then don't execute instructions,
|
// If we don't have a currently active thread then don't execute instructions,
|
||||||
// instead advance to the next event and try to yield to the next thread
|
// instead advance to the next event and try to yield to the next thread
|
||||||
if (Kernel().GetThreadManager().GetCurrentThread() == nullptr) {
|
if (kernel->GetThreadManager().GetCurrentThread() == nullptr) {
|
||||||
LOG_TRACE(Core_ARM11, "Idling");
|
LOG_TRACE(Core_ARM11, "Idling");
|
||||||
CoreTiming::Idle();
|
CoreTiming::Idle();
|
||||||
CoreTiming::Advance();
|
CoreTiming::Advance();
|
||||||
|
|
Loading…
Reference in a new issue