mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Set clip ratio to 1 when render image from DRARM.
Fixed #2211 Duplicate image in Dr. Mario
This commit is contained in:
parent
7ef3be1cab
commit
50dd3ed2e0
|
@ -47,6 +47,7 @@ frameBufferEmulation\copyDepthToRDRAM=1
|
||||||
[DR.MARIO%2064]
|
[DR.MARIO%2064]
|
||||||
Good_Name=Dr. Mario 64 (U)
|
Good_Name=Dr. Mario 64 (U)
|
||||||
frameBufferEmulation\copyFromRDRAM=1
|
frameBufferEmulation\copyFromRDRAM=1
|
||||||
|
frameBufferEmulation\copyToRDRAM=0
|
||||||
|
|
||||||
[EXTREME_G]
|
[EXTREME_G]
|
||||||
Good_Name=Extreme-G (E)
|
Good_Name=Extreme-G (E)
|
||||||
|
|
|
@ -173,6 +173,7 @@ u32 RGBA32ToABGR32(u32 col, bool _fullAlpha)
|
||||||
void RDRAMtoColorBuffer::_copyFromRDRAM(u32 _height, bool _fullAlpha)
|
void RDRAMtoColorBuffer::_copyFromRDRAM(u32 _height, bool _fullAlpha)
|
||||||
{
|
{
|
||||||
Cleaner cleaner(this);
|
Cleaner cleaner(this);
|
||||||
|
ValueKeeper<u32> otherMode(gSP.clipRatio, 1U);
|
||||||
const u32 address = m_pCurBuffer->m_startAddress;
|
const u32 address = m_pCurBuffer->m_startAddress;
|
||||||
const u32 width = m_pCurBuffer->m_width;
|
const u32 width = m_pCurBuffer->m_width;
|
||||||
const u32 height = _height;
|
const u32 height = _height;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user