mc146818: Correctly serialize tickEvent
'tickEvent' was not being serialized as in its place 'event' was being used. This patch rectifies this error.
This commit is contained in:
parent
4fcf8e9959
commit
b61e34fab8
|
@ -217,7 +217,7 @@ MC146818::serialize(const string &base, ostream &os)
|
|||
//
|
||||
Tick rtcTimerInterruptTickOffset = event.when() - curTick();
|
||||
SERIALIZE_SCALAR(rtcTimerInterruptTickOffset);
|
||||
Tick rtcClockTickOffset = event.when() - curTick();
|
||||
Tick rtcClockTickOffset = tickEvent.when() - curTick();
|
||||
SERIALIZE_SCALAR(rtcClockTickOffset);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue