3ds: adjust for newer toolchain
authornotaz <notasas@gmail.com>
Tue, 15 Oct 2024 00:39:25 +0000 (03:39 +0300)
committernotaz <notasas@gmail.com>
Wed, 23 Oct 2024 21:17:35 +0000 (00:17 +0300)
libpcsxcore/psxcounters.c
libpcsxcore/psxcounters.h

index 887fe8a..9ff295e 100644 (file)
@@ -71,8 +71,8 @@ static const u32 HSyncTotal[]     = { 263, 314 };
 #ifdef DRC_DISABLE
 Rcnt rcnts[ CounterQuantity ];
 #endif
-u32 hSyncCount = 0;
-u32 frame_counter = 0;
+unsigned int hSyncCount = 0;
+unsigned int frame_counter = 0;
 static u32 hsync_steps = 0;
 
 u32 psxNextCounter = 0, psxNextsCounter = 0;
index 77025a6..618d74d 100644 (file)
@@ -31,7 +31,7 @@ extern "C" {
 
 extern u32 psxNextCounter, psxNextsCounter;
 
-extern u32 hSyncCount, frame_counter;
+extern unsigned int hSyncCount, frame_counter;
 
 typedef struct Rcnt
 {