gsdx sw: help debug

* quick way to disable verbose fixed tex0
* use palette address/format when the palette is dumped :)
This commit is contained in:
Gregory Hainaut 2016-09-03 00:10:23 +02:00
parent 6323268f40
commit d01194da0b
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ GIFRegTEX0 GSDrawingContext::GetSizeFixedTEX0(int s_n, const GSVector4& st, bool
th = extend(uv.y, th); th = extend(uv.y, th);
} }
#ifdef _DEBUG #if defined(_DEBUG) && 1
if(TEX0.TW != tw || TEX0.TH != th) if(TEX0.TW != tw || TEX0.TH != th)
{ {
printf("%5d:FixedTEX0 %05x %d %d tw %d=>%d th %d=>%d st (%.0f,%.0f,%.0f,%.0f) uvmax %d,%d wm %d,%d (%d,%d,%d,%d)\n", printf("%5d:FixedTEX0 %05x %d %d tw %d=>%d th %d=>%d st (%.0f,%.0f,%.0f,%.0f) uvmax %d,%d wm %d,%d (%d,%d,%d,%d)\n",

View File

@ -1672,7 +1672,7 @@ void GSRendererSW::SharedData::UpdateSource()
t->Update(GSVector4i(0, 0, 256, 1), global.clut, sizeof(uint32) * 256); t->Update(GSVector4i(0, 0, 256, 1), global.clut, sizeof(uint32) * 256);
s = format("%05d_f%lld_texp_%05x_%d.bmp", m_parent->s_n - 2, frame, (int)m_parent->m_context->TEX0.TBP0, (int)m_parent->m_context->TEX0.PSM); s = format("%05d_f%lld_texp_%05x_%d.bmp", m_parent->s_n - 2, frame, (int)m_parent->m_context->TEX0.CBP, (int)m_parent->m_context->TEX0.CPSM);
t->Save(root_sw+s); t->Save(root_sw+s);