Skip to content
Snippets Groups Projects
Verified Commit ef0b533c authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: new wasm definition

parent 43cb8982
Branches
Tags
1 merge request!4Support for WASM 🤖
Pipeline #634 passed
......@@ -36,6 +36,7 @@ static FONT_SET: [u8; 80] = [
0xf0, 0x80, 0xf0, 0x80, 0x80, // F
];
#[cfg_attr(feature = "wasm", wasm_bindgen)]
pub struct Chip8Neo {
ram: [u8; RAM_SIZE],
vram: [u8; DISPLAY_WIDTH * DISPLAY_HEIGHT],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment