Skip to content

Commit

Permalink
DSi_Camera: fix gcc-14 build issue
Browse files Browse the repository at this point in the history
melonDS/src/DSi_Camera.cpp:190:23: error: 'clamp' is not a member of 'std'
  190 |             r1 = std::clamp(r1, 0, 255); g1 = std::clamp(g1, 0, 255); b1 = std::clamp(b1, 0, 255);
      |                       ^~~~~
  • Loading branch information
orbea authored and nadiaholmquist committed Nov 11, 2023
1 parent 4558be0 commit e63e29c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DSi_Camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
with melonDS. If not, see http://www.gnu.org/licenses/.
*/

#include <algorithm>
#include <stdio.h>
#include <string.h>
#include "DSi.h"
Expand Down

0 comments on commit e63e29c

Please sign in to comment.