mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
Cleanup.
svn-id: r35477
This commit is contained in:
parent
e07d509100
commit
5ef6d928b9
@ -725,18 +725,8 @@ void AGOSEngine::loadVGAVideoFile(uint16 id, uint8 type) {
|
||||
} else if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {
|
||||
if (getPlatform() == Common::kPlatformAtariST)
|
||||
sprintf(filename, "%.2d%d.out", id, type);
|
||||
else if (id == 20)
|
||||
sprintf(filename, "D%d.out", type);
|
||||
else if (id == 26)
|
||||
sprintf(filename, "J%d.out", type);
|
||||
else if (id == 27)
|
||||
sprintf(filename, "K%d.out", type);
|
||||
else if (id == 33)
|
||||
sprintf(filename, "Q%d.out", type);
|
||||
else if (id == 34)
|
||||
sprintf(filename, "R%d.out", type);
|
||||
else
|
||||
sprintf(filename, "%.1d%d.out", id, type);
|
||||
sprintf(filename, "%c%d.out", 48 + id, type);
|
||||
} else if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2) {
|
||||
sprintf(filename, "%.2d%d.pkd", id, type);
|
||||
} else {
|
||||
|
@ -359,19 +359,9 @@ bool AGOSEngine::loadVGASoundFile(uint16 id, uint8 type) {
|
||||
uint32 srcSize, dstSize;
|
||||
|
||||
if (getPlatform() == Common::kPlatformAmiga || getPlatform() == Common::kPlatformAtariST) {
|
||||
if (getGameType() == GType_ELVIRA1 && getFeatures() & GF_DEMO) {
|
||||
if (id == 20)
|
||||
sprintf(filename, "D%d.out", type);
|
||||
else if (id == 26)
|
||||
sprintf(filename, "J%d.out", type);
|
||||
else if (id == 27)
|
||||
sprintf(filename, "K%d.out", type);
|
||||
else if (id == 33)
|
||||
sprintf(filename, "Q%d.out", type);
|
||||
else if (id == 34)
|
||||
sprintf(filename, "R%d.out", type);
|
||||
else
|
||||
sprintf(filename, "%.1d%d.out", id, type);
|
||||
if (getGameType() == GType_ELVIRA1 && (getFeatures() & GF_DEMO) &&
|
||||
getPlatform() == Common::kPlatformAmiga) {
|
||||
sprintf(filename, "%c%d.out", 48 + id, type);
|
||||
} else if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2) {
|
||||
sprintf(filename, "%.2d%d.out", id, type);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user