1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 13:52:21 +00:00

exo: fix data abort in car access

This commit is contained in:
Michael Scire 2019-12-31 13:48:35 -08:00
parent 5fbd728962
commit 2e8f06ef44
2 changed files with 20 additions and 20 deletions

View file

@ -134,5 +134,5 @@ void clkrst_reboot(CarDevice dev) {
} }
void clkrst_enable_fuse_regs(bool enable) { void clkrst_enable_fuse_regs(bool enable) {
MAKE_CAR_REG(CLK_RST_CONTROLLER_MISC_CLK_ENB_0) = ((MAKE_CAR_REG(CLK_RST_CONTROLLER_MISC_CLK_ENB_0) & 0xEFFFFFFF) | ((enable & 1) << 28)); CLK_RST_CONTROLLER_MISC_CLK_ENB_0 = ((CLK_RST_CONTROLLER_MISC_CLK_ENB_0 & 0xEFFFFFFF) | ((enable & 1) << 28));
} }

View file

@ -83,5 +83,5 @@ void clkrst_reboot(CarDevice dev) {
} }
void clkrst_enable_fuse_regs(bool enable) { void clkrst_enable_fuse_regs(bool enable) {
MAKE_CAR_REG(CLK_RST_CONTROLLER_MISC_CLK_ENB_0) = ((MAKE_CAR_REG(CLK_RST_CONTROLLER_MISC_CLK_ENB_0) & 0xEFFFFFFF) | ((enable & 1) << 28)); CLK_RST_CONTROLLER_MISC_CLK_ENB_0 = ((CLK_RST_CONTROLLER_MISC_CLK_ENB_0 & 0xEFFFFFFF) | ((enable & 1) << 28));
} }