diff --git a/src/state.cpp b/src/state.cpp index db77ad77..1772fb05 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -84,9 +84,9 @@ bool backupSavestates = true; bool compressSavestates = true; //By default FCEUX compresses savestates when a movie is inactive. // a temp memory stream. We'll be dumping some data here and then compress -EMUFILE_MEMORY memory_savestate; +static EMUFILE_MEMORY memory_savestate; // temporary buffer for compressed data of a savestate -std::vector compressed_buf; +static std::vector compressed_buf; #define SFMDATA_SIZE (128) static SFORMAT SFMDATA[SFMDATA_SIZE];