mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
サブバナーの読み込み失敗していたので修正
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1838 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
ef8488d0f5
commit
67e324d014
@ -1078,7 +1078,7 @@ static BOOL AMN_checkAndReplaceBannerAnime(s32 index)
|
||||
if (cNandTitleIndexStart <= index && index < (cNandTitleIndexStart + sNandTitleListLengthForLauncher)) {
|
||||
if (spSubBannerFileBuffer->h.crc16_anime == AMN_getBannerAnimeCRC(&spSubBannerFileBuffer->anime)) {
|
||||
// 成功したのでコピーする
|
||||
pBanner = &spNandBannerFileArray[index];
|
||||
pBanner = &spNandBannerFileArray[index-cNandTitleIndexStart];
|
||||
// h.crc16_animeしかチェックしていないので、それとanimeだけコピー
|
||||
pBanner->h.crc16_anime = spSubBannerFileBuffer->h.crc16_anime;
|
||||
// MI_CpuCopy()の方が遅くなった…
|
||||
|
||||
Loading…
Reference in New Issue
Block a user