mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 22:04:10 +08:00
使用上添加的hookpoint函数
This commit is contained in:
parent
82f3bee823
commit
feac49d193
@ -445,7 +445,7 @@ static Result loadGbaRom(const char *const path, u32 *const romSizeOut)
|
||||
acl_open_lib( "gba.acl" );
|
||||
acl_select_game( gamecode, 0, NULL );
|
||||
hookpoint_analyzer ha = {read_hookpoint_file, path};
|
||||
apply_cheat( g_oafConfig.cheatMode, fileSize, NULL, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize );
|
||||
apply_cheat( g_oafConfig.cheatMode, fileSize, &ha, g_oafConfig.cheatKeys, CHEAT_INUSE_ADDR, &fileSize );
|
||||
acl_close_lib();
|
||||
fini_current_cheat();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user