mirror of https://github.com/snes9xgit/snes9x.git
A stupid mistake fixed.
This commit is contained in:
parent
fc4f476414
commit
a70e2ccda6
|
@ -73,12 +73,13 @@ void SMP::save_spc (uint8 *block) {
|
||||||
void SMP::save_state(uint8 **block) {
|
void SMP::save_state(uint8 **block) {
|
||||||
uint8 *ptr = *block;
|
uint8 *ptr = *block;
|
||||||
memcpy(ptr, apuram, 64 * 1024);
|
memcpy(ptr, apuram, 64 * 1024);
|
||||||
ptr += 64 * 1024;
|
|
||||||
if (status.iplrom_enable)
|
if (status.iplrom_enable)
|
||||||
{
|
{
|
||||||
memcpy (&ptr[0xffc0], highmem, 64);
|
memcpy(&ptr[0xffc0], highmem, 64);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ptr += 64 * 1024;
|
||||||
|
|
||||||
#undef INT32
|
#undef INT32
|
||||||
#define INT32(i) set_le32(ptr, (i)); ptr += sizeof(int32)
|
#define INT32(i) set_le32(ptr, (i)); ptr += sizeof(int32)
|
||||||
INT32(clock);
|
INT32(clock);
|
||||||
|
|
Loading…
Reference in New Issue