mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
fix Clang compilation warnings
This commit is contained in:
parent
3c93509471
commit
b7fe35a2af
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ namespace rsx
|
||||||
#define RSX_DMA_OP_ENCODE_TILE 0
|
#define RSX_DMA_OP_ENCODE_TILE 0
|
||||||
#define RSX_DMA_OP_DECODE_TILE 1
|
#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 row_offset = (row * conf.tile_pitch) + conf.tile_base_address + conf.tile_offset;
|
||||||
const uint32_t this_address = row_offset + (col * conf.image_bpp);
|
const uint32_t this_address = row_offset + (col * conf.image_bpp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue