Mesen-X/Core/MapperFactory.h

20 lines
454 B
C
Raw Normal View History

2016-01-28 20:47:16 -05:00
#pragma once
#include "stdafx.h"
class MemoryManager;
class Console;
class BaseMapper;
struct RomData;
class MapperFactory
{
private:
2016-01-28 20:47:16 -05:00
static BaseMapper* GetMapperFromID(RomData &romData);
public:
static constexpr uint16_t FdsMapperID = 65535;
static constexpr uint16_t NsfMapperID = 65534;
2016-10-26 22:04:05 -04:00
static shared_ptr<BaseMapper> InitializeFromFile(shared_ptr<Console> console, string romFilename, vector<uint8_t> &fileData, RomData &outRomData);
};