diff options
author | Nathan Woods <npwoods@mess.org> | 2008-04-02 10:59:32 +0000 |
---|---|---|
committer | Nathan Woods <npwoods@mess.org> | 2008-04-02 10:59:32 +0000 |
commit | 36af5b18bc25d5b548c9330adb3f24dcc2737789 (patch) | |
tree | a51a85cede4e66da706cace700e2709362091a59 | |
parent | dc5af38f5bf7d2c5f4076862ea010b77d4f462c9 (diff) |
Tweaked the hooks that MESS has in the MAME initialization process
-rw-r--r-- | src/emu/mame.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/emu/mame.c b/src/emu/mame.c index 8d4523e207e..886ada485d3 100644 --- a/src/emu/mame.c +++ b/src/emu/mame.c @@ -1565,9 +1565,9 @@ static void init_machine(running_machine *machine) cpuint_init(machine); #ifdef MESS - /* initialize the devices */ - devices_init(machine); -#endif + /* first MESS initialization */ + mess_predevice_init(machine); +#endif /* MESS */ /* call the game driver's init function */ /* this is where decryption is done and memory maps are altered */ @@ -1579,6 +1579,11 @@ static void init_machine(running_machine *machine) /* start up the devices */ device_list_start(machine); +#ifdef MESS + /* second MESS initialization */ + mess_postdevice_init(machine); +#endif /* MESS */ + /* start the video and audio hardware */ video_init(machine); tilemap_init(machine); |