From b6640d118ddb48e5ad972fe27283dae6bf90a58e Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 3 Nov 2016 19:29:28 +0100 Subject: [PATCH] Fix derp --- injector/source/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/injector/source/loader.c b/injector/source/loader.c index 5783a4a..fb79c9e 100644 --- a/injector/source/loader.c +++ b/injector/source/loader.c @@ -155,7 +155,7 @@ static Result load_code(u64 progid, prog_addrs_t *shared, u64 prog_handle, int i lzss_decompress((u8 *)shared->text_addr + size); } - u16 progver = g_exheader.codesetinfo.flags.remasterversion[1] | (g_exheader.codesetinfo.flags.remasterversion[0] << 8); + u16 progver = g_exheader.codesetinfo.flags.remasterversion[0] | (g_exheader.codesetinfo.flags.remasterversion[1] << 8); // patch patchCode(progid, progver, (u8 *)shared->text_addr, shared->total_size << 12);