We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8691540 commit e6f4ae3Copy full SHA for e6f4ae3
sfall/HRP/SplashScreen.cpp
@@ -91,7 +91,8 @@ static void Clear(fo::PALETTE* palette) {
91
}
92
93
static fo::DbFile* __fastcall ReadRIX(fo::DbFile* file, fo::PALETTE* palette) {
94
- fo::func::db_fseek(file, 4, SEEK_SET);
+ fo::func::db_fseek(file, 0, SEEK_SET); // rewind (for uncompressed .dat)
95
+ fo::func::db_fseek(file, 4, SEEK_SET); // "RIX3"
96
fo::func::db_freadShort(file, &rixWidth);
97
fo::func::db_freadShort(file, &rixHeight);
98
0 commit comments