summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/state.c')
-rw-r--r--src/emu/state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/state.c b/src/emu/state.c
index 874c7a8d954..f6134b83111 100644
--- a/src/emu/state.c
+++ b/src/emu/state.c
@@ -22,7 +22,6 @@
#include "driver.h"
#include "astring.h"
-#include "deprecat.h"
#include <zlib.h>
@@ -246,7 +245,7 @@ void state_save_register_memory(running_machine *machine, const char *module, co
if (!global->reg_allowed)
{
logerror("Attempt to register save state entry after state registration is closed! module %s tag %s name %s\n",module, tag, name);
- if (Machine->gamedrv->flags & GAME_SUPPORTS_SAVE)
+ if (machine->gamedrv->flags & GAME_SUPPORTS_SAVE)
fatalerror("Attempt to register save state entry after state registration is closed! module %s tag %s name %s\n", module, tag, name);
global->illegal_regs++;
return;