Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/system/IosLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ s32 IosLoader::LoadGameCios(s32 ios)
WBFS_CloseAll();
WDVD_Close();
DeviceHandler::Instance()->UnMountSD();
DeviceHandler::Instance()->UnMountAllUSB();
DeviceHandler::DestroyInstance();
USBStorage2_Deinit();

Expand Down
4 changes: 4 additions & 0 deletions source/usbloader/usbstorage2.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ void USBStorage2_Deinit()
MEM2_free(mem2_ptr);
mem2_ptr = NULL;
}
if (usb2_port > 0)
{
usb2_port = 0;
}
}

s32 USBStorage2_SetPort(u32 port)
Expand Down