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

fix: new wasm gen

parent e2389ecf
No related branches found
No related tags found
No related merge requests found
...@@ -10,12 +10,16 @@ use crate::{ ...@@ -10,12 +10,16 @@ use crate::{
}; };
#[cfg(feature = "wasm")] #[cfg(feature = "wasm")]
use crate::ppu::Palette;
use std::convert::TryInto;
use wasm_bindgen::prelude::*; use wasm_bindgen::prelude::*;
#[cfg(feature = "wasm")] #[cfg(feature = "wasm")]
use std::panic::{set_hook, take_hook, PanicInfo}; use crate::ppu::Palette;
#[cfg(feature = "wasm")]
use std::{
convert::TryInto,
panic::{set_hook, take_hook, PanicInfo},
};
/// Top level structure that abstracts the usage of the /// Top level structure that abstracts the usage of the
/// Game Boy system under the Boytacean emulator. /// Game Boy system under the Boytacean emulator.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment