Skip to main content

MAX_W

Constant MAX_W 

Source
pub const MAX_W: u32 = SNES_W_HIRES; // 512u32
Expand description

The maximum framebuffer size a consumer’s texture/surface needs to be sized for (hi-res worst case), so a video-mode change never needs a realloc. Sub-modes occupy the top-left sub-rect.