Properly savestate loaded modules

May fix savestates in games that use modules heavily, like Yu-Gi-Oh, Metal Gear Solid, Tales of Radiant Mythology, and Valkyrie Profile.

-[Unknown]