summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-02-04 20:06:48 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-02-04 20:06:48 +0000
commit23d7f9e1fa4cd45d7da4f5952ab66b1bfcd8fb42 (patch)
tree2ccb85c4239aafd0b391f3263887621c52da35e0
parentd5620a5bdf31e220bb2b4ff576748a3e429fc608 (diff)
Undo last change, it is unnecessary. Cheat problems must lie elsewhere.
-rw-r--r--src/emu/debug/debugcpu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c
index ff2c97a1adf..e87eaec0c02 100644
--- a/src/emu/debug/debugcpu.c
+++ b/src/emu/debug/debugcpu.c
@@ -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);