Mesen/Core/NROM.h

19 lines
353 B
C
Raw Normal View History

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