Eliminate some baseless restrictions in PointerWrap, mainly vector<string> not working.
This commit is contained in:
@@ -133,7 +133,7 @@ unsigned int GetAttached()
|
||||
// input/output: ptr
|
||||
// input: mode
|
||||
//
|
||||
void DoState(unsigned char **ptr, int mode)
|
||||
void DoState(u8 **ptr, PointerWrap::Mode mode)
|
||||
{
|
||||
// TODO:
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#define _WIIMOTE_H_
|
||||
|
||||
#include "../../InputCommon/Src/InputConfig.h"
|
||||
#include "ChunkFile.h"
|
||||
|
||||
#define MAX_WIIMOTES 4
|
||||
|
||||
@@ -25,7 +26,7 @@ void Shutdown();
|
||||
void Initialize(void* const hwnd);
|
||||
|
||||
unsigned int GetAttached();
|
||||
void DoState(unsigned char **ptr, int mode);
|
||||
void DoState(u8 **ptr, PointerWrap::Mode mode);
|
||||
void EmuStateChange(EMUSTATE_CHANGE newState);
|
||||
InputPlugin *GetPlugin();
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
|
||||
static std::thread g_save_thread;
|
||||
|
||||
// Don't forget to increase this after doing changes on the savestate system
|
||||
static const u32 STATE_VERSION = 15;
|
||||
static const u32 STATE_VERSION = 16;
|
||||
|
||||
struct StateHeader
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user