Report hook exclusion count in ready record
Phase 1 of the Wine/Proton stage (decisions 5, 18): the helper ready record now carries hook_exclusions with the deduplicated stored exclusion count, so Cthulhu can confirm a helper applied the --exclude-hook-program flags it was sent. Older helpers without the field parse as zero.
This commit is contained in:
1 parent
78b70e1ab9
commit
20d2169d56
3 files changed
+32
-1
No files matched your search
@@ -1383,11 +1383,13 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE, char *, int) {
|
||||
// Callback availability is distinct from foreground attachment. There may
|
||||
// be no matching application when this startup snapshot is emitted.
|
||||
std::fprintf(stderr, "wine-access: ready {\"reader\":\"%s\",\"controls_enabled\":%s,"
|
||||
"\"hook_exclusions\":%d,"
|
||||
"\"controller\":%s,\"review\":%s,\"msaa_worker\":%s,\"win_events\":%s,"
|
||||
"\"menu_hook\":%s,\"input_hook\":%s,"
|
||||
"\"menu_hook_available\":%s,\"input_hook_available\":%s,"
|
||||
"\"host32_started\":%s,\"control_poll\":%s}\n",
|
||||
readerEndpoint.busName, dialogReaderEnabled ? "true" : "false",
|
||||
hookExclusions.count,
|
||||
controllerActive ? "true" : "false", reviewActive ? "true" : "false",
|
||||
msaaActive ? "true" : "false", hook ? "true" : "false",
|
||||
foregroundHooks.menu ? "true" : "false", foregroundHooks.input ? "true" : "false",
|
||||
|
||||
Reference in new issue
Block a user