From b7fe35a2af99bb46fff150f78feacc4094c6fd7a Mon Sep 17 00:00:00 2001 From: oltolm Date: Wed, 27 Sep 2023 22:35:54 +0200 Subject: [PATCH] fix Clang compilation warnings --- rpcs3/Emu/RSX/Common/tiled_dma_copy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/Common/tiled_dma_copy.hpp b/rpcs3/Emu/RSX/Common/tiled_dma_copy.hpp index 33d35abbbd..850adebc6d 100644 --- a/rpcs3/Emu/RSX/Common/tiled_dma_copy.hpp +++ b/rpcs3/Emu/RSX/Common/tiled_dma_copy.hpp @@ -31,7 +31,7 @@ namespace rsx #define RSX_DMA_OP_ENCODE_TILE 0 #define RSX_DMA_OP_DECODE_TILE 1 - static void tiled_dma_copy(const uint32_t row, const uint32_t col, const detiler_config& conf, char* tiled_data, char* linear_data, int direction) + static inline void tiled_dma_copy(const uint32_t row, const uint32_t col, const detiler_config& conf, char* tiled_data, char* linear_data, int direction) { const uint32_t row_offset = (row * conf.tile_pitch) + conf.tile_base_address + conf.tile_offset; const uint32_t this_address = row_offset + (col * conf.image_bpp);