aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/startup_checks.h
blob: 096dd54a89f5b79b6ff6502ecd900c85941a47ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#ifdef _WIN32
#include <windows.h>
#endif

constexpr char STARTUP_CHECK_ENV_VAR[] = "YUZU_DO_STARTUP_CHECKS";

void CheckVulkan();
bool StartupChecks(const char* arg0, bool* has_broken_vulkan);

#ifdef _WIN32
bool SpawnChild(const char* arg0, PROCESS_INFORMATION* pi);
#endif