diff options
Diffstat (limited to 'src/emu/device.cpp')
-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 //************************************************************************** |