[dbg] Add results

This commit is contained in:
2024-02-17 09:54:41 +05:30
parent cf0c57b159
commit 9b853f9ff7
7 changed files with 91 additions and 41 deletions

View File

@@ -0,0 +1,21 @@
use std::fmt::Debug;
#[derive(Debug)]
pub enum DeviceType {
RAM,
MMU,
KEYBOARD,
AUDIO,
GRAPHICS,
}
#[derive(Debug)]
pub enum EmulatorError {
AllocationError(DeviceType, &'static str),
UnreachableMemoryError(DeviceType, u32),
}