From bc69b27d3a429a7cae5d65d93c79533857add469 Mon Sep 17 00:00:00 2001 From: Brennen Murphy Date: Fri, 19 Apr 2024 15:30:48 -0400 Subject: [PATCH] fix colors on GO --- loader/dc/vunbricker/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/loader/dc/vunbricker/main.c b/loader/dc/vunbricker/main.c index cc9678f7..b65adfee 100644 --- a/loader/dc/vunbricker/main.c +++ b/loader/dc/vunbricker/main.c @@ -344,9 +344,14 @@ int app_main() sceKernelUtilsMd5Digest((u8 *)&tick, sizeof(u64), (u8 *)md5); sceKernelUtilsMt19937Init(&ctx, md5[0] ^ md5[1] ^ md5[2] ^ md5[3]); rnd = sceKernelUtilsMt19937UInt(&ctx) % 12; + void *data = ReadFileAllocEx("flash0:/vsh/resource/01-12.bmp", rnd*6176, 6176, NULL); + u32 model = kuKernelGetModel(); + if ( model == 4 ) + data = ReadFileAllocEx("flash0:/vsh/resource/01-12_03g.bmp", rnd*6176, 6176, NULL); + if (!data || vlfGuiSetBackgroundFileBuffer(data, 6176) < 0) { vlfGuiSetBackgroundPlane(0xFF000000);