refactor(core): move AsarWrapper to core directory and update includes

- Relocated AsarWrapper implementation and header files from `src/app/core/` to `src/core/` to enhance modularity and organization.
- Updated all relevant include paths across the codebase to reflect the new location of AsarWrapper.
- Adjusted CMake configurations to ensure proper compilation of the core library.

Benefits:
- Improves project structure by separating core functionalities from application-specific code.
- Facilitates easier maintenance and understanding of the codebase by clarifying the organization of core components.
This commit is contained in:
scawful
2025-10-15 17:24:05 -04:00
parent 8845bf737c
commit fd91d17ebd
19 changed files with 399 additions and 363 deletions

View File

@@ -54,7 +54,7 @@ yaze_status yaze_save_rom(zelda3_rom* rom, const char* filename);
The C++ API offers a more powerful, object-oriented interface. The primary entry point for many operations is the `yaze::core::AsarWrapper` class.
### AsarWrapper (`src/app/core/asar_wrapper.h`)
### AsarWrapper (`src/core/asar_wrapper.h`)
This class provides a complete, cross-platform interface for applying assembly patches, extracting symbols, and validating assembly code using the Asar library.
@@ -73,7 +73,7 @@ z3ed agent chat --rom zelda3.sfc
#### C++ API Example
```cpp
#include "app/core/asar_wrapper.h"
#include "core/asar_wrapper.h"
#include <vector>
#include <string>