Undo last change, it is unnecessary. Cheat problems must lie elsewhere.

This commit is contained in:
Aaron Giles 2012-02-04 20:06:48 +00:00
parent d5620a5bdf
commit 23d7f9e1fa

View File

@ -1287,11 +1287,6 @@ static UINT64 expression_read_program_direct(address_space *_space, int opcode,
static UINT64 expression_read_memory_region(running_machine &machine, const char *rgntag, offs_t address, int size)
{
// permit regions to not specify the leading ':'
astring fulltag;
if (rgntag[0] != ':')
rgntag = fulltag.cpy(":").cat(rgntag);
const memory_region *region = machine.region(rgntag);
UINT64 result = ~(UINT64)0 >> (64 - 8*size);
@ -1468,11 +1463,6 @@ static void expression_write_program_direct(address_space *_space, int opcode, o
static void expression_write_memory_region(running_machine &machine, const char *rgntag, offs_t address, int size, UINT64 data)
{
// permit regions to not specify the leading ':'
astring fulltag;
if (rgntag[0] != ':')
rgntag = fulltag.cpy(":").cat(rgntag);
debugcpu_private *global = machine.debugcpu_data;
const memory_region *region = machine.region(rgntag);