mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-22 18:01:54 +01:00
*bugfix on variable update when installing wad (small cleanup right before commit without test :\)
This commit is contained in:
parent
0a703894e7
commit
f33d8c6b37
@ -2,8 +2,8 @@
|
||||
<app version="1">
|
||||
<name> USB Loader GX</name>
|
||||
<coder>USB Loader GX Team</coder>
|
||||
<version>2.3 r1143</version>
|
||||
<release_date>201201011709</release_date>
|
||||
<version>2.3 r1144</version>
|
||||
<release_date>201201012108</release_date>
|
||||
<!-- // remove this line to enable arguments
|
||||
<arguments>
|
||||
<arg>--ios=250</arg>
|
||||
|
@ -288,7 +288,7 @@ bool Wad::InstallContents(const char *installpath)
|
||||
break;
|
||||
|
||||
if(cnt > 0)
|
||||
offset = round_up( tmd_data->contents[cnt-1].size, 64);
|
||||
offset += round_up( tmd_data->contents[cnt-1].size, 64);
|
||||
|
||||
u32 done = 0, len;
|
||||
tmd_content *content = &tmd_data->contents[cnt];
|
||||
@ -380,7 +380,7 @@ bool Wad::InstallContents(const char *installpath)
|
||||
fclose(fp);
|
||||
|
||||
// update progress variable
|
||||
totalDone = len;
|
||||
totalDone += len;
|
||||
|
||||
// Check if the read/write process stopped before finishing
|
||||
if(done < len)
|
||||
|
Loading…
Reference in New Issue
Block a user