Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch System fixes/improvements #1801

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

rocketz
Copy link
Contributor

@rocketz rocketz commented Nov 16, 2024

  • Fixed crash when deleting patches from Assembly view
  • Added "are you sure?" popup when clicking "delete all"

@@ -48,7 +48,7 @@ class PatchManager {
Patch& getPatch(int index) { return m_patches[index]; }

int registerPatch(uint32_t address, Patch::Type type);
PatchManager::Patch::Type findPatch(uint32_t address) const;
int findPatch(uint32_t address) const;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be a bit cleaner to use std::optional<unsigned> for this, but that'll do for now.

@nicolasnoble nicolasnoble merged commit ffc32ac into grumpycoders:main Nov 18, 2024
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants