mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
lay out some base class for ROMSource
This commit is contained in:
@ -19,12 +19,18 @@
|
|||||||
#ifndef ROMSOURCE_H
|
#ifndef ROMSOURCE_H
|
||||||
#define ROMSOURCE_H
|
#define ROMSOURCE_H
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class ROMSource
|
class ROMSource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~ROMSource() = 0;
|
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
|
#endif // ROMSOURCE_H
|
||||||
|
Reference in New Issue
Block a user