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

14 lines
333 B
C++

#pragma once
#include "stdafx.h"
#include "Namco108_88.h"
class Namco108_154 : public Namco108_88
{
protected:
virtual void WriteRegister(uint16_t addr, uint8_t value) override
{
SetMirroringType((value & 0x40) == 0x40 ? MirroringType::ScreenBOnly : MirroringType::ScreenAOnly);
Namco108_88::WriteRegister(addr, value);
}
};