mirror of
https://github.com/libretro/RACE.git
synced 2024-11-27 02:50:37 +00:00
32 lines
899 B
C
32 lines
899 B
C
/*---------------------------------------------------------------------------
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version. See also the license.txt file for
|
|
* additional informations.
|
|
*---------------------------------------------------------------------------
|
|
|
|
* state.h: state saving
|
|
*
|
|
* 01/20/2009 Cleaned up interface, added loading from memory (A.K.)
|
|
* Moved struct definitions to .cpp
|
|
* 09/11/2008 Initial version (Akop Karapetyan)
|
|
*/
|
|
|
|
#ifndef _STATE_H
|
|
#define _STATE_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int state_get_size(void);
|
|
int state_store_mem(void *state);
|
|
int state_restore_mem(void *state);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _STATE_H */
|