Skip to content

Commit e286f35

Browse files
committed
1 parent 1c32aec commit e286f35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Switch Backup Manager/Util.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Switch_Backup_Manager
2121
{
2222
internal static class Util
2323
{
24-
public const string VERSION = "1.2.4"; //Actual application version
24+
public const string VERSION = "1.2.5"; //Actual application version
2525
public const string MIN_DB_Version = "1.2.1"; //This is the minimum version of the DB that can work
2626

2727
public const string INI_FILE = "sbm.ini";
@@ -3224,7 +3224,8 @@ public static FileData GetFileData(string filepath)
32243224
{
32253225
fileStream.Position = PFS0Offset + 16 + 24 * PFS0.PFS0_Headers[0].FileCount + array8[n].Name_ptr;
32263226
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)
32283229
{
32293230
chars.Add((char)num4);
32303231
}

0 commit comments

Comments
 (0)