mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
lay out some base class for ROMSource
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user