Sfoglia il codice sorgente

Remove one extraneous incrementation (#833)

This incrementation is entirely wrong.
Thog 6 anni fa
parent
commit
a0e0745f2f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZone.cs

+ 1 - 1
Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZone.cs

@@ -1707,7 +1707,7 @@ namespace Ryujinx.HLE.HOS.Services.Time.TimeZone
                 Time = new CalendarTime()
                 {
                     Year   = (short)calendarTime.Year,
-                    Month  = (sbyte)(calendarTime.Month + 1),
+                    Month  = calendarTime.Month,
                     Day    = calendarTime.Day,
                     Hour   = calendarTime.Hour,
                     Minute = calendarTime.Minute,