SaturnRingLibrary 0.9.2
SGL wrapper
Loading...
Searching...
No Matches

◆ SetScaleLimit()

void SRL::VDP2::NBG1::SetScaleLimit ( VDP2::ScaleLimit limit)
inlinestatic

Sets the minimum scale that the ScrollScreen can display.

NBG1 can scale its displayed tilemap or bitmap up freely, but has a default minimum scale of 1x due to cycle pattern limits. This minimum can be changed to 1/2x or 1/4x for further reduction at the cost of increasing its required cycle accesses( By 2x for 1/2x scaling or 4x for 1/4x scaling)

Note
-If the number of cycle access required for scaling is too large, it can interfere with registering scrolls for display with ScrollEnable().
-Only 8bpp and 4bpp data supports 1/2x scaling, and only 4bpp supports 1/4x scaling