fixed typo

pull/1/head
ondra05 2023-06-11 13:55:05 +02:00
parent 5ddb226718
commit adb8b63657
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ impl Memory {
size: match lvl {
0 => 4096,
1 => 1024_usize.pow(2) * 2,
2 => 4096_usize.pow(3),
2 => 1024_usize.pow(3),
_ => unreachable!(),
},
offset: addr as usize & ((1 << 12) - 1),