mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 06:59:58 +00:00
12f7d42d32
Uses fmt::print as opposed to std::fprintf. Adds a missing return. static's a single-use function. Initializes structs as opposed to std::memset where possible. Fixes CMake linkage. Co-authored-by: Lioncash <mathew1800@gmail.com> mini_dump: Use a namespace Co-authored-by: Lioncash <mathew1800@gmail.com>
20 lines
530 B
C++
20 lines
530 B
C++
// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <dbghelp.h>
|
|
|
|
namespace MiniDump {
|
|
|
|
void CreateMiniDump(HANDLE process_handle, DWORD process_id, MINIDUMP_EXCEPTION_INFORMATION* info,
|
|
EXCEPTION_POINTERS* pep);
|
|
|
|
void DumpFromDebugEvent(DEBUG_EVENT& deb_ev, PROCESS_INFORMATION& pi);
|
|
bool SpawnDebuggee(const char* arg0, PROCESS_INFORMATION& pi);
|
|
void DebugDebuggee(PROCESS_INFORMATION& pi);
|
|
|
|
} // namespace MiniDump
|