Search
lxdream.org :: lxdream/src/maple/controller.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/controller.c
changeset 429:e581b90c3fb3
prev411:5ae249d63c44
next450:207461e79f21
author nkeynes
date Mon Oct 08 11:52:13 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/maple/controller.c Sun Sep 30 21:19:43 2007 +0000
1.2 +++ b/src/maple/controller.c Mon Oct 08 11:52:13 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: controller.c,v 1.5 2007-09-30 21:19:43 nkeynes Exp $
1.6 + * $Id: controller.c,v 1.6 2007-10-08 11:49:35 nkeynes Exp $
1.7 *
1.8 * Implements the standard dreamcast controller
1.9 *
1.10 @@ -19,6 +19,7 @@
1.11 #include <stdlib.h>
1.12 #include "dream.h"
1.13 #include "dreamcast.h"
1.14 +#include "display.h"
1.15 #include "maple.h"
1.16 #include "maple/controller.h"
1.17
1.18 @@ -29,7 +30,7 @@
1.19 void controller_destroy( maple_device_t dev );
1.20 maple_device_t controller_new();
1.21 dreamcast_config_entry_t controller_get_config( maple_device_t dev );
1.22 -int controller_get_cond( maple_device_t dev, int function, char *outbuf,
1.23 +int controller_get_cond( maple_device_t dev, int function, unsigned char *outbuf,
1.24 int *outlen );
1.25
1.26 typedef struct controller_device {
1.27 @@ -159,7 +160,7 @@
1.28 }
1.29
1.30
1.31 -int controller_get_cond( maple_device_t mdev, int function, char *outbuf,
1.32 +int controller_get_cond( maple_device_t mdev, int function, unsigned char *outbuf,
1.33 int *outlen )
1.34 {
1.35 controller_device_t dev = (controller_device_t)mdev;
.