Skip to content

Commit

Permalink
unload modules before loading back
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Sep 6, 2024
1 parent cff44ab commit 91bc33c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/drivers/platform_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ static void frontend_ps2_exec(const char *path, bool should_load_game)
RARCH_LOG("Attempt to load executable: [%s], partition [%s].\n", path, mountPoint);

/* Reload IOP drivers for saving IOP ram */
deinit_drivers(true, true);
reset_IOP();
common_init_drivers(false);
waitUntilDeviceIsReady(path);
Expand Down

0 comments on commit 91bc33c

Please sign in to comment.