From 629abb464656ca573dfc05fc7fefc1ac658d5113 Mon Sep 17 00:00:00 2001 From: Jacoby6000 Date: Tue, 23 Jul 2024 18:52:26 -0500 Subject: [PATCH] more minor formatting changes --- source/SystemMenu/SystemMenuResources.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/SystemMenu/SystemMenuResources.cpp b/source/SystemMenu/SystemMenuResources.cpp index 4b92f685..ca6b9c4d 100644 --- a/source/SystemMenu/SystemMenuResources.cpp +++ b/source/SystemMenu/SystemMenuResources.cpp @@ -70,13 +70,14 @@ bool SystemMenuResources::Init() idx = i; break; } - } + if( idx == 0xffff ) { gprintf( "SM main resource not found\n" ); return false; } + // build file path char path[ ISFS_MAXPATH ]__attribute__((aligned( 32 ))); sprintf(path, "/title/00000001/00000002/content/%08x.app", (unsigned int)contents[ idx ].cid);