2024-10-13 12:02:22 +00:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
struct ImGuiTextBuffer;
|
|
|
|
|
|
|
|
namespace Core::Devtools {
|
|
|
|
|
|
|
|
struct TOptions {
|
2024-12-09 20:11:11 +00:00
|
|
|
std::string disassembler_cli_isa{"clrxdisasm --raw {src}"};
|
|
|
|
std::string disassembler_cli_spv{"spirv-cross -V {src}"};
|
2024-10-16 10:12:46 +00:00
|
|
|
bool frame_dump_render_on_collapse{false};
|
2024-10-13 12:02:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern TOptions Options;
|
|
|
|
|
|
|
|
void LoadOptionsConfig(const char* line);
|
|
|
|
void SerializeOptionsConfig(ImGuiTextBuffer* buf);
|
|
|
|
|
|
|
|
} // namespace Core::Devtools
|