wrapper: invoke handler.set_memory_maps() #10

Merged
vivlim merged 1 commits from viv/call-set-memory-maps into matriarch 2021-08-03 01:11:06 -07:00
1 changed files with 4 additions and 1 deletions

View File

@ -307,7 +307,10 @@ impl StaticCallbacks {
.collect();
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 => {
handler.set_geometry(Self::from_void::<GameGeometry>(data)?.clone())
}