mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 16:07:39 +00:00
Fixed default volRefNum value
- Added scummvm header svn-id: r20559
This commit is contained in:
parent
65ed0e0ded
commit
f32a6e5c67
@ -1,3 +1,27 @@
|
||||
/* ScummVM - Scumm Interpreter
|
||||
* Copyright (C) 2001 Ludvig Strigeus
|
||||
* Copyright (C) 2001-2006 The ScummVM project
|
||||
* Copyright (C) 2002-2006 Chris Apers - PalmOS Backend
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
* $URL$
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include <PalmOS.h>
|
||||
|
||||
#include "StarterRsc.h"
|
||||
@ -193,7 +217,7 @@ Boolean MainFormHandleEvent(EventPtr eventP)
|
||||
IndexedColorType bgColor = UIColorGetTableEntryIndex(UIFormFill);
|
||||
frmP = FrmGetFormPtr(MainForm);
|
||||
|
||||
if (gPrefs->card.volRefNum != sysInvalidRefNum)
|
||||
if (gPrefs->card.volRefNum != vfsInvalidVolRef)
|
||||
idx = FrmGetObjectIndex (frmP, MainMSBitMap);
|
||||
else
|
||||
idx = FrmGetObjectIndex (frmP, MainMSNoneBitMap);
|
||||
@ -273,7 +297,7 @@ Boolean MainFormHandleEvent(EventPtr eventP)
|
||||
break;
|
||||
|
||||
case skinButtonGameStart:
|
||||
if (gPrefs->card.volRefNum == sysInvalidRefNum)
|
||||
if (gPrefs->card.volRefNum == vfsInvalidVolRef)
|
||||
FrmCustomAlert(FrmWarnAlert,"Please select/insert a memory card.", 0, 0);
|
||||
else
|
||||
bStartScumm = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user