Ver Fonte

misc: chore: logged coordinate is a decimal not a whole number

Evan Husted há 1 ano atrás
pai
commit
158ea7b4d6
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      src/Ryujinx/Utilities/PlayReport.cs

+ 3 - 3
src/Ryujinx/Utilities/PlayReport.cs

@@ -44,10 +44,10 @@ namespace Ryujinx.Ava.Utilities
         {
             try
             {
-                return (long)value.BoxedValue switch
+                return (double)value.BoxedValue switch
                 {
-                    > 800 => "Exploring the Sky Islands",
-                    < -201 => "Exploring the Depths",
+                    > 800d => "Exploring the Sky Islands",
+                    < -201d => "Exploring the Depths",
                     _ => "Roaming Hyrule"
                 };
             }