mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-14 21:08:44 +00:00
23 lines
460 B
C++
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);
|
|
}
|
|
}
|
|
}; |