summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cheat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cheat.c')
-rw-r--r--src/emu/cheat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c
index 34e27803f8e..f2280ed64f8 100644
--- a/src/emu/cheat.c
+++ b/src/emu/cheat.c
@@ -1175,7 +1175,7 @@ void cheat_manager::reload()
// load the cheat file, MESS will load a crc32.xml ( eg. 01234567.xml )
// and MAME will load gamename.xml
device_image_interface *image = NULL;
- for (bool gotone = machine().m_devicelist.first(image); gotone; gotone = image->next(image))
+ for (bool gotone = machine().devicelist().first(image); gotone; gotone = image->next(image))
if (image->exists())
{
// if we are loading through software lists, try to load shortname.xml