Mesen/Core/MMC3_197.h
2016-12-17 23:14:47 -05:00

23 lines
460 B
C++

#pragma once
#include "stdafx.h"
#include "MMC3.h"
class MMC3_197 : public MMC3
{
protected:
virtual void UpdateChrMapping() override
{
if(_chrMode == 0) {
SelectChrPage4x(0, _registers[0] << 1);
SelectChrPage2x(2, _registers[2] << 1);
SelectChrPage2x(3, _registers[3] << 1);
} else if(_chrMode == 1) {
SelectChrPage4x(0, _registers[2] << 1);
SelectChrPage2x(2, _registers[0] << 1);
SelectChrPage2x(3, _registers[0] << 1);
}
}
};