From 41eda6fc942607f82f09fa54eea7bf3965c3d79c Mon Sep 17 00:00:00 2001 From: hax0kartik Date: Tue, 14 Feb 2023 09:09:50 +0530 Subject: [PATCH] Seems to work --- wumiibohelper/cia/wumiibohelper.rsf | 3 +-- wumiibohelper/source/Utils/Misc.hpp | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wumiibohelper/cia/wumiibohelper.rsf b/wumiibohelper/cia/wumiibohelper.rsf index eb5af3d..9ee933d 100644 --- a/wumiibohelper/cia/wumiibohelper.rsf +++ b/wumiibohelper/cia/wumiibohelper.rsf @@ -226,8 +226,8 @@ AccessControlInfo: - ir:u - ir:USER - mic:u - - mcu::HWC - ndm:u + - nfc:u - news:s - nwm::EXT - nwm::UDS @@ -271,7 +271,6 @@ SystemControlInfo: ndm: 0x0004013000002b02 news: 0x0004013000003502 nfc: 0x0004013000004002 - nim: 0x0004013000002c02 nwm: 0x0004013000002d02 pdn: 0x0004013000002102 ps: 0x0004013000003102 diff --git a/wumiibohelper/source/Utils/Misc.hpp b/wumiibohelper/source/Utils/Misc.hpp index 5c4033a..bd16426 100644 --- a/wumiibohelper/source/Utils/Misc.hpp +++ b/wumiibohelper/source/Utils/Misc.hpp @@ -109,10 +109,15 @@ namespace Utils{ fseek(f, 0L, SEEK_SET); fread(&data[0], size, 1, f); const std::string s = "enable_game_patching = 1"; + const std::string s2 = "enable_external_firm_and_modules = 1"; auto found = data.find("enable_game_patching"); if(found != std::string::npos){ data.replace(found, s.length(), s); } + auto found2 = data.find("enable_external_firm_and_modules"); + if(found2 != std::string::npos){ + data.replace(found2, s2.length(), s2); + } fseek(f, 0L, SEEK_SET); fwrite(&data[0], data.length(), 1, f); fclose(f);