From 9c8d36087b5b35c35c7ff9276a15d400ce45f519 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 29 Oct 2014 09:30:30 +0100 Subject: less C++. --- source/snaporig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/snaporig.c') diff --git a/source/snaporig.c b/source/snaporig.c index add1c09..2c77818 100644 --- a/source/snaporig.c +++ b/source/snaporig.c @@ -204,7 +204,7 @@ static int ReadOrigSnapshot (STREAM snap) if ((result = ReadBlock ("CPU:", &OrigCPU, sizeof (OrigCPU), snap)) != SUCCESS) return (result); OrigCPU.FastROMSpeed = OrigCPU.FastROMSpeed_old; - Memory.FixROMSpeed (); + FixROMSpeed (); if (version == 3) { OrigCPU.Cycles = OrigCPU.Cycles_old; @@ -370,7 +370,7 @@ static int ReadOrigSnapshot (STREAM snap) return (result); if ((result = ReadBlock ("RAM:", Memory.RAM, 0x20000, snap)) != SUCCESS) return (result); - if ((result = ReadBlock ("SRA:", ::SRAM, 0x10000, snap)) != SUCCESS) + if ((result = ReadBlock ("SRA:", SRAM_g, 0x10000, snap)) != SUCCESS) return (result); if ((result = ReadBlock ("FIL:", Memory.FillRAM, 0x8000, snap)) != SUCCESS) return (result); -- cgit v1.2.3