fix setting memory maps when emu calls it
This commit is contained in:
parent
cf076409f0
commit
2d2983fd1c
|
@ -595,7 +595,7 @@ impl StaticCallbacks {
|
||||||
}
|
}
|
||||||
EnvCmd::SetMemoryMaps => {
|
EnvCmd::SetMemoryMaps => {
|
||||||
let map = Self::from_void::<MemoryMap>(data)?.clone();
|
let map = Self::from_void::<MemoryMap>(data)?.clone();
|
||||||
handler.set_memory_maps(map)
|
handler.set_memory_maps(&map)?
|
||||||
},
|
},
|
||||||
EnvCmd::SetGeometry => {
|
EnvCmd::SetGeometry => {
|
||||||
handler.set_geometry(Self::from_void::<GameGeometry>(data)?)?
|
handler.set_geometry(Self::from_void::<GameGeometry>(data)?)?
|
||||||
|
|
Loading…
Reference in New Issue