mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(CTR/3DS) Properly report free RAM
This commit is contained in:
parent
c2b26a3cd9
commit
3a39a51f11
@ -506,8 +506,7 @@ static uint64_t frontend_ctr_get_mem_total(void)
|
|||||||
|
|
||||||
static uint64_t frontend_ctr_get_mem_free(void)
|
static uint64_t frontend_ctr_get_mem_free(void)
|
||||||
{
|
{
|
||||||
/* TODO/FIXME - does this return 'free memory'? */
|
return osGetMemRegionFree(MEMREGION_ALL);
|
||||||
return osGetMemRegionUsed(MEMREGION_ALL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum frontend_powerstate frontend_ctr_get_powerstate(
|
static enum frontend_powerstate frontend_ctr_get_powerstate(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user