mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #943 from Subv/ia4
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
This commit is contained in:
commit
ef828a1cdd
2 changed files with 2 additions and 1 deletions
|
@ -74,7 +74,7 @@ TextureInfoDockWidget::TextureInfoDockWidget(const Pica::DebugUtils::TextureInfo
|
||||||
format_choice->addItem(tr("I8"));
|
format_choice->addItem(tr("I8"));
|
||||||
format_choice->addItem(tr("A8"));
|
format_choice->addItem(tr("A8"));
|
||||||
format_choice->addItem(tr("IA4"));
|
format_choice->addItem(tr("IA4"));
|
||||||
format_choice->addItem(tr("UNK10"));
|
format_choice->addItem(tr("I4"));
|
||||||
format_choice->addItem(tr("A4"));
|
format_choice->addItem(tr("A4"));
|
||||||
format_choice->addItem(tr("ETC1"));
|
format_choice->addItem(tr("ETC1"));
|
||||||
format_choice->addItem(tr("ETC1A4"));
|
format_choice->addItem(tr("ETC1A4"));
|
||||||
|
|
|
@ -200,6 +200,7 @@ struct Regs {
|
||||||
case TextureFormat::IA8:
|
case TextureFormat::IA8:
|
||||||
return 4;
|
return 4;
|
||||||
|
|
||||||
|
case TextureFormat::I4:
|
||||||
case TextureFormat::A4:
|
case TextureFormat::A4:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue