Skip to content

Commit

Permalink
add mx4sio driver
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Jan 26, 2025
1 parent b982ff6 commit 9305a98
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions frontend/drivers/platform_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,16 @@ static void init_drivers(bool extra_drivers)
init_fileXio_driver();
init_memcard_driver(true);
init_usb_driver();
init_usb_driver(true);
init_mx4sio_driver(true);
init_cdfs_driver();
bool only_if_booted_from_hdd = true;
#if defined(DEBUG) && !defined(BUILD_FOR_PCSX2)
only_if_booted_from_hdd = false;
#else
init_poweroff_driver();
#endif
hddStatus = init_hdd_driver(false, only_if_booted_from_hdd);
hddStatus = init_hdd_driver(true, only_if_booted_from_hdd);

#ifndef IS_SALAMANDER
if (extra_drivers)
Expand Down Expand Up @@ -238,8 +240,9 @@ static void deinit_drivers(bool deinit_filesystem, bool deinit_powerOff)
{
umount_hdd_partition(mountString);

deinit_hdd_driver(false);
deinit_usb_driver();
deinit_hdd_driver(!deinit_powerOff);
deinit_mx4sio_driver(true);
deinit_usb_driver(true);
deinit_memcard_driver(true);
deinit_fileXio_driver();

Expand Down

0 comments on commit 9305a98

Please sign in to comment.