refactor: Update Doxyfile and resource paths for improved organization
- Changed the paths for project logo and icon in Doxyfile to point to the new assets directory. - Updated CMake configurations to reflect the new locations of resource files, enhancing clarity and maintainability. - Replaced instances of core utility functions with util functions across various files for consistency in file handling. - Added new resource files for Windows platform support and removed obsolete resource files, streamlining the build process.
This commit is contained in:
@@ -52,7 +52,7 @@ absl::Status ProjectBuild::Run(const std::vector<std::string>& arg_vec) {
|
||||
for (unsigned int i = 0; i < glob_result.gl_pathc; ++i) {
|
||||
std::string patch_file = glob_result.gl_pathv[i];
|
||||
std::vector<uint8_t> patch_data;
|
||||
auto patch_contents = core::LoadFile(patch_file);
|
||||
auto patch_contents = util::LoadFile(patch_file);
|
||||
std::copy(patch_contents.begin(), patch_contents.end(),
|
||||
std::back_inserter(patch_data));
|
||||
std::vector<uint8_t> patched_rom;
|
||||
|
||||
@@ -64,11 +64,11 @@ void ApplyBpsPatchComponent(ftxui::ScreenInteractive &screen) {
|
||||
// Button to apply the patch.
|
||||
auto apply_button = Button("Apply Patch", [&] {
|
||||
std::vector<uint8_t> source = app_context.rom.vector();
|
||||
// auto source_contents = core::LoadFile(base_file);
|
||||
// auto source_contents = util::LoadFile(base_file);
|
||||
// std::copy(source_contents.begin(), source_contents.end(),
|
||||
// std::back_inserter(source));
|
||||
std::vector<uint8_t> patch;
|
||||
auto patch_contents = core::LoadFile(patch_file);
|
||||
auto patch_contents = util::LoadFile(patch_file);
|
||||
std::copy(patch_contents.begin(), patch_contents.end(),
|
||||
std::back_inserter(patch));
|
||||
std::vector<uint8_t> patched;
|
||||
|
||||
Reference in New Issue
Block a user