mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
Enable convert code for Amiga CD32 version of Simon1 too
svn-id: r24251
This commit is contained in:
parent
b2d4d36e8b
commit
757fc94676
@ -708,17 +708,17 @@ void AGOSEngine::loadVGAFile(uint id, uint type) {
|
|||||||
}
|
}
|
||||||
free(srcBuffer);
|
free(srcBuffer);
|
||||||
} else {
|
} else {
|
||||||
//if (getGameId() == GID_SIMON1CD32) {
|
if (getGameId() == GID_SIMON1CD32 && type == 2) {
|
||||||
// dst = (byte *)malloc(dstSize);
|
dst = (byte *)malloc(dstSize);
|
||||||
// if (in.read(dst, dstSize) != dstSize)
|
if (in.read(dst, dstSize) != dstSize)
|
||||||
// error("loadVGAFile: Read failed");
|
error("loadVGAFile: Read failed");
|
||||||
// convertAmiga(dst, dstSize);
|
convertAmiga(dst, dstSize);
|
||||||
// free(dst);
|
free(dst);
|
||||||
//} else {
|
} else {
|
||||||
dst = allocBlock(dstSize + extraBuffer);
|
dst = allocBlock(dstSize + extraBuffer);
|
||||||
if (in.read(dst, dstSize) != dstSize)
|
if (in.read(dst, dstSize) != dstSize)
|
||||||
error("loadVGAFile: Read failed");
|
error("loadVGAFile: Read failed");
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
in.close();
|
in.close();
|
||||||
} else if (type != 3) {
|
} else if (type != 3) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user