mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
Clean up tile size calc
This commit is contained in:
@ -313,7 +313,7 @@ void ComputeRenderer::SetRenderSettings(int scale, bool highResolutionCoordinate
|
||||
ScreenWidth = 256 * ScaleFactor;
|
||||
ScreenHeight = 192 * ScaleFactor;
|
||||
|
||||
TileSize = std::min(8 * (1 << (ScaleFactor / 5)), 32);
|
||||
TileSize = std::min(8 << (ScaleFactor / 5), 32);
|
||||
CoarseTileW = CoarseTileCountX * TileSize;
|
||||
CoarseTileH = CoarseTileCountY * TileSize;
|
||||
|
||||
|
Reference in New Issue
Block a user