This allows a STM event hook to be saved and restored correctly and fixes the power/reset button after loading a state in some cases.
This allows a STM event hook to be saved and restored correctly and fixes the power/reset button after loading a state in some cases.