mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +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)
|
||||
{
|
||||
/* TODO/FIXME - does this return 'free memory'? */
|
||||
return osGetMemRegionUsed(MEMREGION_ALL);
|
||||
return osGetMemRegionFree(MEMREGION_ALL);
|
||||
}
|
||||
|
||||
static enum frontend_powerstate frontend_ctr_get_powerstate(
|
||||
|
Loading…
Reference in New Issue
Block a user