mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 20:14:23 +01:00
GSdx:
- Worked on the configuration dialog, bringing in the scaler option - Changed the DeviceSize code to use Jake's kinda better method. Fixes some odd resolution games :) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2061 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
06d3e01efe
commit
2ede953125
6 files changed
+55
-24
No files matched your search
@@ -565,6 +565,11 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||
|
||||
GSVector4 size = GSVector4(dstsize).xyxy();
|
||||
GSVector4 scale = GSVector4(dst->m_texture->GetScale()).xyxy();
|
||||
|
||||
if (dst->m_TEX0.TBW < TEX0.TBW) // otherwise scale.x need to be reduced to make the larger texture fit
|
||||
{
|
||||
scale.x *= (dst->m_TEX0.TBW/TEX0.TBW);
|
||||
}
|
||||
|
||||
int blockWidth = 64;
|
||||
int blockHeight = TEX0.PSM == PSM_PSMCT32 || TEX0.PSM == PSM_PSMCT24 ? 32 : 64;
|
||||
|
||||
Reference in new issue
Block a user