1.1 --- a/src/maple/vmu.c Wed May 11 08:45:31 2011 +1000
1.2 +++ b/src/maple/vmu.c Fri May 29 18:47:05 2015 +1000
1.4 const gchar *oldvalue, const gchar *value );
1.5 static int vmu_get_condition( maple_device_t dev, int function, unsigned char *outbuf,
1.6 unsigned int *outlen );
1.7 +static int vmu_set_condition(struct maple_device *dev, int function,
1.8 + unsigned char *inbuf, unsigned int buflen);
1.9 static int vmu_get_meminfo( maple_device_t dev, int function, unsigned int pt,
1.10 unsigned char *outbuf, unsigned int *outlen );
1.11 static void vmu_attach(struct maple_device *dev);
1.13 VMU_IDENT, VMU_VERSION,
1.15 vmu_attach, vmu_detach, vmu_destroy,
1.16 - vmu_clone, NULL, NULL, vmu_get_condition, NULL,
1.17 + vmu_clone, NULL, NULL, vmu_get_condition, vmu_set_condition,
1.18 vmu_get_meminfo, vmu_read_block, vmu_write_block, NULL, NULL },
1.20 {"Sega VMU", vmu_set_config_value, NULL, NULL,
1.22 static void vmu_destroy( maple_device_t dev )
1.24 vmu_device_t vmu = (vmu_device_t)dev;
1.29 static int vmu_get_condition(struct maple_device *dev, int function,