فهرست منبع

Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.

Also added its name to the texture viewer widget
Subv 11 سال پیش
والد
کامیت
3600c32483
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      src/citra_qt/debugger/graphics_cmdlists.cpp
  2. 1 0
      src/video_core/pica.h

+ 1 - 1
src/citra_qt/debugger/graphics_cmdlists.cpp

@@ -74,7 +74,7 @@ TextureInfoDockWidget::TextureInfoDockWidget(const Pica::DebugUtils::TextureInfo
     format_choice->addItem(tr("I8"));
     format_choice->addItem(tr("A8"));
     format_choice->addItem(tr("IA4"));
-    format_choice->addItem(tr("UNK10"));
+    format_choice->addItem(tr("I4"));
     format_choice->addItem(tr("A4"));
     format_choice->addItem(tr("ETC1"));
     format_choice->addItem(tr("ETC1A4"));

+ 1 - 0
src/video_core/pica.h

@@ -200,6 +200,7 @@ struct Regs {
         case TextureFormat::IA8:
             return 4;
 
+        case TextureFormat::I4:
         case TextureFormat::A4:
             return 1;