Valiantsin Dzerakh and Claude Opus 5.5
101f2c8b5e
Give the virtual core up in nn::fs host functions and in NVN memory pool setup, as the Switch blocks those threads in IPC: the game's loader threads held a core through CloseFile, CreateCacheStorage and nvnMemoryPoolInitialize (up to 20 ms) while job workers waited. Core diagnostics now also report waits on an owner in a host call, with its module, offset, latest SVC and guest lr, and the AllocateMemoryPages and AllocateAddressRegion lines need TOTK_TRACE=host
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-27 16:42:14 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
97d3762ba1
Strip milestone and task labels from code comments and drop the dead gfx_stubs.c
...
Comments named the agent task (T1-T7, M2-M5, Task 2.x) that once owned each file or block, and pointed at local
notes the repository does not carry (backlog items, milestone plans, research notes). They now say what the code
does. gfx_stubs.c held weak stand-ins for functions that every build has defined for a long time.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-27 13:12:50 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
42b73c4098
Note what each 2026-10 frame time fix needs on a Linux host: the SleepThread spin is for the Windows timer only, the file I/O moved off the game and render threads is portable with fsync in place of FlushFileBuffers, the slow-present profiler is Windows-only
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-27 13:01:22 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
95ae91687c
Spin short SleepThread calls on the performance counter: the high-resolution waitable timer ended the SDK's 20 us polling sleeps after 460-515 us on the main thread and the job workers; the sched trace now reports wake-to-run and core-grant-to-run latency and asked versus taken sleep time per thread
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-27 10:17:13 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
bd9851f4f2
Trace the guest main thread's waits by object and by the thread whose signal ended them (TOTK_TRACE=sched), and sample the main thread alone with call chains (TOTK_PROFILE_MAIN=1)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-27 09:23:35 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
b0805112ed
Merge main into task/menu: the docs and comment cleanup, with the Dear ImGui set-up of menu.cpp kept in the LAS Recomp notices row
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 10:16:23 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
8b514f6ead
Keep every default in the settings table: cfg_value, cfg_int, cfg_double and cfg_bool read it, and the consumers of table keys drop their own defaults
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 09:32:30 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
7b85a2681a
Keep free_cores=0 as gate on, refuse to rewrite totk.ini after a failed read, drop empty-valued lines on Reset, and add plat_file_set_readonly and plat_file_size
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 09:23:55 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
111f748c51
Remove citations of local build/ notes from code comments and correct the TOTK_REPLAY_ASYNC default in vk_backend.c
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 09:23:21 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
8553b00c9b
Drop the bisect modes 3 to 5 of TOTK_ASYNC_PREEMPT and log interrupts after the owner is resumed
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 07:44:47 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
8f9716527a
Keep the interrupted code's flags in kern_ap_stub, take the whole integer context, log the first interrupts and add test modes 2 to 5 of TOTK_ASYNC_PREEMPT
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-26 00:03:10 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
9fea5cc37b
Credit MacNativeGames for the virtual-core preemption in THIRD_PARTY_NOTICES.md and the kernel.c header
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 23:49:11 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
c66ac84925
Preempt a virtual core owner in top-level game code from the waiting thread, with priority inheritance and the SDK's preemption disable, behind TOTK_ASYNC_PREEMPT
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 23:37:11 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
d52cdfc6ee
Add TOTK_CORE_DIAG: classify every virtual core wait by what the owner was doing, and answer SVC 0x36
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-25 23:23:48 +03:00
Valiantsin Dzerakh and Claude Opus 5.5
19c9b648d1
Add the recompiler, Windows runtime, tools and docs
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-23 22:27:54 +03:00