mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 01:45:31 +00:00
Vite: return system installed memory
This commit is contained in:
parent
89015b9c35
commit
656eb7df35
|
@ -1025,6 +1025,13 @@ SDL_GetSystemRAM(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __VITA__
|
||||||
|
if (SDL_SystemRAM <= 0) {
|
||||||
|
/* Vita has 512MiB on SoC, that's split into 256MiB(+109MiB in extended memory mode) for app
|
||||||
|
+26MiB of physically continuous memory, +112MiB of CDRAM(VRAM) + system reserved memory. */
|
||||||
|
SDL_SystemRAM = 536870912;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return SDL_SystemRAM;
|
return SDL_SystemRAM;
|
||||||
|
|
Loading…
Reference in a new issue