mc: correct assignment to the right variable

This was introduced in r3875.
This commit is contained in:
riccardom 2012-03-18 16:25:37 +00:00
parent 2bcac4e190
commit 0093cc9648
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ u32 BackupDevice::addr_size_for_old_save_type(int bupmem_type)
void BackupDevice::load_old_state(u32 addr_size, u8* data, u32 datasize)
{
state = RUNNING;
addr_size = addr_size;
this->addr_size = addr_size;
resize(datasize);
memcpy(&this->data[0],data,datasize);