From 7e7758a0379830faaecebc367fd8155666093b32 Mon Sep 17 00:00:00 2001 From: N2614 Date: Tue, 1 Nov 2011 01:57:04 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=83=97=E3=83=AC=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=81=8C=E9=9B=BB=E6=BA=90=E3=83=9C=E3=82=BF=E3=83=B3=E3=81=A7?= =?UTF-8?q?=E7=B5=82=E4=BA=86=E3=81=97=E3=81=9F=E3=82=89=E3=82=B7=E3=83=A3?= =?UTF-8?q?=E3=83=83=E3=83=88=E3=83=80=E3=82=A6=E3=83=B3=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@469 385bec56-5757-e545-9c3a-d8741f4650f1 --- branches/CardCupForNBD/CardCup/main.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/branches/CardCupForNBD/CardCup/main.cpp b/branches/CardCupForNBD/CardCup/main.cpp index 447a664..fa3f1f8 100644 --- a/branches/CardCupForNBD/CardCup/main.cpp +++ b/branches/CardCupForNBD/CardCup/main.cpp @@ -212,7 +212,7 @@ extern "C" void nnMain() } else { - // TODO:失敗したのでエラー表示を続ける + // 失敗したのでエラー表示を続ける NotifyFailed(0); } @@ -221,6 +221,13 @@ extern "C" void nnMain() nn::applet::PrepareToCloseApplication(); nn::applet::CloseApplication(); } + + if (nn::applet::IsExpectedToProcessPowerButton()) + { + NotifyFinished(); + break; + } + nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(16)); }