diff options
author | 2015-11-11 13:25:45 +0100 | |
---|---|---|
committer | 2015-11-11 13:25:45 +0100 | |
commit | 7c7e62455e91e9eae51577cd06c4fd38858a3d50 (patch) | |
tree | 3854729c9e3a9d7406b442503fa038132d251543 /src | |
parent | 4046c861ba773788575746fdb2dac6155cfdb0bb (diff) |
removed unused code (nw)
Diffstat (limited to 'src')
-rw-r--r-- | src/emu/device.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/emu/device.cpp b/src/emu/device.cpp index c0055c9c3a7..d984a1d2e2a 100644 --- a/src/emu/device.cpp +++ b/src/emu/device.cpp @@ -14,51 +14,6 @@ #include "debug/debugcpu.h" - -//************************************************************************** -// CONSTANTS -//************************************************************************** - -#define TEMP_STRING_POOL_ENTRIES 16 -#define MAX_STRING_LENGTH 256 - - - -//************************************************************************** -// GLOBAL VARIABLES -//************************************************************************** - -static char temp_string_pool[TEMP_STRING_POOL_ENTRIES][MAX_STRING_LENGTH]; -static int temp_string_pool_index; - - - -//************************************************************************** -// INLINE FUNCTIONS -//************************************************************************** - -//------------------------------------------------- -// get_temp_string_buffer - return a pointer to -// a temporary string buffer -//------------------------------------------------- - -char *get_temp_string_buffer(void) -{ - char *string = &temp_string_pool[temp_string_pool_index++ % TEMP_STRING_POOL_ENTRIES][0]; - string[0] = 0; - return string; -} - - -resource_pool &machine_get_pool(running_machine &machine) -{ - // temporary to get around include dependencies, until CPUs - // get a proper device class - return machine.respool(); -} - - - //************************************************************************** // LIVE DEVICE MANAGEMENT //************************************************************************** |