#include <hm_support.h>

Public Member Functions | |
| HyruleMagicValidator (Rom *rom) | |
| bool | IsParallelWorlds () const |
| bool | IsHyruleMagic () const |
| bool | HasBank00Erasure () const |
| bool | FixChecksum () |
| std::string | GetVariantName () const |
Private Attributes | |
| Rom * | rom_ |
Definition at line 12 of file hm_support.h.
|
explicit |
Definition at line 9 of file hm_support.cc.
| 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().

| bool yaze::rom::HyruleMagicValidator::IsHyruleMagic | ( | ) | const |
Definition at line 28 of file hm_support.cc.
References 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().

| bool yaze::rom::HyruleMagicValidator::FixChecksum | ( | ) |
Definition at line 58 of file hm_support.cc.
References yaze::Rom::is_loaded(), rom_, and yaze::Rom::size().

| std::string yaze::rom::HyruleMagicValidator::GetVariantName | ( | ) | const |
Definition at line 90 of file hm_support.cc.
References HasBank00Erasure(), and IsParallelWorlds().

|
private |
Definition at line 28 of file hm_support.h.
Referenced by FixChecksum(), HasBank00Erasure(), and IsParallelWorlds().