mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
rsfにシステムセーブデータIDを記述するように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@677 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
d406ae9fb4
commit
dfea1623f0
@ -32,6 +32,8 @@ AccessControlInfo:
|
|||||||
- CategorySystemApplication
|
- CategorySystemApplication
|
||||||
- CategorySystemSettings
|
- CategorySystemSettings
|
||||||
|
|
||||||
|
SystemSaveDataId1: 0x00020220
|
||||||
|
|
||||||
Option:
|
Option:
|
||||||
FreeProductCode: true
|
FreeProductCode: true
|
||||||
|
|
||||||
|
|||||||
@ -265,6 +265,7 @@ const wchar_t* UserInfoAccessor::mspSlideFact[UserInfoAccessor::eFactNum] =
|
|||||||
//==========================================================================
|
//==========================================================================
|
||||||
void UserInfoAccessor::init( int flg )
|
void UserInfoAccessor::init( int flg )
|
||||||
{
|
{
|
||||||
|
NN_PANIC( "uninitialized function\n");
|
||||||
#if 0
|
#if 0
|
||||||
int event = eUserInfo_Save1;
|
int event = eUserInfo_Save1;
|
||||||
|
|
||||||
@ -356,6 +357,7 @@ void UserInfoAccessor::destroy()
|
|||||||
//==========================================================================
|
//==========================================================================
|
||||||
u8* UserInfoAccessor::readCountryData( int flg )
|
u8* UserInfoAccessor::readCountryData( int flg )
|
||||||
{
|
{
|
||||||
|
NN_PANIC( "uninitialized function\n");
|
||||||
#if 0
|
#if 0
|
||||||
u8* p_data = NULL;
|
u8* p_data = NULL;
|
||||||
u8* mount_buf = NULL;
|
u8* mount_buf = NULL;
|
||||||
@ -411,6 +413,7 @@ u32 size;
|
|||||||
//==========================================================================
|
//==========================================================================
|
||||||
void UserInfoAccessor::check_first_set_()
|
void UserInfoAccessor::check_first_set_()
|
||||||
{
|
{
|
||||||
|
NN_PANIC( "uninitialized function\n");
|
||||||
#if 0
|
#if 0
|
||||||
#ifdef MAKE_ACCTEST
|
#ifdef MAKE_ACCTEST
|
||||||
// 接続検証
|
// 接続検証
|
||||||
@ -538,6 +541,7 @@ void UserInfoAccessor::check_first_set_()
|
|||||||
//==========================================================================
|
//==========================================================================
|
||||||
void UserInfoAccessor::set_country_info_()
|
void UserInfoAccessor::set_country_info_()
|
||||||
{
|
{
|
||||||
|
NN_PANIC( "uninitialized function\n");
|
||||||
#if 0
|
#if 0
|
||||||
u8* mount_buf = NULL;
|
u8* mount_buf = NULL;
|
||||||
|
|
||||||
@ -720,6 +724,7 @@ void UserInfoAccessor::setFirstAll( bool set )
|
|||||||
//*********************************************************************************
|
//*********************************************************************************
|
||||||
void UserInfoAccessor::eventProc( int info_event )
|
void UserInfoAccessor::eventProc( int info_event )
|
||||||
{
|
{
|
||||||
|
NN_PANIC( "uninitialized function\n");
|
||||||
#if 0
|
#if 0
|
||||||
int type = 1;
|
int type = 1;
|
||||||
bool lang_change = false;
|
bool lang_change = false;
|
||||||
@ -2203,7 +2208,7 @@ size_t readDataSize = 0;
|
|||||||
sys::File::finalizeMsetSys();
|
sys::File::finalizeMsetSys();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
//readDataSha1 = new( sys::Mem::getMainHeap(), 4 ) u8[ nn::crypto::Sha1Context::HASH_SIZE ];
|
readDataSha1 = new( sys::Mem::getMainHeap(), 4 ) u8[ nn::crypto::Sha1Context::HASH_SIZE ];
|
||||||
nn::crypto::CalculateSha1( readDataSha1, readData, readDataSize );
|
nn::crypto::CalculateSha1( readDataSha1, readData, readDataSize );
|
||||||
snprintf( setSha1Hash, setSha1HashLen,
|
snprintf( setSha1Hash, setSha1HashLen,
|
||||||
"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x\n",
|
"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x\n",
|
||||||
@ -2309,6 +2314,8 @@ bool ret = false;
|
|||||||
}
|
}
|
||||||
sys::File::finalizeMsetSys();
|
sys::File::finalizeMsetSys();
|
||||||
|
|
||||||
|
if( pSaveData != NULL ) { delete pSaveData; }
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user