summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-07-19 20:23:04 +0200
committerTony Wasserka <neobrainx@gmail.com>2015-07-19 20:23:04 +0200
commitef828a1cddf9b628e498ed6aa9f7778d01b7d10e (patch)
tree29cd28b2f867724fc4e4eb1744cf8e833c24bda6 /src
parentMerge pull request #941 from citra-emu/armv6-thumb-mov (diff)
parentRasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride. (diff)
downloadyuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.tar
yuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.tar.gz
yuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.tar.bz2
yuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.tar.lz
yuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.tar.xz
yuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.tar.zst
yuzu-ef828a1cddf9b628e498ed6aa9f7778d01b7d10e.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/debugger/graphics_cmdlists.cpp2
-rw-r--r--src/video_core/pica.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp
index cabf5fe07..da19edef0 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.cpp
+++ b/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"));
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 026b10a62..5d0d2bf98 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -200,6 +200,7 @@ struct Regs {
case TextureFormat::IA8:
return 4;
+ case TextureFormat::I4:
case TextureFormat::A4:
return 1;