Ver Fonte

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.
Tony Wasserka há 11 anos atrás
pai
commit
e1144e364e
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      src/citra_qt/debugger/graphics_framebuffer.cpp

+ 2 - 1
src/citra_qt/debugger/graphics_framebuffer.cpp

@@ -202,7 +202,8 @@ void GraphicsFramebufferWidget::OnUpdate()
         framebuffer_address = framebuffer.GetColorBufferPhysicalAddress();
         framebuffer_width = framebuffer.GetWidth();
         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;
     }