From c4633bad27029280526cddaa21d1e297098fd871 Mon Sep 17 00:00:00 2001 From: bladeoner Date: Wed, 15 Mar 2023 17:28:46 +0100 Subject: [PATCH] Remove deprecated register in C++17 (#1057) --- source/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/video.cpp b/source/video.cpp index f3752b6..7edecd9 100644 --- a/source/video.cpp +++ b/source/video.cpp @@ -704,7 +704,7 @@ ResetVideo_Emu () void MakeTexture (const void *src, void *dst, s32 width, s32 height) { - register u32 tmp0=0,tmp1=0,tmp2=0,tmp3=0; + u32 tmp0=0,tmp1=0,tmp2=0,tmp3=0; __asm__ __volatile__ ( " srwi %6,%6,2\n"