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:
N2614 2011-02-08 00:55:37 +00:00
parent 6ef0dc2ead
commit 20d186148a
5 changed files with 1 additions and 10 deletions

View File

@ -256,9 +256,6 @@ extern "C" void nnMain(void)
common::Logger::GetLoggerInstance()->PrintResultIfFailed(result , __LINE__); common::Logger::GetLoggerInstance()->PrintResultIfFailed(result , __LINE__);
u64 friendCode = nn::friends::CTR::FriendKeyToFriendCode(friendKey); u64 friendCode = nn::friends::CTR::FriendKeyToFriendCode(friendKey);
// ReadOnlySharedInfoの取得
const nn::os::ReadOnlySharedInfo& rosi = nn::os::GetReadOnlySharedInfo();
// バージョンの取得 // バージョンの取得
common::VerDef mVerData; common::VerDef mVerData;
common::GetSystemVersion(&mVerData, region); common::GetSystemVersion(&mVerData, region);
@ -365,7 +362,6 @@ extern "C" void nnMain(void)
macAddress, macAddress,
operationMessage, operationMessage,
region, region,
rosi,
s_SerialNo s_SerialNo
); );

View File

@ -267,9 +267,6 @@ extern "C" void nnMain(void)
common::Logger::GetLoggerInstance()->PrintResultIfFailed(result , __LINE__); common::Logger::GetLoggerInstance()->PrintResultIfFailed(result , __LINE__);
u64 friendCode = nn::friends::CTR::FriendKeyToFriendCode(friendKey); u64 friendCode = nn::friends::CTR::FriendKeyToFriendCode(friendKey);
// ReadOnlySharedInfoの取得
const nn::os::ReadOnlySharedInfo& rosi = nn::os::GetReadOnlySharedInfo();
// バージョンの取得 // バージョンの取得
common::VerDef mVerData; common::VerDef mVerData;
common::GetSystemVersion(&mVerData, region); common::GetSystemVersion(&mVerData, region);
@ -376,7 +373,6 @@ extern "C" void nnMain(void)
macAddress, macAddress,
operationMessage, operationMessage,
region, region,
rosi,
s_SerialNo s_SerialNo
); );

View File

@ -57,7 +57,6 @@ void DrawSystemState
char8* macAddress, char8* macAddress,
::std::vector<std::string>& operationMessage, ::std::vector<std::string>& operationMessage,
nn::cfg::CTR::CfgRegionCode region, nn::cfg::CTR::CfgRegionCode region,
const nn::os::ReadOnlySharedInfo& rosi,
u8* s_SerialNo u8* s_SerialNo
) )
{ {

View File

@ -62,7 +62,6 @@ void DrawSystemState
char8* macAddress, char8* macAddress,
::std::vector<std::string>& operationMessage, ::std::vector<std::string>& operationMessage,
nn::cfg::CTR::CfgRegionCode region, nn::cfg::CTR::CfgRegionCode region,
const nn::os::ReadOnlySharedInfo& rosi,
u8* s_SerialNo u8* s_SerialNo
); );

View File

@ -212,6 +212,7 @@ void PlayHistoryManager::Dump()
} }
} }
} }
NN_UNUSED_VAR(pEvent);
HeapManager::GetHeap()->Free(playEvent); HeapManager::GetHeap()->Free(playEvent);
return; return;