Merge pull request 'wrapper: invoke handler.set_memory_maps()' (#10) from viv/call-set-memory-maps into matriarch
Reviewed-on: https://git.vvn.space/cinnabon/rustro/pulls/10
This commit is contained in:
commit
d8d0038643
|
@ -307,7 +307,10 @@ impl StaticCallbacks {
|
||||||
.collect();
|
.collect();
|
||||||
handler.set_controller_info(controller_info)
|
handler.set_controller_info(controller_info)
|
||||||
}
|
}
|
||||||
// TODO (experimental) EnvCmd::SetMemoryMaps => {},
|
EnvCmd::SetMemoryMaps => {
|
||||||
|
let map = Self::from_void::<MemoryMap>(data)?.clone();
|
||||||
|
handler.set_memory_maps(map)
|
||||||
|
},
|
||||||
EnvCmd::SetGeometry => {
|
EnvCmd::SetGeometry => {
|
||||||
handler.set_geometry(Self::from_void::<GameGeometry>(data)?.clone())
|
handler.set_geometry(Self::from_void::<GameGeometry>(data)?.clone())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue