Closed chrisridd closed 2 years ago
All the other calls to Fseek() in FVDI seem to have the arguments in the correct order.
Thank you for that PR. Very welcome.
Can we have the same without any whitespace changes, by chance? Would make follow-ups a lot easier later on.
Thanks!
The Fseek() parameters were in the wrong order. Adding an extra check to the main Fread() helped discover this.
Now the code should be able to read PA01 palettes, as well as the old broken palettes without the header.