mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-19 01:10:04 +00:00
9ae37da292
* Kernel/Process: Notify the CPUs that a new pagetable has been set every time the process they're executing changes. Previously the page table would only be changed when the current CPU's page table was changed, this lead to stale JIT states and the PC going to 0 when context-switching a different core inside the ThreadManager::SwitchContext function because the JIT for a new pagetable is only constructed upon receiving the change notification. * Kernel/Process: Use the relevant CPU's last process to determine when to switch its current process. Previously it was checking the kernel's current_process variable, which gets overwritten every time a CPU runs its slice. The rescheduling happens after all CPUs have run their slice so the code was effectively only checking the last CPU's process. |
||
---|---|---|
.. | ||
arm | ||
cheats | ||
dumping | ||
file_sys | ||
frontend | ||
gdbstub | ||
hle | ||
hw | ||
loader | ||
rpc | ||
tracer | ||
3ds.h | ||
announce_multiplayer_session.cpp | ||
announce_multiplayer_session.h | ||
CMakeLists.txt | ||
core_timing.cpp | ||
core_timing.h | ||
core.cpp | ||
core.h | ||
custom_tex_cache.cpp | ||
custom_tex_cache.h | ||
memory.cpp | ||
memory.h | ||
mmio.h | ||
movie.cpp | ||
movie.h | ||
perf_stats.cpp | ||
perf_stats.h | ||
settings.cpp | ||
settings.h | ||
telemetry_session.cpp | ||
telemetry_session.h |