mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Fix startup of PP games
svn-id: r23996
This commit is contained in:
parent
11c9537e29
commit
e36f3cfe9b
@ -323,7 +323,7 @@ void SimonEngine::loadGamePcFile() {
|
||||
|
||||
in.close();
|
||||
|
||||
if (getGameId() == GID_SWAMPY)
|
||||
if (getGameType() == GType_PP)
|
||||
return;
|
||||
|
||||
/* Read list of TABLE resources */
|
||||
@ -345,7 +345,7 @@ void SimonEngine::loadGamePcFile() {
|
||||
_tablesHeapPtrOrg = _tablesHeapPtr;
|
||||
_tablesHeapCurPosOrg = _tablesHeapCurPos;
|
||||
|
||||
if (getGameType() == GType_ELVIRA || getGameType() == GType_FF || getGameType() == GType_PP)
|
||||
if (getGameType() == GType_ELVIRA || getGameType() == GType_FF)
|
||||
return;
|
||||
|
||||
/* Read list of TEXT resources */
|
||||
|
@ -791,7 +791,7 @@ uint SimonEngine::getVarOrWord() {
|
||||
}
|
||||
|
||||
uint SimonEngine::getVarWrapper() {
|
||||
if (getGameId() == GID_SWAMPY)
|
||||
if (getGameType() == GType_PP)
|
||||
return getVarOrWord();
|
||||
else
|
||||
return getVarOrByte();
|
||||
|
Loading…
x
Reference in New Issue
Block a user