Vita: Add imc0 and xmc0 mount point support

This commit is contained in:
Vicki Pfau 2024-01-21 02:45:07 -08:00
parent 6e773eafea
commit 4e87dc61ee
2 changed files with 6 additions and 2 deletions

View File

@ -29,6 +29,7 @@ Misc:
- Qt: Remove maligned double-click-to-fullscreen shortcut (closes mgba.io/i/2632)
- Scripting: Add `callbacks:oneshot` for single-call callbacks
- Switch: Add bilinear filtering option (closes mgba.io/i/3111)
- Vita: Add imc0 and xmc0 mount point support
0.10.3: (2024-01-07)
Emulation fixes:

View File

@ -284,7 +284,10 @@ struct VDirSceDevList {
static const char* _devs[] = {
"ux0:",
"ur0:",
"uma0:"
"uma0:",
"imc0:",
"xmc0:",
NULL
};
struct VDir* VDeviceList() {
@ -322,7 +325,7 @@ static void _vdlsceRewind(struct VDir* vd) {
static struct VDirEntry* _vdlsceListNext(struct VDir* vd) {
struct VDirSceDevList* vdl = (struct VDirSceDevList*) vd;
while (vdl->vde.index < 3) {
while (vdl->vde.index < 0 || _devs[vdl->vde.index]) {
++vdl->vde.index;
vdl->vde.name = _devs[vdl->vde.index];
SceUID dir = sceIoDopen(vdl->vde.name);