c7dd713605
This commit refactors the ioregs: * Use bitfield crate to implement the GPU ioregs. * IoRegs are stored in their own variables bindings (i.e, Gpu related ioregs are now fields of the Gpu struct) - This optimize performance quiet alot from my testings - since every scanline was accessing deseralizing ioregs from sysbus. (Getting constant 59fps now) * For now, comment out DMA model Also, cleaned the code up to eliminate rustc warnings. Former-commit-id: 9077695c446ebd1a71783acfdd9819245aa02d7a
26 lines
488 B
TOML
26 lines
488 B
TOML
[package]
|
|
name = "rustboyadvance-ng"
|
|
version = "0.1.0"
|
|
authors = ["Michel Heily <michelheily@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
byteorder = "*"
|
|
num = "0.2.0"
|
|
num-traits = "0.2"
|
|
enum-primitive-derive = "^0.1"
|
|
bit = "^0.1"
|
|
clap = {version = "2.33", features = ["color", "yaml"]}
|
|
rustyline = "5.0.0"
|
|
nom = "5.0.0"
|
|
colored = "1.8"
|
|
ansi_term = "0.11.0"
|
|
hexdump = "0.1.0"
|
|
sdl2 = "0.32.2"
|
|
minifb = "0.11.2"
|
|
time = "0.1.42"
|
|
bitfield = "0.13.1"
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
debug = true |