Skip to content

Commit

Permalink
fix iso mounting
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Dec 27, 2024
1 parent 63ead33 commit 260a187
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/compat/vita/syspatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ KernelFunctions _ktbl = { // for vita flash patcher
int (*_sctrlKernelLoadExecVSHWithApitype)(int apitype, const char * file, struct SceKernelLoadExecVSHParam * param) = NULL;
int sctrlKernelLoadExecVSHWithApitypeWithUMDemu(int apitype, const char * file, struct SceKernelLoadExecVSHParam * param)
{
if (apitype == 0x141){ // homebrew API
if (apitype == 0x141 && sctrlSEGetBootConfFileIndex() != MODE_INFERNO){ // homebrew API not using Inferno
sctrlSESetBootConfFileIndex(MODE_INFERNO); // force inferno to simulate UMD drive
sctrlSESetUmdFile(""); // empty UMD drive (makes sceUmdCheckMedium return false)
}
Expand Down
3 changes: 3 additions & 0 deletions extras/menus/arkMenu/src/browser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,13 @@ Browser::Browser(){
if (psp_model == PSP_11000 || ftp_driver == NULL){
pEntries[FTP_DIR] = NULL;
}

/*
if (IS_VITA(ark_config) || psp_model == PSP_GO){
if (!sceUmdCheckMedium())
pEntries[UMD_DIR] = NULL;
}
*/

if (ark_config->exec_mode == PS_VITA)
pEntries[USB_DEV] = NULL;
Expand Down
1 change: 1 addition & 0 deletions extras/menus/arkMenu/src/iso.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ void Iso::executeVideoISO(const char* path)
ARKConfig* ark_config = common::getArkConfig();
if (IS_VITA(ark_config) && !IS_VITA_ADR(ark_config)){
sctrlSESetBootConfFileIndex(MODE_INFERNO);
sctrlSESetDiscType(type|PSP_UMD_TYPE_GAME);
Eboot::executeEboot(common::getArgv()[0]);
}
else{
Expand Down

0 comments on commit 260a187

Please sign in to comment.