Files
EonaCat.XSBox/crates/engine/src/hle/modules/mod.rs
T
EonaCat fe8e2cb5e7
Rust validation / Windows x64 build and tests (push) Waiting to run
Rust validation / Formatting (push) Failing after 28s
EonaCat/ci-workflows: SonarQube / sonar (push) Successful in 47s
Initial version
2026-12-04 21:32:34 +01:00

91 lines
1.7 KiB
Rust

#[cfg(windows)]
pub mod apu;
pub mod audio;
pub mod bink;
pub mod d3d12x;
pub mod display;
pub mod dsp;
#[cfg(windows)]
pub mod dstorage;
#[cfg(windows)]
pub mod fidelityfx;
#[cfg(windows)]
pub mod files;
pub mod gameinput;
#[cfg(windows)]
pub mod icon;
pub mod kernel;
#[cfg(windows)]
pub mod lifecycle;
#[cfg(windows)]
pub mod media;
#[cfg(windows)]
pub mod net;
pub mod rpcrt4;
pub mod speech;
#[cfg(windows)]
pub mod theme;
pub mod storage;
pub mod xasync;
#[cfg(windows)]
pub mod xboxbvh;
pub mod xg;
#[cfg(windows)]
pub mod xaudio2;
pub mod xcurl;
pub mod xgame;
pub mod xgameruntime;
pub mod xgamesave;
pub mod xgameui;
#[cfg(windows)]
pub mod xmem;
pub mod xnetworking;
pub mod xpackage;
pub mod xstore;
pub mod xsystem;
pub mod xuser;
use crate::hle::HleModule;
pub(crate) fn all() -> Vec<HleModule> {
let mut all = vec![
kernel::module(),
xgameruntime::module(),
gameinput::module(),
d3d12x::module(),
audio::module(),
dsp::module(),
xg::module(),
];
#[cfg(windows)]
all.push(apu::module());
#[cfg(windows)]
all.push(media::module());
#[cfg(windows)]
all.push(media::readers());
#[cfg(windows)]
all.push(xaudio2::module());
all.push(xcurl::module());
#[cfg(windows)]
all.push(dstorage::module());
#[cfg(windows)]
all.push(files::module());
#[cfg(windows)]
all.push(lifecycle::module());
#[cfg(windows)]
all.push(net::module());
all.push(rpcrt4::module());
#[cfg(windows)]
all.push(xmem::module());
#[cfg(windows)]
all.push(xsystem::module());
#[cfg(windows)]
if eonacat_xsbox_gpu::hwrt::requested() {
all.push(xboxbvh::module());
}
all
}