diff options
| author | 2008-03-23 13:48:43 +0000 | |
|---|---|---|
| committer | 2008-03-23 13:48:43 +0000 | |
| commit | 9f4e71d8b3f5051c4ffc9f0f20cee34e281fd00a (patch) | |
| tree | 421acd9f895aaaab14ebdcdd3a9eccc13e668c23 | |
| parent | 0fd62f5d4f1374deb33c53dd65f0236c04639bf4 (diff) | |
From: Duke [mailto:startaq@gmail.com]
Subject: Unnecessary assert in video.c
The assert
assert(machine->config->devicelist != NULL);
in video.c causes the MESS mk1 driver to fail because it doesn't have
any devices - no screens and no sound devices. It works fine when the
assert is removed.
--Dirk
| -rw-r--r-- | src/emu/video.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/emu/video.c b/src/emu/video.c index a3462f7bc94..d8d1525b942 100644 --- a/src/emu/video.c +++ b/src/emu/video.c @@ -288,7 +288,6 @@ void video_init(running_machine *machine) /* validate */ assert(machine != NULL); assert(machine->config != NULL); - assert(machine->config->devicelist != NULL); /* request a callback upon exiting */ add_exit_callback(machine, video_exit); |
