Does an unedited save file (from the emulator) have valid checksums, via the SAV tab?
If PKHeX remembers your changes, and the emulator reversed it, then that's not an issue with PKHeX. The emulator has to import your edited save file, oftentimes it will ignore it / keep it cached internally with a RAM snapshot for faster resuming.