From 59f86ce7fd53f77a896570ada77d8a76095b827f Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 8 Jun 2019 13:15:14 +0200 Subject: [PATCH] Increase cheat file and opcode size maximum --- stratosphere/dmnt/source/dmnt_cheat_types.hpp | 2 +- stratosphere/dmnt/source/dmnt_config.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stratosphere/dmnt/source/dmnt_cheat_types.hpp b/stratosphere/dmnt/source/dmnt_cheat_types.hpp index 247f7bf2c..37b42c8c2 100644 --- a/stratosphere/dmnt/source/dmnt_cheat_types.hpp +++ b/stratosphere/dmnt/source/dmnt_cheat_types.hpp @@ -36,7 +36,7 @@ struct CheatProcessMetadata { struct CheatDefinition { char readable_name[0x40]; uint32_t num_opcodes; - uint32_t opcodes[0x100]; + uint32_t opcodes[0x200]; }; struct CheatEntry { diff --git a/stratosphere/dmnt/source/dmnt_config.cpp b/stratosphere/dmnt/source/dmnt_config.cpp index dc945c166..2c5cfb548 100644 --- a/stratosphere/dmnt/source/dmnt_config.cpp +++ b/stratosphere/dmnt/source/dmnt_config.cpp @@ -29,7 +29,7 @@ static OverrideKey g_default_cheat_enable_key = { }; /* Static buffer for loader.ini contents at runtime. */ -static char g_config_ini_data[0x800]; +static char g_config_ini_data[0xFFF]; static OverrideKey ParseOverrideKey(const char *value) { OverrideKey cfg;