-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathemucfg.h
149 lines (112 loc) · 4.19 KB
/
emucfg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/******************************************************************************
emucfg.h
・ィ・゜・螂□`・キ・逾□Oカィ
******************************************************************************/
#ifndef EMUCONFIG_H
#define EMUCONFIG_H
#ifndef EMUSYS_VALUE
#define EMUSYS_VALUE
#define CPS1 0
#define CPS2 1
#define MVS 2
#define NCDZ 3
#endif
#define ALIGN_PSPDATA __attribute__((aligned(16)))
#define ALIGN_DATA __attribute__((aligned(4)))
#define MEM_ALIGN 4
/******************************************************************************
PSP、ホカィハ□
******************************************************************************/
#define PSP_REFRESH_RATE (59.940059) // (9000000Hz * 1) / (525 * 286)
#define PSP_TICKS_PER_FRAME (16683.333333)
/******************************************************************************
AdHoc、ホヤOカィ
******************************************************************************/
#define ADHOC_UPDATE_EVERY_FRAME 0
#define ADHOC_TIMEOUT (500*1000) // 500 ms
/******************************************************************************
、ス、ホヒ訷ホヤOカィ
******************************************************************************/
#define QSOUND_STREAM_48KHz 1 // 1、ヒ、ケ、□ネメ□|、ャノマ、ャ、□ォ、筅キ、□ハ、、
/******************************************************************************
CPS1PSP、ホヤOカィ
******************************************************************************/
#if defined(BUILD_CPS1PSP)
#define APPNAME_STR "CAPCOM CPS1 Emulator for PSP"
#define machine_main cps1_main
#define machine_reset cps1_reset
#define machine_exit cps1_exit
#define EMU_SYSTEM CPS1
#define SYSTEM_NAME "CPS1"
#define FPS 60.0
#define TICKS_PER_FRAME 16666.666666
#define USE_CACHE 0
#define EEPROM_SIZE 128
#define GULIST_SIZE 48*1024 // 48KB
#define ENABLE_RASTER_OPTION 1 // on
#define FRAME_WIDTH 384
#define FRAME_HEIGHT 224
#define FRAME_OFFSET_X 64
#define FRAME_OFFSET_Y 16
/******************************************************************************
CPS2PSP、ホヤOカィ
******************************************************************************/
#elif defined(BUILD_CPS2PSP)
#define APPNAME_STR "CAPCOM CPS2 Emulator for PSP"
#define machine_main cps2_main
#define machine_reset cps2_reset
#define machine_exit cps2_exit
#define EMU_SYSTEM CPS2
#define SYSTEM_NAME "CPS2"
#define FPS 59.633333
#define TICKS_PER_FRAME 16769.144773
#ifdef PSP_SLIM
#define USE_CACHE 1
#else
#define USE_CACHE 1
#endif
#define CACHE_VERSION "V23"
#define EEPROM_SIZE 128
#define GULIST_SIZE 48*1024 // 48KB
#define ENABLE_RASTER_OPTION 0 // off
#define FRAME_WIDTH 384
#define FRAME_HEIGHT 224
#define FRAME_OFFSET_X 64
#define FRAME_OFFSET_Y 16
/******************************************************************************
MVSPSP、ホヤOカィ
******************************************************************************/
#elif defined(BUILD_MVSPSP)
#define APPNAME_STR "NEOGEO Emulator for PSP"
#define machine_main neogeo_main
#define machine_reset neogeo_reset
#define machine_exit neogeo_exit
#define EMU_SYSTEM MVS
#define SYSTEM_NAME "NEOGEO"
#define FPS 59.185606
#define TICKS_PER_FRAME 16896.0
#define USE_CACHE 1
#define CACHE_VERSION "V23"
#define GULIST_SIZE 300*1024 // 300KB
#define FRAME_WIDTH 336
#define FRAME_HEIGHT 240
#define FRAME_OFFSET_X 24
#define FRAME_OFFSET_Y 16
/******************************************************************************
NCDZPSP、ホヤOカィ
******************************************************************************/
#elif defined(BUILD_NCDZPSP)
#define APPNAME_STR "NEOGEO CDZ Emulator for PSP"
#define machine_main neogeo_main
#define EMU_SYSTEM NCDZ
#define SYSTEM_NAME "NEO。、GEO CDZ"
#define FPS 59.185606
#define TICKS_PER_FRAME 16896.0
#define USE_CACHE 0
#define GULIST_SIZE 300*1024 // 300KB
#define FRAME_WIDTH 336
#define FRAME_HEIGHT 240
#define FRAME_OFFSET_X 24
#define FRAME_OFFSET_Y 16
#endif
#endif /* EMUCONFIG_H */