From 6981dc781baa41962fff51a772bfee67af5d2e55 Mon Sep 17 00:00:00 2001 From: nattthebear Date: Thu, 14 Jan 2021 19:20:20 -0500 Subject: [PATCH] Make a few small GBHawk cleanups I forgot from the other commit No need to preemptively LockGPU before calling a scanline callback, that all Just Werkz now. --- .../Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs | 1 - src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs index b592789aa3..c32fb1fb0a 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.IEmulator.cs @@ -81,7 +81,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk { if (_scanlineCallbackLine == -1) { - LockGPU(); _scanlineCallback(ppu.LCDC); } } diff --git a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.cs b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.cs index 2ba33a66b1..0db4fa670a 100644 --- a/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.cs +++ b/src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/GBHawk.cs @@ -329,7 +329,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk if (line == -2) { - LockGPU(); _scanlineCallback(ppu.LCDC); } }