mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 11:56:40 +00:00
fatal: use align up for width calc
This commit is contained in:
parent
3cd8ec509c
commit
1c5edaf4fb
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ namespace ams::fatal::srv {
|
|||
constexpr u32 FatalScreenBpp = 2;
|
||||
constexpr u32 FatalLayerZ = 100;
|
||||
|
||||
constexpr u32 FatalScreenWidthAlignedBytes = (FatalScreenWidth * FatalScreenBpp + 63) & ~63;
|
||||
constexpr u32 FatalScreenWidthAlignedBytes = util::AlignUp(FatalScreenWidth * FatalScreenBpp, 64);
|
||||
constexpr u32 FatalScreenWidthAligned = FatalScreenWidthAlignedBytes / FatalScreenBpp;
|
||||
|
||||
/* There should only be a single transfer memory (for nv). */
|
||||
|
|
Loading…
Reference in a new issue