Debian Codegraph @

macosx/plugins/Bladesio1/macsrc/cfg.c

raw
1 /*
2 * Copyright (c) 2010, Wei Mingzhi <[email protected]>.
3 * All Rights Reserved.
4 *
5 * Based on: Cdrom for Psemu Pro like Emulators
6 * By: linuzappz <[email protected]>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <http://www.gnu.org/licenses>.
20 */
21
22 #include <string.h>
23 #include <stdint.h>
24 #include "typedefs.h"
25 #include "sio1.h"
26
27 void AboutDlgProc();
28 void ConfDlgProc();
29 void ReadConfig();
30
31 Settings settings;
32
33 void settingsRead() {
34 settings.player = PLAYER_DISABLED;
35 strcpy(settings.ip, "127.0.0.1");
36 settings.port = 33307;
37
38 ReadConfig();
39 }