Mesen-X/Core/MapperFactory.h

19 lines
454 B
C++

#pragma once
#include "stdafx.h"
class MemoryManager;
class Console;
class BaseMapper;
struct RomData;
class MapperFactory
{
private:
static BaseMapper* GetMapperFromID(RomData &romData);
public:
static constexpr uint16_t FdsMapperID = 65535;
static constexpr uint16_t NsfMapperID = 65534;
static shared_ptr<BaseMapper> InitializeFromFile(shared_ptr<Console> console, string romFilename, vector<uint8_t> &fileData, RomData &outRomData);
};