mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-13 11:57:09 +00:00
17 lines
370 B
C++
17 lines
370 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "BaseMapper.h"
|
|
#include "RomData.h"
|
|
|
|
class MapperFactory
|
|
{
|
|
private:
|
|
static BaseMapper* GetMapperFromID(RomData &romData);
|
|
|
|
public:
|
|
static const uint16_t FdsMapperID = 65535;
|
|
static const uint16_t NsfMapperID = 65534;
|
|
|
|
static shared_ptr<BaseMapper> InitializeFromFile(string romFilename, vector<uint8_t> &fileData);
|
|
};
|