Henrik Rydgård and Claude Opus 5
daa18fc25a
ImDebugger: fix stale symbol list after a game is reloaded
...
The disasm window cached the flattened symbol list and only rebuilt it when one
of three menu items said so. Nothing marked it dirty when a game booted or
exited, and a new SymbolMap is allocated per boot, so the list kept showing the
previous game's functions.
Give SymbolMap a version counter that every mutator bumps, and let the window
compare against it instead. The counter is process-wide rather than per-map, so
a fresh map can't hand out a version a cached copy already holds.
Also re-find the selected symbol by address after a rebuild (the index means
something else afterwards), and drop the unused symbol cache members in
ImMemWindow.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01SfY7iFJEjmRXf1XGrTs4MF
2026-08-27 10:43:08 +02:00
..
2026-08-27 10:43:08 +02:00
2026-08-07 14:30:36 +02:00
2026-04-06 13:25:44 -06:00
2025-11-24 20:33:13 +01:00
2025-08-22 21:21:19 +02:00
2026-07-26 10:22:00 +02:00
2026-03-15 11:30:43 +01:00
2026-08-12 09:29:17 +02:00
2025-07-20 09:56:29 +02:00
2026-03-14 18:13:37 +01:00
2026-03-14 18:13:37 +01:00
2026-08-16 12:19:41 +02:00
2026-03-31 16:22:24 -06:00
2026-08-24 17:23:14 +02:00
2026-08-07 14:30:36 +02:00
2026-07-24 12:06:15 +02:00
2026-08-07 14:30:36 +02:00
2026-03-15 15:21:28 +01:00
2026-08-16 13:33:26 +02:00
2026-05-16 22:31:13 +02:00
2026-06-02 11:15:08 +02:00
2026-08-17 16:53:48 +02:00
2026-04-27 20:55:46 +02:00
2026-08-07 14:30:36 +02:00
2026-07-10 12:11:17 +02:00
2026-08-07 08:49:29 +02:00
2024-11-02 21:31:45 +01:00
2026-08-07 14:30:36 +02:00
2025-10-29 00:15:41 +01:00
2026-08-12 09:29:31 +02:00
2025-10-29 00:15:41 +01:00
2026-08-16 16:59:52 +02:00
2026-08-07 17:35:15 +02:00
2026-08-16 12:19:41 +02:00
2026-05-03 17:44:01 +02:00
2026-08-24 11:13:00 +02:00
2026-08-24 17:23:20 +02:00
2026-08-12 09:47:13 +02:00
2026-03-31 14:58:56 -06:00
2026-08-23 16:44:38 +02:00
2026-03-15 11:43:18 +01:00
2026-08-16 12:19:41 +02:00
2026-03-18 08:58:50 +01:00
2026-08-07 14:30:36 +02:00
2025-10-29 00:15:41 +01:00
2026-05-18 14:16:34 +02:00
2026-03-03 14:27:06 +01:00
2026-08-24 17:23:14 +02:00
2026-08-24 17:23:14 +02:00
2026-08-07 14:30:36 +02:00
2026-05-28 10:56:35 +02:00
2026-08-16 13:33:26 +02:00
2026-02-18 18:39:44 +01:00
2026-05-22 18:51:08 -10:00
2024-02-12 18:44:39 +01:00
2026-05-31 22:05:53 +03:00
2026-05-31 22:05:53 +03:00
2026-08-24 17:23:20 +02:00
2026-05-11 11:45:04 +02:00
2026-08-07 14:30:36 +02:00
2026-05-10 23:41:39 +02:00
2026-08-16 13:33:26 +02:00
2026-06-24 23:04:17 +02:00
2026-08-07 17:35:15 +02:00
2026-05-04 14:29:26 +02:00
2026-08-24 11:13:00 +02:00
2026-06-24 23:04:17 +02:00
2026-06-24 23:04:17 +02:00
2026-08-09 19:03:08 +02:00
2026-08-07 08:49:29 +02:00
2025-03-26 18:57:38 +01:00
2026-08-07 14:30:36 +02:00
2026-06-15 10:00:01 +02:00
2026-08-07 14:30:36 +02:00
2026-02-09 14:35:34 +01:00
2026-08-12 09:27:47 +02:00
2026-04-08 10:36:58 -06:00
2026-08-07 14:30:36 +02:00
2026-02-18 11:54:13 +01:00
2026-08-07 14:30:36 +02:00
2026-03-14 18:13:37 +01:00
2026-08-12 09:27:47 +02:00
2026-01-02 14:20:20 +01:00
2026-08-07 14:30:36 +02:00
2026-03-14 23:50:10 +01:00
2026-08-07 14:30:36 +02:00
2026-05-12 10:13:00 +02:00
2026-02-24 00:56:45 +01:00
2026-02-24 00:56:45 +01:00
2026-03-15 15:21:28 +01:00
2026-02-03 23:30:45 +01:00
2026-08-07 14:30:36 +02:00
2026-05-04 01:08:44 +02:00
2026-08-07 14:30:36 +02:00
2025-12-19 11:38:56 +01:00
2026-08-24 17:23:14 +02:00
2026-08-24 17:23:14 +02:00
2026-05-16 22:31:13 +02:00
2025-11-06 23:44:55 +01:00
2026-07-18 11:57:48 +02:00
2025-11-09 22:18:57 +01:00