diff options
Diffstat (limited to 'source/snaporig.c')
-rw-r--r-- | source/snaporig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/snaporig.c b/source/snaporig.c index 2c77818..fbea9c7 100644 --- a/source/snaporig.c +++ b/source/snaporig.c @@ -230,7 +230,7 @@ static int ReadOrigSnapshot (STREAM snap) if ((result = ReadBlock ("REG:", &OrigRegisters, sizeof (OrigRegisters), snap)) != SUCCESS) return (result); - ICPU.Registers = *(struct SRegisters *) &OrigRegisters; + ICPU.Registers = *(SRegisters *) &OrigRegisters; if ((result = ReadBlock ("PPU:", &OrigPPU, sizeof (OrigPPU), snap)) != SUCCESS) return (result); @@ -376,12 +376,12 @@ static int ReadOrigSnapshot (STREAM snap) return (result); if (ReadBlock ("APU:", &OrigAPU, sizeof (OrigAPU), snap) == SUCCESS) { - APU = *(struct SAPU *) &OrigAPU; + APU = *(SAPU *) &OrigAPU; if ((result = ReadBlock ("ARE:", &OrigAPURegisters, sizeof (OrigAPURegisters), snap)) != SUCCESS) return (result); - IAPU.Registers = *(struct SAPURegisters *) &OrigAPURegisters; + IAPU.Registers = *(SAPURegisters *) &OrigAPURegisters; if ((result = ReadBlock ("ARA:", IAPU.RAM, 0x10000, snap)) != SUCCESS) return (result); if ((result = ReadBlock ("SOU:", &OrigSoundData, |