JNI/Android - Fix stupid copy-pasta bug
Former-commit-id: 72dafdfd370a56f6b311798f5b61037e5f9bdf11 Former-commit-id: 3c79536294f80f550f87c47e0a0e4280d5c4275a
This commit is contained in:
parent
8f4b98b8e4
commit
27e530896e
|
@ -232,11 +232,11 @@ impl EmulatorContext {
|
|||
keypad_obj: JObject,
|
||||
) -> Result<EmulatorContext, String> {
|
||||
let bios = env
|
||||
.convert_byte_array(savestate)
|
||||
.convert_byte_array(bios)
|
||||
.map_err(|e| format!("could not get bios buffer, error {}", e))?
|
||||
.into_boxed_slice();
|
||||
let rom = env
|
||||
.convert_byte_array(savestate)
|
||||
.convert_byte_array(rom)
|
||||
.map_err(|e| format!("could not get rom buffer, error {}", e))?
|
||||
.into_boxed_slice();
|
||||
let savestate = env
|
||||
|
|
Reference in a new issue