yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::rom::HyruleMagicValidator Class Reference

#include <hm_support.h>

Collaboration diagram for yaze::rom::HyruleMagicValidator:

Public Member Functions

 HyruleMagicValidator (Rom *rom)
 
bool IsParallelWorlds () const
 
bool IsHyruleMagic () const
 
bool HasBank00Erasure () const
 
bool FixChecksum ()
 
std::string GetVariantName () const
 

Private Attributes

Romrom_
 

Detailed Description

Definition at line 12 of file hm_support.h.

Constructor & Destructor Documentation

◆ HyruleMagicValidator()

yaze::rom::HyruleMagicValidator::HyruleMagicValidator ( Rom * rom)
explicit

Definition at line 9 of file hm_support.cc.

Member Function Documentation

◆ IsParallelWorlds()

bool yaze::rom::HyruleMagicValidator::IsParallelWorlds ( ) const

Definition at line 11 of file hm_support.cc.

References yaze::Rom::is_loaded(), rom_, and yaze::Rom::size().

Referenced by yaze::cli::RomDoctorCommandHandler::Execute(), and GetVariantName().

Here is the call graph for this function:

◆ IsHyruleMagic()

bool yaze::rom::HyruleMagicValidator::IsHyruleMagic ( ) const

Definition at line 28 of file hm_support.cc.

References HasBank00Erasure().

Here is the call graph for this function:

◆ HasBank00Erasure()

bool yaze::rom::HyruleMagicValidator::HasBank00Erasure ( ) const

Definition at line 35 of file hm_support.cc.

References yaze::Rom::data(), yaze::Rom::is_loaded(), rom_, and yaze::Rom::size().

Referenced by yaze::cli::RomDoctorCommandHandler::Execute(), GetVariantName(), and IsHyruleMagic().

Here is the call graph for this function:

◆ FixChecksum()

bool yaze::rom::HyruleMagicValidator::FixChecksum ( )
Todo
Implement proper SNES checksum calculation.

Definition at line 58 of file hm_support.cc.

References yaze::Rom::is_loaded(), rom_, and yaze::Rom::size().

Here is the call graph for this function:

◆ GetVariantName()

std::string yaze::rom::HyruleMagicValidator::GetVariantName ( ) const

Definition at line 90 of file hm_support.cc.

References HasBank00Erasure(), and IsParallelWorlds().

Here is the call graph for this function:

Member Data Documentation

◆ rom_

Rom* yaze::rom::HyruleMagicValidator::rom_
private

Definition at line 28 of file hm_support.h.

Referenced by FixChecksum(), HasBank00Erasure(), and IsParallelWorlds().


The documentation for this class was generated from the following files: