diff options
| author | skidau <skidau@gmail.com> | 2010-11-24 06:02:03 +0000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2010-11-24 06:02:03 +0000 |
| commit | 2808f75f74a7344c3fd74052d02fc154f523dca7 (patch) | |
| tree | 9756a8995b1feebc65f815dc9ee1e97e9cf41022 /Source/Core/VideoCommon/Src/CommandProcessor.cpp | |
| parent | d36ede020c122ec79fdf9872bf078f83a1b5621e (diff) | |
Corrected the FIFO breakpoint clause in the FIFO loop. This fixes Super Monkey Ball: Banana Blitz, Super Monkey Ball: Step & Roll and Pokemon XD.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6470 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/CommandProcessor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp index 53911b4691..99ac3bf145 100644 --- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp @@ -568,7 +568,7 @@ bool AllowIdleSkipping() return !g_VideoInitialize.bOnThread || !m_CPCtrlReg.BPEnable; } -// Check every FAKE_GP_WATCHDOG_PERIOD if a PE-frame-finish occured +// Check every FAKE_GP_WATCHDOG_PERIOD if a PE-frame-finish occurred // if not then lock CPUThread until GP finish a frame. void WaitForFrameFinish() { @@ -696,10 +696,10 @@ void SetFifoIdleFromVideoPlugin() s_fifoIdleEvent.Set(); } -// This is called by the ProcessorInterface when PI_FIFO_RESET is writed, -// the general idea is abort all commands in the FIFO. -// This prevent Negative fifo.CPReadWriteDistance because when PI_FIFO_RESET happens -// the fifo.CPReadWriteDistance is writed to 0 +// This is called by the ProcessorInterface when PI_FIFO_RESET is written to. +// The general idea is abort all commands in the FIFO. +// This prevents negative fifo.CPReadWriteDistance by changing fifo.CPReadWriteDistance +// to 0 when PI_FIFO_RESET occurs. void AbortFrame() { Fifo_SetRendering(false); |
