TAstudio - check initializing flag when doing draw callbacks, in fluky circumstances, a draw can be invoked while trying to load a new movie
This commit is contained in:
parent
9db5ee2e7b
commit
e98a12eaa3
|
@ -224,7 +224,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void TasView_QueryItemBkColor(int index, RollColumn column, ref Color color)
|
||||
{
|
||||
if (!_engaged)
|
||||
if (!_engaged || _initializing)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -271,7 +271,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void TasView_QueryRowBkColor(int index, ref Color color)
|
||||
{
|
||||
if (!_engaged)
|
||||
if (!_engaged || _initializing)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void TasView_QueryItemText(int index, RollColumn column, out string text, ref int offsetX, ref int offsetY)
|
||||
{
|
||||
if (!_engaged)
|
||||
if (!_engaged || _initializing)
|
||||
{
|
||||
text = "";
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue