summaryrefslogtreecommitdiff
path: root/src/yuzu/startup_checks.h
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-07-10 16:10:35 -0400
committerlat9nq <lat9nq@gmail.com>2022-07-10 16:52:00 -0400
commit33abdfff9bf0a549b0d1d327e914e9a1ab4b799b (patch)
tree60b91393706a3ddec37f10395a7fe1e3d69c20ad /src/yuzu/startup_checks.h
parent4f15d9ed6fba4fa1804c5be3f9378e3ad3d32688 (diff)
yuzu: Simplify broken Vulkan handling
Diffstat (limited to 'src/yuzu/startup_checks.h')
-rw-r--r--src/yuzu/startup_checks.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/yuzu/startup_checks.h b/src/yuzu/startup_checks.h
index 98bd5f4bf..096dd54a8 100644
--- a/src/yuzu/startup_checks.h
+++ b/src/yuzu/startup_checks.h
@@ -3,7 +3,15 @@
#pragma once
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
constexpr char STARTUP_CHECK_ENV_VAR[] = "YUZU_DO_STARTUP_CHECKS";
-bool CheckVulkan();
-bool StartupChecks();
+void CheckVulkan();
+bool StartupChecks(const char* arg0, bool* has_broken_vulkan);
+
+#ifdef _WIN32
+bool SpawnChild(const char* arg0, PROCESS_INFORMATION* pi);
+#endif