Vita: Add imc0 and xmc0 mount point support

This commit is contained in:
Vicki Pfau 2024-01-21 02:45:07 -08:00
parent 48350b1fd3
commit a2b7b19d89
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
0.10.4: (Future)
Misc:
- Vita: Add imc0 and xmc0 mount point support
0.10.3: (2024-01-07)
Emulation fixes:
- ARM: Remove obsolete force-alignment in `bx pc` (fixes mgba.io/i/2964)

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);