mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 05:30:10 +00:00
Core: Change HW update to happen on thread switch, fixes GSP synchronization.
This commit is contained in:
parent
fab2f28ea5
commit
65d74caa96
@ -33,8 +33,9 @@ void RunLoop() {
|
||||
// this is to just loop in the CPU for more than 1 instruction to reduce overhead and make
|
||||
// it a little bit faster...
|
||||
g_app_core->Run(100);
|
||||
HW::Update();
|
||||
|
||||
if (HLE::g_reschedule) {
|
||||
HW::Update();
|
||||
Kernel::Reschedule();
|
||||
}
|
||||
}
|
||||
@ -43,8 +44,9 @@ void RunLoop() {
|
||||
/// Step the CPU one instruction
|
||||
void SingleStep() {
|
||||
g_app_core->Step();
|
||||
HW::Update();
|
||||
|
||||
if (HLE::g_reschedule) {
|
||||
HW::Update();
|
||||
Kernel::Reschedule();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user