Commit e3d15a26 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Convert state.cpp to C

parent e4089dfa
......@@ -38,7 +38,6 @@ SOURCES_CXX := \
$(CORE_DIR)/flash.cpp \
$(CORE_DIR)/graphics.cpp \
$(CORE_DIR)/main.cpp \
$(CORE_DIR)/state.cpp \
$(CORE_DIR)/libretro/libretro.cpp \
$(CORE_DIR)/libretro/log.cpp
......@@ -46,6 +45,7 @@ SOURCES_C += \
$(CORE_DIR)/input.c \
$(CORE_DIR)/race-memory.c \
$(CORE_DIR)/ngpBios.c \
$(CORE_DIR)/state.c \
$(CORE_DIR)/sound.c \
$(CORE_DIR)/neopopsound.c
......
......@@ -16,9 +16,16 @@
#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);
#endif /* _STATE_H */
#ifdef __cplusplus
}
#endif
#endif /* _STATE_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment