mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-10 10:14:46 +00: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);
|
LOG(COMMANDPROCESSOR,"write to FIFO_BP_HI : %04x", _Value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// ignored writes
|
// needed for CPReadWriteDistance reset only
|
||||||
case FIFO_RW_DISTANCE_HI:
|
case FIFO_RW_DISTANCE_HI:
|
||||||
case FIFO_RW_DISTANCE_LO:
|
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);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,8 +113,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
|||||||
#if defined(THREAD_VIDEO_WAKEUP_ONIDLE) && defined(_WIN32)
|
#if defined(THREAD_VIDEO_WAKEUP_ONIDLE) && defined(_WIN32)
|
||||||
continue;
|
continue;
|
||||||
#else
|
#else
|
||||||
//Common::SleepCurrentThread(1);
|
Common::SleepCurrentThread(1);
|
||||||
continue;
|
|
||||||
#endif
|
#endif
|
||||||
//etc...
|
//etc...
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user