Skip to content

Commit

Permalink
Fix error when given 0-01. (Opps)
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilwade committed Jul 31, 2018
1 parent c2be557 commit e417747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/patcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ fn patch_dol<'a>(gc_disc: &mut structs::GcDisc<'a>, spawn_room: SpawnRoom, versi
load_mrea_idx: 0x1d1fe0,// 801d5080
disable_hints: 0x20c1cc,// 8020f26c
},
Version::V0_01 => unreachable!(),
Version::V0_01 => return,
Version::V0_02 => Offsets {
load_mlvl_upper: 0x20208,// 800232a8
load_mlvl_lower: 0x20214,// 800232b4
Expand Down

0 comments on commit e417747

Please sign in to comment.