diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-07-04 21:55:52 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-07-04 21:55:52 +0000 |
| commit | b05c91bb3b900edee49546451a0eecf54988a3b7 (patch) | |
| tree | f1577eb03d855fcf098a3200713026c193ced78a /macosx/plugins/Bladesio1/macsrc/cfg.c | |
| parent | 887a72f1270ac12e39b08391c280f076b687d95f (diff) | |
| download | pcsxr-b05c91bb3b900edee49546451a0eecf54988a3b7.tar.gz | |
This should get the bladesio plug-in building on OS X.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85824 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/Bladesio1/macsrc/cfg.c')
| -rwxr-xr-x | macosx/plugins/Bladesio1/macsrc/cfg.c | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/macosx/plugins/Bladesio1/macsrc/cfg.c b/macosx/plugins/Bladesio1/macsrc/cfg.c new file mode 100755 index 00000000..65fd5111 --- /dev/null +++ b/macosx/plugins/Bladesio1/macsrc/cfg.c @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2010, Wei Mingzhi <whistler@openoffice.org>. + * All Rights Reserved. + * + * Based on: Cdrom for Psemu Pro like Emulators + * By: linuzappz <linuzappz@hotmail.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see <http://www.gnu.org/licenses>. + */ + +#include <string.h> +#include <stdint.h> +#include "typedefs.h" +#include "sio1.h" + +void AboutDlgProc(); +void ConfDlgProc(); +void ReadConfig(); + +Settings settings; + +void settingsRead() { + settings.player = PLAYER_DISABLED; + strcpy(settings.ip, "127.0.0.1"); + settings.port = 33307; + + ReadConfig(); +} + +#if 0 +extern long SIO1configure() { + ConfDlgProc(); + return 0; +} + +extern void SIO1about() { + AboutDlgProc(); +} +#endif |
