From da3b3676047d835cd52741ef7e971acd26f51328 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 15 Dec 2025 22:07:39 +0100 Subject: [PATCH] And ATi Mach64 as well. --- src/video/vid_ati_mach64.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/video/vid_ati_mach64.c b/src/video/vid_ati_mach64.c index 6e9c0f6d2..97c869668 100644 --- a/src/video/vid_ati_mach64.c +++ b/src/video/vid_ati_mach64.c @@ -263,20 +263,20 @@ typedef struct mach64_t { #ifdef DMA_BM struct { - atomic_int state; + ATOMIC_INT state; - atomic_uint frame_buf_offset, system_buf_addr, command, status; + ATOMIC_UINT frame_buf_offset, system_buf_addr, command, status; - atomic_bool system_triggered; + ATOMIC_BOOL system_triggered; mutex_t *lock; } dma; #endif fifo_entry_t fifo[FIFO_SIZE]; - atomic_int fifo_read_idx; - atomic_int fifo_write_idx; - atomic_int blitter_busy; + ATOMIC_INT fifo_read_idx; + ATOMIC_INT fifo_write_idx; + ATOMIC_INT blitter_busy; thread_t *fifo_thread; event_t *wake_fifo_thread;