RetroArch
state_manager.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * Copyright (C) 2011-2017 - Daniel De Matteis
4  * Copyright (C) 2014-2017 - Alfred Agrell
5  *
6  * RetroArch is free software: you can redistribute it and/or modify it under the terms
7  * of the GNU General Public License as published by the Free Software Found-
8  * ation, either version 3 of the License, or (at your option) any later version.
9  *
10  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  * PURPOSE. See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along with RetroArch.
15  * If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __STATE_MANAGER_H
19 #define __STATE_MANAGER_H
20 
21 #include <stdint.h>
22 #include <stddef.h>
23 
24 #include <boolean.h>
25 #include <retro_common_api.h>
26 
28 
30 
32 
34 
36 
43 bool state_manager_check_rewind(bool pressed,
44  unsigned rewind_granularity, bool is_paused,
45  char *s, size_t len, unsigned *time);
46 
48 
49 #endif
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
bool state_manager_check_rewind(bool pressed, unsigned rewind_granularity, bool is_paused, char *s, size_t len, unsigned *time)
Definition: state_manager.c:686
GLenum GLsizei len
Definition: glext.h:7389
typedefRETRO_BEGIN_DECLS struct state_manager state_manager_t
Definition: state_manager.h:29
static const unsigned rewind_granularity
Definition: config.def.h:589
GLdouble s
Definition: glext.h:6390
void state_manager_event_deinit(void)
Definition: state_manager.c:669
time_t time(time_t *timer)
static const unsigned rewind_buffer_size
Definition: config.def.h:583
Definition: state_manager.c:163
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void state_manager_event_init(unsigned rewind_buffer_size)
Definition: state_manager.c:617
bool state_manager_frame_is_reversed(void)
Definition: state_manager.c:664