mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-07-25 00:04:18 +02:00
* devtools: pm4 - show markers * SaveDataDialogLib: fix compile with mingw * devtools: pm4 - show program state * devtools: pm4 - show program disassembly * devtools: pm4 - show frame regs * devtools: pm4 - show color buffer info as popup add ux improvements for open new windows with shift+click better window titles * imgui: skip all textures to avoid hanging with crash diagnostic enabled not sure why this happens :c * devtools: pm4 - show reg depth buffer
25 lines
553 B
C++
25 lines
553 B
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include <imgui.h>
|
|
|
|
#include "options.h"
|
|
|
|
namespace Core::Devtools {
|
|
|
|
TOptions Options;
|
|
|
|
void LoadOptionsConfig(const char* line) {
|
|
char str[512];
|
|
if (sscanf(line, "disassembly_cli=%511[^\n]", str) == 1) {
|
|
Options.disassembly_cli = str;
|
|
return;
|
|
}
|
|
}
|
|
|
|
void SerializeOptionsConfig(ImGuiTextBuffer* buf) {
|
|
buf->appendf("disassembly_cli=%s\n", Options.disassembly_cli.c_str());
|
|
}
|
|
|
|
} // namespace Core::Devtools
|