mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
struct defaults, formatting
This commit is contained in:
parent
1d99968ffe
commit
861b46bf83
2 changed files with 6 additions and 6 deletions
|
@ -25,11 +25,11 @@ enum class hat_component
|
|||
struct emulated_g27_device_type_id
|
||||
{
|
||||
// big types to keep 64bit bit shift operations sane
|
||||
u64 product_id;
|
||||
u64 vendor_id;
|
||||
u64 num_axes;
|
||||
u64 num_hats;
|
||||
u64 num_buttons;
|
||||
u64 product_id = 0;
|
||||
u64 vendor_id = 0;
|
||||
u64 num_axes = 0;
|
||||
u64 num_hats = 0;
|
||||
u64 num_buttons = 0;
|
||||
|
||||
u64 as_u64() const
|
||||
{
|
||||
|
|
|
@ -537,7 +537,7 @@ static void migrate_device_type_id(emulated_g27_device_type_id& device_type_id_s
|
|||
if (!joystick_ids)
|
||||
return;
|
||||
|
||||
for (int i = 0;i < joystick_count;i++)
|
||||
for (int i = 0; i < joystick_count; i++)
|
||||
{
|
||||
SDL_Joystick* cur_joystick = SDL_OpenJoystick(joystick_ids[i]);
|
||||
if (!cur_joystick)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue