📄 shared.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -