Mesen-X/Core/MapperFactory.h

20 lines
550 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;
2016-06-25 20:46:54 -04:00
static const uint16_t NsfMapperID = 65534;
2016-08-14 20:12:50 -04:00
static const uint16_t UnknownBoard = 65533;
static const uint16_t UnifTf1201 = 65532;
2016-10-26 22:04:05 -04:00
static const uint16_t UnifCoolboy = 65531;
static shared_ptr<BaseMapper> InitializeFromFile(string romFilename, stringstream *filestream, string ipsFilename, int32_t archiveFileIndex);
};