2 Copyright 2010, jimmikaelkael
3 Licenced under Academic Free License version 3.0
4 Review Open PS2 Loader README & LICENSE files for further details.
11 #define GENVMC_DEVCTL_CREATE_VMC 0xC0DE0001
12 #define GENVMC_DEVCTL_ABORT 0xC0DE0002
13 #define GENVMC_DEVCTL_STATUS 0xC0DE0003
15 #define GENVMC_STAT_AVAIL 0x00
16 #define GENVMC_STAT_BUSY 0x01
18 // helpers for DEVCTL commands
19 typedef struct { // size = 1036
20 char VMC_filename
[1024];
23 int VMC_thread_priority
;
24 int VMC_card_slot
; // 0=slot 1, 1=slot 2, anything else=blank
27 typedef struct { // size = 76
28 int VMC_status
; // 0=available, 1=busy