dolphin/Source
Dentomologist 252ec7452c PerformanceMetrics: Use HookableEvent for state changed callback
Use the normal state changed `HookableEvent` instead of having
`Core::NotifyStateChanged` call `g_perf_metrics.OnEmulationStateChanged`
directly.

The direct call was added in bad78cfed4 to
avoid a crash. At the time state changed callbacks were stored in a
vector, and the crash was caused by `g_perf_metric`'s destructor trying
to remove the callback from the already-destroyed vector.

Later a97627e736 switched state changed
callbacks to use `HookableEvent`, which is specifically designed to
handle the case where a hook outlives its associated event.

Since the workaround is no longer necessary replace it with a standard
`EventHook`.
2026-03-07 12:50:59 -08:00
..
Android Android: Fix defaults for RetroAchievements settings 2026-02-23 19:24:58 +01:00
Core PerformanceMetrics: Use HookableEvent for state changed callback 2026-03-07 12:50:59 -08:00
DSPSpy Fix various typos and spelling mistakes 2026-01-17 20:11:38 +01:00
DSPTool Host: Remove unnecessary functions 2025-08-03 13:19:30 -07:00
PCH Fix various typos and spelling mistakes 2026-01-17 20:11:38 +01:00
UnitTests Network: Improve IPv4PortRange::ToString to support CIDR notation and only last octet difference. 2026-02-15 23:13:18 -06:00
VSProps Move RangeSet from Externals to Common 2026-02-23 22:55:38 +01:00
.clang-format Clang-format: Fix invalid settings 2025-05-01 22:05:07 +02:00
CMakeLists.txt Merge pull request #14251 from JoshuaVandaele/cmake-editorconfig 2026-01-11 16:28:03 -05:00
dolphin-emu.sln Core/HW: Add Visual Studio project files for cpp-ipc library. 2025-10-28 18:50:58 +00:00