Fixed HEX editor copy/paste bug introduced by commit a9c4bc95

Paste function was bugged while using HEX editor in "ROM" mode
This commit is contained in:
Alexey 'Cluster' Avdyukhin 2020-10-08 17:18:08 +03:00
parent c5e39608c9
commit e9f6c4d237
1 changed files with 1 additions and 1 deletions

View File

@ -1013,7 +1013,7 @@ void InputData(char *input){
break;
case MODE_NES_FILE:
// ROM
ApplyPatch(addr, datasize, data);
ApplyPatch(addr, 1, &data[i]);
break;
}
}