summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/state.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-07 14:51:36 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-07 14:51:36 +0000
commit872ec206586ef24d68f6f731e065ece6a2f5668d (patch)
tree14bbec9d12b5184b85aca6758c3269bdc326d6b1 /src/emu/state.c
parent96321d328f4395119dbcf2f7ff228916f09a5542 (diff)
From: Atari Ace [mailto:atari_ace@verizon.net]
Sent: Saturday, December 06, 2008 4:52 PM To: submit@mamedev.org Cc: atariace@hotmail.com Subject: [patch] Deprecat.h cleanup Hi mamedev, This patch changes some global Machine references to use machine, device->machine, ... instead, and removes any unneeded #include "deprecat.h" lines as well (about 10% of them in fact). It was generated using the attached script, and then reverting some cases where it was overzealous. ~aa
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;