Skip to content

Commit 67ca18d

Browse files
committed
Skip some drivers
1 parent 7ce7e22 commit 67ca18d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

frontend/drivers/platform_ps2.c

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -152,15 +152,16 @@ static void init_drivers(bool extra_drivers)
152152
{
153153
init_fileXio_driver();
154154
init_memcard_driver(true);
155-
init_usb_driver();
156-
init_cdfs_driver();
155+
init_usb_driver(true);
156+
// init_mx4sio_driver(true);
157+
// init_cdfs_driver();
157158
bool only_if_booted_from_hdd = true;
158159
#if defined(DEBUG) && !defined(BUILD_FOR_PCSX2)
159160
only_if_booted_from_hdd = false;
160161
#else
161162
init_poweroff_driver();
162163
#endif
163-
hddStatus = init_hdd_driver(false, only_if_booted_from_hdd);
164+
// hddStatus = init_hdd_driver(true, only_if_booted_from_hdd);
164165

165166
#ifndef IS_SALAMANDER
166167
if (extra_drivers)
@@ -236,11 +237,12 @@ static void deinit_drivers(bool deinit_filesystem, bool deinit_powerOff)
236237

237238
if (deinit_filesystem)
238239
{
239-
umount_hdd_partition(mountString);
240+
// umount_hdd_partition(mountString);
240241

241-
deinit_hdd_driver(false);
242-
deinit_cdfs_driver();
243-
deinit_usb_driver();
242+
// deinit_hdd_driver(!deinit_powerOff);
243+
// deinit_cdfs_driver();
244+
// deinit_mx4sio_driver(true);
245+
deinit_usb_driver(true);
244246
deinit_memcard_driver(true);
245247
deinit_fileXio_driver();
246248

0 commit comments

Comments
 (0)