mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-31 00:09:19 -06: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.