mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-26 23:00:21 -04:00
This code was storing references to patch entries which could move around in memory if a patch was erased from the middle of a vector or if the vector itself was reallocated. Instead, NewPatchDialog maintains a separate copy of the patch entries which are committed back to the patch if the user accepts the changes.