From a5ef74f8a6d1b66cb888d1e15a66ba1bc4556431 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@b08762b0-b915-fc4b-9d8c-17b2551a87ff> Date: Fri, 23 May 2008 01:44:02 +0000 Subject: [PATCH] =?UTF-8?q?(=E6=9B=B4=E6=96=B0:Akabane=20Jumpei)=20?= =?UTF-8?q?=E3=83=BB=E6=B4=BB=E7=B7=9A=E6=8C=BF=E6=8A=9C=E6=8A=91=E5=88=B6?= =?UTF-8?q?/=E8=A8=B1=E5=8F=AF=E3=82=92=E9=9D=9E=E5=90=8C=E6=9C=9F?= =?UTF-8?q?=E9=96=A2=E6=95=B0=E3=81=A7=E8=A1=8C=E3=81=86=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E4=BF=AE=E6=AD=A3?= 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@1484 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/Launcher/ARM9/src/launcher.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/systemMenu_RED/Launcher/ARM9/src/launcher.c b/build/systemMenu_RED/Launcher/ARM9/src/launcher.c index 96a94da6..97215453 100644 --- a/build/systemMenu_RED/Launcher/ARM9/src/launcher.c +++ b/build/systemMenu_RED/Launcher/ARM9/src/launcher.c @@ -623,7 +623,12 @@ static TitleProperty *ProcessPads( TitleProperty *pTitleList ) hotswEnable ^= TRUE; // 活線挿抜許可・抑制 - HOTSW_EnableHotSW(hotswEnable); + HOTSW_EnableHotSWAsync( hotswEnable ); + + // 活線挿抜が指定した状態になるまでポーリング + while(HOTSW_isEnableHotSW() != hotswEnable){ + // do nothing + } NNS_G2dCharCanvasClearArea( &gCanvas, TXT_COLOR_NULL, 0, 175, 100, 13 ); }