parent
6725363052
commit
ef864536de
|
@ -1244,7 +1244,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
return 0;
|
||||
}
|
||||
var match = form.Controls().FirstOrDefault(c => c.Handle == ptr);
|
||||
if (match is null) return;
|
||||
if (match is null) return default;
|
||||
if (match is not LuaPictureBox control)
|
||||
{
|
||||
LogOutputCallback(ERR_MSG_CONTROL_NOT_LPB);
|
||||
|
@ -1278,7 +1278,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
return 0;
|
||||
}
|
||||
var match = form.Controls().FirstOrDefault(c => c.Handle == ptr);
|
||||
if (match is null) return;
|
||||
if (match is null) return default;
|
||||
if (match is not LuaPictureBox control)
|
||||
{
|
||||
LogOutputCallback(ERR_MSG_CONTROL_NOT_LPB);
|
||||
|
|
Loading…
Reference in New Issue