Address nits (3)

Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
This commit is contained in:
Anirudh Balaji
2020-05-06 17:54:37 -07:00
committed by anire
parent dcd29066c5
commit 5a59c1b3c1
2 changed files with 3 additions and 3 deletions

View File

@@ -366,7 +366,7 @@ void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8*
}
// Try to read sixaxis sensor states
Common::Vec3f accel1, gyro1, accel2, gyro2;
Common::Vec3f accel1{}, gyro1{}, accel2{}, gyro2{};
if (sixaxis_sensors_enabled) {
const auto& device1 = motion_devices[i][0];
if (device1) {

View File

@@ -245,9 +245,9 @@ private:
static_assert(sizeof(NPadGeneric) == 0x350, "NPadGeneric is an invalid size");
struct SixAxisStates {
s64_le timestamp;
s64_le timestamp{};
INSERT_PADDING_WORDS(2);
s64_le timestamp2;
s64_le timestamp2{};
Common::Vec3f accel{};
Common::Vec3f gyro{};
INSERT_PADDING_WORDS(3);