Skip to content

Commit

Permalink
chore: remove no longer needed fatinitdefault
Browse files Browse the repository at this point in the history
  • Loading branch information
DacoTaco committed Dec 17, 2024
1 parent 9cd5a61 commit 74657b0
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/priiloader/source/mount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class MutexLock
string __mountPoint = SD_MOUNTPOINT;
static mountChangedCallback __pollCallback = NULL;
static bool _init = false;
static bool _fatInit = false;
static u8 notMountableFlag = 0;
static bool _sdMounted = false;
static bool _usbMounted = false;
Expand Down Expand Up @@ -172,24 +171,6 @@ void _pollMount(void)

void* _mountThread(void* args)
{
if(!_fatInit)
{
_fatInit = true;
fatInitDefault();
}

if(GetDeviceOpTab(SD_UNMOUNTPOINT) != NULL)
{
gprintf("SD: Mounted(libdvm)");
_sdMounted = true;
}

if(GetDeviceOpTab(USB_UNMOUNTPOINT) != NULL)
{
gprintf("USB: Mounted(libdvm)");
_usbMounted = true;
}

while (!quit_thread)
{
_pollMount();
Expand Down

0 comments on commit 74657b0

Please sign in to comment.