2016-01-28 20:47:16 -05:00
|
|
|
#pragma once
|
2014-06-24 02:47:32 -04:00
|
|
|
#include "stdafx.h"
|
2014-07-09 19:05:07 -04:00
|
|
|
#include "BaseMapper.h"
|
2016-01-28 20:47:16 -05:00
|
|
|
#include "RomData.h"
|
2014-06-24 02:47:32 -04:00
|
|
|
|
|
|
|
class MapperFactory
|
|
|
|
{
|
2014-06-26 23:13:02 -04:00
|
|
|
private:
|
2016-01-28 20:47:16 -05:00
|
|
|
static BaseMapper* GetMapperFromID(RomData &romData);
|
2014-06-26 23:13:02 -04:00
|
|
|
|
2014-06-24 02:47:32 -04:00
|
|
|
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);
|
2014-06-24 02:47:32 -04:00
|
|
|
};
|