Fix uStealth detection

This commit is contained in:
Xpl0itU 2022-10-16 22:22:41 +02:00 committed by GitHub
parent 16cb3348c6
commit 087162fefb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,9 +44,9 @@ bool initFS() {
FSInit();
FSInitCmdBlock(&cmdBlk);
FSSetCmdPriority(&cmdBlk, 0);
if(checkEntry("/vol/storage_usb01") == 2)
if(checkEntry("/vol/storage_usb01/usr") == 2)
usb = "/vol/storage_usb01";
else if(checkEntry("/vol/storage_usb02") == 2)
else if(checkEntry("/vol/storage_usb02/usr") == 2)
usb = "/vol/storage_usb02";
bool ret = Mocha_InitLibrary() == MOCHA_RESULT_SUCCESS;
if (ret)