diff options
author | Max Lingua | 2014-01-12 20:08:50 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-18 13:48:37 -0500 |
commit | 1cbb90d8ea82e728fa8ead8a4004dc53f3a75764 (patch) | |
tree | 5d04f7f09c482a8cd2215146bce47fee66b8d278 /backends/platform/ps2/irxboot.h | |
parent | fb69d8eddcb2a29bace9a2fa7723068e2eb1b6fe (diff) | |
download | scummvm-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.h | 13 |
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__ |