summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/memory.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-09-11 15:57:52 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-09-11 15:57:52 +0000
commit3d1dbafcc2b45b57207201850ac69e486ed0f648 (patch)
tree0e8f2fb24788aa01ef5326d3f890abef25f5fdd7 /src/emu/memory.h
parentf67c8732b288cd5bbf7b8c80134e979697d57dfc (diff)
From: Oliver Stoeneberg [mailto:oliverst@online.de]
Subject: Machine -> machine This is a big patch adding running_machine* parameters and using "machine" where available.
Diffstat (limited to 'src/emu/memory.h')
-rw-r--r--src/emu/memory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/memory.h b/src/emu/memory.h
index 23f4d7c6f20..bead610b6d4 100644
--- a/src/emu/memory.h
+++ b/src/emu/memory.h
@@ -833,7 +833,7 @@ extern const char *const address_space_names[ADDRESS_SPACES];
void memory_init(running_machine *machine);
/* set the current memory context */
-void memory_set_context(int activecpu);
+void memory_set_context(running_machine *machine, int activecpu);
/* get a pointer to the set of memory accessor functions based on the address space,
databus width, and endianness */
@@ -870,7 +870,7 @@ void memory_set_opbase(offs_t byteaddress);
/* return a base pointer to memory */
void * memory_get_read_ptr(int cpunum, int spacenum, offs_t byteaddress);
void * memory_get_write_ptr(int cpunum, int spacenum, offs_t byteaddress);
-void * memory_get_op_ptr(int cpunum, offs_t byteaddress, int arg);
+void * memory_get_op_ptr(running_machine *machine, int cpunum, offs_t byteaddress, int arg);
/* memory banking */
void memory_configure_bank(int banknum, int startentry, int numentries, void *base, offs_t stride);