lay out some base class for ROMSource
This commit is contained in:
parent
2128333a94
commit
41c0a97952
|
@ -19,12 +19,18 @@
|
|||
#ifndef ROMSOURCE_H
|
||||
#define ROMSOURCE_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class ROMSource
|
||||
{
|
||||
public:
|
||||
virtual ~ROMSource() = 0;
|
||||
|
||||
//virtual
|
||||
virtual u32 ReadROMData(u64 offset, u32 len, void* data) = 0;
|
||||
|
||||
virtual std::string GetSaveFilePath() = 0;
|
||||
virtual std::string GetSavestatePath(int slot) = 0;
|
||||
virtual std::string GetCheatFilePath() = 0;
|
||||
};
|
||||
|
||||
#endif // ROMSOURCE_H
|
||||
|
|
Loading…
Reference in New Issue