From 6ac061ecdea878502491b4e5e5bfe8ebef2a71f7 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 15 Oct 2024 03:39:25 +0300 Subject: [PATCH] 3ds: adjust for newer toolchain --- libpcsxcore/psxcounters.c | 4 ++-- libpcsxcore/psxcounters.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 887fe8a4..9ff295e0 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -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; diff --git a/libpcsxcore/psxcounters.h b/libpcsxcore/psxcounters.h index 77025a61..618d74de 100644 --- a/libpcsxcore/psxcounters.h +++ b/libpcsxcore/psxcounters.h @@ -31,7 +31,7 @@ extern "C" { extern u32 psxNextCounter, psxNextsCounter; -extern u32 hSyncCount, frame_counter; +extern unsigned int hSyncCount, frame_counter; typedef struct Rcnt { -- 2.39.5