Fix for exception in marker window
This commit is contained in:
parent
f723abe478
commit
0c3da629c8
|
@ -52,8 +52,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void MarkerView_QueryItemBkColor(int index, InputRoll.RollColumn column, ref Color color)
|
||||
{
|
||||
var prev = Markers.PreviousOrCurrent(Emulator.Frame);//Temp fix
|
||||
var prev = Markers.PreviousOrCurrent(0);
|
||||
|
||||
if (this.Emulator!=null) //Temp fix
|
||||
prev = Markers.PreviousOrCurrent(Emulator.Frame);
|
||||
|
||||
if (prev != null && index == Markers.IndexOf(prev))
|
||||
{
|
||||
color = TAStudio.Marker_FrameCol;
|
||||
|
|
Loading…
Reference in New Issue