3 * Copyright (C) 2006 Exophase <exophase@gmail.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
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 GNU
13 * General Public License for more details.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 #define GPSP_CONFIG_FILENAME "gpsp.cfg"
25 s32 load_file(u8 **wildcards, u8 *result);
26 u32 adjust_frameskip(u32 button_id);
27 s32 load_game_config_file();
28 s32 load_config_file();
29 s32 save_game_config_file();
30 s32 save_config_file();
31 u32 menu(u16 *original_screen);
33 extern u32 savestate_slot;
35 void get_savestate_filename_noshot(u32 slot, u8 *name_buffer);
36 void get_savestate_filename(u32 slot, u8 *name_buffer);
37 void get_savestate_snapshot(u8 *savestate_filename);
40 #define default_clock_speed 533
41 #elif defined(GP2X_BUILD)
42 #define default_clock_speed 200
44 #define default_clock_speed 333