Fixed the NVR close mess - all machines now work again.

This commit is contained in:
OBattler
2017-11-22 19:18:41 +01:00
parent e0030bc93c
commit 248d8c2604
2 changed files with 5 additions and 1 deletions

View File

@@ -220,5 +220,6 @@ machine_get_machine_from_internal_name(char *s)
void
machine_close(void)
{
machines[machine].nvr_close();
if (machines[machine].nvr_close)
machines[machine].nvr_close();
}