Pro/Pro2: piuio-exit patch fix

This commit is contained in:
Cube
2022-05-18 23:40:32 +02:00
committed by voidderef
parent 6c27b8164c
commit 00d3f5a8ad
2 changed files with 2 additions and 4 deletions
+1 -2
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);
+1 -2
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);