SDK7192以降でビルドが通らなくなっていたので適当に修正

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1844 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yoshida_teruhisa 2008-07-11 00:28:01 +00:00
parent 5bf7a9fd2e
commit 9fb14b4817

View File

@ -487,11 +487,12 @@ BOOL NAMUTi_DestroySubBanner(const char* path)
static BOOL NAMUTi_MountAndFormatOtherTitleSaveData(u64 titleID, const char *arcname) static BOOL NAMUTi_MountAndFormatOtherTitleSaveData(u64 titleID, const char *arcname)
{ {
BOOL succeeded = FALSE; BOOL succeeded = FALSE;
static FSFATFSArchiveWork work;
// マウント試行。 // マウント試行。
FSResult result = FS_MountOtherTitleArchive(titleID, arcname); FSResult result = FSi_MountSpecialArchive(titleID, arcname, &work);
if (result != FS_RESULT_SUCCESS) if (result != FS_RESULT_SUCCESS)
{ {
OS_TWarning("FS_MountOtherTitleArchive failed. (%d)\n", result); OS_TWarning("FSi_MountSpecialArchive failed. (%d)\n", result);
} }
else else
{ {
@ -513,7 +514,7 @@ static BOOL NAMUTi_MountAndFormatOtherTitleSaveData(u64 titleID, const char *arc
// ドライブ情報をダンプ。 // ドライブ情報をダンプ。
// DumpArchiveResource(path); // DumpArchiveResource(path);
// アンマウント。 // アンマウント。
(void)FS_MountOtherTitleArchive(titleID, NULL); (void)FSi_MountSpecialArchive(titleID, NULL, &work);
} }
return succeeded; return succeeded;
} }