refactor: Update build instructions and CMake configuration for networking support

- Revised the build instructions to clarify the use of CMake presets for building on macOS, Linux, and Windows.
- Enhanced the CMake configuration for the `yaze_net` library to include support for JSON, httplib, OpenSSL, and threading.
- Removed unnecessary lines and improved documentation for the verification script and build environment checks.
- Updated the `RomVersionManager` to remove redundant code related to ROM modification tracking.
- Improved overall clarity and organization of the documentation to facilitate easier setup and usage.
This commit is contained in:
scawful
2025-10-04 22:38:25 -04:00
parent 3b406ab671
commit c79c301329
3 changed files with 129 additions and 858 deletions

View File

@@ -18,6 +18,9 @@ add_library(yaze_net STATIC ${YAZE_NET_SRC})
target_include_directories(yaze_net PUBLIC
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/lib
${CMAKE_SOURCE_DIR}/src/lib/imgui
${SDL2_INCLUDE_DIR}
${PROJECT_BINARY_DIR}
)

View File

@@ -161,7 +161,6 @@ absl::Status RomVersionManager::RestoreSnapshot(const std::string& snapshot_id)
// Restore ROM data
std::memcpy(rom_->mutable_data(), rom_data.data(), rom_data.size());
rom_->set_modified(true);
last_known_hash_ = snapshot.rom_hash;