1 /* Pcsx - Pc Psx Emulator
2 * Copyright (C) 1999-2002 Pcsx Team
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA
24 #include "../libpcsxcore/psxcommon.h"
29 #define DEFAULT_MEM_CARD_1 "/.pcsx/memcards/card1.mcd"
30 #define DEFAULT_MEM_CARD_2 "/.pcsx/memcards/card2.mcd"
31 #define MEMCARD_DIR "/.pcsx/memcards/"
32 #define PLUGINS_DIR "/.pcsx/plugins/"
33 #define PLUGINS_CFG_DIR "/.pcsx/plugins/cfg/"
34 #define PCSX_DOT_DIR "/.pcsx/"
35 #define BIOS_DIR "/.pcsx/bios/"
36 #define STATES_DIR "/.pcsx/sstates/"
37 #define CHEATS_DIR "/.pcsx/cheats/"
38 #define PATCHES_DIR "/.pcsx/patches/"
40 extern gboolean UseGui;
42 char cfgfile[MAXPATHLEN]; /* ADB Comment this out - make a local var, or at least use gchar funcs */
43 char cfgfile_basename[MAXPATHLEN]; /* ADB Comment this out - make a local var, or at least use gchar funcs */
50 void PADhandleKey(int key);
52 void UpdateMenuSlots();
54 gchar* get_state_filename(int i);
56 void state_save(gchar *state_filename);
57 void state_load(gchar *state_filename);
59 int match(const char* string, char* pattern);
60 int plugins_configured();
62 void UpdatePluginsBIOS();
64 void SysErrorMessage(gchar *primary, gchar *secondary);
65 void SysInfoMessage(gchar *primary, gchar *secondary);
67 #endif /* __LINUX_H__ */