ファイルパス変換の誤りを修正。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@138 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
yosiokat 2007-11-12 01:58:07 +00:00
parent 6b08538d20
commit 0f8334a24e

View File

@ -25,11 +25,13 @@ static BOOL FS_IdentifyTitle(u32 titleLo)
// if (OS_GetBootType() == OS_BOOTTYPE_NAND) // if (OS_GetBootType() == OS_BOOTTYPE_NAND)
{ {
char path[FS_ENTRY_LONGNAME_MAX]; char path[FS_ENTRY_LONGNAME_MAX];
STD_TSPrintf(path, "nand:/title_e/00010001/%02X%02X%02X%02X/content/12123434.app", /* STD_TSPrintf(path, "nand:/title_e/00010001/%02X%02X%02X%02X/content/12123434.app",
((titleLo / 1000) % 10) + '0', ((titleLo / 1000) % 10) + '0',
((titleLo / 100) % 10) + '0', ((titleLo / 100) % 10) + '0',
((titleLo / 10) % 10) + '0', ((titleLo / 10) % 10) + '0',
((titleLo / 1) % 10) + '0'); ((titleLo / 1) % 10) + '0');
*/
STD_TSPrintf(path, "nand:/title_e/00010001/%08X/content/12123434.app", titleLo );
if (!FS_IsAvailable()) if (!FS_IsAvailable())
{ {
FS_Init(FS_DMA_NOT_USE); FS_Init(FS_DMA_NOT_USE);