lay out some base class for ROMSource

This commit is contained in:
Arisotura 2021-12-06 21:02:30 +01:00
parent 2128333a94
commit 41c0a97952
1 changed files with 7 additions and 1 deletions

View File

@ -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