mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 23:25:40 +12:00
Fix cheat dialog forgetting cheat names/codes
This commit is contained in:
parent
864604c1e7
commit
31eea40ea5
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ void CheatEditDialog::accepted() {
|
||||||
CheatMetadata metadata = cheatEntry.getMetadata();
|
CheatMetadata metadata = cheatEntry.getMetadata();
|
||||||
metadata.name = nameEdit->text().toStdString();
|
metadata.name = nameEdit->text().toStdString();
|
||||||
metadata.code = code.toStdString();
|
metadata.code = code.toStdString();
|
||||||
|
cheatEntry.setMetadata(metadata);
|
||||||
|
|
||||||
std::vector<u8> bytes;
|
std::vector<u8> bytes;
|
||||||
for (size_t i = 0; i < metadata.code.size(); i += 2) {
|
for (size_t i = 0; i < metadata.code.size(); i += 2) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue