Load_SCR() hexdump the non pixel bytes of SCR files
This commit is contained in:
parent
36f4e6261a
commit
0e018d4a3c
@ -4101,6 +4101,15 @@ void Load_SCR(T_IO_Context * context)
|
||||
///@todo guess the picture size, or ask the user
|
||||
GFX2_Log(GFX2_DEBUG, ".SCR file. Data length %d\n", i);
|
||||
// i <= 16384 && i >= 16336 => Standard resolution
|
||||
if (i <= 16384 && i >= 16336)
|
||||
{
|
||||
int j;
|
||||
// Standard resolution files have the 200 lines stored in block
|
||||
// of 25 lines of 80 bytes = 2000 bytes every 2048 bytes.
|
||||
// so there are 48 bytes unused every 2048 bytes...
|
||||
for (j = 0; j < i; j += 2048)
|
||||
GFX2_LogHexDump(GFX2_DEBUG, "SCR ", pixel_data, j+2000, 48);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user