fix crash when printing to non-existent osd
This commit is contained in:
parent
40bf609a2c
commit
042afbaec5
|
@ -2776,7 +2776,7 @@ static void RefreshMicSettings()
|
||||||
{
|
{
|
||||||
MessageBox(NULL, "Unable to read the mic sample", "DeSmuME", (MB_OK | MB_ICONEXCLAMATION));
|
MessageBox(NULL, "Unable to read the mic sample", "DeSmuME", (MB_OK | MB_ICONEXCLAMATION));
|
||||||
}
|
}
|
||||||
else
|
else if (osd)
|
||||||
{
|
{
|
||||||
osd->addLine("Mic sample %d selected", MicSampleSelection);
|
osd->addLine("Mic sample %d selected", MicSampleSelection);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue