Mesen-X/Core/Malee.h

22 lines
414 B
C
Raw Normal View History

2016-11-06 11:28:15 -05:00
#pragma once
#include "stdafx.h"
#include "BaseMapper.h"
class Malee : public BaseMapper
{
protected:
uint16_t GetPRGPageSize() { return 0x800; }
uint16_t GetCHRPageSize() { return 0x2000; }
void InitMapper()
{
SelectPrgPage4x(0, 0);
SelectPrgPage4x(1, 4);
SelectPrgPage4x(2, 8);
SelectPrgPage4x(3, 12);
SelectCHRPage(0, 0);
SetCpuMemoryMapping(0x6000, 0x67FF, 16, PrgMemoryType::PrgRom);
}
};