Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
configdb.h
Go to the documentation of this file.
1 /* Test-case for simple, work-in-progress Commodore 65 emulator.
2  Part of the Xemu project, please visit: https://github.com/lgblgblgb/xemu
3  Copyright (C)2016-2021 LGB (Gábor Lénárt) <lgblgblgb@gmail.com>
4 
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
18 
19 #ifndef XEMU_C65_CONFIGDB_H_INCLUDED
20 #define XEMU_C65_CONFIGDB_H_INCLUDED
21 
22 /* Important WARNING:
23  * This is a trap! If you have something here with '#ifdef', it's quite possible that the macro is
24  * not defined here, but defined elsewhere, thus the emulator sees totally different structs for
25  * real but the problem is hidden! That is, be very careful at configdb_st (the type definition
26  * itself also at the usage!) that should be only dependent on macros defined in xemu-target.h,
27  * since that header file is always included by the build system, at command line level. */
28 
29 struct configdb_st {
30  char *disk8;
31  char *disk9;
32  char *hostfsdir, *rom, *keymap, *gui, *dumpmem;
33  char *snapload, *snapsave, *prg;
36 };
37 
38 extern struct configdb_st configdb;
39 
40 extern void configdb_define_emulator_options ( void );
41 
42 #endif
configdb_st::prg
char * prg
Definition: configdb.h:33
configdb_st::gui
char * gui
Definition: configdb.h:32
configdb_st::go64
int go64
Definition: configdb.h:34
configdb_st::rom
char * rom
Definition: configdb.h:32
configdb_st::disk8
char * disk8
Definition: configdb.h:30
configdb_st::snapsave
char * snapsave
Definition: configdb.h:33
configdb_st::keymap
char * keymap
Definition: configdb.h:32
configdb_st::d81ro
int d81ro
Definition: configdb.h:34
configdb_st::sdlrenderquality
int sdlrenderquality
Definition: configdb.h:35
configdb
struct configdb_st configdb
Definition: configdb.c:34
configdb_st::hostfsdir
char * hostfsdir
Definition: configdb.h:32
configdb_st::autoload
int autoload
Definition: configdb.h:34
configdb_define_emulator_options
void configdb_define_emulator_options(void)
Definition: configdb.c:36
configdb_st::syscon
int syscon
Definition: configdb.h:34
configdb_st::fullscreen
int fullscreen
Definition: configdb.h:34
configdb_st::snapload
char * snapload
Definition: configdb.h:33
configdb_st::disk9
char * disk9
Definition: configdb.h:31
configdb_st::dmarev
int dmarev
Definition: configdb.h:35
configdb_st::prgmode
int prgmode
Definition: configdb.h:35
configdb_st::dumpmem
char * dumpmem
Definition: configdb.h:32
configdb_st
Definition: configdb.h:29