mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-18 23:11:48 +00:00
update Cheat files
This commit is contained in:
parent
9ab8c1e433
commit
cbfd634a4b
217 changed files with 2263 additions and 1880 deletions
|
@ -22,7 +22,7 @@ class CommandLineConfigLayerLoader final : public Config::ConfigLayerLoader
|
|||
{
|
||||
public:
|
||||
CommandLineConfigLayerLoader(const std::list<std::string>& args, const std::string& video_backend,
|
||||
const std::string& audio_backend, bool batch)
|
||||
const std::string& audio_backend, bool batch, bool debugger)
|
||||
: ConfigLayerLoader(Config::LayerType::CommandLine)
|
||||
{
|
||||
if (!video_backend.empty())
|
||||
|
@ -39,6 +39,9 @@ public:
|
|||
if (batch)
|
||||
m_values.emplace_back(Config::MAIN_RENDER_TO_MAIN.GetLocation(), ValueToString(false));
|
||||
|
||||
if (debugger)
|
||||
m_values.emplace_back(Config::MAIN_ENABLE_DEBUGGING.GetLocation(), ValueToString(true));
|
||||
|
||||
// Arguments are in the format of <System>.<Section>.<Key>=Value
|
||||
for (const auto& arg : args)
|
||||
{
|
||||
|
@ -134,7 +137,7 @@ static void AddConfigLayer(const optparse::Values& options)
|
|||
Config::AddLayer(std::make_unique<CommandLineConfigLayerLoader>(
|
||||
std::move(config_args), static_cast<const char*>(options.get("video_backend")),
|
||||
static_cast<const char*>(options.get("audio_emulation")),
|
||||
static_cast<bool>(options.get("batch"))));
|
||||
static_cast<bool>(options.get("batch")), static_cast<bool>(options.get("debugger"))));
|
||||
}
|
||||
|
||||
optparse::Values& ParseArguments(optparse::OptionParser* parser, int argc, char** argv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue