From 4abfaf03f3b4f340a636d02e638d8d1c09f9b729 Mon Sep 17 00:00:00 2001 From: Ryzee119 Date: Mon, 13 Jun 2022 11:06:43 +0930 Subject: [PATCH] xbox: Optimise ram usage cache --- src/platform/xbox/platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/xbox/platform.c b/src/platform/xbox/platform.c index f65a4f8..ffb9c77 100644 --- a/src/platform/xbox/platform.c +++ b/src/platform/xbox/platform.c @@ -105,8 +105,8 @@ void platform_init(int *w, int *h) MemoryStatistics.Length = sizeof(MM_STATISTICS); MmQueryStatistics(&MemoryStatistics); uint32_t mem_size = (MemoryStatistics.TotalPhysicalPages * PAGE_SIZE); - lv_texture_cache_size = mem_size / 4; - jpg_cache_size = mem_size / 8; + lv_texture_cache_size = mem_size / 16; + jpg_cache_size = mem_size / 4; } // Xbox specific