mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
GP fifo reset fix (ZWW reset in DC at least). revert r1051 for ppl who don't own quadcore :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1057 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d62d517c72
commit
5e261fbec3
@ -446,10 +446,12 @@ void Write16(const u16 _Value, const u32 _Address)
|
||||
LOG(COMMANDPROCESSOR,"write to FIFO_BP_HI : %04x", _Value);
|
||||
break;
|
||||
|
||||
// ignored writes
|
||||
// needed for CPReadWriteDistance reset only
|
||||
case FIFO_RW_DISTANCE_HI:
|
||||
case FIFO_RW_DISTANCE_LO:
|
||||
LOG(COMMANDPROCESSOR,"try to write to %s : %04x",((_Address & 0xFFF) == FIFO_RW_DISTANCE_HI) ? "FIFO_RW_DISTANCE_HI" : "FIFO_RW_DISTANCE_LO", _Value);
|
||||
_dbg_assert_msg_(COMMANDPROCESSOR, _Value==0, "WTF? attempt to overwrite fifo CPReadWriteDistance with a value(%04x) != 0 ",_Value);
|
||||
InterlockedExchange((LONG*)&fifo.CPReadWriteDistance, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -113,8 +113,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
||||
#if defined(THREAD_VIDEO_WAKEUP_ONIDLE) && defined(_WIN32)
|
||||
continue;
|
||||
#else
|
||||
//Common::SleepCurrentThread(1);
|
||||
continue;
|
||||
Common::SleepCurrentThread(1);
|
||||
#endif
|
||||
//etc...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user