ba2eff82ac
Mainly convert mainloop and audio thread into native code for performance increase. (Calling into JNI every frame was costy) The code was cleaned up quite a bit, but I may have introduced new bugs in this process :< Former-commit-id: fdbc21b5ab39f3d2e36647fd1177dc9a84a16980 Former-commit-id: ac765dbee8c994e1b69cc694846511837c2685b9
22 lines
607 B
TOML
22 lines
607 B
TOML
[package]
|
|
name = "rustboyadvance-jni"
|
|
version = "0.1.0"
|
|
authors = ["Michel Heily <michelheily@gmail.com>"]
|
|
edition = "2018"
|
|
description = "JNI bindings for rustboyadvance core"
|
|
publish = false
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "cdylib"]
|
|
|
|
[dependencies]
|
|
rustboyadvance-core = {path = "../../core/", features = ["arm7tdmi_dispatch_table", "no_video_interface"]}
|
|
jni = "0.17.0"
|
|
log = {version = "0.4.8", features = ["release_max_level_info", "max_level_debug"]}
|
|
|
|
[target.'cfg(target_os="android")'.dependencies]
|
|
android_log = "0.1.3"
|
|
|
|
[target.'cfg(not(target_os="android"))'.dependencies]
|
|
env_logger = "0.7.1"
|