From 6f8af5deb3422b0a731fae7e2f0566423745f9d9 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 14 Aug 2012 08:26:36 +0000 Subject: [PATCH] Removed not used code (nw) --- src/emu/mame.c | 11 ----------- src/emu/mame.h | 3 --- 2 files changed, 14 deletions(-) diff --git a/src/emu/mame.c b/src/emu/mame.c index c36b6ea77cb..e7f56ce3e43 100644 --- a/src/emu/mame.c +++ b/src/emu/mame.c @@ -121,17 +121,6 @@ static output_delegate output_cb[OUTPUT_CHANNEL_COUNT] = CORE IMPLEMENTATION ***************************************************************************/ -/*------------------------------------------------- - mame_is_valid_machine - return true if the - given machine is valid --------------------------------------------------*/ - -int mame_is_valid_machine(running_machine &machine) -{ - return (&machine == global_machine); -} - - /*------------------------------------------------- mame_execute - run the core emulation -------------------------------------------------*/ diff --git a/src/emu/mame.h b/src/emu/mame.h index cdec7d1db1f..2be41e6c1db 100644 --- a/src/emu/mame.h +++ b/src/emu/mame.h @@ -96,9 +96,6 @@ extern const char build_version[]; /* execute as configured by the OPTION_SYSTEMNAME option on the specified options */ int mame_execute(emu_options &options, osd_interface &osd); -/* return true if the given machine is valid */ -int mame_is_valid_machine(running_machine &machine); - /* ----- output management ----- */