mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
SD起動させた場合にNANDマウントでこけていた問題に対処。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@556 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
047ceca66c
commit
0680ef0d7b
@ -87,6 +87,12 @@ TwlMain()
|
||||
/* initialize file-system */
|
||||
FS_Init(FS_DMA_NOT_USE);
|
||||
|
||||
// SD起動などあらゆるマウント状態に対応する
|
||||
FATFS_UnmountDrive("F:");
|
||||
FATFS_UnmountDrive("G:");
|
||||
FATFS_MountDrive("F", FATFS_MEDIA_TYPE_NAND, 0);
|
||||
FATFS_MountDrive("G", FATFS_MEDIA_TYPE_SD, 0);
|
||||
|
||||
// NAMライブラリ初期化
|
||||
NAM_Init( OS_AllocFromMain, OS_FreeToMain);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user