projects
/
drnoksnes
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
snapshot support in gui
[drnoksnes]
/
gui
/
state.h
1
#ifndef _STATE_H_
2
#define _STATE_H_
3
4
#include <glib.h>
5
6
typedef struct GameStateInfo
7
{
8
gboolean rom_exists;
9
gboolean has_state_file;
10
} GameStateInfo;
11
typedef enum GameState
12
{
13
GAME_STATE_NONE = 0,
14
GAME_STATE_PAUSED,
15
GAME_STATE_STOP
16
} GameState;
17
18
void game_state_fill(GameStateInfo * info, const char * rom_file);
19
void game_state_set(GameState newState);
20
21
#endif