mirror of https://github.com/PCSX2/pcsx2.git
Mostly unbreak Linux 64 and debug builds, though it still needs more testing. (With thanks to Jake)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@371 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
3c91c750e7
commit
816ffb7cba
|
@ -1483,7 +1483,7 @@ extern "C" void GSPostVsyncEnd()
|
|||
if( CHECK_MULTIGS )
|
||||
{
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
InterlockedIncrement( (volatile LONG*)&g_pGSvSyncCount );
|
||||
//InterlockedIncrement( (volatile LONG*)&g_pGSvSyncCount );
|
||||
//SysPrintf( " Sending VSync : %d \n", *(volatile LONG*)&g_pGSvSyncCount );
|
||||
#endif
|
||||
GSRingBufSimplePacket(GS_RINGTYPE_VSYNC, (*(u32*)(PS2MEM_GS+0x1000)&0x2000), 0, 0);
|
||||
|
@ -1625,7 +1625,7 @@ void* GSThreadProc(void* lpParam)
|
|||
|
||||
# ifdef PCSX2_DEVBUILD
|
||||
//SysPrintf( " Processing VSync : %d \n", *(volatile LONG*)&g_pGSvSyncCount );
|
||||
InterlockedDecrement( (volatile LONG*)&g_pGSvSyncCount );
|
||||
//InterlockedDecrement( (volatile LONG*)&g_pGSvSyncCount );
|
||||
// vSyncCount should never dip below zero.
|
||||
assert( *(volatile LONG*)&g_pGSvSyncCount >= 0 );
|
||||
# endif
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#define REG_BLOCK %r12
|
||||
#define REG_BLOCKd %r12d
|
||||
|
||||
.extern EEsCycle
|
||||
|
||||
.globl R3000AExecute
|
||||
R3000AExecute:
|
||||
|
||||
|
@ -36,11 +34,6 @@ R3000AExecute:
|
|||
push %r14
|
||||
push %r15
|
||||
|
||||
//while (EEsCycle > 0) {
|
||||
Execute_CheckCycles:
|
||||
cmp dword ptr [EEsCycle], 0
|
||||
jle Execute_Exit
|
||||
|
||||
// calc PSX_GETBLOCK
|
||||
// ((BASEBLOCK*)(recLUT[((u32)(x)) >> 16] + (sizeof(BASEBLOCK)/4)*((x) & 0xffff)))
|
||||
mov %eax, dword ptr [psxRegs + PCOFFSET]
|
||||
|
@ -72,9 +65,6 @@ Execute_Recompile:
|
|||
Execute_Function:
|
||||
call %rdx
|
||||
|
||||
jmp Execute_CheckCycles
|
||||
|
||||
Execute_Exit:
|
||||
pop %r15
|
||||
pop %r14
|
||||
pop %r13
|
||||
|
|
Loading…
Reference in New Issue