mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Fifo: Make g_bSkipCurrentFrame a TU-local variable
This is only ever queried, making it a global isn't necessary.
This commit is contained in:
parent
48e7e5b72e
commit
5ebd1e215b
9 changed files with 19 additions and 14 deletions
|
@ -380,7 +380,7 @@ static void BPWritten(const BPCmd& bp)
|
|||
case BPMEM_CLEARBBOX2:
|
||||
// Don't compute bounding box if this frame is being skipped!
|
||||
// Wrong but valid values are better than bogus values...
|
||||
if (!Fifo::g_bSkipCurrentFrame)
|
||||
if (!Fifo::WillSkipCurrentFrame())
|
||||
{
|
||||
u8 offset = bp.address & 2;
|
||||
BoundingBox::active = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue