psx 0.1.8

Library for developing homebrew for the Sony PlayStation 1
1
2
3
4
5
6
7
8
9
10
11
12
use crate::hw::cop0::EPC;
use crate::hw::Register;
use core::fmt;
use core::fmt::{Debug, Formatter};

impl Debug for EPC {
    fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
        f.debug_struct("cop0::EPC")
            .field("bits", &self.to_bits())
            .finish()
    }
}