1 #include "sysconfig.h"
2 #include "sysdeps.h"
3
4 #include "autoconf.h"
5 #include "debug.h"
6 #include "enforcer.h"
7 #include "filesys.h"
8 #include "fsdb.h"
9 #include "gui.h"
10 #include "newcpu.h"
11 #include "options.h"
12 #include "rommgr.h"
13 #include "sampler.h"
14 #include "savestate.h"
15 #include "scsidev.h"
16 #include "uae.h"
17 #include "xwin.h"
18
graphics_reset(bool force)19 void graphics_reset(bool force)
20 {
21 LOG_STUB("force=%d", force);
22 }
23
gui_lock(void)24 void gui_lock (void)
25 {
26
27 }
28
gui_unlock(void)29 void gui_unlock (void)
30 {
31
32 }
33
gui_display(int shortcut)34 void gui_display (int shortcut)
35 {
36 STUB("shortcut=%d", shortcut);
37 }
38
gui_init()39 int gui_init()
40 {
41 LOG_STUB("");
42 return 1;
43 }
44
gui_exit()45 void gui_exit()
46 {
47 LOG_STUB("");
48 }
49
get_guid_target(uae_u8 * out)50 int get_guid_target (uae_u8 *out) {
51 return 0;
52 }
53
save_log(int bootlog,int * len)54 uae_u8 *save_log (int bootlog, int *len) {
55 STUB("");
56 return NULL;
57 }
58
GetDriveType(TCHAR * vol)59 int GetDriveType(TCHAR* vol) {
60 // FIXME:
61 return 0;
62 }
63
emulib_target_getcpurate(uae_u32 v,uae_u32 * low)64 uae_u32 emulib_target_getcpurate (uae_u32 v, uae_u32 *low) {
65 STUB("v=%d", v);
66 // FIXME:
67 return 0;
68 }
69
update_debug_info(void)70 void update_debug_info(void) {
71 // used to update debug info in debugger UI , currently FS only supports
72 // using console debugging on Linux/Mac OS X (The Windows version is
73 // not a console application).
74 }
75
debugger_change(int mode)76 void debugger_change (int mode) {
77 STUB("mode=%d", mode);
78 }
79
screenshot(int mode,int doprepare)80 void screenshot (int mode, int doprepare) {
81 STUB("mode=%d doprepare=%d", mode, doprepare);
82 }
83
write_dlog(const TCHAR * format,...)84 void write_dlog (const TCHAR *format, ...) {
85 STUB("format=\"%s\"", format);
86 }
87
target_addtorecent(const TCHAR * name,int t)88 void target_addtorecent (const TCHAR *name, int t) {
89 STUB("name=\"%s\" t=%d", name, t);
90 }
91
sampler_getsample(int)92 uae_u8 sampler_getsample (int) {
93 return 0;
94 }
95
sampler_init(void)96 int sampler_init (void) {
97 return 0;
98 }
99
sampler_free(void)100 void sampler_free (void) {
101 }
102
sampler_vsync(void)103 void sampler_vsync (void) {
104 }
105
106 #include "include/zfile.h"
107
108 // --- win32gui.cpp ---
109
target_cfgfile_load(struct uae_prefs * p,const TCHAR * filename,int type,int isdefault)110 int target_cfgfile_load (struct uae_prefs *p, const TCHAR *filename, int type, int isdefault)
111 {
112 LOG_STUB("");
113 return 1;
114 }
115
target_save_options(struct zfile * f,struct uae_prefs * p)116 void target_save_options (struct zfile *f, struct uae_prefs *p) {
117 LOG_STUB("zfile=%p p=%p", f, p);
118 }
119
target_parse_option(struct uae_prefs * p,const TCHAR * option,const TCHAR * value)120 int target_parse_option (struct uae_prefs *p, const TCHAR *option, const TCHAR *value) {
121 STUB("p=%p\n, option=\"%s\"", p, option);
122 return 0;
123 }
124
target_load_keyfile(struct uae_prefs * p,const TCHAR * path,int * sizep,TCHAR * name)125 uae_u8 *target_load_keyfile (struct uae_prefs *p, const TCHAR *path, int *sizep, TCHAR *name) {
126 STUB("");
127 return NULL;
128 }
129
vsync_switchmode(int hz)130 bool vsync_switchmode (int hz) {
131 STUB("hz=%d", hz);
132 return 0;
133 }
134
135 #ifndef AHI
136
137 #include "uae/ahi.h"
138
ahi_hsync(void)139 void ahi_hsync (void)
140 {
141 VERBOSE_STUB("");
142 }
143
enforcer_disable(void)144 int enforcer_disable(void)
145 {
146 STUB("");
147 return 1;
148 }
149
150 #endif
151
refreshtitle(void)152 void refreshtitle (void) {
153 STUB("");
154 }
155
updatedisplayarea(void)156 void updatedisplayarea (void) {
157 LOG_STUB("");
158 }
159
filesys_addexternals(void)160 void filesys_addexternals(void) {
161 LOG_STUB("");
162 }
163
machdep_free(void)164 void machdep_free (void) {
165 LOG_STUB("");
166 }
167
target_run(void)168 void target_run (void) {
169 LOG_STUB("");
170 }
171
target_reset(void)172 void target_reset (void) {
173 LOG_STUB("");
174 }
175
target_restart(void)176 void target_restart (void) {
177 STUB("");
178 }
179
target_quit(void)180 void target_quit (void)
181 {
182 write_log("UAE: Stopping\n");
183 printf("UAE: Stopping\n");
184 }
185
target_fixup_options(struct uae_prefs * p)186 void target_fixup_options (struct uae_prefs *p) {
187 LOG_STUB("");
188 }
189
debuggable(void)190 int debuggable (void) {
191 return 0;
192 }
193
logging_init(void)194 void logging_init(void) {
195 LOG_STUB("");
196 }
197
flush_log(void)198 void flush_log(void) {
199 STUB("");
200 }
201
202 #if 0
203 void machdep_save_options (FILE *f, const struct uae_prefs *p) {
204 LOG_STUB("");
205 }
206
207 int machdep_parse_option (struct uae_prefs *p, const char *option, const char *value) {
208 STUB("");
209 return 0;
210 }
211
212 void machdep_default_options (struct uae_prefs *p) {
213 STUB("");
214 }
215 #endif
216
217 //void fpux_save (int *v) {
218 // STUB("");
219 //}
220
fpux_restore(int * v)221 void fpux_restore (int *v) {
222 LOG_STUB("");
223 }
224
my_issamepath(const TCHAR * path1,const TCHAR * path2)225 bool my_issamepath(const TCHAR *path1, const TCHAR *path2)
226 {
227 LOG_STUB_MAX(3, "");
228 return false;
229 }
230