From 327cf3108a77165cab174ead92dad22fffbb9d43 Mon Sep 17 00:00:00 2001 From: Brooke Chalmers Date: Fri, 29 Dec 2023 19:19:51 -0800 Subject: [PATCH] Fix WASM entry point --- src/wasm.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wasm.rs b/src/wasm.rs index 9f4dfff..18326a1 100644 --- a/src/wasm.rs +++ b/src/wasm.rs @@ -18,10 +18,10 @@ use crate::{ keyboard::KeyMappingStrategy, platform::{AsyncPlatform, CanvasPlatform, Platform}, systems::{ - c64::{C64SystemBuilder, C64SystemConfig, C64SystemRoms}, - pet::{PetSystemBuilder, PetSystemConfig, PetSystemRoms}, - vic::{Vic20SystemBuilder, Vic20SystemConfig, Vic20SystemRoms}, - System, SystemBuilder, + c64::{C64System, C64SystemConfig, C64SystemRoms}, + pet::{PetSystem, PetSystemConfig, PetSystemRoms}, + vic::{Vic20System, Vic20SystemConfig, Vic20SystemRoms}, + BuildableSystem, System, }, }; @@ -79,21 +79,21 @@ impl NoentiendoBuilder { let system = self.system.as_ref().expect("System not set"); let mut system = match system.as_str() { - "pet" => PetSystemBuilder::build( + "pet" => PetSystem::build( pet_roms, PetSystemConfig { mapping: KeyMappingStrategy::Symbolic, }, platform.provider(), ), - "vic" => Vic20SystemBuilder::build( + "vic" => Vic20System::build( vic_roms, Vic20SystemConfig { mapping: KeyMappingStrategy::Symbolic, }, platform.provider(), ), - "c64" => C64SystemBuilder::build( + "c64" => C64System::build( c64_roms, C64SystemConfig { mapping: KeyMappingStrategy::Symbolic,