fox32: Make fast_memory and rom public

This commit is contained in:
ry755 2022-01-27 17:21:01 -08:00 committed by Ry
parent 06f69b322b
commit 982b4c7b89

View File

@ -5,12 +5,12 @@ use crate::{Overlay};
use std::sync::{Arc, Mutex}; use std::sync::{Arc, Mutex};
pub struct Memory { pub struct Memory {
fast_memory: Vec<u8>, pub fast_memory: Vec<u8>,
pub shared_memory: Arc<Mutex<Vec<u8>>>, pub shared_memory: Arc<Mutex<Vec<u8>>>,
pub overlays: Arc<Mutex<Vec<Overlay>>>, pub overlays: Arc<Mutex<Vec<Overlay>>>,
rom: Vec<u8>, pub rom: Vec<u8>,
} }
impl Memory { impl Memory {