So instead of using Savestates you just simply saved the game like normal? Okay from what i've gathered from your post is that your dog ended up hitting one of the keys on your keyboard and it loaded a savestate. You should be able to exit out of the emulator, and reboot the emulator and game and your battery file should be okay. (The battery file is the save game data, aka the save battery in the "cartridge".) Just as long as you didn't save over your previous save battery file you should be able to reload the save. Out of curiosity are you using Visual Boy Advance? Because if you are using VBA, after loading a savestate everything that was saved at that point would still be in memory meaning if you soft reset the emulator, the previous save battery file will be loaded instead of your most recent one. This could be what's happening, I found this out on my own since I like to glitch out the 1st Gen Pokemon games and found out that I can import different saves from different versions over another one by doing this odd method. :V