yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
snes.cc File Reference
#include "app/emu/snes.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <fstream>
#include <sstream>
#include <string>
#include <type_traits>
#include <vector>
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "app/emu/audio/apu.h"
#include "app/emu/memory/dma.h"
#include "app/emu/memory/memory.h"
#include "app/emu/render/render_context.h"
#include "app/emu/video/ppu.h"
#include "util/log.h"

Go to the source code of this file.

Classes

struct  yaze::emu::anonymous_namespace{snes.cc}::ChunkHeader
 

Namespaces

namespace  yaze
 
namespace  yaze::emu
 SNES Emulation and debugging tools.
 
namespace  yaze::emu::anonymous_namespace{snes.cc}
 

Macros

#define RETURN_IF_ERROR(expr)
 

Functions

void yaze::emu::anonymous_namespace{snes.cc}::input_latch (Input *input, bool value)
 
uint8_t yaze::emu::anonymous_namespace{snes.cc}::input_read (Input *input)
 
bool yaze::emu::anonymous_namespace{snes.cc}::IsLittleEndianHost ()
 
constexpr uint32_t yaze::emu::anonymous_namespace{snes.cc}::MakeTag (char a, char b, char c, char d)
 
absl::Status yaze::emu::anonymous_namespace{snes.cc}::WriteBytes (std::ostream &out, const void *data, size_t size)
 
absl::Status yaze::emu::anonymous_namespace{snes.cc}::ReadBytes (std::istream &in, void *data, size_t size)
 
absl::Status yaze::emu::anonymous_namespace{snes.cc}::WriteUint32LE (std::ostream &out, uint32_t value)
 
absl::Status yaze::emu::anonymous_namespace{snes.cc}::ReadUint32LE (std::istream &in, uint32_t *value)
 
template<typename T >
absl::Status yaze::emu::anonymous_namespace{snes.cc}::WriteScalar (std::ostream &out, T value)
 
template<typename T >
absl::Status yaze::emu::anonymous_namespace{snes.cc}::ReadScalar (std::istream &in, T *value)
 
absl::Status yaze::emu::anonymous_namespace{snes.cc}::WriteChunk (std::ostream &out, uint32_t tag, uint32_t version, const std::string &payload)
 
absl::Status yaze::emu::anonymous_namespace{snes.cc}::ReadChunkHeader (std::istream &in, ChunkHeader *header)
 

Variables

constexpr uint32_t yaze::emu::anonymous_namespace{snes.cc}::kStateMagic = 0x59415A45
 
constexpr uint32_t yaze::emu::anonymous_namespace{snes.cc}::kStateFormatVersion = 2
 
constexpr uint32_t yaze::emu::anonymous_namespace{snes.cc}::kMaxChunkSize = 16 * 1024 * 1024
 

Macro Definition Documentation

◆ RETURN_IF_ERROR

#define RETURN_IF_ERROR ( expr)
Value:
do { \
absl::Status _status = (expr); \
if (!_status.ok()) { \
return _status; \
} \
} while (0)

Definition at line 22 of file snes.cc.

