Changed memory_savestate and compressed_buf buffers in state.cpp to be static file scope. No reason to export these to the linker with global scope.
This commit is contained in:
parent
55bcb3d41a
commit
b4efaa91d8
|
@ -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<uint8> compressed_buf;
|
||||
static std::vector<uint8> compressed_buf;
|
||||
|
||||
#define SFMDATA_SIZE (128)
|
||||
static SFORMAT SFMDATA[SFMDATA_SIZE];
|
||||
|
|
Loading…
Reference in New Issue