Replace equipment with u16
This commit is contained in:
parent
2cb81461d8
commit
1628d2ea55
3 changed files with 304 additions and 66 deletions
|
@ -38,6 +38,10 @@ instance show u16 begin
|
|||
let show (U16 x) = (show x) ^ "_u16"
|
||||
end
|
||||
|
||||
instance decode u16 begin
|
||||
let decode addr = U16 (Dolphin.read_value_16 addr)
|
||||
end
|
||||
|
||||
type s16 =
|
||||
S16 of int
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue