From 585473539247fc9386e0a448fd7d6cc6c3e615a9 Mon Sep 17 00:00:00 2001 From: Alula <6276139+alula@users.noreply.github.com> Date: Sun, 1 Jan 2023 17:35:44 +0100 Subject: [PATCH] i forgor to push --- Cargo.toml | 5 +---- drshorizon/src/main.rs | 8 ++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 060edb1..593db8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,7 @@ byteorder = "1.4" case_insensitive_hashmap = "1.0.0" chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } #cpal = "0.14" +cpal = { git = "https://github.com/doukutsu-rs/cpal", branch = "horizon" } directories = "3" downcast = "0.11" #glutin = { git = "https://github.com/doukutsu-rs/glutin.git", rev = "8dd457b9adb7dbac7ade337246b6356c784272d9", optional = true, default_features = false, features = ["x11"] } @@ -89,9 +90,6 @@ webbrowser = { version = "0.8", optional = true } winit = { version = "0.27", optional = true, default_features = false, features = ["x11"] } xmltree = "0.10" -[target.'cfg(not(target_os = "horizon"))'.dependencies] -cpal = "0.14" - [target.'cfg(target_os = "windows")'.dependencies] winapi = { version = "0.3", features = ["winuser"] } @@ -109,5 +107,4 @@ jni = "0.20" [target.'cfg(target_os = "horizon")'.dependencies] #deko3d = { path = "./3rdparty/deko3d" } -cpal = { git = "https://github.com/doukutsu-rs/cpal", branch = "horizon" } deko3d = { git = "https://github.com/doukutsu-rs/deko3d-rs", branch = "master" } diff --git a/drshorizon/src/main.rs b/drshorizon/src/main.rs index 2c39f95..e09a0f0 100644 --- a/drshorizon/src/main.rs +++ b/drshorizon/src/main.rs @@ -24,11 +24,11 @@ extern "C" { fn main() { unsafe { - if socketInitialize(std::ptr::null()) == 0 { - nxlinkConnectToHost(true, true); - } + // if socketInitialize(std::ptr::null()) == 0 { + // nxlinkConnectToHost(true, true); + // } - appletSetCpuBoostMode(ApmCpuBoostMode::FastLoad); + // appletSetCpuBoostMode(ApmCpuBoostMode::FastLoad); std::env::set_var("RUST_BACKTRACE", "full");