add app namespace to bps patch in cli

This commit is contained in:
scawful
2024-08-06 22:20:51 -04:00
parent 5e2b10e6f4
commit 370903b6c7

View File

@@ -75,7 +75,7 @@ class ApplyPatch : public CommandHandler {
// Apply patch
std::vector<uint8_t> patched;
core::ApplyBpsPatch(source, patch, patched);
app::core::ApplyBpsPatch(source, patch, patched);
// Save patched file
std::ofstream patched_rom("patched.sfc", std::ios::binary);
@@ -92,7 +92,7 @@ class CreatePatch : public CommandHandler {
std::vector<uint8_t> target;
std::vector<uint8_t> patch;
// Create patch
core::CreateBpsPatch(source, target, patch);
app::core::CreateBpsPatch(source, target, patch);
// Save patch to file
// std::ofstream patchFile("patch.bps", ios::binary);