diff options
author | eriktorbjorn | 2011-06-19 07:59:37 +0200 |
---|---|---|
committer | eriktorbjorn | 2011-06-19 07:59:37 +0200 |
commit | 3871c71f0e6f5202e935ac7119fefedde1f8e449 (patch) | |
tree | f38c170ce19b222531750db7f105c60e56e85eda /engines/cge/general.cpp | |
parent | 77d5c25472f414c2b0c49a920329a6811d271281 (diff) | |
download | scummvm-rg350-3871c71f0e6f5202e935ac7119fefedde1f8e449.tar.gz scummvm-rg350-3871c71f0e6f5202e935ac7119fefedde1f8e449.tar.bz2 scummvm-rg350-3871c71f0e6f5202e935ac7119fefedde1f8e449.zip |
CGE: Fix compilation under GCC
Unfortunately, I had to stub a few things but this all looks like
code that will have to be rewritten later anyway.
Diffstat (limited to 'engines/cge/general.cpp')
-rw-r--r-- | engines/cge/general.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/cge/general.cpp b/engines/cge/general.cpp index 73e5b4d21f..e547921bb5 100644 --- a/engines/cge/general.cpp +++ b/engines/cge/general.cpp @@ -251,22 +251,39 @@ uint16 IOHAND::Write(void *buf, uint16 len) { } long IOHAND::Mark(void) { + /* return (Handle < 0) ? 0 : tell(Handle); + */ + warning("STUB: IOHAND::Mark"); + return 0; } long IOHAND::Seek(long pos) { + /* if (Handle < 0) return 0; lseek(Handle, pos, SEEK_SET); return tell(Handle); + */ + warning("STUB: IOHAND::Seek"); + return 0; } long IOHAND::Size(void) { + /* if (Handle < 0) return 0; + return filelength(Handle); + */ + warning("STUB: IOHAND::Size"); + return 0; } bool IOHAND::Exist(const char *name) { + /* return access(name, 0) == 0; + */ + warning("STUB: IOHAND::Exist"); + return 0; } //#define EMS_ADR(a) (FP_SEG(a) > 0xA000) |