A couple minor changes, including a bad looking block manager bug that wasn't really all that bad :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5109 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2012-02-28 20:57:07 +00:00
parent 004eb6a2f7
commit 0933ee2fd5
4 changed files with 4 additions and 6 deletions

View File

@ -79,7 +79,7 @@ static __fi void gsCSRwrite( const tGS_CSR& csr )
SIGNAL_IMR_Pending = false; SIGNAL_IMR_Pending = false;
#else #else
GUNIT_WARN("GUNIT_WARN: csr.RESET"); GUNIT_WARN("GUNIT_WARN: csr.RESET");
Console.Warning( "csr.RESET" ); //Console.Warning( "csr.RESET" );
//gifUnit.Reset(true); // Don't think gif should be reset... //gifUnit.Reset(true); // Don't think gif should be reset...
gifUnit.gsSIGNAL.queued = false; gifUnit.gsSIGNAL.queued = false;
GetMTGS().SendSimplePacket(GS_RINGTYPE_RESET, 0, 0, 0); GetMTGS().SendSimplePacket(GS_RINGTYPE_RESET, 0, 0, 0);
@ -425,6 +425,7 @@ __fi void gsFrameSkip()
//We got away with it before i think due to our awful GS timing, but now we have it right (ish) //We got away with it before i think due to our awful GS timing, but now we have it right (ish)
void gsPostVsyncStart() void gsPostVsyncStart()
{ {
//gifUnit.FlushToMTGS(); // Needed for some (broken?) homebrew game loaders
CSRreg.SwapField(); CSRreg.SwapField();
GetMTGS().PostVsyncStart(); GetMTGS().PostVsyncStart();
} }

View File

@ -203,7 +203,7 @@ mem16_t __fastcall hwRead16_page_0F_INTC_HACK(u32 mem)
u32 ret32 = _hwRead32<0x0f, true>(mem & ~0x03); u32 ret32 = _hwRead32<0x0f, true>(mem & ~0x03);
u16 ret16 = ((u16*)&ret32)[(mem>>1) & 0x01]; u16 ret16 = ((u16*)&ret32)[(mem>>1) & 0x01];
eeHwTraceLog( mem, ret16, "Read" ); eeHwTraceLog( mem, ret16, true );
return ret16; return ret16;
} }

View File

@ -127,9 +127,6 @@ public:
void clear() void clear()
{ {
if(blocks) {
memset(blocks, 0, sizeof(blocks));
}
_Size = 0; _Size = 0;
} }

View File

@ -184,7 +184,7 @@ void GSState::SetFrameSkip(int skip)
void GSState::Reset() void GSState::Reset()
{ {
printf("GS reset\n"); printf("GSdx info: GS reset\n");
// FIXME: memset(m_mem.m_vm8, 0, m_mem.m_vmsize); // bios logo not shown cut in half after reset, missing graphics in GoW after first FMV // FIXME: memset(m_mem.m_vm8, 0, m_mem.m_vmsize); // bios logo not shown cut in half after reset, missing graphics in GoW after first FMV
memset(&m_path[0], 0, sizeof(m_path[0]) * countof(m_path)); memset(&m_path[0], 0, sizeof(m_path[0]) * countof(m_path));