mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
Got rid of ioFailed(). I haven't actually tested it, but we don't use the MPEG
decoder at the moment, and it was only used in the BACKEND_8BIT case anyway. svn-id: r42484
This commit is contained in:
parent
810961e685
commit
aa50dd61e9
@ -86,13 +86,10 @@ bool BaseAnimationState::init(const char *name) {
|
||||
}
|
||||
|
||||
p = 0;
|
||||
while (1) {
|
||||
while (!f.eos()) {
|
||||
_palettes[p].end = f.readUint16LE();
|
||||
_palettes[p].cnt = f.readUint16LE();
|
||||
|
||||
if (f.ioFailed())
|
||||
break;
|
||||
|
||||
for (i = 0; i < _palettes[p].cnt; i++) {
|
||||
_palettes[p].pal[4 * i] = f.readByte();
|
||||
_palettes[p].pal[4 * i + 1] = f.readByte();
|
||||
|
Loading…
x
Reference in New Issue
Block a user