From 1cbb90d8ea82e728fa8ead8a4004dc53f3a75764 Mon Sep 17 00:00:00 2001 From: Max Lingua Date: Sun, 12 Jan 2014 20:08:50 -0500 Subject: PS2: modular IRX drivers loading --- backends/platform/ps2/systemps2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backends/platform/ps2/systemps2.h') 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; -- cgit v1.2.3