aboutsummaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorLionel Ulmer2002-05-04 09:55:10 +0000
committerLionel Ulmer2002-05-04 09:55:10 +0000
commitab0401242e07ace58025c8a4a9f660690b55d144 (patch)
treed3bd0721d4b4e1af0c2560eed907f52f56d3b79d /system.h
parent6979311c0acfd8a90a53264a09ade0310b928e85 (diff)
downloadscummvm-rg350-ab0401242e07ace58025c8a4a9f660690b55d144.tar.gz
scummvm-rg350-ab0401242e07ace58025c8a4a9f660690b55d144.tar.bz2
scummvm-rg350-ab0401242e07ace58025c8a4a9f660690b55d144.zip
Change the 'poperty' call to be 64-bits clean.
Porters, please check that I did not break anything while updating your ports. Thanks :-) svn-id: r4196
Diffstat (limited to 'system.h')
-rw-r--r--system.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/system.h b/system.h
index 6e1b691084..bf09282ffe 100644
--- a/system.h
+++ b/system.h
@@ -63,7 +63,13 @@ public:
PROP_SHOW_DEFAULT_CURSOR = 5,
PROP_GET_SAMPLE_RATE = 6,
};
-
+ union Property {
+ char *caption;
+ int cd_num;
+ int gfx_mode;
+ bool show_cursor;
+ };
+
enum {
SOUND_8BIT = 0,
SOUND_16BIT = 1,
@@ -114,7 +120,7 @@ public:
virtual bool set_sound_proc(void *param, SoundProc *proc, byte format) = 0;
// Get or set a property
- virtual uint32 property(int param, uint32 value) = 0;
+ virtual uint32 property(int param, Property *value) = 0;
// Poll cdrom status
// Returns true if cd audio is playing