VERY experimental Nintendo Switch 2 emulator
C++
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
Subv3600c32483dc
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cppindex cabf5fe07d..da19edef02 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::TextureInfoformat_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.hindex 026b10a628..5d0d2bf98d 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;