Hello world for desktop player

This commit is contained in:
Gwilym Inzani 2024-06-05 10:32:38 +01:00
parent d0925f6787
commit c863b94f49
4 changed files with 21 additions and 2 deletions

View file

@ -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 = [

View file

@ -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;

View 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"

View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}