summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-07-15 15:50:43 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-07-15 15:50:43 -0400
commit4cd9d392da4cf2f02a7a38ebc473ac2f1a2a5d4c (patch)
treec443f7b6a1fcba0096005a35e81b859ad9dc698d /src/mame/machine
parenta7943fa5933978c9b1c1b9f6347c6b518938de1d (diff)
gaelcrpt: Eliminate space.device() accesses
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/gaelcrpt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/gaelcrpt.cpp b/src/mame/machine/gaelcrpt.cpp
index a227c9fc772..ba7abfa66e6 100644
--- a/src/mame/machine/gaelcrpt.cpp
+++ b/src/mame/machine/gaelcrpt.cpp
@@ -122,11 +122,11 @@ static int decrypt(int const param1, int const param2, int const enc_prev_word,
-uint16_t gaelco_decrypt(address_space &space, int offset, int data, int param1, int param2)
+uint16_t gaelco_decrypt(cpu_device &cpu, int offset, int data, int param1, int param2)
{
static int lastpc, lastoffset, lastencword, lastdecword;
- int thispc = space.device().state().pc();
+ int thispc = cpu.pc();
// int savedata = data;
/* check if 2nd half of 32 bit */