diff options
author | Lionel Ulmer | 2002-05-04 09:55:10 +0000 |
---|---|---|
committer | Lionel Ulmer | 2002-05-04 09:55:10 +0000 |
commit | ab0401242e07ace58025c8a4a9f660690b55d144 (patch) | |
tree | d3bd0721d4b4e1af0c2560eed907f52f56d3b79d /system.h | |
parent | 6979311c0acfd8a90a53264a09ade0310b928e85 (diff) | |
download | scummvm-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.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |