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:
parent
5fbd728962
commit
2e8f06ef44
2 changed files with 20 additions and 20 deletions
|
@ -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));
|
||||||
}
|
}
|
|
@ -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));
|
||||||
}
|
}
|
Loading…
Reference in a new issue