mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
removed unused code (nw)
This commit is contained in:
parent
4046c861ba
commit
7c7e62455e
@ -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
|
||||
//**************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user