Browse Source

Better GSPGPU docs

pull/137/head
Andrea Ciliberti 1 year ago
parent
commit
c3576c73be
  1. 14
      ctru-rs/src/services/gspgpu.rs

14
ctru-rs/src/services/gspgpu.rs

@ -5,19 +5,19 @@
#[derive(Copy, Clone, Debug, PartialEq, Eq)] #[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[repr(u32)] #[repr(u32)]
pub enum Event { pub enum Event {
/// Memory fill completed. /// Memory fill 1 completed.
Psc0 = ctru_sys::GSPGPU_EVENT_PSC0, Psc0 = ctru_sys::GSPGPU_EVENT_PSC0,
/// TODO: Unknown. /// Memory fill 2 completed.
Psc1 = ctru_sys::GSPGPU_EVENT_PSC1, Psc1 = ctru_sys::GSPGPU_EVENT_PSC1,
/// TODO: Unknown. /// Top screen VBlank.
VBlank0 = ctru_sys::GSPGPU_EVENT_VBlank0, VBlank0 = ctru_sys::GSPGPU_EVENT_VBlank0,
/// TODO: Unknown. /// Bottom screen VBlank.
VBlank1 = ctru_sys::GSPGPU_EVENT_VBlank1, VBlank1 = ctru_sys::GSPGPU_EVENT_VBlank1,
/// Display transfer finished. /// Display transfer completed.
PPF = ctru_sys::GSPGPU_EVENT_PPF, PPF = ctru_sys::GSPGPU_EVENT_PPF,
/// Command list processing finished. /// Command list processing completed.
P3D = ctru_sys::GSPGPU_EVENT_P3D, P3D = ctru_sys::GSPGPU_EVENT_P3D,
/// TODO: Unknown. /// Direct Memory Access requested.
DMA = ctru_sys::GSPGPU_EVENT_DMA, DMA = ctru_sys::GSPGPU_EVENT_DMA,
} }

Loading…
Cancel
Save