mirror of https://github.com/mgba-emu/mgba.git
Vita: Add imc0 and xmc0 mount point support
This commit is contained in:
parent
6e773eafea
commit
4e87dc61ee
1
CHANGES
1
CHANGES
|
@ -29,6 +29,7 @@ Misc:
|
||||||
- Qt: Remove maligned double-click-to-fullscreen shortcut (closes mgba.io/i/2632)
|
- Qt: Remove maligned double-click-to-fullscreen shortcut (closes mgba.io/i/2632)
|
||||||
- Scripting: Add `callbacks:oneshot` for single-call callbacks
|
- Scripting: Add `callbacks:oneshot` for single-call callbacks
|
||||||
- Switch: Add bilinear filtering option (closes mgba.io/i/3111)
|
- Switch: Add bilinear filtering option (closes mgba.io/i/3111)
|
||||||
|
- Vita: Add imc0 and xmc0 mount point support
|
||||||
|
|
||||||
0.10.3: (2024-01-07)
|
0.10.3: (2024-01-07)
|
||||||
Emulation fixes:
|
Emulation fixes:
|
||||||
|
|
|
@ -284,7 +284,10 @@ struct VDirSceDevList {
|
||||||
static const char* _devs[] = {
|
static const char* _devs[] = {
|
||||||
"ux0:",
|
"ux0:",
|
||||||
"ur0:",
|
"ur0:",
|
||||||
"uma0:"
|
"uma0:",
|
||||||
|
"imc0:",
|
||||||
|
"xmc0:",
|
||||||
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
struct VDir* VDeviceList() {
|
struct VDir* VDeviceList() {
|
||||||
|
@ -322,7 +325,7 @@ static void _vdlsceRewind(struct VDir* vd) {
|
||||||
|
|
||||||
static struct VDirEntry* _vdlsceListNext(struct VDir* vd) {
|
static struct VDirEntry* _vdlsceListNext(struct VDir* vd) {
|
||||||
struct VDirSceDevList* vdl = (struct VDirSceDevList*) 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.index;
|
||||||
vdl->vde.name = _devs[vdl->vde.index];
|
vdl->vde.name = _devs[vdl->vde.index];
|
||||||
SceUID dir = sceIoDopen(vdl->vde.name);
|
SceUID dir = sceIoDopen(vdl->vde.name);
|
||||||
|
|
Loading…
Reference in New Issue