Commit e286f35 1 parent 1c32aec commit e286f35 Copy full SHA for e286f35
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ namespace Switch_Backup_Manager
21
21
{
22
22
internal static class Util
23
23
{
24
- public const string VERSION = "1.2.4 " ; //Actual application version
24
+ public const string VERSION = "1.2.5 " ; //Actual application version
25
25
public const string MIN_DB_Version = "1.2.1" ; //This is the minimum version of the DB that can work
26
26
27
27
public const string INI_FILE = "sbm.ini" ;
@@ -3224,7 +3224,8 @@ public static FileData GetFileData(string filepath)
3224
3224
{
3225
3225
fileStream . Position = PFS0Offset + 16 + 24 * PFS0 . PFS0_Headers [ 0 ] . FileCount + array8 [ n ] . Name_ptr ;
3226
3226
int num4 ;
3227
- while ( ( num4 = fileStream . ReadByte ( ) ) != 0 && num4 != 0 )
3227
+ //while ((num4 = fileStream.ReadByte()) != 0 && num4 != 0)
3228
+ while ( ( num4 = fileStream . ReadByte ( ) ) > 0 && num4 > 0 )
3228
3229
{
3229
3230
chars . Add ( ( char ) num4 ) ;
3230
3231
}
You can’t perform that action at this time.
0 commit comments