yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
oracle_progression_loader.h
Go to the documentation of this file.
1#ifndef YAZE_CORE_ORACLE_PROGRESSION_LOADER_H
2#define YAZE_CORE_ORACLE_PROGRESSION_LOADER_H
3
4#include <string>
5
6#include "absl/status/statusor.h"
8
9namespace yaze::core {
10
11// Loads Oracle of Secrets progression state from an emulator SRAM file.
12//
13// The file is interpreted as raw SRAM bytes starting at $7EF000, which matches
14// the layout used by OracleProgressionState::ParseFromSRAM.
15absl::StatusOr<OracleProgressionState> LoadOracleProgressionFromSrmFile(
16 const std::string& srm_path);
17
18} // namespace yaze::core
19
20#endif // YAZE_CORE_ORACLE_PROGRESSION_LOADER_H
absl::StatusOr< OracleProgressionState > LoadOracleProgressionFromSrmFile(const std::string &srm_path)