mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
DC fix/hack: 1) now a GP-watchdog thread on core 2 locks CPU in gatherpipe (TODO better). 2) Video_SendFifoData send full fifo to GP (should be faster by avoiding the decoder to stall).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1178 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -39,11 +39,10 @@ typedef struct
|
||||
volatile BOOL bFF_BPEnable;
|
||||
volatile BOOL bFF_GPLinkEnable;
|
||||
volatile BOOL bFF_Breakpoint;
|
||||
#ifdef _WIN32
|
||||
// CRITICAL_SECTION sync;
|
||||
#else
|
||||
Common::CriticalSection *sync;
|
||||
#endif
|
||||
|
||||
// for GP watchdog hack
|
||||
volatile BOOL Fake_GPWDInterrupt;
|
||||
volatile u32 Fake_GPWDToken; // cicular incrementer
|
||||
} SCPFifoStruct;
|
||||
|
||||
typedef struct
|
||||
@ -137,7 +136,7 @@ EXPORT void CALL Video_Shutdown(void);
|
||||
// input: a data-byte (i know we have to optimize this ;-))
|
||||
// output: none
|
||||
//
|
||||
EXPORT void CALL Video_SendFifoData(u8* _uData);
|
||||
EXPORT void CALL Video_SendFifoData(u8* _uData, u32 len);
|
||||
|
||||
// __________________________________________________________________________________________________
|
||||
// Function: Video_UpdateXFB
|
||||
|
Reference in New Issue
Block a user