add GCA_Remount/GCB_Remount

This commit is contained in:
Christopher Roy Bratusek 2012-08-26 11:03:10 +02:00
parent 8767b222f1
commit 723e6ff023
2 changed files with 14 additions and 0 deletions

View File

@ -635,6 +635,12 @@ void UnmountAllDevices()
fatUnmount("gcb:");
}
void GCA_ReMount()
{
fatUnmount("gca:");
fatMountSimple("gca", &__io_gcsda);
}
bool GCA_Inserted()
{
@ -662,6 +668,12 @@ void check_gca()
}
}
void GCB_ReMount()
{
fatUnmount("gcb:");
fatMountSimple("gcb", &__io_gcsdb);
}
bool GCB_Inserted()
{
return __io_gcsdb.isInserted();

View File

@ -40,6 +40,8 @@ void UnMountDVD();
bool DVD_Inserted();
void check_dvd();
void GCA_Remount();
void GCB_Remount();
bool GCA_Inserted();
bool GCB_Inserted();
void check_gca();