dolphin/Source
Admiral H. Curtiss f1c1c6ded6
JitCache: Fix potentially dangling pointer to fast block map.
Whenever JitBaseBlockCache::Clear() got called, it threw away the memory mapping for the fast block map and created a new one. This new mapping typically got mapped at the same address at the old one, but this is not guaranteed. The pointer to the mapping gets embedded in the generated dispatcher code in Jit64AsmRoutineManager::Generate(), which is only called once on game boot, so if the new mapping ended up at a different address than the old one, the pointer in the ASM pointed at garbage, leading to a crash.

This fixes the issue by guaranteeing that the new mapping is mapped at the same address.
2023-09-02 04:03:22 +02:00
..
Android Merge pull request #12095 from t895/color-space-settings 2023-08-30 10:07:07 -04:00
Core JitCache: Fix potentially dangling pointer to fast block map. 2023-09-02 04:03:22 +02:00
DSPSpy DSPSpy: Add st3 BLOOP{,I} tests. 2022-09-30 11:07:41 +00:00
DSPTool Use GNUInstallDirs for installation paths 2023-01-30 09:44:44 -06:00
PCH bump minimum VS version to 17.6 2023-05-16 20:21:36 -07:00
UnitTests PageFaultTest: Use GTEST_SKIP instead of early return 2023-08-29 12:24:11 -07:00
VSProps DolphinQt: Add function to set a QWidget's window decorations to dark ones on Windows. 2023-08-12 16:54:53 +02:00
.clang-format
CMakeLists.txt Revert "Android: Don't hold gameFileCache lock during updateAdditionalMetadata" 2022-09-27 19:06:05 +02:00
dolphin-emu.sln Added rcheevos to Externals 2023-04-02 08:28:23 -04:00