aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos/morphos_start.cpp
diff options
context:
space:
mode:
authorRuediger Hanke2002-11-01 23:09:07 +0000
committerRuediger Hanke2002-11-01 23:09:07 +0000
commit2dcff5fe85623942ea6101b86636ae7f1b008dc3 (patch)
tree59f48db4fe613a5b44bfb3f708a4d2e0840f27ac /backends/morphos/morphos_start.cpp
parenta15e6df2bd5b3a305fa3933a85321cd7f16e36a4 (diff)
downloadscummvm-rg350-2dcff5fe85623942ea6101b86636ae7f1b008dc3.tar.gz
scummvm-rg350-2dcff5fe85623942ea6101b86636ae7f1b008dc3.tar.bz2
scummvm-rg350-2dcff5fe85623942ea6101b86636ae7f1b008dc3.zip
Small fixes to satisfy GCC with the new MOS includes
svn-id: r5370
Diffstat (limited to 'backends/morphos/morphos_start.cpp')
-rw-r--r--backends/morphos/morphos_start.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/morphos/morphos_start.cpp b/backends/morphos/morphos_start.cpp
index 305cfc0b02..e94bd71e04 100644
--- a/backends/morphos/morphos_start.cpp
+++ b/backends/morphos/morphos_start.cpp
@@ -42,6 +42,7 @@
#include "morphos_sound.h"
extern "C" WBStartup *_WBenchMsg;
+struct Library* CyberGfxBase;
// For command line parsing
static STRPTR usageTemplate = "STORY/A,DATAPATH/K,WINDOW/S,SCALER/K,AMIGA/S,MIDIUNIT/K/N,MUSIC/K,MUSICVOL/K/N,SFXVOL/K/N,TEMPO/K/N,TALKSPEED/K/N,NOSUBTITLES=NST/S";
@@ -63,7 +64,7 @@ static SCALERTYPE ScummGfxScaler = ST_INVALID;
static BPTR OrigDirLock = 0;
Library *CDDABase = NULL;
-Device *TimerBase = NULL;
+Library *TimerBase = NULL;
OSystem_MorphOS *TheSystem = NULL;
@@ -137,7 +138,7 @@ static void ReadToolTypes(WBArg *OfFile)
char IconPath[256];
NameFromLock(OfFile->wa_Lock, IconPath, 256);
- AddPart(IconPath, OfFile->wa_Name, 256);
+ AddPart(IconPath, (STRPTR) OfFile->wa_Name, 256);
dobj = GetDiskObject(IconPath);
if (dobj == NULL)
@@ -250,6 +251,7 @@ int main()
char *argv[20];
char musicvol[6], sfxvol[6], talkspeed[12], tempo[12], scaler[14];
int argc = 0;
+ CyberGfxBase = OpenLibrary("cybergraphics.library",50);
InitSemaphore(&ScummSoundThreadRunning);
InitSemaphore(&ScummMusicThreadRunning);