aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.h
diff options
context:
space:
mode:
authorMax Lingua2014-01-12 20:08:50 -0500
committerMax Lingua2014-01-18 13:48:37 -0500
commit1cbb90d8ea82e728fa8ead8a4004dc53f3a75764 (patch)
tree5d04f7f09c482a8cd2215146bce47fee66b8d278 /backends/platform/ps2/systemps2.h
parentfb69d8eddcb2a29bace9a2fa7723068e2eb1b6fe (diff)
downloadscummvm-rg350-1cbb90d8ea82e728fa8ead8a4004dc53f3a75764.tar.gz
scummvm-rg350-1cbb90d8ea82e728fa8ead8a4004dc53f3a75764.tar.bz2
scummvm-rg350-1cbb90d8ea82e728fa8ead8a4004dc53f3a75764.zip
PS2: modular IRX drivers loading
Diffstat (limited to 'backends/platform/ps2/systemps2.h')
-rw-r--r--backends/platform/ps2/systemps2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/platform/ps2/systemps2.h b/backends/platform/ps2/systemps2.h
index 0ae6b2da57..773068bdef 100644
--- a/backends/platform/ps2/systemps2.h
+++ b/backends/platform/ps2/systemps2.h
@@ -25,6 +25,7 @@
#include "common/system.h"
#include "backends/base-backend.h"
+#include "backends/platform/ps2/irxboot.h"
#include "graphics/palette.h"
class Gs2dScreen;
@@ -119,6 +120,7 @@ public:
void powerOffCallback(void);
bool mcPresent(void);
+ bool cdPresent(void);
bool hddPresent(void);
bool usbMassPresent(void);
bool netPresent(void);
@@ -127,6 +129,7 @@ public:
int getBootDevice() { return _bootDevice; }
private:
+ bool loadDrivers(IrxType type);
void startIrxModules(int numModules, IrxReference *modules);
void initMutexes(void);
@@ -136,7 +139,7 @@ private:
Audio::MixerImpl *_scummMixer;
bool _mouseVisible;
- bool _useMouse, _useKbd, _useHdd, _usbMassLoaded, _useNet;
+ bool _useMouse, _useKbd, _useCd, _useHdd, _usbMassLoaded, _useNet;
Gs2dScreen *_screen;
Ps2Input *_input;