~quf/no-cutscene-kiseki

b78bfbae1d9ca92ab42e793342079c0c9e8f0692 — Lukas Himbert 10 months ago 428cb53
fix region size test
1 files changed, 1 insertions(+), 1 deletions(-)

M src/lib.rs
M src/lib.rs => src/lib.rs +1 -1
@@ 165,7 165,7 @@ pub fn run_and_patch_game(exe_path: &std::path::Path) -> anyhow::Result<()> {
            // Are our addresses of interest part of the page region?
            return Err(anyhow::Error::msg("text segment page region is unexpectedly small, bailing out"));
        }
        if rdata_mem_info.BaseAddress as usize + rdata_mem_info.RegionSize < 0x14032a5b1 {
        if rdata_mem_info.BaseAddress as usize + rdata_mem_info.RegionSize < 0x140825d68 {
            return Err(anyhow::Error::msg("rdata segment page region is unexpectedly small, bailing out"));
        }