Header include cleanups

This commit is contained in:
twinaphex 2020-09-16 20:52:38 +02:00
parent 358492ba9d
commit e969f7c9eb
5 changed files with 19 additions and 7 deletions

View File

@ -15,6 +15,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdint.h>
#include <string.h>
#include "pce.h"
#include "vdc.h"
#include "../state_helpers.h"

View File

@ -15,11 +15,18 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <string.h>
#include "../mednafen-types.h"
#include "../mednafen-driver.h"
#include "../mednafen-endian.h"
#include "../state_helpers.h"
#include "../mednafen.h"
#include "pce.h"
#include "input.h"
#include "huc.h"
#include "../mednafen-endian.h"
#include "../state_helpers.h"
#include "huc6280.h"
static int InputTypes[5];
static uint8 *data_ptr[5];

View File

@ -1,6 +1,9 @@
#ifndef __PCE_INPUT_H
#define __PCE_INPUT_H
#include "../git.h"
#include "../state.h"
void PCEINPUT_Init(void);
void PCEINPUT_SettingChanged(const char *name);
void PCEINPUT_SetInput(unsigned port, const char *type, uint8 *ptr);

View File

@ -2,9 +2,6 @@
#define _PCE_H
#include "../mednafen-types.h"
#include "../mednafen.h"
#include "../state.h"
#include "../general.h"
#define PCE_MASTER_CLOCK 21477272.727273
@ -27,6 +24,4 @@ extern int pce_overclocked;
extern uint8 BaseRAM[32768 + 8192];
#include "huc6280.h"
#endif

View File

@ -1,6 +1,10 @@
#ifndef _PCE_VDC_H
#define _PCE_VDC_H
#include "../git.h"
#include "huc6280.h"
#define REGSETP(_reg, _data, _msb) { _reg &= 0xFF << ((_msb) ? 0 : 8); _reg |= (_data) << ((_msb) ? 8 : 0); }
#define REGGETP(_reg, _msb) ((_reg >> ((_msb) ? 8 : 0)) & 0xFF)