mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-29 22:25:05 +00:00
Silence warning
This commit is contained in:
parent
d556173d2f
commit
21e9bde569
@ -94,6 +94,8 @@ enum overlay_image_transfer_status
|
||||
|
||||
struct overlay
|
||||
{
|
||||
unsigned id;
|
||||
|
||||
struct overlay_desc *descs;
|
||||
size_t size;
|
||||
size_t pos;
|
||||
|
@ -525,8 +525,9 @@ static void mui_render(void *data)
|
||||
|
||||
if (settings->menu.pointer.enable)
|
||||
{
|
||||
int16_t pointer_y = menu_input_pointer_state(MENU_POINTER_Y_AXIS);
|
||||
float old_accel_val, new_accel_val;
|
||||
int16_t pointer_y = menu_input_pointer_state(MENU_POINTER_Y_AXIS);
|
||||
float old_accel_val = 0.0f;
|
||||
float new_accel_val = 0.0f;
|
||||
unsigned new_pointer_val =
|
||||
(pointer_y - mui->line_height + mui->scroll_y - 16)
|
||||
/ mui->line_height;
|
||||
|
Loading…
Reference in New Issue
Block a user