WiiMart-Patcher/patch_ec_title_check.go
2021-12-31 03:28:36 -06:00

21 lines
308 B
Go

package main
var NegateECTitle = PatchSet{
Patch{
Name: "Allow all titles",
AtOffset: 619648,
// Generic function prolog
Before: Instructions{
STWU(R1, R1, 0xffe0),
MFSPR(),
}.toBytes(),
// Immediately return true
After: Instructions{
LI(R3, 1),
BLR(),
}.toBytes(),
},
}