A stupid mistake fixed.

This commit is contained in:
Brandon Wright 2019-02-27 20:31:36 -06:00
parent fc4f476414
commit a70e2ccda6
1 changed files with 3 additions and 2 deletions

View File

@ -73,12 +73,13 @@ void SMP::save_spc (uint8 *block) {
void SMP::save_state(uint8 **block) {
uint8 *ptr = *block;
memcpy(ptr, apuram, 64 * 1024);
ptr += 64 * 1024;
if (status.iplrom_enable)
{
memcpy (&ptr[0xffc0], highmem, 64);
memcpy(&ptr[0xffc0], highmem, 64);
}
ptr += 64 * 1024;
#undef INT32
#define INT32(i) set_le32(ptr, (i)); ptr += sizeof(int32)
INT32(clock);