Kernel: Correct Host Context on Threads and Scheduler.

This commit is contained in:
Fernando Sahmkow 2020-05-13 14:17:34 -04:00
parent 0e4c35c591
commit d240143588
4 changed files with 11 additions and 11 deletions

View file

@ -150,7 +150,7 @@ static void ResetThreadContext64(Core::ARM_Interface::ThreadContext64& context,
context.fpcr = 0;
}
std::shared_ptr<Common::Fiber> Thread::GetHostContext() const {
std::shared_ptr<Common::Fiber>& Thread::GetHostContext() {
return host_context;
}