Debian Codegraph @

mednafen/settings.c

raw symbols SCIP
1 /* Mednafen - Multi-system Emulator
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */
17
18 #include <stdint.h>
19 #include <string.h>
20 #include "settings.h"cxx . . $ `<file>/mednafen/settings.h`/
21
22 uint64_tcxx . . $ uint64_t# MDFN_GetSettingUIcxx . . $ MDFN_GetSettingUI(751346f8406fd082).(const char *name)
23 {
24 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.ocmultiplier", name))
25 return 1;
26 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.bday", name))
27 return 23;
28 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.bmonth", name))
29 return 6;
30 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.byear", name))
31 return 1989;
32 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.slstart", name))
33 return 4;
34 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.slend", name))
35 return 235;
36
37 return 0;
38 }
39
40 int64_tcxx . . $ int64_t# MDFN_GetSettingIcxx . . $ MDFN_GetSettingI(3c95bd14d5d5d286).(const char *name)
41 {
42 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.sex", name))
43 return 0;
44 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.blood", name))
45 return 0;
46 return 0;
47 }
48
49 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! MDFN_GetSettingBcxx . . $ MDFN_GetSettingB(c5f7da30cbc0f4e9).(const char *name)
50 {
51 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("cheats", name))
52 return 0;
53 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.forcemono", name))
54 return 0;
55 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.language", name))
56 return 1;
57 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.correct_aspect", name))
58 return 1;
59 return 0;
60 }
61
62 const char *MDFN_GetSettingScxx . . $ MDFN_GetSettingS(fb58d2e09a2a1ce6).(const char *name)
63 {
64 if (!strcmpcxx . . $ strcmp(5ae29d726ae57f88).("wswan.name", name))
65 return "Mednafen";
66 return "";
67 }