mirror of
https://github.com/transistorfet/moa.git
synced 2025-03-02 11:29:15 +00:00
It will now run the sim on a separate loop powered by setTimeout instead of trying to do it inline with the frame updating
16 lines
363 B
Rust
16 lines
363 B
Rust
|
|
mod settings;
|
|
mod frontend;
|
|
pub use crate::frontend::{PixelsFrontend, LoadSystemFn};
|
|
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub mod web;
|
|
#[cfg(target_arch = "wasm32")]
|
|
pub use crate::web::{start, create_window, LoadSystemFnHandle};
|
|
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub mod native;
|
|
#[cfg(not(target_arch = "wasm32"))]
|
|
pub use crate::native::{start, create_window};
|
|
|