https://git.reactos.org/?p=reactos.git;a=commitdiff;h=092bc78a4231602f4dfde…
commit 092bc78a4231602f4dfdeb760c92109ba2b2c20b
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Wed Jun 3 02:04:07 2020 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Wed Jun 3 02:04:07 2020 +0300
[FREELDR] Fix register offset
Addendum to 10e52f6.
---
boot/freeldr/freeldr/arch/i386/xbox/xboxmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/boot/freeldr/freeldr/arch/i386/xbox/xboxmem.c
b/boot/freeldr/freeldr/arch/i386/xbox/xboxmem.c
index 29e1382be18..57a88ecf4a8 100644
--- a/boot/freeldr/freeldr/arch/i386/xbox/xboxmem.c
+++ b/boot/freeldr/freeldr/arch/i386/xbox/xboxmem.c
@@ -61,7 +61,7 @@ XboxMemInit(VOID)
PVOID MembaseLow = (PVOID)0;
WRITE_REGISTER_ULONG((PULONG)NV2A_FB_CFG0, 0x03070103);
- WRITE_REGISTER_ULONG((PULONG)NV2A_FB_CFG0 + 4, 0x11448000);
+ WRITE_REGISTER_ULONG((PULONG)(NV2A_FB_CFG0 + 4), 0x11448000);
/* Prep hardware for 128 Mb */
WRITE_PORT_ULONG((PULONG)0xCF8, CONFIG_CMD(0, 0, 0x84));