mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
ビルド環境を更新。3_3 branchに戻す。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@770 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
ee4e3e02b8
commit
16bc05adb2
@ -1,14 +1,21 @@
|
||||
【ビルド環境】
|
||||
・SDK
|
||||
CTR_SDK-3_3 branch r45925 + r51434
|
||||
ビルド環境
|
||||
========
|
||||
|
||||
・コンパイラ
|
||||
ARM C/C++ Compiler, 4.1 [Build 1049] for Nintendo
|
||||
SDK
|
||||
----
|
||||
CTR_SDK-3_3 branch r45925 + r51434 + r54939
|
||||
|
||||
・ミドルウェア
|
||||
コンパイラ
|
||||
-------
|
||||
ARM C/C++ Compiler, 4.1 [Build 1247] for Nintendo
|
||||
|
||||
ミドルウェア
|
||||
--------
|
||||
QRコードエンコーダ 1.2.3
|
||||
|
||||
【ビルド時の注意】
|
||||
ビルド時の注意
|
||||
------------
|
||||
### AES鍵の変更
|
||||
リリース用ビルドでは開発機・量産機でAES鍵を変えるため、
|
||||
|
||||
量産機用ビルドの場合
|
||||
@ -21,17 +28,37 @@ QR
|
||||
|
||||
でビルドすること。
|
||||
|
||||
無線ON/OFF切り替えのため、sources/common/nwm_ExtAPI.cpp を
|
||||
$HORIZON_ROOT/sources/libraries/nwm/CTR
|
||||
### 自動無線ON/OFF
|
||||
無線ON/OFF切り替えのため、`sources/common/nwm_ExtAPI.cpp` を
|
||||
`$HORIZON_ROOT/sources/libraries/nwm/CTR`
|
||||
にコピーしてからnwmをリビルドする必要がある。
|
||||
|
||||
【リリース時の注意】
|
||||
### NNA移行完了
|
||||
NNA移行完了のため、
|
||||
trunk r54688からactライブラリをコピーする必要がある。
|
||||
3_3 branch のcfgには無いシンボルを参照してしまうので、trunkでactライブラリをビルドする時に
|
||||
`sources/common/act_ApiAdmin.cpp.patch`を当ててからビルドすること。
|
||||
|
||||
#### trunkからコピーするファイル
|
||||
* $HORIZON_ROOT/include/nn/act
|
||||
* $HORIZON_ROOT/include/nn/mii
|
||||
* $HORIZON_ROOT/include/nn/Result.h
|
||||
* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/release/libnn_act.fast.a
|
||||
* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/release/libnn_act.small.a
|
||||
* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/verbose/libnn_act.fast.a
|
||||
* $HORIZON_ROOT/libraries/CTR-TS.Process.MPCore/verbose/libnn_act.small.a
|
||||
|
||||
リリース時の注意
|
||||
=============
|
||||
|
||||
ConsoleRestoreのReleaseビルドは、ショップ接続時などにで無限ループする不具合があるためDevelopmentビルドを使用する。
|
||||
|
||||
【その他】
|
||||
その他
|
||||
=====
|
||||
|
||||
PC上でのgoogletestを使う場合BOM付きのUTF-8を
|
||||
コンパイルできるgccが必要。
|
||||
cygwin 1.7.9-1
|
||||
で動作確認済み。
|
||||
sources/tests/googletest/common/common.omにgtestのインストール先を指定する必要がある
|
||||
`sources/tests/googletest/common/common.om`にgtestのインストール先を指定する必要がある
|
||||
|
||||
|
||||
@ -84,7 +84,7 @@ LIBFILES += $`(addprefix $(CTRMW_QRE_ROOT)$(DIRSEP)$(SUBDIR_LIBRARIES
|
||||
INSTALL_SDK_TOOL = true
|
||||
|
||||
ROM_SPEC_FILE = $(TARGET_NAME).rsf
|
||||
DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/tools/RepairTool.desc
|
||||
DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/private/RepairTool.desc
|
||||
|
||||
include $(ROOT_OMAKE)/modulerules
|
||||
|
||||
|
||||
@ -0,0 +1,56 @@
|
||||
Index: sources/libraries/act/CTR/act_ApiAdmin.cpp
|
||||
===================================================================
|
||||
--- sources/libraries/act/CTR/act_ApiAdmin.cpp (revision 54688)
|
||||
+++ sources/libraries/act/CTR/act_ApiAdmin.cpp (working copy)
|
||||
@@ -192,6 +192,22 @@
|
||||
u32 approvalId,
|
||||
bool isOffDeviceAccessEnabled)
|
||||
{
|
||||
+ NN_UNUSED_VAR(pAccountId);
|
||||
+ NN_UNUSED_VAR(pAccountPassword);
|
||||
+ NN_UNUSED_VAR(pMailAddress);
|
||||
+ NN_UNUSED_VAR(isParentMailAddress);
|
||||
+ NN_UNUSED_VAR(isEnabledToReceiveAds);
|
||||
+ NN_UNUSED_VAR(birthday);
|
||||
+ NN_UNUSED_VAR(gender);
|
||||
+ NN_UNUSED_VAR(simpleAddressId);
|
||||
+ NN_UNUSED_VAR(timeZone);
|
||||
+ NN_UNUSED_VAR(agreedEulaInfo);
|
||||
+ NN_UNUSED_VAR(agreedEulaTime);
|
||||
+ NN_UNUSED_VAR(approvalId);
|
||||
+ NN_UNUSED_VAR(isOffDeviceAccessEnabled);
|
||||
+ nn::Result result;
|
||||
+ return result;
|
||||
+#if 0
|
||||
NN_ACT_RETURN_RESULT_IF_NOT_INITIALIZED_ADMIN();
|
||||
|
||||
NN_ACT_RETURN_RESULT_IF_NULL(pAccountId);
|
||||
@@ -212,6 +228,7 @@
|
||||
NN_ACT_RETURN_IF_FAILED(ActAdmin::BindToNewServerAccount(event.GetHandle(), NN_ACT_SLOT_NO_CURRENT, pAccountId, pAccountPassword, pMailAddress, isParentMailAddress, isEnabledToReceiveAds, birthday, gender, simpleAddressId, timeZone, agreedEulaInfo, agreedEulaTime, approvalId, isOffDeviceAccessEnabled));
|
||||
|
||||
return WaitAndGetLastResponseResult( &event );
|
||||
+#endif
|
||||
}
|
||||
|
||||
Result BindToExistentServerAccount(
|
||||
@@ -452,6 +469,12 @@
|
||||
u32 simpleAddressId,
|
||||
const TimeZone& timeZone)
|
||||
{
|
||||
+ NN_UNUSED_VAR(gender);
|
||||
+ NN_UNUSED_VAR(simpleAddressId);
|
||||
+ NN_UNUSED_VAR(timeZone);
|
||||
+ nn::Result result;
|
||||
+ return result;
|
||||
+#if 0
|
||||
{
|
||||
nn::cfg::SimpleAddressId* pSimpleAddressId = reinterpret_cast<nn::cfg::SimpleAddressId*>(&simpleAddressId);
|
||||
*pSimpleAddressId = nn::cfg::ConvertToWiiUSimpleAddressId( *pSimpleAddressId );
|
||||
@@ -470,6 +493,7 @@
|
||||
}
|
||||
|
||||
return UpdateAccountInfo(xmlData);
|
||||
+#endif
|
||||
}
|
||||
|
||||
Result UpdateIsEnabledToReceiveAds( bool isEnabledToReceiveAds )
|
||||
Loading…
Reference in New Issue
Block a user