Fix warning for rand(); NOLINT for now, as the proper fix isn't until C++23.

This commit is contained in:
Stephen Anthony 2024-08-06 16:48:59 -02:30
parent db92bc89fd
commit 47aabd5ef9
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ class FrameManager: public AbstractFrameManager {
frameSizePAL = 312,
baseHeightNTSC = 228, // 217..239
baseHeightPAL = 274, // 260..288
maxHeight = static_cast<uInt32>(baseHeightPAL * 1.05 + 0.5), // 288 FIXME
// NOLINTNEXTLINE: lround suggested, but not constexpr until C++23
maxHeight = static_cast<uInt32>(baseHeightPAL * 1.05 + 0.5), // 288
maxLinesVsync = 50,
initialGarbageFrames = TIAConstants::initialGarbageFrames,
ystartNTSC = 23,