Patch #1341626: "New GP32 port"

svn-id: r19710
This commit is contained in:
Eugene Sandulenko 2005-11-27 02:35:57 +00:00
parent e6aba1f7aa
commit edfae828f6
42 changed files with 4091 additions and 1005 deletions

View file

@ -74,7 +74,7 @@
extern bool isSmartphone(void);
#endif
#if (defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
#if (defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__))
namespace Graphics {
extern void initfonts();
}
@ -1787,7 +1787,7 @@ int ScummEngine::init(GameDetector &detector) {
if (_version >= 5)
_sound->setupSound();
#if (defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
#if (defined(PALMOS_ARM) || defined(PALMOS_DEBUG) || defined(__GP32__))
Graphics::initfonts();
#endif
@ -3117,8 +3117,6 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) {
return 0;
}
ScummGameSettings game = *g;
// Calculate MD5 of the games detection file, for savegames etc.
const char *name = g->name;
char detectName[256], tempName[256], gameMD5[32+1];
@ -3126,6 +3124,8 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) {
int substLastIndex = 0;
bool found = false;
ScummGameSettings game = *g;
for (int method = 0; method < 6 && !found; method++) {
switch (method) {
case 0: