Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
DacoTaco committed Dec 23, 2024
2 parents 2de7903 + e639e77 commit 6fbe753
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion src/priiloader/source/HTTP_Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ s32 HttpGet(const char* host, const char* file, u8*& dataPtr, int* externalSocke
{
dataSize = atoi(httpHeader.substr(16).c_str());
}
else if (httpHeader.rfind("localtion: ", 0) == 0)
else if (httpHeader.rfind("location: ", 0) == 0)
{
//location
location = httpHeader.substr(httpHeader.find("location: "));
Expand Down
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 6fbe753

Please sign in to comment.