Mesen/Core/NROM.h

19 lines
353 B
C
Raw Normal View History

2014-06-24 18:28:19 +00:00
#pragma once
#include "stdafx.h"
#include "BaseMapper.h"
class NROM : public BaseMapper
{
protected:
2016-12-18 04:14:47 +00:00
virtual uint16_t GetPRGPageSize() override { return 0x4000; }
virtual uint16_t GetCHRPageSize() override { return 0x2000; }
2014-06-24 18:28:19 +00:00
2016-12-18 04:14:47 +00:00
virtual void InitMapper() override
2014-06-24 18:28:19 +00:00
{
2015-12-30 16:47:36 +00:00
SelectPRGPage(0, 0);
SelectPRGPage(1, 1);
2014-06-24 18:28:19 +00:00
SelectCHRPage(0, 0);
}
};