Split WASM and native versions, and move iced support code to native
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
use std::{fmt, sync::Arc};
|
||||
|
||||
use crate::{
|
||||
CPUMMRegisters, PPU, apu::APU, controllers::Controllers, cpu::DmaState, hex_view::Memory,
|
||||
CPUMMRegisters, PPU, apu::APU, controllers::Controllers, cpu::DmaState,
|
||||
ppu::PPUMMRegisters,
|
||||
};
|
||||
|
||||
pub trait Memory {
|
||||
fn peek(&self, val: usize) -> Option<u8>;
|
||||
fn len(&self) -> usize;
|
||||
fn edit_ver(&self) -> usize;
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Value<R> {
|
||||
Value(u8),
|
||||
|
||||
Reference in New Issue
Block a user