File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
retail/bootloaderi/source/arm7 Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1888,6 +1888,7 @@ void patchBannerPath(const tNDSHeader* ndsHeader) {
18881888 extern u32 iUncompressedSize ;
18891889 extern u32 iUncompressedSizei ;
18901890 u32 * arm9idst = (u32 * )* (u32 * )0x02FFE1C8 ;
1891+ u32 * arm9dst = (u32 * )ndsHeader -> arm9destination ;
18911892 for (u32 i = 0 ; i < iUncompressedSizei /4 ; i ++ ) {
18921893 if (arm9idst [i ] == (u32 )offset ) {
18931894 arm9idst [i ] = newPathOffset ;
@@ -1930,7 +1931,6 @@ void patchBannerPath(const tNDSHeader* ndsHeader) {
19301931 dbg_printf ("\n\n" );
19311932
19321933 found = false;
1933- arm9idst = (u32 * )* (u32 * )0x02FFE1C8 ;
19341934 for (u32 i = 0 ; i < iUncompressedSizei /4 ; i ++ ) {
19351935 if (arm9idst [i ] == (u32 )offset ) {
19361936 arm9idst [i ] = newPathOffset ;
@@ -1939,7 +1939,6 @@ void patchBannerPath(const tNDSHeader* ndsHeader) {
19391939 }
19401940
19411941 if (!found ) {
1942- u32 * arm9dst = (u32 * )ndsHeader -> arm9destination ;
19431942 for (u32 i = 0 ; i < iUncompressedSize /4 ; i ++ ) {
19441943 if (arm9dst [i ] == (u32 )offset ) {
19451944 arm9dst [i ] = newPathOffset ;
You can’t perform that action at this time.
0 commit comments