From e25b1392a9a43463547b01f8a2f235b54fa6e3b9 Mon Sep 17 00:00:00 2001 From: N2205 Date: Wed, 24 Apr 2013 01:38:30 +0000 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E5=88=97=E5=A4=96=E3=82=92=E5=8F=82?= =?UTF-8?q?=E7=85=A7=E3=81=97=E3=81=AA=E3=81=84=E6=A7=98=E3=81=AB=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20=EF=BC=88TitleHashChecker=E3=82=92=E6=B5=B7?= =?UTF-8?q?=E5=A4=96EMS=E3=81=AB=E6=8F=90=E4=BE=9B=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=81=93=E3=81=A8=E3=81=AB=E3=81=AA=E3=82=8A=E3=80=81=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E3=82=92=E8=A1=8C=E3=81=A3=E3=81=9F=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@3105 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tests/TitleHashChecker/ARM9.TWL/src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/tests/TitleHashChecker/ARM9.TWL/src/main.c b/build/tests/TitleHashChecker/ARM9.TWL/src/main.c index 127c5f99..91997eb9 100644 --- a/build/tests/TitleHashChecker/ARM9.TWL/src/main.c +++ b/build/tests/TitleHashChecker/ARM9.TWL/src/main.c @@ -455,6 +455,12 @@ BOOL ProcessTitleHashCheck( void ) OS_Panic("NAM_GetNumTitles() failed."); } + // アプリの数が 300 を過ぎていたらエラーにする + if ( gNandAppNum >= TITLE_NUM_PAGE ) + { + OS_Panic("NAM_GetNumTitles() failed."); + } + // 情報の取得 if ( !GetDataStruct(gDataList) ) {