Add copyright message to gles_video
[gpsp.git] / gui.h
CommitLineData
2823a4c8 1/* gameplaySP
2 *
3 * Copyright (C) 2006 Exophase <exophase@gmail.com>
4 *
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.
9 *
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.
14 *
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
18 */
19
20#ifndef GUI_H
21#define GUI_H
22
23#define GPSP_CONFIG_FILENAME "gpsp.cfg"
24
bbba3209 25s32 load_file(const char **wildcards, char *result);
2823a4c8 26u32 adjust_frameskip(u32 button_id);
27s32 load_game_config_file();
28s32 load_config_file();
29s32 save_game_config_file();
30s32 save_config_file();
31u32 menu(u16 *original_screen);
32
33extern u32 savestate_slot;
34
bbba3209 35void get_savestate_filename_noshot(u32 slot, char *name_buffer);
36void get_savestate_filename(u32 slot, char *name_buffer);
37void get_savestate_snapshot(char *savestate_filename);
2823a4c8 38
108c704a 39#ifdef POLLUX_BUILD
1d02ca75 40 #define default_clock_speed 533
41#elif defined(GP2X_BUILD)
42 #define default_clock_speed 200
43#else
44 #define default_clock_speed 333
45#endif
46
2823a4c8 47#endif
48