Referenced by yaze::editor::AddCurrentRoomToPitDamage(), yaze::cli::ProposalRegistry::AddScreenshot(), yaze::editor::DungeonEditorV2::ApplyChestObjectEdit(), yaze::zelda3::ApplyChestSavePlan(), yaze::editor::MinecartTrackEditorPanel::ApplyCollisionPreview(), yaze::editor::Tile16EditSession::ApplyDefinitions(), yaze::editor::DungeonEditorV2::ApplyDoorConnection(), yaze::zelda3::ApplyDungeonStreamWritePlan(), yaze::editor::DungeonEditorV2::ApplyMinecartTrackEdit(), yaze::editor::OverworldEditor::ApplyOverworldPropertyEdit(), yaze::editor::OverworldEditor::ApplyOverworldPropertyEdits(), yaze::zelda3::ApplyOverworldSpriteSave(), yaze::editor::ApplyPalettePixelPermutation(), yaze::editor::Tile16EditSession::ApplyPaletteToAllImpl(), yaze::editor::Tile16EditSession::ApplyPaletteToQuadrantImpl(), yaze::editor::MapPropertiesSystem::ApplyPropertyEdits(), yaze::editor::DungeonEditorV2::ApplyRoomTransfer(), yaze::editor::MessageEditor::ApplySavePlan(), yaze::editor::ApplySheetPixelDiff(), yaze::editor::ApplySheetPngImport(), yaze::zelda3::ObjectTileEditor::ApplyStandardWritePlan(), yaze::zelda3::Room::ApplyStreamSavePlan(), yaze::cli::anonymous_namespace{overworld_doctor_commands.cc}::ApplyTailExpansion(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ApplyTileEdit(), yaze::editor::ApplyVanillaMessageSavePlan(), yaze::test::ZSCustomOverworldTestSuite::ApplyVersionPatch(), yaze::zelda3::OverworldUpgradeSystem::ApplyZSCustomOverworldASM(), yaze::editor::EditorManager::AutosaveActiveSession(), yaze::editor::anonymous_namespace{editor_manager_project_io.cc}::ScopedEditorSaveTransactions::Begin(), yaze::editor::DungeonEditorV2::BeginSaveTransaction(), yaze::zelda3::DungeonEditorSystem::BindObjectEditorToCurrentRoom(), yaze::zelda3::anonymous_namespace{room.cc}::BuildBlockSavePlan(), yaze::zelda3::Overworld::BuildLyraTerrainPreview(), yaze::cli::overworld::BuildMapSummary(), yaze::zelda3::OverworldMap::BuildMapWithCache(), yaze::zelda3::Overworld::BuildMapWithTilesetCache(), yaze::zelda3::ObjectTileEditor::BuildStandardWritePlan(), yaze::zelda3::Overworld::BuildSubscreenOverlayLayer(), yaze::zelda3::anonymous_namespace{room.cc}::BuildTorchSavePlan(), yaze::editor::CanvasNavigationManager::CheckForCurrentMap(), yaze::editor::anonymous_namespace{palette_pixel_command.cc}::CheckLiveSource(), yaze::editor::Tile16EditSession::ClearTile16Impl(), yaze::zelda3::CollectRoomLinkFacts(), yaze::editor::anonymous_namespace{collision_source_pairing.cc}::CollisionSourceOfRomBytes(), yaze::editor::Tile16EditSession::CommitAllChanges(), yaze::editor::Tile16EditSession::CommitChangesToOverworld(), yaze::editor::EditorManager::CommitRawProjectFileSave(), yaze::editor::DungeonEditorV2::CommitSelectionEdit(), yaze::gfx::lc_lz2::CompressV2(), yaze::gfx::lc_lz2::CompressV3(), yaze::editor::EditorManager::ConfigureEditorDependencies(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::editor::EditorManager::ConfirmPendingUnsavedSessionActionSaveAndContinue(), yaze::net::HttpLibWebSocket::Connect(), yaze::editor::CopyDungeonSelection(), yaze::zelda3::OverworldMapScreen::Create(), yaze::zelda3::Inventory::Create(), yaze::zelda3::TitleScreen::Create(), yaze::editor::ProjectManager::CreateFromTemplate(), yaze::zelda3::OverworldMap::CreateLyraPreview(), yaze::editor::EditorManager::CreateNewProjectFromRom(), yaze::cli::ProposalRegistry::CreateProposal(), yaze::cli::RomSandboxManager::CreateSandbox(), yaze::zelda3::Overworld::CreateTile32Tilemap(), yaze::core::CreateWindow(), yaze::editor::DungeonEditorV2::Cut(), yaze::editor::SpriteEditor::Cut(), yaze::editor::Tile16EditSession::CyclePalette(), yaze::net::HttpLibClient::Delete(), yaze::editor::Tile16EditSession::DiscardChanges(), yaze::editor::EditorManager::DiscardPendingRomBackupRestore(), yaze::editor::GraphicsEditor::DrawExperimentalFeatures(), yaze::editor::GraphicsEditor::DrawFileImport(), yaze::editor::PaletteEditor::DrawPaletteGroup(), yaze::editor::Tile16Editor::DrawPrimaryActionControls(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::Tile16EditSession::DrawToCurrentTile16Impl(), yaze::editor::DungeonEditorV2::EditChest(), yaze::editor::GfxGroupEditor::EditGraphicsSheet(), yaze::editor::DungeonEditorV2::EditRoomGraphicsSheet(), yaze::editor::DungeonEditorV2::EditRoomMetadataBatch(), yaze::editor::DungeonEditorV2::EnsureConnectionRoomLoaded(), yaze::editor::EditorManager::EnsureEditorAssetsLoaded(), yaze::editor::EditorManager::EnsureGameDataLoaded(), yaze::editor::DungeonCanvasViewer::EnsureIssueReportPersisted(), yaze::editor::DungeonEditorV2::EnsureMinecartTrackEditorPanel(), yaze::editor::DungeonEditorV2::EnsureRoomTransferLoaded(), yaze::cli::handlers::DungeonImportCustomCollisionJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonImportWaterFillJsonCommandHandler::Execute(), yaze::cli::handlers::DungeonGetEntranceCommandHandler::Execute(), yaze::cli::handlers::DungeonPlaceSpriteCommandHandler::Execute(), yaze::cli::handlers::DungeonRemoveSpriteCommandHandler::Execute(), yaze::cli::handlers::DungeonRemoveObjectCommandHandler::Execute(), yaze::cli::handlers::DungeonGetPaletteCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPaletteColorCommandHandler::Execute(), yaze::cli::handlers::DungeonSetDoorTypeCommandHandler::Execute(), yaze::cli::handlers::DungeonListPotItemsCommandHandler::Execute(), yaze::cli::handlers::DungeonSetPotItemCommandHandler::Execute(), yaze::cli::handlers::DungeonGraphCommandHandler::Execute(), yaze::cli::handlers::EntranceInfoCommandHandler::Execute(), yaze::cli::handlers::DungeonDiscoverCommandHandler::Execute(), yaze::cli::handlers::DungeonRoomGraphCommandHandler::Execute(), yaze::cli::handlers::DungeonGroupCommandHandler::Execute(), yaze::cli::handlers::DungeonStreamPlanCommandHandler::Execute(), yaze::cli::handlers::DungeonTileTypesCommandHandler::Execute(), yaze::cli::handlers::OverworldGetTileCommandHandler::Execute(), yaze::cli::handlers::OverworldInspectSpecialEntrancesCommandHandler::Execute(), yaze::cli::handlers::OverworldTileStatsCommandHandler::Execute(), yaze::cli::handlers::OverworldExportGraphCommandHandler::Execute(), yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::Execute(), yaze::cli::GfxExportCommandHandler::Execute(), yaze::cli::GfxImportCommandHandler::Execute(), yaze::cli::GfxRoomExportCommandHandler::Execute(), yaze::cli::GfxRoomImportCommandHandler::Execute(), yaze::cli::GfxTilemapRenderCommandHandler::Execute(), yaze::cli::GraphicsContextCommandHandler::Execute(), yaze::cli::handlers::PaletteGetColorsCommandHandler::Execute(), yaze::cli::handlers::PaletteSetColorCommandHandler::Execute(), yaze::cli::handlers::PaletteAnalyzeCommandHandler::Execute(), yaze::cli::handlers::RomWriteCommandHandler::Execute(), yaze::cli::OverworldDoctorCommandHandler::Execute(), yaze::cli::OverworldValidateCommandHandler::Execute(), yaze::cli::handlers::ToolsExtractValuesCommandHandler::Execute(), yaze::cli::handlers::ToolsExtractGoldenCommandHandler::Execute(), yaze::cli::handlers::ToolsPatchV3CommandHandler::Execute(), yaze::editor::ExecutePalettePixelPlan(), yaze::cli::handlers::AtlasRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::DungeonRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSetTileCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldRenderCommandHandler::ExecuteWithContext(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ExecuteWithContext(), yaze::editor::SpriteEditor::ExportCurrentSpriteBehavior(), yaze::editor::SpriteEditor::ExportCurrentSpriteDraw(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ExportRoomBundle(), yaze::editor::DungeonEditorV2::ExportRoomDocument(), yaze::editor::ExportSheetPixelsPng(), yaze::editor::Tile16EditSession::FillTile16WithTile8Impl(), yaze::editor::EditorManager::FinalizeNewProject(), yaze::editor::ProjectManager::FinalizeProjectCreation(), yaze::cli::overworld::FindTileMatches(), yaze::editor::Tile16EditSession::FlipTile16HorizontalImpl(), yaze::editor::Tile16EditSession::FlipTile16VerticalImpl(), yaze::editor::OverworldEditor::FlushScratchPadIfDirty(), yaze::gfx::PaletteGroupMap::for_each(), yaze::editor::sprite_behavior::GenerateCandidate(), yaze::cli::handlers::ToolsHarnessStateCommandHandler::GenerateHarnessState(), yaze::net::HttpLibClient::Get(), yaze::zelda3::anonymous_namespace{room.cc}::GetObjectStreamInfo(), yaze::zelda3::anonymous_namespace{room.cc}::GetSpriteStreamInfo(), yaze::cli::agent::HandleAcceptCommand(), yaze::cli::agent::HandleRunCommand(), yaze::editor::Tile16EditSession::HandleTile16CanvasClick(), yaze::editor::Tile16Editor::HandleTile8SourceSelection(), yaze::editor::AgentCollaborationCoordinator::HostSession(), yaze::editor::SpriteEditor::ImportCatalogDraw(), yaze::editor::EditorManager::ImportProject(), yaze::editor::ProjectManager::ImportProject(), yaze::cli::overworld::InferWorldFromMapId(), yaze::zelda3::DungeonEditorSystem::Initialize(), yaze::editor::GraphicsEditor::Initialize(), yaze::platform::SDL2WindowBackend::Initialize(), yaze::editor::Tile16Editor::Initialize(), yaze::editor::Tile16EditSession::InitializeBitmaps(), yaze::platform::SDL2WindowBackend::InitializeImGui(), yaze::zelda3::DungeonEditorSystem::InitializeObjectEditor(), yaze::editor::AgentCollaborationCoordinator::JoinSession(), yaze::editor::PolyhedralEditorPanel::Load(), yaze::editor::DungeonEditorV2::Load(), yaze::editor::ScreenEditor::Load(), yaze::editor::OverworldEditor::Load(), yaze::editor::zsprite::ZSprite::Load(), yaze::zelda3::Overworld::Load(), yaze::gfx::LoadAllPalettes(), yaze::editor::DungeonRoomLoader::LoadAllRooms(), yaze::editor::EditorManager::LoadAssets(), yaze::zelda3::OverworldMapScreen::LoadCustomMap(), yaze::zelda3::LoadExits(), yaze::editor::ProjectFileEditor::LoadFile(), yaze::project::YazeProject::LoadFromString(), yaze::core::HackManifest::LoadFromString(), yaze::core::StoryEventGraph::LoadFromString(), yaze::zelda3::LoadGameData(), yaze::editor::OverworldEditor::LoadGraphics(), yaze::zelda3::Inventory::LoadItemIcons(), yaze::editor::Tile16EditSession::LoadLayoutFromScratch(), yaze::editor::Tile16Editor::LoadLayoutFromScratch(), yaze::emu::Snes::LoadLegacyState(), yaze::zelda3::LoadLegacyWaterGateZones(), yaze::zelda3::Overworld::LoadOverworldMaps(), yaze::LoadPackageFonts(), yaze::zelda3::OverworldMap::LoadPalette(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::LoadPotItemManifestContext(), yaze::cli::handlers::anonymous_namespace{dungeon_census_commands.cc}::LoadProjectData(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::cli::anonymous_namespace{gfx_tilemap_render_command.cc}::LoadRomArg(), yaze::editor::EditorManager::LoadRomInternal(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::LoadRoomContext(), yaze::zelda3::DungeonEditorSystem::LoadRoomData(), yaze::editor::DungeonRoomLoader::LoadRoomEntrances(), yaze::cli::handlers::anonymous_namespace{dungeon_commands.cc}::LoadRoomPropertyManifestContext(), yaze::zelda3::Overworld::LoadSprites(), yaze::emu::Snes::loadState(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::LoadStreamSaveManifestContext(), yaze::editor::Tile16EditSession::LoadTile16FromScratchSpaceImpl(), yaze::editor::Tile16EditSession::LoadTile8(), yaze::zelda3::TitleScreen::LoadTitleScreen(), yaze::zelda3::LoadWaterFillTable(), yaze::cli::overworld::LocateScreenTile(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::MutateAndSaveRomWithBackup(), yaze::editor::ProjectFileEditor::NewFile(), yaze::Controller::OnEntry(), yaze::Controller::OnLoad(), yaze::editor::ScreenEditor::OpenDungeonMapTileGraphics(), yaze::editor::OverworldEditor::OpenGraphicsForTile16Quadrant(), yaze::editor::DungeonEditorV2::OpenObjectTileEditorForObject(), yaze::editor::EditorManager::OpenProjectInternal(), yaze::editor::EditorManager::OpenRomOrProjectInternal(), yaze::core::anonymous_namespace{hack_manifest.cc}::ParseAddressRanges(), yaze::cli::anonymous_namespace{test_suite_loader.cc}::ParseConfigBlock(), yaze::editor::ParseDungeonRoomDocument(), yaze::core::anonymous_namespace{hack_manifest.cc}::ParseDungeonStreamLayouts(), yaze::core::anonymous_namespace{hack_manifest.cc}::ParseGraphicsSheetLayout(), yaze::cli::anonymous_namespace{test_suite_loader.cc}::ParseGroupBlock(), yaze::cli::anonymous_namespace{test_suite_loader.cc}::ParseGroupEntry(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::ParseMapIdArg(), yaze::cli::anonymous_namespace{test_suite_loader.cc}::ParseTestCaseEntry(), yaze::cli::anonymous_namespace{test_suite_loader.cc}::ParseTestsBlock(), yaze::cli::ParseTestSuiteDefinition(), yaze::editor::Tile16EditSession::PasteTile16FromClipboardImpl(), yaze::editor::MusicEditor::PersistMusicState(), yaze::editor::Tile16EditSession::PickTile8FromTile16(), yaze::editor::PlanDungeonRoomTransfer(), yaze::editor::PlanDungeonSelectionEdit(), yaze::editor::GraphicsEditor::PlanGraphicsSave(), yaze::zelda3::Room::PlanObjectSave(), yaze::zelda3::Room::PlanObjectStreamHeaderSave(), yaze::editor::PlanPalettePixelPermutation(), yaze::editor::DungeonEditorV2::PlanPendingRoomStreamRanges(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::PlanVanillaEdits(), yaze::net::HttpLibClient::Post(), yaze::zelda3::anonymous_namespace{room.cc}::PreflightBlocksLoaderDestinations(), yaze::editor::DungeonEditorV2::PreflightObjectMutation(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectRemoval(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightObjectSave(), yaze::editor::DungeonEditorV2::PreflightPotItemPlacement(), yaze::editor::DungeonEditorV2::PreflightRoomTransfer(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::PreflightSpriteSave(), yaze::editor::DungeonEditorV2::PreflightStreamMutation(), yaze::core::anonymous_namespace{source_artifact_publisher.cc}::PreparePublicationTargets(), yaze::editor::EditorManager::PrepareRawProjectFileSave(), yaze::editor::DungeonEditorV2::PreviewDoorConnection(), yaze::editor::DungeonEditorV2::PreviewRoomTransfer(), yaze::editor::PreviewSheetPngImport(), yaze::zelda3::PublishCustomObjectBinary(), yaze::net::HttpLibClient::Put(), yaze::emu::anonymous_namespace{snes.cc}::ReadChunkHeader(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ReadDungeonPaletteColor(), yaze::editor::ReadDungeonRoomDocumentFile(), yaze::editor::Tile16EditSession::RebuildTile8UsageCache(), yaze::cli::ProposalRegistry::RecordDiff(), yaze::editor::OverworldMapPropertyBatchEditAction::Redo(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), yaze::editor::MapRefreshCoordinator::RefreshPaletteUsers(), yaze::editor::DungeonEditorV2::RefreshRomBackedState(), yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset(), yaze::editor::Tile16EditSession::RegenerateTile16BitmapFromROM(), yaze::ReloadPackageFont(), yaze::editor::EditorManager::ReloadProjectRom(), yaze::zelda3::RelocateSpriteData(), yaze::editor::RemoveCurrentRoomFromPitDamage(), yaze::editor::OverworldEditor::RenameProjectResourceLabelWithUndo(), yaze::app::service::RenderService::RenderOverworldArea(), yaze::editor::GraphicsEditor::ReorderSourcePalette(), yaze::editor::EditorManager::RepairCurrentProject(), yaze::editor::DungeonEditorV2::RepairEntranceCamera(), yaze::editor::EditorManager::ReplaceActiveSessionRom(), yaze::editor::Tile16EditSession::ReplaceCurrentTile(), yaze::cli::overworld::ResolveAreaTileForMap(), yaze::cli::overworld::ResolveAreaTileLocation(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveDungeonPaletteSelection(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ResolveExportArtifactPaths(), yaze::cli::anonymous_namespace{gfx_sheet_png_commands.cc}::ResolvePalette(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ResolveRoomHeaderPcStrict(), yaze::editor::MusicEditor::RestoreMusicState(), yaze::editor::EditorManager::RestoreRomBackup(), yaze::zelda3::MenuTilemapDocument::Revert(), yaze::editor::MenuTilemapEditorUI::RevertCurrent(), yaze::editor::EditorManager::RevertRomToSaved(), yaze::editor::EditorManager::RevertRomToSavedInternal(), yaze::editor::Tile16EditSession::RotateTile16Impl(), yaze::cli::agent::EnhancedTUI::Run(), yaze::cli::resources::CommandHandler::Run(), yaze::test::ZSCustomOverworldTestSuite::RunAddressValidationTest(), yaze::test::E2ETestSuite::RunCorruptionDetectionTest(), yaze::test::ZSCustomOverworldTestSuite::RunDataIntegrityTest(), yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), yaze::test::ZSCustomOverworldTestSuite::RunFeatureToggleTest(), yaze::test::E2ETestSuite::RunLargeScaleEditingTest(), yaze::test::DungeonEditorTestSuite::RunObjectManipulationTest(), yaze::test::GraphicsEditorTestSuite::RunPaletteEditingTest(), yaze::test::GraphicsEditorTestSuite::RunPixelEditingTest(), yaze::test::DungeonEditorTestSuite::RunRoomSaveTest(), yaze::test::OverworldEditorTestSuite::RunTilePlacementTest(), yaze::test::E2ETestSuite::RunTransactionSystemTest(), yaze::test::ZSCustomOverworldTestSuite::RunV2UpgradeTest(), yaze::test::ZSCustomOverworldTestSuite::RunV3UpgradeTest(), yaze::editor::DungeonEditorV2::RunWithSaveTransaction(), yaze::editor::DungeonEditorV2::Save(), yaze::editor::ScreenEditor::Save(), yaze::editor::MusicEditor::Save(), yaze::editor::OverworldEditor::Save(), yaze::editor::PaletteEditor::Save(), yaze::editor::zsprite::ZSprite::Save(), yaze::zelda3::Overworld::Save(), yaze::zelda3::OverworldMapScreen::Save(), yaze::zelda3::TitleScreen::Save(), yaze::zelda3::RoomEntrance::Save(), yaze::zelda3::DungeonSpawnPoint::Save(), yaze::editor::EditorManager::SaveActiveProjectEditingWork(), yaze::zelda3::SaveAllBlocks(), yaze::zelda3::SaveAllBlocks(), yaze::zelda3::SaveAllCollisionImpl(), yaze::zelda3::SaveAllDungeonEntrances(), yaze::zelda3::SaveAllDungeonSpawnPoints(), yaze::zelda3::SaveAllPits(), yaze::zelda3::SaveAllPotItemsImpl(), yaze::zelda3::anonymous_namespace{room.cc}::SaveAllTorchesImpl(), yaze::gfx::PaletteManager::SaveAllToRom(), yaze::zelda3::Overworld::SaveAreaSizes(), yaze::zelda3::Overworld::SaveAreaSpecificBGColors(), yaze::zelda3::MenuTilemapDocument::SaveAs(), yaze::editor::OverworldEditor::SaveCurrentSelectionToScratch(), yaze::zelda3::Overworld::SaveCustomOverworldASM(), yaze::zelda3::Overworld::SaveCustomOverworldData(), yaze::editor::MessageEditor::SaveDirtyDomains(), yaze::zelda3::DungeonEditorSystem::SaveDungeon(), yaze::zelda3::SaveDungeonMaps(), yaze::zelda3::SaveDungeonMapTile16(), yaze::zelda3::Overworld::SaveEntrances(), yaze::zelda3::SaveEntrances(), yaze::zelda3::Overworld::SaveExits(), yaze::zelda3::SaveExits(), yaze::editor::ProjectFileEditor::SaveFileAs(), yaze::zelda3::SaveGameData(), yaze::zelda3::SaveGfxGroups(), yaze::gfx::PaletteManager::SaveGroup(), yaze::zelda3::SaveHoles(), yaze::zelda3::Overworld::SaveItems(), yaze::zelda3::SaveItems(), yaze::zelda3::Overworld::SaveLargeAreaTransitions(), yaze::zelda3::Overworld::SaveLargeMaps(), yaze::zelda3::Overworld::SaveLargeMapsExpanded(), yaze::zelda3::Overworld::SaveMap16Expanded(), yaze::zelda3::Overworld::SaveMap16Tiles(), yaze::zelda3::Overworld::SaveMap32Expanded(), yaze::zelda3::Overworld::SaveMap32Tiles(), yaze::zelda3::Overworld::SaveMapOverlays(), yaze::zelda3::Overworld::SaveMapProperties(), yaze::zelda3::Overworld::SaveMusic(), yaze::zelda3::Room::SaveObjects(), yaze::zelda3::Room::SaveObjectStreamHeader(), yaze::zelda3::Overworld::SaveOverworldMaps(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::SaveOverworldTileGrid(), yaze::zelda3::Overworld::SaveOverworldTilesType(), yaze::editor::EditorManager::SaveProject(), yaze::editor::EditorManager::SaveProjectAs(), yaze::editor::EditorManager::SaveRom(), yaze::editor::RomFileManager::SaveRom(), yaze::editor::EditorManager::SaveRomAs(), yaze::editor::RomFileManager::SaveRomAs(), yaze::editor::EditorManager::SaveRomInternal(), yaze::editor::SaveRomWithCollisionSource(), yaze::editor::DungeonEditorV2::SaveRoomData(), yaze::zelda3::DungeonEditorSystem::SaveRoomData(), yaze::zelda3::Room::SaveRoomHeader(), yaze::editor::DungeonEditorV2::SaveRoomImpl(), yaze::editor::PolyhedralEditorPanel::SaveShapes(), yaze::zelda3::anonymous_namespace{dungeon_editor_system.cc}::SaveSingleRoomState(), yaze::zelda3::Overworld::SaveSmallAreaTransitions(), yaze::zelda3::Room::SaveSprites(), yaze::emu::Snes::saveState(), yaze::zelda3::Overworld::SaveTallAreaTransitions(), yaze::editor::Tile16EditSession::SaveTile16ToROM(), yaze::Rom::SaveToFile(), yaze::project::YazeProject::SaveToYazeFormat(), yaze::editor::MinecartTrackEditorPanel::SaveTracks(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::SaveWaterFillZones(), yaze::zelda3::Overworld::SaveWideAreaTransitions(), yaze::zelda3::anonymous_namespace{room_links.cc}::ScanDrawnTiles(), yaze::editor::UsagePreviewView::ScanSharedUses(), yaze::editor::SerializeDungeonRoomDocument(), yaze::zelda3::DungeonEditorSystem::SetCurrentRoom(), yaze::editor::Tile16EditSession::SetCurrentTile(), yaze::core::SetOracleMenuComponentOffset(), yaze::test::TestRecorder::StopLocked(), yaze::editor::EditorManager::SwapProjectRom(), yaze::editor::SyncMessageSource(), yaze::editor::OverworldEditor::SyncProjectGraphicsPreview(), yaze::test::TestManager::TestRomWithCopy(), yaze::core::ToDungeonStreamAllocatorLayout(), yaze::editor::OverworldMapPropertyBatchEditAction::Undo(), yaze::editor::PolyhedralEditorPanel::Update(), yaze::editor::Tile16Editor::UpdateAsPanel(), yaze::cli::ProposalRegistry::UpdateCommandStats(), yaze::editor::Tile16EditSession::UpdateROMTile16Data(), yaze::cli::ProposalRegistry::UpdateStatus(), yaze::cli::handlers::DungeonRenderCommandHandler::ValidateArgs(), yaze::cli::handlers::DungeonStreamPlanCommandHandler::ValidateArgs(), yaze::cli::handlers::DungeonTileTypesCommandHandler::ValidateArgs(), yaze::cli::handlers::OverworldRenderCommandHandler::ValidateArgs(), yaze::cli::handlers::OverworldSpriteEditCommandHandler::ValidateArgs(), yaze::cli::handlers::OverworldTerrainCatalogCommandHandler::ValidateArgs(), yaze::cli::GfxImportCommandHandler::ValidateArgs(), yaze::cli::GfxRoomExportCommandHandler::ValidateArgs(), yaze::cli::GfxRoomImportCommandHandler::ValidateArgs(), yaze::cli::GfxTilemapRenderCommandHandler::ValidateArgs(), yaze::gfx::lc_lz2::ValidateCompressionResult(), yaze::gfx::lc_lz2::ValidateCompressionResultV3(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateDomains(), yaze::editor::anonymous_namespace{dungeon_editor_v2_persistence.cc}::ValidateDungeonEntranceSavePreflight(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::ValidateDungeonPaletteWriteBaseline(), yaze::editor::ValidateDungeonRoomDocument(), yaze::zelda3::ValidateDungeonSpawnPointsForSave(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ValidateExportArguments(), yaze::cli::handlers::anonymous_namespace{dungeon_collision_commands.cc}::ValidateImportArguments(), yaze::zelda3::anonymous_namespace{room.cc}::ValidateLightableTorchForSave(), yaze::editor::anonymous_namespace{dungeon_room_transfer.cc}::ValidateObjectReplacement(), yaze::editor::EditorManager::ValidateProjectRomSelection(), yaze::zelda3::ValidateRegularDungeonEntranceForSave(), yaze::zelda3::ValidateRegularDungeonEntrancesForSave(), yaze::editor::DungeonEditorV2::ValidateSaveScope(), yaze::cli::handlers::anonymous_namespace{dungeon_edit_commands.cc}::VerifyDungeonPaletteExternalReadback(), yaze::cli::handlers::anonymous_namespace{overworld_commands.cc}::VerifyTileGridRoundTrip(), yaze::zelda3::anonymous_namespace{gfx_sheet_storage.cc}::RomWriteJournal::Write(), yaze::cli::overworld::WriteAreaTile(), yaze::Rom::WriteByte(), yaze::emu::anonymous_namespace{snes.cc}::WriteChunk(), yaze::editor::WriteDungeonRoomDocumentFile(), yaze::editor::WriteExpandedTextData(), yaze::zelda3::WriteGfxSheet(), yaze::Rom::WriteLong(), yaze::editor::PolyhedralEditorPanel::WriteShape(), yaze::Rom::WriteTile16(), yaze::zelda3::WriteTrackCollision(), yaze::cli::handlers::anonymous_namespace{message_commands.cc}::WriteVanillaMessage(), yaze::Rom::WriteVector(), yaze::zelda3::WriteWaterFillTable(), and yaze::Rom::WriteWord().