Files
6gbvram---16gb-ram/crates/victory-hle/src/modules/mod.rs
T
theme613 86184c68f3 feat(6gb/16gb): RAM-pressure trims, allocator peak-cap, submission toggles, diagnostics
Opt-in, inert-by-default performance work for 6 GB VRAM / 16 GB RAM PCs:
- VICTORY_RAM_PRESSURE_MB: physical-RAM-gated fence-safe idle trims
- VICTORY_LIST_ALLOC_CAP_MB: shed D3D12 command-allocator high-water peak
- VICTORY_TRIM_MIN_MS: hold back zero-yield heavy sweeps to stop frame spikes
- VICTORY_JOIN_FEWER / RELAY_EACH / TABLED_BITS: submission-path latency toggles
- diagnostics-only per-frame refresh/read/dip timers (copystat/dipstat)
- play-6gb.ps1 + play-6gb.cmd launcher preset (OPT=447, INPLACE=0, the above)

The title is referred to only as "the title" throughout.
2026-12-01 14:09:41 +08:00

84 lines
1.8 KiB
Rust

//! Implementations, one module per area of the console API.
//!
//! Adding an API: write an `extern "system"` function named exactly like
//! the import, then list it with `hle_export!` in the module's `module()`.
//! Run `victory census` over your titles to see what is still missing.
//!
//! Planned areas (driven by census results, not by completeness):
//! `file` (package paths), `thread` (TLS callbacks for title threads),
//! `xaudio2`, `xstore` stubs.
#[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;
#[cfg(windows)]
pub mod affinity;
pub mod gameinput;
pub mod kernel;
#[cfg(windows)]
pub mod lifecycle;
#[cfg(windows)]
pub mod media;
#[cfg(windows)]
pub mod net;
pub mod rpcrt4;
pub mod speech;
pub mod storage;
pub mod xasync;
pub mod xg;
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::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(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(affinity::module());
#[cfg(windows)]
all.push(xsystem::module());
all
}