Skip to content

Commit

Permalink
📝 (readme): Updated the README file
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Jun 12, 2024
1 parent 3e0da5a commit 9bc0c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use tinywad::wad::Wad;

fn main() -> Result<(), WadError> {
let mut doom_2 = Wad::new();
doom_2.load_from_file("wads/doom2.wad")?;
doom_2.load_from_file("doom2.wad")?;

let gate = doom_2.lump("GATE3").unwrap();

Expand Down Expand Up @@ -61,7 +61,7 @@ use tinywad::wad::Wad;

fn main() -> Result<(), WadError> {
let mut doom_2 = Wad::new();
doom_2.load_from_file("wads/doom2.wad")?;
doom_2.load_from_file("doom2.wad")?;

for pal in 0..MAX_PAL {
doom_2.set_palette(pal);
Expand Down

0 comments on commit 9bc0c3b

Please sign in to comment.