mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
ReadonlySharedInfoを使わないように
警告対策 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@30 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
6ef0dc2ead
commit
20d186148a
@ -256,9 +256,6 @@ extern "C" void nnMain(void)
|
||||
common::Logger::GetLoggerInstance()->PrintResultIfFailed(result , __LINE__);
|
||||
u64 friendCode = nn::friends::CTR::FriendKeyToFriendCode(friendKey);
|
||||
|
||||
// ReadOnlySharedInfoの取得
|
||||
const nn::os::ReadOnlySharedInfo& rosi = nn::os::GetReadOnlySharedInfo();
|
||||
|
||||
// バージョンの取得
|
||||
common::VerDef mVerData;
|
||||
common::GetSystemVersion(&mVerData, region);
|
||||
@ -365,7 +362,6 @@ extern "C" void nnMain(void)
|
||||
macAddress,
|
||||
operationMessage,
|
||||
region,
|
||||
rosi,
|
||||
s_SerialNo
|
||||
);
|
||||
|
||||
|
||||
@ -267,9 +267,6 @@ extern "C" void nnMain(void)
|
||||
common::Logger::GetLoggerInstance()->PrintResultIfFailed(result , __LINE__);
|
||||
u64 friendCode = nn::friends::CTR::FriendKeyToFriendCode(friendKey);
|
||||
|
||||
// ReadOnlySharedInfoの取得
|
||||
const nn::os::ReadOnlySharedInfo& rosi = nn::os::GetReadOnlySharedInfo();
|
||||
|
||||
// バージョンの取得
|
||||
common::VerDef mVerData;
|
||||
common::GetSystemVersion(&mVerData, region);
|
||||
@ -376,7 +373,6 @@ extern "C" void nnMain(void)
|
||||
macAddress,
|
||||
operationMessage,
|
||||
region,
|
||||
rosi,
|
||||
s_SerialNo
|
||||
);
|
||||
|
||||
|
||||
@ -57,7 +57,6 @@ void DrawSystemState
|
||||
char8* macAddress,
|
||||
::std::vector<std::string>& operationMessage,
|
||||
nn::cfg::CTR::CfgRegionCode region,
|
||||
const nn::os::ReadOnlySharedInfo& rosi,
|
||||
u8* s_SerialNo
|
||||
)
|
||||
{
|
||||
|
||||
@ -62,7 +62,6 @@ void DrawSystemState
|
||||
char8* macAddress,
|
||||
::std::vector<std::string>& operationMessage,
|
||||
nn::cfg::CTR::CfgRegionCode region,
|
||||
const nn::os::ReadOnlySharedInfo& rosi,
|
||||
u8* s_SerialNo
|
||||
);
|
||||
|
||||
|
||||
@ -212,6 +212,7 @@ void PlayHistoryManager::Dump()
|
||||
}
|
||||
}
|
||||
}
|
||||
NN_UNUSED_VAR(pEvent);
|
||||
|
||||
HeapManager::GetHeap()->Free(playEvent);
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user