Supermodel/core/controls.h

42 lines
1.3 KiB
C
Raw Normal View History

2006-07-12 13:53:14 +00:00
/*
* Sega Model 3 Emulator
* Copyright (C) 2003 Bart Trzynadlowski, Ville Linde, Stefano Teso
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License Version 2 as published
* by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program (license.txt); if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* controls.h
*
* Controls header.
*/
#ifndef INCLUDED_CONTROLS_H
#define INCLUDED_CONTROLS_H
extern void controls_init(void);
extern void controls_shutdown(void);
extern void controls_reset(UINT32 flags);
extern void controls_update(void);
extern void controls_save_state(FILE *);
extern void controls_load_state(FILE *);
extern UINT8 controls_read(UINT32 a);
extern void controls_write(UINT32 a, UINT8 d);
#endif // INCLUDED_CONTROLS_H