1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Correct FrameBuffer::init

This commit is contained in:
Sergey Lipskiy 2017-03-18 20:09:10 +07:00
parent 637633ae5d
commit bce9698958

View File

@ -146,8 +146,8 @@ void FrameBuffer::init(u32 _address, u16 _format, u16 _size, u16 _width, bool _c
m_width = _width;
m_height = _cfb ? VI.height : 1;
// m_height = VI.height;
updateEndAddress();
m_size = _size;
updateEndAddress();
if (isAuxiliary() && config.frameBufferEmulation.copyAuxToRDRAM != 0) {
m_scale = 1.0f;
} else if (config.frameBufferEmulation.nativeResFactor != 0 && config.frameBufferEmulation.enable != 0) {