1.1 --- a/src/maple/maple.h Tue Oct 16 12:36:29 2007 +0000
1.2 +++ b/src/maple/maple.h Sun Oct 21 05:15:56 2007 +0000
1.5 - * $Id: maple.h,v 1.6 2007-10-16 12:36:29 nkeynes Exp $
1.6 + * $Id: maple.h,v 1.7 2007-10-17 11:26:45 nkeynes Exp $
1.8 * Maple bus definitions
1.11 * GNU General Public License for more details.
1.14 -#ifndef dream_maple_H
1.15 -#define dream_maple_H 1
1.16 +#ifndef lxdream_maple_H
1.17 +#define lxdream_maple_H 1
1.19 -#include "dreamcast.h"
1.20 +#include <stdint.h>
1.21 +#include "config.h"
1.23 #define MAPLE_CMD_INFO 1 /* Request device information */
1.24 #define MAPLE_CMD_EXT_INFO 2 /* Request extended information */
1.26 maple_device_class_t device_class;
1.27 unsigned char ident[112];
1.28 unsigned char version[80];
1.29 - dreamcast_config_entry_t (*get_config)(struct maple_device *dev);
1.30 + lxdream_config_entry_t (*get_config)(struct maple_device *dev);
1.31 void (*attach)(struct maple_device *dev);
1.32 void (*detach)(struct maple_device *dev);
1.33 void (*destroy)(struct maple_device *dev);
1.35 maple_device_t maple_get_device( unsigned int port, unsigned int periph );
1.36 const maple_device_class_t maple_get_device_class( const gchar *name );
1.37 const struct maple_device_class **maple_get_device_classes();
1.38 -dreamcast_config_entry_t maple_get_device_config( maple_device_t dev );
1.39 +lxdream_config_entry_t maple_get_device_config( maple_device_t dev );
1.41 void maple_handle_buffer( uint32_t buffer );
1.42 void maple_attach_device( maple_device_t dev, unsigned int port, unsigned int periph );
1.44 void maple_detach_all( );
1.45 void maple_reattach_all( );
1.47 -#endif /* !dream_maple_H */
1.48 +#endif /* !lxdream_maple_H */