mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Hello world for desktop player
This commit is contained in:
parent
d0925f6787
commit
c863b94f49
|
@ -20,6 +20,7 @@ members = [
|
||||||
# "tracker/agb-tracker",
|
# "tracker/agb-tracker",
|
||||||
"tracker/agb-xm",
|
"tracker/agb-xm",
|
||||||
"tracker/agb-xm-core",
|
"tracker/agb-xm-core",
|
||||||
|
"tracker/desktop-player",
|
||||||
|
|
||||||
"tools",
|
"tools",
|
||||||
|
|
||||||
|
@ -27,7 +28,7 @@ members = [
|
||||||
"emulator/mgba-sys",
|
"emulator/mgba-sys",
|
||||||
"emulator/test-runner",
|
"emulator/test-runner",
|
||||||
"emulator/screenshot-generator",
|
"emulator/screenshot-generator",
|
||||||
"website/backtrace",
|
"website/backtrace", "tracker/desktop-player",
|
||||||
]
|
]
|
||||||
|
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#![allow(missing_docs)]
|
#![allow(missing_docs)]
|
||||||
|
|
||||||
use agb::fixnum::Num;
|
use agb_fixnum::Num;
|
||||||
|
|
||||||
pub trait SoundChannel {
|
pub trait SoundChannel {
|
||||||
fn new(data: &'static [u8]) -> Self;
|
fn new(data: &'static [u8]) -> Self;
|
||||||
|
|
15
tracker/desktop-player/Cargo.toml
Normal file
15
tracker/desktop-player/Cargo.toml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[package]
|
||||||
|
name = "desktop-player"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
authors = ["Gwilym Inzani <gw@ilym.me>"]
|
||||||
|
license = "MPL-2.0"
|
||||||
|
description = "A way to play XM files on desktop as they would on the gba without needing a test ROM"
|
||||||
|
repository = "https://github.com/agbrs/agb"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
agb_xm_core = { version = "0.20.2", path = "../agb-xm-core" }
|
||||||
|
agb_tracker = { version = "0.20.2", path = "../agb-tracker", default-features = false }
|
||||||
|
agb_fixnum = { version = "0.20.2", path = "../../agb-fixnum" }
|
||||||
|
|
||||||
|
xmrs = "0.6"
|
3
tracker/desktop-player/src/main.rs
Normal file
3
tracker/desktop-player/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in a new issue