mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-16 21:12:17 +00:00
Disable storage device option and enable install option on title menu (#12)
This commit is contained in:
parent
3c7765eb27
commit
9e168ab326
2 changed files with 22 additions and 0 deletions
|
|
@ -36,3 +36,13 @@ PPC_FUNC(sub_825882B8)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void TitleMenuRemoveStorageDeviceOptionMidAsmHook(PPCRegister& r11)
|
||||||
|
{
|
||||||
|
r11.u32 = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void TitleMenuAddInstallOptionMidAsmHook(PPCRegister& r3)
|
||||||
|
{
|
||||||
|
r3.u32 = 1;
|
||||||
|
}
|
||||||
|
|
@ -542,3 +542,15 @@ registers = ["r27"]
|
||||||
name = "AchievementManagerUnlockMidAsmHook"
|
name = "AchievementManagerUnlockMidAsmHook"
|
||||||
address = 0x82BCFF28
|
address = 0x82BCFF28
|
||||||
registers = ["r31"]
|
registers = ["r31"]
|
||||||
|
|
||||||
|
[[midasm_hook]]
|
||||||
|
name = "TitleMenuRemoveStorageDeviceOptionMidAsmHook"
|
||||||
|
address = 0x825854F8
|
||||||
|
registers = ["r11"]
|
||||||
|
jump_address = 0x825854FC
|
||||||
|
|
||||||
|
[[midasm_hook]]
|
||||||
|
name = "TitleMenuAddInstallOptionMidAsmHook"
|
||||||
|
address = 0x8258547C
|
||||||
|
registers = ["r3"]
|
||||||
|
jump_address = 0x82585480
|
||||||
Loading…
Add table
Reference in a new issue