aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/irxboot.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/irxboot.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/irxboot.h')
-rw-r--r--backends/platform/ps2/irxboot.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/backends/platform/ps2/irxboot.h b/backends/platform/ps2/irxboot.h
index 81b47a37c6..f8b451f6d2 100644
--- a/backends/platform/ps2/irxboot.h
+++ b/backends/platform/ps2/irxboot.h
@@ -25,6 +25,16 @@
#include "common/scummsys.h"
+enum IrxType {
+ IRX_CORE = 0,
+ IRX_CDROM,
+ IRX_USB,
+ IRX_INPUT,
+ IRX_HDD,
+ IRX_NET,
+ IRX_MAX
+};
+
enum IrxFlags {
BIOS = 0,
SYSTEM = 1,
@@ -40,6 +50,7 @@ enum IrxFlags {
enum IrxPurpose {
NOTHING,
+ CD_DRIVER,
HDD_DRIVER,
USB_DRIVER,
MOUSE_DRIVER,
@@ -81,6 +92,6 @@ struct IrxReference {
int errorCode;
};
-int loadIrxModules(int device, const char *irxPath, IrxReference **modules);
+int loadIrxModules(int device, const char *irxPath, IrxReference **modules, IrxType type);
#endif // __IRXBOOT_H__