mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06:00
citra-qt: Always show pica framebuffers as RGBA8.
We actually don't really know yet how the format is encoded. Hence just use what works.
This commit is contained in:
parent
746fcf5a59
commit
e1144e364e
1 changed files with 2 additions and 1 deletions
|
@ -202,7 +202,8 @@ void GraphicsFramebufferWidget::OnUpdate()
|
||||||
framebuffer_address = framebuffer.GetColorBufferPhysicalAddress();
|
framebuffer_address = framebuffer.GetColorBufferPhysicalAddress();
|
||||||
framebuffer_width = framebuffer.GetWidth();
|
framebuffer_width = framebuffer.GetWidth();
|
||||||
framebuffer_height = framebuffer.GetHeight();
|
framebuffer_height = framebuffer.GetHeight();
|
||||||
framebuffer_format = static_cast<Format>(framebuffer.color_format);
|
// TODO: It's unknown how this format is actually specified
|
||||||
|
framebuffer_format = Format::RGBA8;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue