From 5c3e2118c76baae770ac9a83684322f3eb36437f Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Mon, 30 Jan 2023 09:08:52 +0100 Subject: gaelco: Fix screen decryption (not that happy with the fix though) --- src/mame/gaelco/gaelcrpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/gaelco/gaelcrpt.cpp b/src/mame/gaelco/gaelcrpt.cpp index 786baf00c6f..5886131dc3c 100644 --- a/src/mame/gaelco/gaelcrpt.cpp +++ b/src/mame/gaelco/gaelcrpt.cpp @@ -139,7 +139,7 @@ int gaelco_vram_encryption_device::decrypt(int const enc_prev_word, int const de uint16_t gaelco_vram_encryption_device::gaelco_decrypt(cpu_device &cpu, int offset, int data) { - int thispc = cpu.pc(); + int thispc = cpu.pcbase(); // int savedata = data; /* check if 2nd half of 32 bit */ -- cgit v1.2.3