diff --git a/src/chip8_neo.rs b/src/chip8_neo.rs index 3aded5681451984bdbdae21630f5451c8c447797..fcf1a761393603e08f8d37fb2cd85905f03307c6 100644 --- a/src/chip8_neo.rs +++ b/src/chip8_neo.rs @@ -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],