mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-25 03:11:58 +01:00
-fixed herpderp error
This commit is contained in:
parent
f7bfba3398
commit
063fab9774
@ -144,7 +144,8 @@ u32 LoadChannel(u8 *buffer)
|
|||||||
DCFlushRange((void *)dolfile->bss_start, dolfile->bss_size);
|
DCFlushRange((void *)dolfile->bss_start, dolfile->bss_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(int i = 0; i < 18; i++)
|
int i;
|
||||||
|
for(i = 0; i < 18; i++)
|
||||||
{
|
{
|
||||||
if (!dolfile->section_size[i]) continue;
|
if (!dolfile->section_size[i]) continue;
|
||||||
if (dolfile->section_pos[i] < sizeof(dolheader)) continue;
|
if (dolfile->section_pos[i] < sizeof(dolheader)) continue;
|
||||||
@ -168,7 +169,8 @@ void PatchChannel(u8 vidMode, GXRModeObj *vmode, bool vipatch, bool countryStrin
|
|||||||
{
|
{
|
||||||
bool hookpatched = false;
|
bool hookpatched = false;
|
||||||
|
|
||||||
for (int i=0;i < dolchunkcount;i++)
|
int i;
|
||||||
|
for (i=0;i < dolchunkcount;i++)
|
||||||
{
|
{
|
||||||
patchVideoModes(dolchunkoffset[i], dolchunksize[i], vidMode, vmode, patchVidModes);
|
patchVideoModes(dolchunkoffset[i], dolchunksize[i], vidMode, vmode, patchVidModes);
|
||||||
if (vipatch) vidolpatcher(dolchunkoffset[i], dolchunksize[i]);
|
if (vipatch) vidolpatcher(dolchunkoffset[i], dolchunksize[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user