mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2024-11-28 00:20:47 +01:00
Pro/Pro2: piuio-exit patch fix
This commit is contained in:
parent
6c27b8164c
commit
00d3f5a8ad
@ -173,12 +173,11 @@ static void prohook_patch_piuio_init(struct prohook_options *options)
|
|||||||
|
|
||||||
patch_usb_init_fix_init();
|
patch_usb_init_fix_init();
|
||||||
patch_piuio_khack_init();
|
patch_piuio_khack_init();
|
||||||
patch_usb_emu_init();
|
|
||||||
|
|
||||||
/* Hook before PIUIO emulation */
|
/* Hook before PIUIO emulation */
|
||||||
if (options->patch.piuio.exit_test_serv) {
|
if (options->patch.piuio.exit_test_serv) {
|
||||||
patch_piuio_exit_init();
|
patch_piuio_exit_init();
|
||||||
}
|
}
|
||||||
|
patch_usb_emu_init();
|
||||||
|
|
||||||
if (options->patch.piuio.api_lib) {
|
if (options->patch.piuio.api_lib) {
|
||||||
char *abs_path_iolib = util_fs_get_abs_path(options->patch.piuio.api_lib);
|
char *abs_path_iolib = util_fs_get_abs_path(options->patch.piuio.api_lib);
|
||||||
|
@ -181,12 +181,11 @@ static void pro2hook_patch_piuio_init(struct pro2hook_options *options)
|
|||||||
|
|
||||||
patch_usb_init_fix_init();
|
patch_usb_init_fix_init();
|
||||||
patch_piuio_khack_init();
|
patch_piuio_khack_init();
|
||||||
patch_usb_emu_init();
|
|
||||||
|
|
||||||
/* Hook before PIUIO emulation */
|
/* Hook before PIUIO emulation */
|
||||||
if (options->patch.piuio.exit_test_serv) {
|
if (options->patch.piuio.exit_test_serv) {
|
||||||
patch_piuio_exit_init();
|
patch_piuio_exit_init();
|
||||||
}
|
}
|
||||||
|
patch_usb_emu_init();
|
||||||
|
|
||||||
if (options->patch.piuio.api_lib) {
|
if (options->patch.piuio.api_lib) {
|
||||||
char *abs_path_iolib = util_fs_get_abs_path(options->patch.piuio.api_lib);
|
char *abs_path_iolib = util_fs_get_abs_path(options->patch.piuio.api_lib);
|
||||||
|
Loading…
Reference in New Issue
Block a user