Skip to content

M6502InstructionEmulator.Restore Method

Overloads

Name Description
Restore(ReadOnlySpan<Byte>) Restores this emulator from a serialized M6502 CPU state.
Restore(Stream) Restores this emulator from a serialized M6502 CPU state.

Restore(ReadOnlySpan<Byte>)

Restores this emulator from a serialized M6502 CPU state.

public void Restore(ReadOnlySpan<Byte> source);

View source

Parameters

Name Type Description
source ReadOnlySpan<Byte> The serialized CPU state to read from.

Restore(Stream)

Restores this emulator from a serialized M6502 CPU state.

public void Restore(Stream stream);

View source

Parameters

Name Type Description
stream Stream The stream to read the CPU state from.