GSdx, SPU2-X: Remove old code and disable a now useless warning.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5559 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2013-02-12 18:41:33 +00:00
parent 7af51edd87
commit 8f9e04dc9d
3 changed files with 3 additions and 21 deletions

View File

@ -196,24 +196,7 @@ GSTextureCache::Target* GSTextureCache::LookupTarget(const GIFRegTEX0& TEX0, int
if(multiplier > 1) // it's limited to a maximum of 4 on reading the config
{
#if 0 //#ifdef ENABLE_UPSCALE_HACKS //not happy with this yet..
float x = 1.0f;
float y = 1.0f;
switch(multiplier)
{
case 2: x = 1.9375; y = 2.0f; break; // x res get's rid of vertical lines in many games
case 3: x = 2.9375f; y = 2.9375f; break; // not helping much
case 4: x = 3.875f; y = 3.875f; break; // not helping much
default: __assume(0);
}
dst->m_texture->SetScale(GSVector2::_(x, y));
#else
dst->m_texture->SetScale(GSVector2((float)multiplier, (float)multiplier));
#endif
}
else
{

View File

@ -28,8 +28,6 @@
//#define ENABLE_DYNAMIC_CRC_HACK
#define DYNA_DLL_PATH "c:/dev/pcsx2/trunk/tools/dynacrchack/DynaCrcHack.dll"
#define ENABLE_UPSCALE_HACKS // Hacks intended to fix upscaling / rendering glitches in HW renderers
//#define DISABLE_HW_TEXTURE_CACHE // Slow but fixes a lot of bugs
//#define DISABLE_BITMASKING

View File

@ -197,10 +197,11 @@ void V_Core::PlainDMAWrite(u16 *pMem, u32 size)
// but it could be indicative of an emulation foopah elsewhere.
if(MsgToConsole()) {
if((uptr)pMem & 15)
// Don't need this anymore. Target may still be good to know though.
/*if((uptr)pMem & 15)
{
ConLog("* SPU2 DMA Write > Misaligned source. Core: %d IOP: %p TSA: 0x%x Size: 0x%x\n", Index, (void*)pMem, TSA, size);
}
}*/
if(TSA & 7)
{