Mesen/Core/Namco108_154.h

14 lines
333 B
C
Raw Normal View History

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