mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-24 01:09:51 +00:00
u/v coordinates should be of type uint8_t
This commit is contained in:
parent
9cd20bbcd2
commit
93939d6c92
@ -9,7 +9,7 @@ void PS_GPU::DrawSprite(int32_t x_arg, int32_t y_arg, int32_t w, int32_t h, uint
|
||||
|
||||
int32_t x_start, x_bound;
|
||||
int32_t y_start, y_bound;
|
||||
uint16_t u, v;
|
||||
uint8_t u, v;
|
||||
int v_inc = 1, u_inc = 1;
|
||||
|
||||
//printf("[GPU] Sprite: x=%d, y=%d, w=%d, h=%d\n", x_arg, y_arg, w, h);
|
||||
@ -71,7 +71,7 @@ void PS_GPU::DrawSprite(int32_t x_arg, int32_t y_arg, int32_t w, int32_t h, uint
|
||||
|
||||
for(int32_t y = y_start; MDFN_LIKELY(y < y_bound); y++)
|
||||
{
|
||||
uint16_t u_r;
|
||||
uint8_t u_r;
|
||||
|
||||
if(textured)
|
||||
u_r = u;
|
||||
|
Loading…
Reference in New Issue
Block a user