mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
Undo last change, it is unnecessary. Cheat problems must lie elsewhere.
This commit is contained in:
parent
d5620a5bdf
commit
23d7f9e1fa
@ -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)
|
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);
|
const memory_region *region = machine.region(rgntag);
|
||||||
UINT64 result = ~(UINT64)0 >> (64 - 8*size);
|
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)
|
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;
|
debugcpu_private *global = machine.debugcpu_data;
|
||||||
const memory_region *region = machine.region(rgntag);
|
const memory_region *region = machine.region(rgntag);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user