Fix saving/loading state in PicodriveGameCore.