mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@190 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
da12ba3ef6
commit
db52a1c0ab
@ -39,9 +39,9 @@ LIBS += libnn_ps
|
|||||||
|
|
||||||
IMPORTEE_CIA = importee.cia
|
IMPORTEE_CIA = importee.cia
|
||||||
|
|
||||||
SRC_IMPORTEE_PATH = ../body/images/$(BUILD_TARGET_DIR)/$(BUILD_TYPE_DIR)/CtrSaveDataMover.cia
|
#SRC_IMPORTEE_PATH = ../body/images/$(BUILD_TARGET_DIR)/$(BUILD_TYPE_DIR)/CtrSaveDataMover.cia
|
||||||
#とりあえず、マスタリング時は直おき、配置時に改名
|
#とりあえず、マスタリング時は直おき、配置時に改名
|
||||||
#SRC_IMPORTEE_PATH = CtrSaveDataMover_master.cia
|
SRC_IMPORTEE_PATH = CtrSaveDataMover_master.cia
|
||||||
|
|
||||||
# ビルドタイプ別に romfs を作る
|
# ビルドタイプ別に romfs を作る
|
||||||
#ROMFS_ROOT = $`(TARGET.getObjectDirectory)/romfsroot
|
#ROMFS_ROOT = $`(TARGET.getObjectDirectory)/romfsroot
|
||||||
|
|||||||
@ -1,3 +1,16 @@
|
|||||||
#コメント
|
#作成例です
|
||||||
|
#シリアルは左詰で半角のみ
|
||||||
|
#四角く囲まれた数字=Digitは省く
|
||||||
|
#コメントは全角もOK
|
||||||
|
|
||||||
|
#グループA
|
||||||
CJN10001372
|
CJN10001372
|
||||||
#-- END --
|
EJF10000237
|
||||||
|
EJF10001230
|
||||||
|
|
||||||
|
#グループB
|
||||||
|
EJF10002236
|
||||||
|
EJF10003232
|
||||||
|
EJF10004231
|
||||||
|
EJF10005237
|
||||||
|
#-- END --
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -21,6 +21,7 @@
|
|||||||
#include <nn/am/am_ApiSystemMenu.h>
|
#include <nn/am/am_ApiSystemMenu.h>
|
||||||
#include <nn/applet.h>
|
#include <nn/applet.h>
|
||||||
#include <nn/ndm.h>
|
#include <nn/ndm.h>
|
||||||
|
#include <nn/ndm/ndm_DebugControl.h>
|
||||||
#include <nn/crypto/crypto_RsaKey.h>
|
#include <nn/crypto/crypto_RsaKey.h>
|
||||||
#include <nn/ps/ctr/ps_Api.h>
|
#include <nn/ps/ctr/ps_Api.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -127,6 +128,14 @@ u32 WaitKey(u32 mask)
|
|||||||
hpr->ReadLatest(&padStatus);
|
hpr->ReadLatest(&padStatus);
|
||||||
if(padStatus.trigger & mask)return padStatus.trigger;
|
if(padStatus.trigger & mask)return padStatus.trigger;
|
||||||
CheckSysBreak();
|
CheckSysBreak();
|
||||||
|
int i = nn::ndm::GetDaemonStatus( nn::ndm::DN_CEC );
|
||||||
|
if (i !=3 )NN_LOG("DN_CEC %d\n",i);
|
||||||
|
i = nn::ndm::GetDaemonStatus( nn::ndm::DN_BOSS );
|
||||||
|
if (i !=3 )NN_LOG("DN_BOSS %d\n",i);
|
||||||
|
i = nn::ndm::GetDaemonStatus( nn::ndm::DN_NIM );
|
||||||
|
if (i !=3 )NN_LOG("DN_NIM %d\n",i);
|
||||||
|
i = nn::ndm::GetDaemonStatus( nn::ndm::DN_FRIENDS );
|
||||||
|
if (i !=3 )NN_LOG("DN_FRIENDS %d\n",i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -249,7 +258,9 @@ void nnMain( void )
|
|||||||
//DEA-SUPにて推奨のフリーズ暫定対策:無線デーモンを停止 (2011.3.1 現在)
|
//DEA-SUPにて推奨のフリーズ暫定対策:無線デーモンを停止 (2011.3.1 現在)
|
||||||
//ただし、スリープ時の"いつのまに通信"は止まらない
|
//ただし、スリープ時の"いつのまに通信"は止まらない
|
||||||
//無線は使わないので本体横スイッチ切っとくのが確実
|
//無線は使わないので本体横スイッチ切っとくのが確実
|
||||||
nn::ndm::SuspendScheduler();
|
nn::ndm::Initialize();
|
||||||
|
result = nn::ndm::SuspendScheduler();
|
||||||
|
NN_LOG("%d",result.GetDescription());
|
||||||
|
|
||||||
//中断処理の準備
|
//中断処理の準備
|
||||||
InitSysBreak((uptr)endfunc);
|
InitSysBreak((uptr)endfunc);
|
||||||
|
|||||||
@ -57,7 +57,7 @@ CTR_BANNER_SPEC = banner_null_icon.bsf
|
|||||||
|
|
||||||
#Cia バージョン:マスタリング毎に更新すること
|
#Cia バージョン:マスタリング毎に更新すること
|
||||||
#メジャーはrsfで指定(Remasterversion)
|
#メジャーはrsfで指定(Remasterversion)
|
||||||
MAKECIAFLAGS = -minor 0 -micro 9
|
MAKECIAFLAGS = -minor 0 -micro 10
|
||||||
|
|
||||||
include $(ROOT_OMAKE)/modulerules
|
include $(ROOT_OMAKE)/modulerules
|
||||||
|
|
||||||
|
|||||||
@ -20,6 +20,7 @@
|
|||||||
//#include <nn/os.h>
|
//#include <nn/os.h>
|
||||||
#include <nn/applet.h>
|
#include <nn/applet.h>
|
||||||
#include <nn/ndm.h>
|
#include <nn/ndm.h>
|
||||||
|
#include <nn/ndm/ndm_DebugControl.h>
|
||||||
#include <nn/fs/ctr/mpcore/fs_FileSystemBasePrivate.h>
|
#include <nn/fs/ctr/mpcore/fs_FileSystemBasePrivate.h>
|
||||||
#include <nn/fs/fs_Parameters.h>
|
#include <nn/fs/fs_Parameters.h>
|
||||||
#include <nn/fs/fs_ApiProcessInfo.h>
|
#include <nn/fs/fs_ApiProcessInfo.h>
|
||||||
@ -1086,6 +1087,15 @@ void WaitUI()
|
|||||||
|
|
||||||
CheckSysBreak();//中断処理
|
CheckSysBreak();//中断処理
|
||||||
|
|
||||||
|
int i = nn::ndm::GetDaemonStatus( nn::ndm::DN_CEC );
|
||||||
|
if (i !=3 )NN_LOG("DN_CEC %d\n",i);
|
||||||
|
i = nn::ndm::GetDaemonStatus( nn::ndm::DN_BOSS );
|
||||||
|
if (i !=3 )NN_LOG("DN_BOSS %d\n",i);
|
||||||
|
i = nn::ndm::GetDaemonStatus( nn::ndm::DN_NIM );
|
||||||
|
if (i !=3 )NN_LOG("DN_NIM %d\n",i);
|
||||||
|
i = nn::ndm::GetDaemonStatus( nn::ndm::DN_FRIENDS );
|
||||||
|
if (i !=3 )NN_LOG("DN_FRIENDS %d\n",i);
|
||||||
|
|
||||||
//挿抜を検知したら中断して抜ける
|
//挿抜を検知したら中断して抜ける
|
||||||
//トップ以外ではトップメニューへ戻るようする
|
//トップ以外ではトップメニューへ戻るようする
|
||||||
if (ejectEvnt.TryWait()){
|
if (ejectEvnt.TryWait()){
|
||||||
@ -1148,6 +1158,7 @@ void nnMain()
|
|||||||
//DEA-SUPにて推奨のフリーズ暫定対策:無線デーモンを停止 (2011.3.1 現在)
|
//DEA-SUPにて推奨のフリーズ暫定対策:無線デーモンを停止 (2011.3.1 現在)
|
||||||
//ただし、スリープ時は止まらない
|
//ただし、スリープ時は止まらない
|
||||||
//心配なら本体スイッチで切っとく
|
//心配なら本体スイッチで切っとく
|
||||||
|
nn::ndm::Initialize();
|
||||||
nn::ndm::SuspendScheduler();
|
nn::ndm::SuspendScheduler();
|
||||||
|
|
||||||
//中断処理の準備
|
//中断処理の準備
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user