Mesen-X/Core/MapperFactory.h

15 lines
343 B
C
Raw Normal View History

2016-01-28 20:47:16 -05:00
#pragma once
#include "stdafx.h"
#include "BaseMapper.h"
2016-01-28 20:47:16 -05:00
#include "RomData.h"
class MapperFactory
{
private:
2016-01-28 20:47:16 -05:00
static BaseMapper* GetMapperFromID(RomData &romData);
public:
2016-01-28 20:47:16 -05:00
static const uint16_t FdsMapperID = 65535;
2015-12-27 18:41:38 -05:00
static shared_ptr<BaseMapper> InitializeFromFile(string romFilename, stringstream *filestream, string ipsFilename);
};