Skip to content
1 viewer

rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off

crates/cre8-app-emulation/src/rom_patch.rs

cre8-app-emulation · module rom_patch · src · 379 lines (301 code, 47 comment) · sha 6e74ce96f2595f2e

Items

const ROM_PATCH_LOG_SCHEMA const MAX_EDIT_BYTES const MAX_LOG_ENTRIES const GB_ROM_BANK_BYTES struct RomEdit struct RomPatchEntry struct RomPatchLog impl RomPatchLog struct Change

Functions

By call-graph weight (PageRank; 1.0 is the average function). 24 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
encode_hexsrc/rom_patch.rs:270fn31303.4
sha256_hexsrc/rom_patch.rs:266fn31712.9
decode_hexsrc/rom_patch.rs:276fn152401.5
RomPatchLog::replaysrc/rom_patch.rs:163method4210441.3
RomPatchLog::standingsrc/rom_patch.rs:88method123601.1
RomPatchLog::image_sha256src/rom_patch.rs:82method31601.1
edit_rangesrc/rom_patch.rs:218fn133301
RomPatchLog::newsrc/rom_patch.rs:67method81510.9
entry_linksrc/rom_patch.rs:232fn121210.9
basesrc/rom_patch.rs:296fn31400.9
editsrc/rom_patch.rs:300fn31400.9
gb_cpu_addr_for_offsetsrc/rom_patch.rs:262fn32200.9
gb_rom_offsetsrc/rom_patch.rs:249fn103200.8
RomPatchLog::head_linksrc/rom_patch.rs:77method31300.8
RomPatchLog::check_roomsrc/rom_patch.rs:133method62200.8
RomPatchLog::appendsrc/rom_patch.rs:140method201240.8
RomPatchLog::undo_lastsrc/rom_patch.rs:116method162250.7
RomPatchLog::applysrc/rom_patch.rs:103method91030.5
replay_rebuilds_the_patched_image_from_the_basesrc/rom_patch.rs:305fn101070.5
undo_appends_the_inverse_and_restores_the_bytessrc/rom_patch.rs:317fn161060.5
replay_refuses_a_tampered_log_or_the_wrong_basesrc/rom_patch.rs:335fn131040.5
edits_never_grow_or_escape_the_imagesrc/rom_patch.rs:350fn101030.5
gb_addresses_map_through_the_switchable_banksrc/rom_patch.rs:362fn101020.5
hex_reads_spaces_and_casesrc/rom_patch.rs:374fn51010.5

Source not readable from this process.