From 514537a983311d8c729e4de64c9b73b338ad0bfc Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Wed, 15 Jul 2020 23:04:35 +0100 Subject: [PATCH] hbloader: allow homebrew to write to the shared config page --- sysmodules/rosalina/source/hbloader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysmodules/rosalina/source/hbloader.c b/sysmodules/rosalina/source/hbloader.c index 3352089..f645b0c 100644 --- a/sysmodules/rosalina/source/hbloader.c +++ b/sysmodules/rosalina/source/hbloader.c @@ -145,7 +145,7 @@ static const u32 kernelCaps[] = 0xFF81FF78, // RW static mapping: 0x1FF78000 0xFF91F000, // RO static mapping: 0x1F000000 0xFF91F600, // RO static mapping: 0x1F600000 - 0xFF002101, // Exflags: APPLICATION memtype + "Allow debug" + "Access core2" + 0xFF002109, // Exflags: APPLICATION memtype + "Shared page writing" + "Allow debug" + "Access core2" 0xFE000200, // Handle table size: 0x200 }; @@ -344,7 +344,7 @@ void HBLDR_HandleCommands(void *ctx) // See the big comment in sysmodules/pm/source/reslimit.c for technical details. localcaps0->reslimits[0] = BIT(7) | 89; - //localcaps0->storage_info.fs_access_info = 0xFFFFFFFF; // Give access to everything + localcaps0->storage_info.fs_access_info = 0xFFFFFFFF; // Give access to everything localcaps0->storage_info.no_romfs = true; localcaps0->storage_info.use_extended_savedata_access = true; // Whatever