From 65de673db2fa852ea4688de839c3e61acc5429cf Mon Sep 17 00:00:00 2001 From: N2614 Date: Thu, 7 Apr 2011 02:56:19 +0000 Subject: [PATCH] =?UTF-8?q?=E9=9B=BB=E6=BA=90=E3=83=9C=E3=82=BF=E3=83=B3?= =?UTF-8?q?=E3=81=A7=E6=AD=A3=E5=B8=B8=E7=B5=82=E4=BA=86=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@185 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/BoxyardEraser/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/trunk/BoxyardEraser/main.cpp b/trunk/BoxyardEraser/main.cpp index 01fa462..5808897 100644 --- a/trunk/BoxyardEraser/main.cpp +++ b/trunk/BoxyardEraser/main.cpp @@ -310,5 +310,12 @@ extern "C" void nnMain(void) s_RenderSystem.Clear(); s_RenderSystem.SwapBuffers(); nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(10)); + + if ( nn::applet::IsExpectedToCloseApplication() ) + { + nn::applet::PrepareToCloseApplication(); + nn::applet::CloseApplication(); + } + } }