mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 00:29:58 -04:00
Take out the GPU address history of a lost device's report.
The author of the pull request it was ported from closed that request on 2026-11-11 with the words that they give no permission to use its code. The history (NX2NAVI_VA_REPORT, runtime/vk_vaddr.c, the stack walk it used and its notes in the docs and the example settings) goes; the lost device's report keeps the breadcrumbs, the pass marks, the video memory and the driver's fault information. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -1594,13 +1594,6 @@ int plat_module_of(uintptr_t addr, char *name, size_t cap, uintptr_t *base) {
|
||||
return WideCharToMultiByte(CP_UTF8, 0, n, -1, name, (int)cap, NULL, NULL) != 0;
|
||||
}
|
||||
|
||||
int plat_stack(uintptr_t *pc, int max) {
|
||||
void *f[62];
|
||||
USHORT n = RtlCaptureStackBackTrace(1, max < 62 ? (DWORD)max : 62, f, NULL);
|
||||
for (USHORT i = 0; i < n; i++) pc[i] = (uintptr_t)f[i];
|
||||
return n;
|
||||
}
|
||||
|
||||
int plat_exe_path(char *out, size_t cap) {
|
||||
wchar_t w[WPATH];
|
||||
DWORD n = GetModuleFileNameW(NULL, w, WPATH);
|
||||
|
||||
Reference in New Issue
Block a user