shared.h

来自「DC的SEGA_GG模拟器源代码」· C头文件 代码 · 共 47 行

H
47
字号

#ifndef _SHARED_H_
#define _SHARED_H_

#define VERSION     "0.9.3"

/* Data types */
typedef unsigned long int dword;
typedef unsigned short int word;
typedef unsigned char byte;

/* To keep the MAME code happy */
#define HAS_YM3812  1
typedef signed short int FMSAMPLE;

/* Nasty hacks so the PSX version will compile */
#if PSX
#include "psx/syscall.h"    /* for NULL, malloc(), etc. */
#define fread               /* No real filesystem :) */
#define fwrite
#define sin                 /* No equivelant */
#define pow
#define log10
#else
#include <malloc.h>
#include <math.h>
#endif

/* for state.c's fread/fwrite use */
#if DOS
#include <stdio.h>
#endif

#include "windows.h"
#include "z80.h"
#include "sms.h"
#include "vdp.h"
#include "render.h"
#include "sn76496.h"
#include "fmopl.h"
#include "ym2413.h"
#include "system.h"
#include "state.h"

#endif /* _SHARED_H_ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?