diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-10 21:51:00 +0100 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-20 18:06:54 +0100 |
commit | 1c972ef3b93252a157ec15d0878a2be3e4b46a0e (patch) | |
tree | ef6432579232cf4d040eb2694a06c7f807deeae0 /src/citra | |
parent | Pica: Unify ugly address translation hacks. (diff) | |
download | yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.tar yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.tar.gz yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.tar.bz2 yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.tar.lz yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.tar.xz yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.tar.zst yuzu-1c972ef3b93252a157ec15d0878a2be3e4b46a0e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp index bf35f035f..95187e54d 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics_cmdlists.cpp @@ -69,6 +69,13 @@ TextureInfoDockWidget::TextureInfoDockWidget(const Pica::DebugUtils::TextureInfo format_choice->addItem(tr("RGBA5551")); format_choice->addItem(tr("RGB565")); format_choice->addItem(tr("RGBA4")); + format_choice->addItem(tr("IA8")); + format_choice->addItem(tr("UNK6")); + format_choice->addItem(tr("I8")); + format_choice->addItem(tr("A8")); + format_choice->addItem(tr("IA4")); + format_choice->addItem(tr("UNK10")); + format_choice->addItem(tr("A4")); format_choice->setCurrentIndex(static_cast<int>(info.format)); connect(format_choice, SIGNAL(currentIndexChanged(int)), this, SLOT(OnFormatChanged(int))); @@ -265,7 +272,7 @@ void GPUCommandListWidget::SetCommandInfo(const QModelIndex& index) { auto format = Pica::registers.GetTextures()[index].format; auto info = Pica::DebugUtils::TextureInfo::FromPicaRegister(config, format); - u8* src = Memory::GetPointer(config.GetPhysicalAddress()); + u8* src = Memory::GetPointer(Pica::PAddrToVAddr(config.GetPhysicalAddress())); new_info_widget = new TextureInfoWidget(src, info); } else { new_info_widget = new QWidget; |