mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-25 19:21:20 -08:00
gc_poller: Silence sign conversion warnings
This commit is contained in:
parent
32b6fc4062
commit
a8ba6dc3c9
@ -249,7 +249,7 @@ Common::ParamPackage GCAnalogFactory::GetNextInput() {
|
|||||||
const u8 axis = static_cast<u8>(pad.axis);
|
const u8 axis = static_cast<u8>(pad.axis);
|
||||||
if (analog_x_axis == -1) {
|
if (analog_x_axis == -1) {
|
||||||
analog_x_axis = axis;
|
analog_x_axis = axis;
|
||||||
controller_number = port;
|
controller_number = static_cast<int>(port);
|
||||||
} else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) {
|
} else if (analog_y_axis == -1 && analog_x_axis != axis && controller_number == port) {
|
||||||
analog_y_axis = axis;
|
analog_y_axis = axis;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user