Mesen/Core/AutoSaveManager.h
2017-04-10 22:21:16 -04:00

20 lines
343 B
C++

#pragma once
#include "stdafx.h"
#include <thread>
#include "../Utilities/Timer.h"
#include "../Utilities/AutoResetEvent.h"
class AutoSaveManager
{
private:
const uint32_t _autoSaveSlot = 8;
std::thread _autoSaveThread;
atomic<bool> _stopThread;
AutoResetEvent _signal;
Timer _timer;
public:
AutoSaveManager();
~AutoSaveManager();
};