mirror of
https://github.com/mkwong98/HDNes.git
synced 2025-04-02 10:32:07 -04:00
26 lines
459 B
C++
26 lines
459 B
C++
#ifndef COREPART_H
|
|
#define COREPART_H
|
|
|
|
#include "../common.h"
|
|
|
|
using namespace std;
|
|
|
|
class corePart
|
|
{
|
|
public:
|
|
corePart();
|
|
virtual ~corePart();
|
|
|
|
virtual void reset() = 0;
|
|
virtual void saveState(fstream* statefile) = 0;
|
|
virtual void loadState(fstream* statefile) = 0;
|
|
virtual void init() = 0;
|
|
virtual void init2() = 0;
|
|
|
|
|
|
protected:
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // COREPART_H
|