@Override
	public void setHalt(boolean halt) {
		emuHalt = halt;
	}
Initialize memory state using the initial register state. If restore is true, only those
registers within the register space which have been modified will be reported and restored to
their initial state.

@param restore if true restore modified registers within the register space only
Ghidra/Framework/Emulation/src/main/java/ghidra/app/emulator/DefaultEmulator.java