This is to preserve savegame compatibility for now. Later the code pointer saving needs a thorough cleanup.