1
0
mirror of https://github.com/pumpitupdev/pumptools.git synced 2024-11-27 16:10:55 +01:00

Pro/Pro2: piuio-exit patch fix

This commit is contained in:
Cube 2022-05-18 13:06:16 -07:00 committed by voidderef
parent 6c27b8164c
commit 00d3f5a8ad
2 changed files with 2 additions and 4 deletions

View File

@ -173,12 +173,11 @@ static void prohook_patch_piuio_init(struct prohook_options *options)
patch_usb_init_fix_init();
patch_piuio_khack_init();
patch_usb_emu_init();
/* Hook before PIUIO emulation */
if (options->patch.piuio.exit_test_serv) {
patch_piuio_exit_init();
}
patch_usb_emu_init();
if (options->patch.piuio.api_lib) {
char *abs_path_iolib = util_fs_get_abs_path(options->patch.piuio.api_lib);

View File

@ -181,12 +181,11 @@ static void pro2hook_patch_piuio_init(struct pro2hook_options *options)
patch_usb_init_fix_init();
patch_piuio_khack_init();
patch_usb_emu_init();
/* Hook before PIUIO emulation */
if (options->patch.piuio.exit_test_serv) {
patch_piuio_exit_init();
}
patch_usb_emu_init();
if (options->patch.piuio.api_lib) {
char *abs_path_iolib = util_fs_get_abs_path(options->patch.piuio.api_lib);