yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::zelda3::parity Namespace Reference

Namespaces

namespace  anonymous_namespace{game_parity_gate.cc}
 

Classes

struct  Baseline
 
struct  BaselineGroup
 
struct  BaselineTile
 
struct  CaptureExpectation
 
struct  CaptureSet
 
struct  GateFinding
 
struct  GateReport
 
struct  ObservedDifference
 

Functions

std::string CaptureRomSha1 (std::span< const uint8_t > rom)
 
absl::StatusOr< CaptureSet > LoadVerifiedCaptureSet (const std::filesystem::path &dir, const CaptureExpectation &expected, std::string_view rom_sha1)
 
std::string DifferenceDigest (uint16_t game_word, uint16_t yaze_word)
 
absl::StatusOr< Baseline > ParseBaseline (std::string_view text)
 
std::string SerializeBaseline (const Baseline &baseline)
 
const char * GateFindingKindName (GateFinding::Kind kind)
 
std::string DescribeFinding (const GateFinding &finding)
 
GateReport EvaluateParity (const Baseline &baseline, const std::vector< ObservedDifference > &observed, const std::vector< int > &rooms_checked)
 

Variables

constexpr size_t kCaptureRomMinSize = 0x200000
 

Function Documentation

◆ CaptureRomSha1()

std::string yaze::zelda3::parity::CaptureRomSha1 ( std::span< const uint8_t > rom)

◆ LoadVerifiedCaptureSet()

◆ DifferenceDigest()

std::string yaze::zelda3::parity::DifferenceDigest ( uint16_t game_word,
uint16_t yaze_word )

Definition at line 177 of file game_parity_gate.cc.

References yaze::util::ComputeSha1Hex().

Referenced by EvaluateParity().

Here is the call graph for this function:

◆ ParseBaseline()

◆ SerializeBaseline()

◆ GateFindingKindName()

◆ DescribeFinding()

◆ EvaluateParity()

Variable Documentation

◆ kCaptureRomMinSize

constexpr size_t yaze::zelda3::parity::kCaptureRomMinSize = 0x200000
inlineconstexpr

Definition at line 37 of file game_parity_gate.h.

Referenced by CaptureRomSha1().