diff options
| author | snowstormxd <214507868+snowstormxd@users.noreply.github.com> | 2026-11-01 19:02:26 +0000 |
|---|---|---|
| committer | snowstormxd <214507868+snowstormxd@users.noreply.github.com> | 2026-11-02 19:36:34 +0000 |
| commit | 6a0d50bcca77987d27857b029f5e3f90dd3d141c (patch) | |
| tree | 5f1712312f51fc5394df82c01fb4ba981ac50efe /src/tests/core/core_timing.cpp | |
| parent | 43490c0417f6ef07a5999c2f8cf1c18e4e4a8520 (diff) | |
tests: restore batched page accounting and isolate timer fixtures
Apply batch updates in the rasterizer mock, check cached writes do not untrack twice, and reset callback state between timer cases.
Assisted-by: Codex (implementation, review and automated validation)
(cherry picked from commit 225ad4e5d1da4ec9883b17aea7273b6c8f76fe17)
Diffstat (limited to 'src/tests/core/core_timing.cpp')
| -rw-r--r-- | src/tests/core/core_timing.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/core/core_timing.cpp b/src/tests/core/core_timing.cpp index 81898a1d38..6b424cc52c 100644 --- a/src/tests/core/core_timing.cpp +++ b/src/tests/core/core_timing.cpp @@ -33,6 +33,9 @@ std::optional<std::chrono::nanoseconds> HostCallbackTemplate(s64 time, struct ScopeInit final { ScopeInit() { + callbacks_ran_flags.reset(); + delays.fill(0); + expected_callback = 0; core_timing.SetMulticore(true); core_timing.Initialize([]() {}); } |
