mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0678a06284 |
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net11.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<DebugType Condition="'$(Configuration)'=='Release'">none</DebugType>
|
<DebugType Condition="'$(Configuration)'=='Release'">none</DebugType>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
+14
-15
@@ -3,25 +3,25 @@
|
|||||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageVersion Include="Avalonia" Version="12.1.6" />
|
<PackageVersion Include="Avalonia" Version="12.1.2" />
|
||||||
<PackageVersion Include="Avalonia.Controls.DataGrid" Version="12.1.2" />
|
<PackageVersion Include="Avalonia.Controls.DataGrid" Version="12.1.2" />
|
||||||
<PackageVersion Include="Avalonia.Desktop" Version="12.1.6" />
|
<PackageVersion Include="Avalonia.Desktop" Version="12.1.2" />
|
||||||
<PackageVersion Include="AvaloniaUI.DiagnosticsSupport" Version="2.2.3" />
|
<PackageVersion Include="AvaloniaUI.DiagnosticsSupport" Version="2.2.3" />
|
||||||
<PackageVersion Include="Avalonia.Markup.Xaml.Loader" Version="12.1.6" />
|
<PackageVersion Include="Avalonia.Markup.Xaml.Loader" Version="12.1.2" />
|
||||||
<PackageVersion Include="Svg.Controls.Avalonia" Version="12.0.0.17" />
|
<PackageVersion Include="Svg.Controls.Avalonia" Version="12.0.0.17" />
|
||||||
<PackageVersion Include="Svg.Controls.Skia.Avalonia" Version="12.0.0.17" />
|
<PackageVersion Include="Svg.Controls.Skia.Avalonia" Version="12.0.0.17" />
|
||||||
<PackageVersion Include="CommandLineParser" Version="2.9.1" />
|
<PackageVersion Include="CommandLineParser" Version="2.9.1" />
|
||||||
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
|
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
|
||||||
<PackageVersion Include="Concentus" Version="2.2.2" />
|
<PackageVersion Include="Concentus" Version="2.2.2" />
|
||||||
<PackageVersion Include="DiscordRichPresence" Version="1.6.1.70" />
|
<PackageVersion Include="DiscordRichPresence" Version="1.6.1.70" />
|
||||||
<PackageVersion Include="DynamicData" Version="9.5.0" />
|
<PackageVersion Include="DynamicData" Version="9.4.33" />
|
||||||
<PackageVersion Include="FluentAvaloniaUI" Version="3.1.0" />
|
<PackageVersion Include="FluentAvaloniaUI" Version="3.1.0" />
|
||||||
<PackageVersion Include="Gommon" Version="2.8.2" />
|
<PackageVersion Include="Gommon" Version="2.8.1.2" />
|
||||||
<PackageVersion Include="Humanizer" Version="3.0.10" />
|
<PackageVersion Include="Humanizer" Version="3.0.10" />
|
||||||
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
|
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" />
|
||||||
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0" />
|
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0" />
|
||||||
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.23.0" />
|
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.22.0" />
|
||||||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.12.0" />
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.10.0" />
|
||||||
<PackageVersion Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
|
<PackageVersion Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
|
||||||
<PackageVersion Include="MsgPack.Cli" Version="1.0.1" />
|
<PackageVersion Include="MsgPack.Cli" Version="1.0.1" />
|
||||||
<PackageVersion Include="NetCoreServer" Version="8.0.7" />
|
<PackageVersion Include="NetCoreServer" Version="8.0.7" />
|
||||||
@@ -31,13 +31,13 @@
|
|||||||
<PackageVersion Include="OpenTK.Core" Version="4.9.4" />
|
<PackageVersion Include="OpenTK.Core" Version="4.9.4" />
|
||||||
<PackageVersion Include="OpenTK.Graphics" Version="4.9.4" />
|
<PackageVersion Include="OpenTK.Graphics" Version="4.9.4" />
|
||||||
<PackageVersion Include="OpenTK.Audio.OpenAL" Version="4.9.4" />
|
<PackageVersion Include="OpenTK.Audio.OpenAL" Version="4.9.4" />
|
||||||
<PackageVersion Include="Open.Nat.V2" Version="3.2.1" />
|
<PackageVersion Include="Open.NAT.Core" Version="2.1.0.5" />
|
||||||
<PackageVersion Include="Ryujinx.Audio.OpenAL" Version="1.25.2" />
|
<PackageVersion Include="Ryujinx.Audio.OpenAL" Version="1.25.2" />
|
||||||
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.Linux" Version="6.1.4-build6" />
|
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.Linux" Version="6.1.4-build6" />
|
||||||
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.macOS" Version="5.0.3-build14" />
|
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.macOS" Version="5.0.3-build14" />
|
||||||
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.Windows" Version="6.1.4-build6" />
|
<PackageVersion Include="Ryujinx.Graphics.Nvdec.Dependencies.Windows" Version="6.1.4-build6" />
|
||||||
<PackageVersion Include="Ryujinx.Graphics.Vulkan.MoltenVK" Version="1.4.3-ryujinx.2" />
|
<PackageVersion Include="Ryujinx.Graphics.Vulkan.MoltenVK" Version="1.4.3-ryujinx.1" />
|
||||||
<PackageVersion Include="Ryujinx.LibHac" Version="0.21.0-alpha.148" />
|
<PackageVersion Include="Ryujinx.LibHac" Version="0.21.0-alpha.133" />
|
||||||
<PackageVersion Include="Ryujinx.SDL3-CS" Version="2026.918.0" />
|
<PackageVersion Include="Ryujinx.SDL3-CS" Version="2026.918.0" />
|
||||||
<PackageVersion Include="securifybv.ShellLink" Version="0.1.0" />
|
<PackageVersion Include="securifybv.ShellLink" Version="0.1.0" />
|
||||||
<PackageVersion Include="SharpZipLib" Version="1.4.2" />
|
<PackageVersion Include="SharpZipLib" Version="1.4.2" />
|
||||||
@@ -45,11 +45,10 @@
|
|||||||
<PackageVersion Include="Silk.NET.Vulkan" Version="2.23.0" />
|
<PackageVersion Include="Silk.NET.Vulkan" Version="2.23.0" />
|
||||||
<PackageVersion Include="Silk.NET.Vulkan.Extensions.EXT" Version="2.23.0" />
|
<PackageVersion Include="Silk.NET.Vulkan.Extensions.EXT" Version="2.23.0" />
|
||||||
<PackageVersion Include="Silk.NET.Vulkan.Extensions.KHR" Version="2.23.0" />
|
<PackageVersion Include="Silk.NET.Vulkan.Extensions.KHR" Version="2.23.0" />
|
||||||
<PackageVersion Include="SkiaSharp" Version="4.156.0" />
|
<PackageVersion Include="SkiaSharp" Version="3.119.4" />
|
||||||
<PackageVersion Include="SkiaSharp.NativeAssets.Linux" Version="4.156.0" />
|
<PackageVersion Include="SkiaSharp.NativeAssets.Linux" Version="3.119.4" />
|
||||||
<PackageVersion Include="SPB" Version="0.0.4-build32" />
|
<PackageVersion Include="SPB" Version="0.0.4-build32" />
|
||||||
<PackageVersion Include="System.IO.Hashing" Version="11.0.0" />
|
<PackageVersion Include="System.IO.Hashing" Version="10.0.12" />
|
||||||
<PackageVersion Include="UnicornEngine.Unicorn" Version="2.1.0" />
|
<PackageVersion Include="UnicornEngine.Unicorn" Version="2.1.0" />
|
||||||
<PackageVersion Include="ezhevita.ZstdSharp.Zbic" Version="0.8.8.1" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
+2
-3
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"sdk": {
|
"sdk": {
|
||||||
"version": "11.0.100",
|
"version": "10.0.100",
|
||||||
"rollForward": "latestFeature",
|
"rollForward": "latestFeature"
|
||||||
"allowPrerelease": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+9
-7
@@ -2,20 +2,22 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<packageSources>
|
<packageSources>
|
||||||
<clear />
|
<clear />
|
||||||
<!-- The Ryulynx NuGet server provides NuGet mirroring and can potentially be much faster than NuGet. -->
|
|
||||||
<!-- LibHac is sourced only from the Ryulynx NuGet server. Consider adding a backup for that package. -->
|
|
||||||
<add key="nuget.ryulynx.org" value="https://nuget.ryulynx.org/v3/index.json" />
|
|
||||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||||
|
<!-- Only needed when using pre-release versions of Ryujinx.LibHac. -->
|
||||||
|
<add key="LibHacAlpha" value="https://git.ryujinx.app/api/packages/projects/nuget/index.json" />
|
||||||
|
<!--<add key="Silk.NET" value="https://gitlab.com/api/v4/projects/51457475/packages/nuget/index.json" />-->
|
||||||
</packageSources>
|
</packageSources>
|
||||||
<packageSourceMapping>
|
<packageSourceMapping>
|
||||||
<!-- key value for <packageSource> should match key values from <packageSources> element -->
|
<!-- key value for <packageSource> should match key values from <packageSources> element -->
|
||||||
<!-- These are defined and .NET still yells about multiple package sources with no mappings. Not sure what to do, this is in the docs lol -->
|
<!-- These are defined and .NET still yells about multiple package sources with no mappings. Not sure what to do, this is in the docs lol -->
|
||||||
<!-- ^^^ Needs confirmation. ^^^ -->
|
|
||||||
<packageSource key="nuget.ryulynx.org">
|
|
||||||
<package pattern="*" />
|
|
||||||
</packageSource>
|
|
||||||
<packageSource key="nuget.org">
|
<packageSource key="nuget.org">
|
||||||
<package pattern="*" />
|
<package pattern="*" />
|
||||||
</packageSource>
|
</packageSource>
|
||||||
|
<packageSource key="LibHacAlpha">
|
||||||
|
<package pattern="Ryujinx.LibHac" />
|
||||||
|
</packageSource>
|
||||||
|
<!--<packageSource key="Silk.NET">
|
||||||
|
<package pattern="Silk.*" />
|
||||||
|
</packageSource>-->
|
||||||
</packageSourceMapping>
|
</packageSourceMapping>
|
||||||
</configuration>
|
</configuration>
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ namespace Ryujinx.Graphics.GAL
|
|||||||
public readonly bool SupportsGeometryShader;
|
public readonly bool SupportsGeometryShader;
|
||||||
public readonly bool SupportsGeometryShaderPassthrough;
|
public readonly bool SupportsGeometryShaderPassthrough;
|
||||||
public readonly bool SupportsTransformFeedback;
|
public readonly bool SupportsTransformFeedback;
|
||||||
public readonly bool SupportsImageBufferPixelAlignment;
|
|
||||||
public readonly bool SupportsImageLoadFormatted;
|
public readonly bool SupportsImageLoadFormatted;
|
||||||
public readonly bool SupportsLayerVertexTessellation;
|
public readonly bool SupportsLayerVertexTessellation;
|
||||||
public readonly bool SupportsMismatchingViewFormat;
|
public readonly bool SupportsMismatchingViewFormat;
|
||||||
@@ -44,7 +43,6 @@ namespace Ryujinx.Graphics.GAL
|
|||||||
public readonly bool SupportsShaderBarrierDivergence;
|
public readonly bool SupportsShaderBarrierDivergence;
|
||||||
public readonly bool SupportsShaderFloat64;
|
public readonly bool SupportsShaderFloat64;
|
||||||
public readonly bool SupportsShaderNonUniformIndexing;
|
public readonly bool SupportsShaderNonUniformIndexing;
|
||||||
public readonly bool SupportsTextureBufferPixelAlignment;
|
|
||||||
public readonly bool SupportsTextureGatherOffsets;
|
public readonly bool SupportsTextureGatherOffsets;
|
||||||
public readonly bool SupportsTextureShadowLod;
|
public readonly bool SupportsTextureShadowLod;
|
||||||
public readonly bool SupportsVertexStoreAndAtomics;
|
public readonly bool SupportsVertexStoreAndAtomics;
|
||||||
@@ -107,7 +105,6 @@ namespace Ryujinx.Graphics.GAL
|
|||||||
bool supportsGeometryShader,
|
bool supportsGeometryShader,
|
||||||
bool supportsGeometryShaderPassthrough,
|
bool supportsGeometryShaderPassthrough,
|
||||||
bool supportsTransformFeedback,
|
bool supportsTransformFeedback,
|
||||||
bool supportsImageBufferPixelAlignment,
|
|
||||||
bool supportsImageLoadFormatted,
|
bool supportsImageLoadFormatted,
|
||||||
bool supportsLayerVertexTessellation,
|
bool supportsLayerVertexTessellation,
|
||||||
bool supportsMismatchingViewFormat,
|
bool supportsMismatchingViewFormat,
|
||||||
@@ -119,7 +116,6 @@ namespace Ryujinx.Graphics.GAL
|
|||||||
bool supportsShaderBarrierDivergence,
|
bool supportsShaderBarrierDivergence,
|
||||||
bool supportsShaderFloat64,
|
bool supportsShaderFloat64,
|
||||||
bool supportsShaderNonUniformIndexing,
|
bool supportsShaderNonUniformIndexing,
|
||||||
bool supportsTextureBufferPixelAlignment,
|
|
||||||
bool supportsTextureGatherOffsets,
|
bool supportsTextureGatherOffsets,
|
||||||
bool supportsTextureShadowLod,
|
bool supportsTextureShadowLod,
|
||||||
bool supportsVertexStoreAndAtomics,
|
bool supportsVertexStoreAndAtomics,
|
||||||
@@ -176,7 +172,6 @@ namespace Ryujinx.Graphics.GAL
|
|||||||
SupportsGeometryShader = supportsGeometryShader;
|
SupportsGeometryShader = supportsGeometryShader;
|
||||||
SupportsGeometryShaderPassthrough = supportsGeometryShaderPassthrough;
|
SupportsGeometryShaderPassthrough = supportsGeometryShaderPassthrough;
|
||||||
SupportsTransformFeedback = supportsTransformFeedback;
|
SupportsTransformFeedback = supportsTransformFeedback;
|
||||||
SupportsImageBufferPixelAlignment = supportsImageBufferPixelAlignment;
|
|
||||||
SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
||||||
SupportsLayerVertexTessellation = supportsLayerVertexTessellation;
|
SupportsLayerVertexTessellation = supportsLayerVertexTessellation;
|
||||||
SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
|
SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
|
||||||
@@ -188,7 +183,6 @@ namespace Ryujinx.Graphics.GAL
|
|||||||
SupportsShaderBarrierDivergence = supportsShaderBarrierDivergence;
|
SupportsShaderBarrierDivergence = supportsShaderBarrierDivergence;
|
||||||
SupportsShaderFloat64 = supportsShaderFloat64;
|
SupportsShaderFloat64 = supportsShaderFloat64;
|
||||||
SupportsShaderNonUniformIndexing = supportsShaderNonUniformIndexing;
|
SupportsShaderNonUniformIndexing = supportsShaderNonUniformIndexing;
|
||||||
SupportsTextureBufferPixelAlignment = supportsTextureBufferPixelAlignment;
|
|
||||||
SupportsTextureGatherOffsets = supportsTextureGatherOffsets;
|
SupportsTextureGatherOffsets = supportsTextureGatherOffsets;
|
||||||
SupportsTextureShadowLod = supportsTextureShadowLod;
|
SupportsTextureShadowLod = supportsTextureShadowLod;
|
||||||
SupportsVertexStoreAndAtomics = supportsVertexStoreAndAtomics;
|
SupportsVertexStoreAndAtomics = supportsVertexStoreAndAtomics;
|
||||||
|
|||||||
@@ -774,11 +774,6 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
|||||||
float width = scaleX * 2;
|
float width = scaleX * 2;
|
||||||
float height = scaleY * 2;
|
float height = scaleY * 2;
|
||||||
|
|
||||||
if (yNegate)
|
|
||||||
{
|
|
||||||
y += _state.State.ScreenScissorState.Height - MathF.Abs(height);
|
|
||||||
}
|
|
||||||
|
|
||||||
float scale = _channel.TextureManager.RenderTargetScale;
|
float scale = _channel.TextureManager.RenderTargetScale;
|
||||||
if (scale != 1f)
|
if (scale != 1f)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ using Ryujinx.Graphics.Gpu.Engine.Types;
|
|||||||
using Ryujinx.Graphics.Gpu.Memory;
|
using Ryujinx.Graphics.Gpu.Memory;
|
||||||
using Ryujinx.Graphics.Gpu.Shader;
|
using Ryujinx.Graphics.Gpu.Shader;
|
||||||
using Ryujinx.Graphics.Shader;
|
using Ryujinx.Graphics.Shader;
|
||||||
using Ryujinx.Memory.Range;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
@@ -68,9 +67,6 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
|
|
||||||
private int _lastFragmentTotal;
|
private int _lastFragmentTotal;
|
||||||
|
|
||||||
private readonly int _bufferTextureAlignment;
|
|
||||||
private readonly int _bufferImageAlignment;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Constructs a new instance of the texture bindings manager.
|
/// Constructs a new instance of the texture bindings manager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -112,10 +108,6 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
}
|
}
|
||||||
|
|
||||||
_textureCounts = [];
|
_textureCounts = [];
|
||||||
|
|
||||||
int alignment = context.Capabilities.TextureBufferOffsetAlignment;
|
|
||||||
_bufferTextureAlignment = context.Capabilities.SupportsTextureBufferPixelAlignment ? 0 : alignment;
|
|
||||||
_bufferImageAlignment = context.Capabilities.SupportsImageBufferPixelAlignment ? 0 : alignment;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -529,12 +521,10 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
|
|
||||||
if (hostTexture != null && texture.Target == Target.TextureBuffer)
|
if (hostTexture != null && texture.Target == Target.TextureBuffer)
|
||||||
{
|
{
|
||||||
MultiRange range = GetAlignedBufferTextureRange(texture, index, stageIndex, false);
|
|
||||||
|
|
||||||
// Ensure that the buffer texture is using the correct buffer as storage.
|
// Ensure that the buffer texture is using the correct buffer as storage.
|
||||||
// Buffers are frequently re-created to accommodate larger data, so we need to re-bind
|
// Buffers are frequently re-created to accommodate larger data, so we need to re-bind
|
||||||
// to ensure we're not using a old buffer that was already deleted.
|
// to ensure we're not using a old buffer that was already deleted.
|
||||||
_channel.BufferManager.SetBufferTextureStorage(stage, hostTexture, range, bindingInfo, false);
|
_channel.BufferManager.SetBufferTextureStorage(stage, hostTexture, texture.Range, bindingInfo, false);
|
||||||
|
|
||||||
// Cache is not used for buffer texture, it must always rebind.
|
// Cache is not used for buffer texture, it must always rebind.
|
||||||
state.CachedTexture = null;
|
state.CachedTexture = null;
|
||||||
@@ -669,9 +659,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
// Buffers are frequently re-created to accommodate larger data, so we need to re-bind
|
// Buffers are frequently re-created to accommodate larger data, so we need to re-bind
|
||||||
// to ensure we're not using a old buffer that was already deleted.
|
// to ensure we're not using a old buffer that was already deleted.
|
||||||
|
|
||||||
MultiRange range = GetAlignedBufferTextureRange(texture, index, stageIndex, true);
|
_channel.BufferManager.SetBufferTextureStorage(stage, hostTexture, texture.Range, bindingInfo, true);
|
||||||
|
|
||||||
_channel.BufferManager.SetBufferTextureStorage(stage, hostTexture, range, bindingInfo, true);
|
|
||||||
|
|
||||||
// Cache is not used for buffer texture, it must always rebind.
|
// Cache is not used for buffer texture, it must always rebind.
|
||||||
state.CachedTexture = null;
|
state.CachedTexture = null;
|
||||||
@@ -704,61 +692,6 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|||||||
return specStateMatches;
|
return specStateMatches;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets the aligned address of the texture according to the host requirements.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="texture">Texture to have its address aligned</param>
|
|
||||||
/// <param name="index">Index of the texture in the shader</param>
|
|
||||||
/// <param name="stageIndex">Index of the shader stage</param>
|
|
||||||
/// <param name="isImage">True if the texture is bound as image, false for sampled textures</param>
|
|
||||||
/// <returns>Aligned address and size of the buffer texture</returns>
|
|
||||||
private MultiRange GetAlignedBufferTextureRange(Texture texture, int index, int stageIndex, bool isImage)
|
|
||||||
{
|
|
||||||
MultiRange range = texture.Range;
|
|
||||||
int alignment = isImage ? _bufferImageAlignment : _bufferTextureAlignment;
|
|
||||||
|
|
||||||
if (alignment != 0)
|
|
||||||
{
|
|
||||||
MemoryRange firstRange = range.GetSubRange(0);
|
|
||||||
ulong misalign = firstRange.Address & ((ulong)alignment - 1);
|
|
||||||
int offset = misalign != 0 ? (int)misalign / texture.Info.FormatInfo.BytesPerPixel : 0;
|
|
||||||
|
|
||||||
if (misalign != 0)
|
|
||||||
{
|
|
||||||
firstRange = new MemoryRange(firstRange.Address - misalign, firstRange.Size + misalign);
|
|
||||||
|
|
||||||
if (range.Count > 1)
|
|
||||||
{
|
|
||||||
MemoryRange[] ranges = new MemoryRange[range.Count];
|
|
||||||
|
|
||||||
ranges[0] = firstRange;
|
|
||||||
|
|
||||||
for (int i = 1; i < range.Count; i++)
|
|
||||||
{
|
|
||||||
ranges[i] = range.GetSubRange(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
range = new MultiRange(ranges);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
range = new MultiRange(firstRange.Address, firstRange.Size);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isImage)
|
|
||||||
{
|
|
||||||
_context.SupportBufferUpdater.UpdateBufferImageOffset(stageIndex, index, offset);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
_context.SupportBufferUpdater.UpdateBufferTextureOffset(stageIndex, index, offset);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return range;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the texture descriptor for a given texture handle.
|
/// Gets the texture descriptor for a given texture handle.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -129,38 +129,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Updates the offset used for accessing buffer textures that are not aligned to the host requirements.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="stageIndex">Index of the shader stage where the texture is used</param>
|
|
||||||
/// <param name="bindingIndex">Index of the texture binding in the shader</param>
|
|
||||||
/// <param name="offset">Offset for the misaligned part of the address</param>
|
|
||||||
public void UpdateBufferTextureOffset(int stageIndex, int bindingIndex, int offset)
|
|
||||||
{
|
|
||||||
if (_data.BufferTextureOffset[stageIndex][bindingIndex].X != offset)
|
|
||||||
{
|
|
||||||
_data.BufferTextureOffset[stageIndex][bindingIndex].X = offset;
|
|
||||||
int index = stageIndex * SupportBuffer.TextureCount + bindingIndex;
|
|
||||||
MarkDirty(SupportBuffer.BufferTextureOffsetOffset + index * sizeof(int) * 4, sizeof(int));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Updates the offset used for accessing buffer images that are not aligned to the host requirements.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="stageIndex">Index of the shader stage where the image is used</param>
|
|
||||||
/// <param name="bindingIndex">Index of the image binding in the shader</param>
|
|
||||||
/// <param name="offset">Offset for the misaligned part of the address</param>
|
|
||||||
public void UpdateBufferImageOffset(int stageIndex, int bindingIndex, int offset)
|
|
||||||
{
|
|
||||||
if (_data.BufferTextureOffset[stageIndex][bindingIndex].Y != offset)
|
|
||||||
{
|
|
||||||
_data.BufferTextureOffset[stageIndex][bindingIndex].Y = offset;
|
|
||||||
int index = stageIndex * SupportBuffer.TextureCount + bindingIndex;
|
|
||||||
MarkDirty(SupportBuffer.BufferTextureOffsetOffset + index * sizeof(int) * 4 + sizeof(int), sizeof(int));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets whether the format of a given render target is a BGRA format.
|
/// Sets whether the format of a given render target is a BGRA format.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -234,10 +234,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
|||||||
|
|
||||||
for (int index = 0; index < ThreadCount; index++)
|
for (int index = 0; index < ThreadCount; index++)
|
||||||
{
|
{
|
||||||
workThreads[index] = new Thread(ProcessAsyncQueue)
|
workThreads[index] = new Thread(ProcessAsyncQueue) { Name = $"GPU.AsyncTranslationThread.{index}", };
|
||||||
{
|
|
||||||
Name = $"GPU.AsyncTranslationThread.{index}",
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int programCount = _hostStorage.GetProgramCount();
|
int programCount = _hostStorage.GetProgramCount();
|
||||||
|
|||||||
@@ -207,10 +207,6 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||||||
|
|
||||||
public bool QueryHostSupportsBgraFormat() => _context.Capabilities.SupportsBgraFormat;
|
public bool QueryHostSupportsBgraFormat() => _context.Capabilities.SupportsBgraFormat;
|
||||||
|
|
||||||
public bool QueryHostSupportsBufferImagePixelAlignment() => _context.Capabilities.SupportsImageBufferPixelAlignment;
|
|
||||||
|
|
||||||
public bool QueryHostSupportsBufferTexturePixelAlignment() => _context.Capabilities.SupportsTextureBufferPixelAlignment;
|
|
||||||
|
|
||||||
public bool QueryHostSupportsFragmentShaderInterlock() => _context.Capabilities.SupportsFragmentShaderInterlock;
|
public bool QueryHostSupportsFragmentShaderInterlock() => _context.Capabilities.SupportsFragmentShaderInterlock;
|
||||||
|
|
||||||
public bool QueryHostSupportsFragmentShaderOrderingIntel() => _context.Capabilities.SupportsFragmentShaderOrderingIntel;
|
public bool QueryHostSupportsFragmentShaderOrderingIntel() => _context.Capabilities.SupportsFragmentShaderOrderingIntel;
|
||||||
|
|||||||
@@ -174,7 +174,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|||||||
supportsGeometryShader: true,
|
supportsGeometryShader: true,
|
||||||
supportsGeometryShaderPassthrough: HwCapabilities.SupportsGeometryShaderPassthrough,
|
supportsGeometryShaderPassthrough: HwCapabilities.SupportsGeometryShaderPassthrough,
|
||||||
supportsTransformFeedback: true,
|
supportsTransformFeedback: true,
|
||||||
supportsImageBufferPixelAlignment: false,
|
|
||||||
supportsImageLoadFormatted: HwCapabilities.SupportsImageLoadFormatted,
|
supportsImageLoadFormatted: HwCapabilities.SupportsImageLoadFormatted,
|
||||||
supportsLayerVertexTessellation: HwCapabilities.SupportsShaderViewportLayerArray,
|
supportsLayerVertexTessellation: HwCapabilities.SupportsShaderViewportLayerArray,
|
||||||
supportsMismatchingViewFormat: HwCapabilities.SupportsMismatchingViewFormat,
|
supportsMismatchingViewFormat: HwCapabilities.SupportsMismatchingViewFormat,
|
||||||
@@ -186,7 +185,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|||||||
supportsShaderBarrierDivergence: !(intelWindows || intelUnix),
|
supportsShaderBarrierDivergence: !(intelWindows || intelUnix),
|
||||||
supportsShaderFloat64: true,
|
supportsShaderFloat64: true,
|
||||||
supportsShaderNonUniformIndexing: false,
|
supportsShaderNonUniformIndexing: false,
|
||||||
supportsTextureBufferPixelAlignment: false,
|
|
||||||
supportsTextureGatherOffsets: true,
|
supportsTextureGatherOffsets: true,
|
||||||
supportsTextureShadowLod: HwCapabilities.SupportsTextureShadowLod,
|
supportsTextureShadowLod: HwCapabilities.SupportsTextureShadowLod,
|
||||||
supportsVertexStoreAndAtomics: true,
|
supportsVertexStoreAndAtomics: true,
|
||||||
|
|||||||
@@ -234,24 +234,6 @@ namespace Ryujinx.Graphics.Shader
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Queries host support for buffer image access with the buffer offset aligned to a single pixel rather than a fixed alignment.
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>True if the host supports buffer image access with pixel alignment, false otherwise</returns>
|
|
||||||
bool QueryHostSupportsBufferImagePixelAlignment()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Queries host support for buffer texture access with the buffer offset aligned to a single pixel rather than a fixed alignment.
|
|
||||||
/// </summary>
|
|
||||||
/// <returns>True if the host supports buffer texture access with pixel alignment, false otherwise</returns>
|
|
||||||
bool QueryHostSupportsBufferTexturePixelAlignment()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Queries host support for fragment shader ordering critical sections on the shader code.
|
/// Queries host support for fragment shader ordering critical sections on the shader code.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ namespace Ryujinx.Graphics.Shader
|
|||||||
RenderScale,
|
RenderScale,
|
||||||
TfeOffset,
|
TfeOffset,
|
||||||
TfeVertexCount,
|
TfeVertexCount,
|
||||||
BufferTextureOffset,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct SupportBuffer
|
public struct SupportBuffer
|
||||||
@@ -43,13 +42,10 @@ namespace Ryujinx.Graphics.Shader
|
|||||||
public static readonly int ComputeRenderScaleOffset;
|
public static readonly int ComputeRenderScaleOffset;
|
||||||
public static readonly int TfeOffsetOffset;
|
public static readonly int TfeOffsetOffset;
|
||||||
public static readonly int TfeVertexCountOffset;
|
public static readonly int TfeVertexCountOffset;
|
||||||
public static readonly int BufferTextureOffsetOffset;
|
|
||||||
|
|
||||||
public const int FragmentIsBgraCount = 8;
|
public const int FragmentIsBgraCount = 8;
|
||||||
public const int TextureCount = 64;
|
|
||||||
|
|
||||||
// One for the render target, 64 for the textures, and 8 for the images.
|
// One for the render target, 64 for the textures, and 8 for the images.
|
||||||
public const int RenderScaleMaxCount = 1 + TextureCount + 8;
|
public const int RenderScaleMaxCount = 1 + 64 + 8;
|
||||||
|
|
||||||
private static int OffsetOf<T>(ref SupportBuffer storage, ref T target)
|
private static int OffsetOf<T>(ref SupportBuffer storage, ref T target)
|
||||||
{
|
{
|
||||||
@@ -72,7 +68,6 @@ namespace Ryujinx.Graphics.Shader
|
|||||||
ComputeRenderScaleOffset = GraphicsRenderScaleOffset + FieldSize;
|
ComputeRenderScaleOffset = GraphicsRenderScaleOffset + FieldSize;
|
||||||
TfeOffsetOffset = OffsetOf(ref instance, ref instance.TfeOffset);
|
TfeOffsetOffset = OffsetOf(ref instance, ref instance.TfeOffset);
|
||||||
TfeVertexCountOffset = OffsetOf(ref instance, ref instance.TfeVertexCount);
|
TfeVertexCountOffset = OffsetOf(ref instance, ref instance.TfeVertexCount);
|
||||||
BufferTextureOffsetOffset = OffsetOf(ref instance, ref instance.BufferTextureOffset);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static StructureType GetStructureType()
|
internal static StructureType GetStructureType()
|
||||||
@@ -85,8 +80,7 @@ namespace Ryujinx.Graphics.Shader
|
|||||||
new StructureField(AggregateType.S32, "frag_scale_count"),
|
new StructureField(AggregateType.S32, "frag_scale_count"),
|
||||||
new StructureField(AggregateType.Array | AggregateType.FP32, "render_scale", RenderScaleMaxCount),
|
new StructureField(AggregateType.Array | AggregateType.FP32, "render_scale", RenderScaleMaxCount),
|
||||||
new StructureField(AggregateType.Vector4 | AggregateType.S32, "tfe_offset"),
|
new StructureField(AggregateType.Vector4 | AggregateType.S32, "tfe_offset"),
|
||||||
new StructureField(AggregateType.S32, "tfe_vertex_count"),
|
new StructureField(AggregateType.S32, "tfe_vertex_count")
|
||||||
new StructureField(AggregateType.Array | AggregateType.Vector2 | AggregateType.S32, "buffer_texture_offset")
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -101,7 +95,5 @@ namespace Ryujinx.Graphics.Shader
|
|||||||
|
|
||||||
public Vector4<int> TfeOffset;
|
public Vector4<int> TfeOffset;
|
||||||
public Vector4<int> TfeVertexCount;
|
public Vector4<int> TfeVertexCount;
|
||||||
|
|
||||||
public Array5<Array64<Vector4<int>>> BufferTextureOffset;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
|
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
|
||||||
using Ryujinx.Graphics.Shader.Translation.Optimizations;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using static Ryujinx.Graphics.Shader.IntermediateRepresentation.OperandHelper;
|
using static Ryujinx.Graphics.Shader.IntermediateRepresentation.OperandHelper;
|
||||||
@@ -28,19 +27,7 @@ namespace Ryujinx.Graphics.Shader.Translation.Transforms
|
|||||||
|
|
||||||
if (texOp.Type == SamplerType.TextureBuffer && !context.GpuAccessor.QueryHostSupportsSnormBufferTextureFormat())
|
if (texOp.Type == SamplerType.TextureBuffer && !context.GpuAccessor.QueryHostSupportsSnormBufferTextureFormat())
|
||||||
{
|
{
|
||||||
if (!context.GpuAccessor.QueryHostSupportsSnormBufferTextureFormat())
|
node = InsertSnormNormalization(node, context.ResourceManager, context.GpuAccessor);
|
||||||
{
|
|
||||||
node = InsertSnormNormalization(node, context.ResourceManager, context.GpuAccessor);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!context.GpuAccessor.QueryHostSupportsBufferTexturePixelAlignment())
|
|
||||||
{
|
|
||||||
node = InsertCoordOffset(node, context.ResourceManager, context.Stage, isImage: false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (!context.GpuAccessor.QueryHostSupportsBufferTexturePixelAlignment() && texOp.Inst.IsImage())
|
|
||||||
{
|
|
||||||
node = InsertCoordOffset(node, context.ResourceManager, context.Stage, isImage: true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -291,87 +278,6 @@ namespace Ryujinx.Graphics.Shader.Translation.Transforms
|
|||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static LinkedListNode<INode> InsertCoordOffset(LinkedListNode<INode> node, ResourceManager resourceManager, ShaderStage stage, bool isImage)
|
|
||||||
{
|
|
||||||
// Some GPUs have fixed alignment requirements for buffer textures.
|
|
||||||
// For those cases, we bind the aligned buffer offset, and apply the remaining offset on the shader.
|
|
||||||
|
|
||||||
TextureOperation texOp = (TextureOperation)node.Value;
|
|
||||||
|
|
||||||
if ((texOp.Type & SamplerType.Mask) != SamplerType.TextureBuffer)
|
|
||||||
{
|
|
||||||
return node;
|
|
||||||
}
|
|
||||||
|
|
||||||
Operand[] sources = new Operand[texOp.SourcesCount];
|
|
||||||
|
|
||||||
for (int i = 0; i < texOp.SourcesCount; i++)
|
|
||||||
{
|
|
||||||
sources[i] = texOp.GetSource(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isBindless = (texOp.Flags & TextureFlags.Bindless) != 0;
|
|
||||||
bool isIndexed = resourceManager.IsArrayOfTexturesOrImages(texOp.Binding, isImage);
|
|
||||||
|
|
||||||
int coordsIndex = isBindless || isIndexed ? 1 : 0;
|
|
||||||
|
|
||||||
Operand[] dests = new Operand[texOp.DestsCount];
|
|
||||||
|
|
||||||
for (int i = 0; i < texOp.DestsCount; i++)
|
|
||||||
{
|
|
||||||
dests[i] = texOp.GetDest(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
LinkedListNode<INode> oldNode = node;
|
|
||||||
|
|
||||||
Operand source = sources[coordsIndex];
|
|
||||||
Operand offset = Local();
|
|
||||||
Operand coordPlusOffset = Local();
|
|
||||||
|
|
||||||
int stageIndex = stage switch
|
|
||||||
{
|
|
||||||
ShaderStage.TessellationControl => 1,
|
|
||||||
ShaderStage.TessellationEvaluation => 2,
|
|
||||||
ShaderStage.Geometry => 3,
|
|
||||||
ShaderStage.Fragment => 4,
|
|
||||||
_ => 0,
|
|
||||||
};
|
|
||||||
|
|
||||||
int bindingIndex = isImage
|
|
||||||
? resourceManager.FindImageDescriptorIndex(texOp.Binding)
|
|
||||||
: resourceManager.FindTextureDescriptorIndex(texOp.Binding);
|
|
||||||
|
|
||||||
node.List.AddBefore(node, new Operation(
|
|
||||||
Instruction.Load,
|
|
||||||
StorageKind.ConstantBuffer,
|
|
||||||
offset,
|
|
||||||
Const(SupportBuffer.Binding),
|
|
||||||
Const((int)SupportBufferField.BufferTextureOffset),
|
|
||||||
Const(stageIndex * SupportBuffer.TextureCount + bindingIndex),
|
|
||||||
Const(isImage ? 1 : 0)));
|
|
||||||
|
|
||||||
node.List.AddBefore(node, new Operation(Instruction.Add, coordPlusOffset, source, offset));
|
|
||||||
|
|
||||||
sources[coordsIndex] = coordPlusOffset;
|
|
||||||
|
|
||||||
TextureOperation newTexOp = new(
|
|
||||||
texOp.Inst,
|
|
||||||
texOp.Type,
|
|
||||||
texOp.Format,
|
|
||||||
texOp.Flags,
|
|
||||||
texOp.Set,
|
|
||||||
texOp.Binding,
|
|
||||||
texOp.Index,
|
|
||||||
dests,
|
|
||||||
sources);
|
|
||||||
|
|
||||||
node = node.List.AddBefore(node, newTexOp);
|
|
||||||
|
|
||||||
Utils.DeleteNode(oldNode, texOp);
|
|
||||||
|
|
||||||
return node;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static LinkedListNode<INode> InsertConstOffsets(LinkedListNode<INode> node, ResourceManager resourceManager, IGpuAccessor gpuAccessor, ShaderStage stage)
|
private static LinkedListNode<INode> InsertConstOffsets(LinkedListNode<INode> node, ResourceManager resourceManager, IGpuAccessor gpuAccessor, ShaderStage stage)
|
||||||
{
|
{
|
||||||
// Non-constant texture offsets are not allowed (according to the spec),
|
// Non-constant texture offsets are not allowed (according to the spec),
|
||||||
|
|||||||
@@ -1020,6 +1020,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
public void SetMultisampleState(MultisampleDescriptor multisample)
|
public void SetMultisampleState(MultisampleDescriptor multisample)
|
||||||
{
|
{
|
||||||
_newState.AlphaToCoverageEnable = multisample.AlphaToCoverageEnable;
|
_newState.AlphaToCoverageEnable = multisample.AlphaToCoverageEnable;
|
||||||
|
|
||||||
_newState.AlphaToOneEnable = multisample.AlphaToOneEnable;
|
_newState.AlphaToOneEnable = multisample.AlphaToOneEnable;
|
||||||
|
|
||||||
SignalStateChange();
|
SignalStateChange();
|
||||||
|
|||||||
@@ -165,8 +165,8 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
|
|
||||||
public static PipelineState ToVulkanPipelineState(this ProgramPipelineState state, VulkanRenderer gd)
|
public static PipelineState ToVulkanPipelineState(this ProgramPipelineState state, VulkanRenderer gd)
|
||||||
{
|
{
|
||||||
PhysicalDeviceExtendedDynamicState2FeaturesEXT extendedDynamicState2 = gd.Capabilities.SupportsExtendedDynamicState2;
|
var extendedDynamicState2 = gd.Capabilities.SupportsExtendedDynamicState2;
|
||||||
bool extendedDynamicState = gd.Capabilities.SupportsExtendedDynamicState;
|
var extendedDynamicState = gd.Capabilities.SupportsExtendedDynamicState;
|
||||||
|
|
||||||
PipelineState pipeline = new();
|
PipelineState pipeline = new();
|
||||||
pipeline.Initialize(gd.Capabilities);
|
pipeline.Initialize(gd.Capabilities);
|
||||||
|
|||||||
@@ -296,10 +296,10 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Vk api = gd.Api;
|
var api = gd.Api;
|
||||||
ExtExtendedDynamicState extendedStateApi = gd.ExtendedDynamicStateApi;
|
var extendedStateApi = gd.ExtendedDynamicStateApi;
|
||||||
ExtExtendedDynamicState2 extendedState2Api = gd.ExtendedDynamicState2Api;
|
var extendedState2Api = gd.ExtendedDynamicState2Api;
|
||||||
ExtAttachmentFeedbackLoopDynamicState dynamicFeedbackLoopApi = gd.DynamicFeedbackLoopApi;
|
var dynamicFeedbackLoopApi = gd.DynamicFeedbackLoopApi;
|
||||||
|
|
||||||
DirtyFlags dirtyFlags = _dirty;
|
DirtyFlags dirtyFlags = _dirty;
|
||||||
|
|
||||||
|
|||||||
@@ -510,7 +510,7 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
|
|
||||||
if (physicalDevice.IsDeviceExtensionPresent(ExtExtendedDynamicState2.ExtensionName))
|
if (physicalDevice.IsDeviceExtensionPresent(ExtExtendedDynamicState2.ExtensionName))
|
||||||
{
|
{
|
||||||
PhysicalDeviceExtendedDynamicState2FeaturesEXT featuresExtendedDynamicState2 = new()
|
var featuresExtendedDynamicState2 = new PhysicalDeviceExtendedDynamicState2FeaturesEXT()
|
||||||
{
|
{
|
||||||
SType = StructureType.PhysicalDeviceExtendedDynamicState2FeaturesExt,
|
SType = StructureType.PhysicalDeviceExtendedDynamicState2FeaturesExt,
|
||||||
PNext = pExtendedFeatures,
|
PNext = pExtendedFeatures,
|
||||||
|
|||||||
@@ -801,7 +801,6 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
supportsGeometryShader: Capabilities.SupportsGeometryShader,
|
supportsGeometryShader: Capabilities.SupportsGeometryShader,
|
||||||
supportsGeometryShaderPassthrough: Capabilities.SupportsGeometryShaderPassthrough,
|
supportsGeometryShaderPassthrough: Capabilities.SupportsGeometryShaderPassthrough,
|
||||||
supportsTransformFeedback: Capabilities.SupportsTransformFeedback,
|
supportsTransformFeedback: Capabilities.SupportsTransformFeedback,
|
||||||
supportsImageBufferPixelAlignment: false,
|
|
||||||
supportsImageLoadFormatted: features2.Features.ShaderStorageImageReadWithoutFormat,
|
supportsImageLoadFormatted: features2.Features.ShaderStorageImageReadWithoutFormat,
|
||||||
supportsLayerVertexTessellation: featuresVk12.ShaderOutputLayer,
|
supportsLayerVertexTessellation: featuresVk12.ShaderOutputLayer,
|
||||||
supportsMismatchingViewFormat: true,
|
supportsMismatchingViewFormat: true,
|
||||||
@@ -815,7 +814,6 @@ namespace Ryujinx.Graphics.Vulkan
|
|||||||
supportsShaderNonUniformIndexing:
|
supportsShaderNonUniformIndexing:
|
||||||
featuresVk12.ShaderSampledImageArrayNonUniformIndexing &&
|
featuresVk12.ShaderSampledImageArrayNonUniformIndexing &&
|
||||||
featuresVk12.ShaderStorageImageArrayNonUniformIndexing,
|
featuresVk12.ShaderStorageImageArrayNonUniformIndexing,
|
||||||
supportsTextureBufferPixelAlignment: false,
|
|
||||||
supportsTextureGatherOffsets: features2.Features.ShaderImageGatherExtended,
|
supportsTextureGatherOffsets: features2.Features.ShaderImageGatherExtended,
|
||||||
supportsTextureShadowLod: false,
|
supportsTextureShadowLod: false,
|
||||||
supportsVertexStoreAndAtomics: features2.Features.VertexPipelineStoresAndAtomics,
|
supportsVertexStoreAndAtomics: features2.Features.VertexPipelineStoresAndAtomics,
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
|||||||
|
|
||||||
canvas.Clear(SKColors.Transparent);
|
canvas.Clear(SKColors.Transparent);
|
||||||
canvas.DrawRect(_panelRectangle, _panelBrush);
|
canvas.DrawRect(_panelRectangle, _panelBrush);
|
||||||
canvas.DrawBitmap(_ryujinxLogo, _logoPosition, new SKSamplingOptions(SKFilterMode.Linear));
|
canvas.DrawBitmap(_ryujinxLogo, _logoPosition);
|
||||||
|
|
||||||
float halfWidth = _panelRectangle.Width / 2;
|
float halfWidth = _panelRectangle.Width / 2;
|
||||||
float buttonsY = _panelRectangle.Top + 185;
|
float buttonsY = _panelRectangle.Top + 185;
|
||||||
|
|||||||
@@ -103,12 +103,8 @@ namespace Ryujinx.HLE.HOS.Services.Sdb.Pl
|
|||||||
loadedCount++;
|
loadedCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The first return value is a boolean "fonts_are_loaded" flag (u8), not a count.
|
|
||||||
// Some titles (e.g. newer SDK builds) validate it strictly against 1, so writing
|
|
||||||
// the font count here (e.g. 6) makes them reject the result and spin re-opening pl:u.
|
|
||||||
context.ResponseData.Write(1);
|
|
||||||
context.ResponseData.Write(loadedCount);
|
context.ResponseData.Write(loadedCount);
|
||||||
// context.ResponseData.Write((int)SharedFontType.Count);
|
context.ResponseData.Write((int)SharedFontType.Count);
|
||||||
|
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,13 +23,12 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Ryujinx.LibHac" />
|
<PackageReference Include="Ryujinx.LibHac" />
|
||||||
<PackageReference Include="ezhevita.ZstdSharp.Zbic" />
|
|
||||||
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
|
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
|
||||||
<PackageReference Include="MsgPack.Cli" />
|
<PackageReference Include="MsgPack.Cli" />
|
||||||
<PackageReference Include="SkiaSharp" />
|
<PackageReference Include="SkiaSharp" />
|
||||||
<PackageReference Include="SkiaSharp.NativeAssets.Linux" />
|
<PackageReference Include="SkiaSharp.NativeAssets.Linux" />
|
||||||
<PackageReference Include="NetCoreServer" />
|
<PackageReference Include="NetCoreServer" />
|
||||||
<PackageReference Include="Open.Nat.V2" />
|
<PackageReference Include="Open.NAT.Core" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -13,6 +13,5 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Concentus" />
|
<PackageReference Include="Concentus" />
|
||||||
<PackageReference Include="Ryujinx.LibHac" />
|
<PackageReference Include="Ryujinx.LibHac" />
|
||||||
<PackageReference Include="ezhevita.ZstdSharp.Zbic" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -189,15 +189,6 @@ namespace Ryujinx.Input.HLE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool InputUpdatesBlocked
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
lock (_lock)
|
|
||||||
return _blockInputUpdates;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void BlockInputUpdates()
|
public void BlockInputUpdates()
|
||||||
{
|
{
|
||||||
lock (_lock)
|
lock (_lock)
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
using Ryujinx.Ava.Utilities.Configuration.UI;
|
|
||||||
using Ryujinx.Common.Configuration;
|
using Ryujinx.Common.Configuration;
|
||||||
using Ryujinx.Common.Configuration.Hid;
|
using Ryujinx.Common.Configuration.Hid;
|
||||||
using Ryujinx.Common.Configuration.Multiplayer;
|
using Ryujinx.Common.Configuration.Multiplayer;
|
||||||
@@ -17,7 +16,7 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The current version of the file format
|
/// The current version of the file format
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const int CurrentVersion = 64;
|
public const int CurrentVersion = 61;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Version of the configuration file format
|
/// Version of the configuration file format
|
||||||
@@ -133,11 +132,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// Enables printing FS access log messages
|
/// Enables printing FS access log messages
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool LoggingEnableFsAccessLog { get; set; }
|
public bool LoggingEnableFsAccessLog { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Enables log messages from Avalonia
|
|
||||||
/// </summary>
|
|
||||||
public bool LoggingEnableAvalonia { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Controls which log messages are written to the log targets
|
/// Controls which log messages are written to the log targets
|
||||||
@@ -189,11 +183,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool CheckUpdatesOnStart { get; set; }
|
public bool CheckUpdatesOnStart { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// How the emulator should behave when you click off/on the window.
|
|
||||||
/// </summary>
|
|
||||||
public FocusLostType FocusLostActionType { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Show "Confirm Exit" Dialog
|
/// Show "Confirm Exit" Dialog
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -421,11 +410,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool EnableMouse { get; set; }
|
public bool EnableMouse { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Enable/disable the ability to control Ryujinx when it's not the currently focused window.
|
|
||||||
/// </summary>
|
|
||||||
public bool DisableInputWhenOutOfFocus { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hotkey Keyboard Bindings
|
/// Hotkey Keyboard Bindings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
using Ryujinx.Ava.Utilities.Configuration.UI;
|
|
||||||
using Ryujinx.Common;
|
using Ryujinx.Common;
|
||||||
using Ryujinx.Common.Configuration;
|
using Ryujinx.Common.Configuration;
|
||||||
using Ryujinx.Common.Configuration.Hid;
|
using Ryujinx.Common.Configuration.Hid;
|
||||||
@@ -271,11 +270,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public ReactiveObject<bool> EnableFsAccessLog { get; private set; }
|
public ReactiveObject<bool> EnableFsAccessLog { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Enables log messages from Avalonia
|
|
||||||
/// </summary>
|
|
||||||
public ReactiveObject<bool> EnableAvaloniaLog { get; private set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Controls which log messages are written to the log targets
|
/// Controls which log messages are written to the log targets
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -301,7 +295,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
EnableTrace = new ReactiveObject<bool>();
|
EnableTrace = new ReactiveObject<bool>();
|
||||||
EnableGuest = new ReactiveObject<bool>();
|
EnableGuest = new ReactiveObject<bool>();
|
||||||
EnableFsAccessLog = new ReactiveObject<bool>();
|
EnableFsAccessLog = new ReactiveObject<bool>();
|
||||||
EnableAvaloniaLog = new ReactiveObject<bool>();
|
|
||||||
FilteredClasses = new ReactiveObject<LogClass[]>();
|
FilteredClasses = new ReactiveObject<LogClass[]>();
|
||||||
EnableFileLog = new ReactiveObject<bool>();
|
EnableFileLog = new ReactiveObject<bool>();
|
||||||
EnableFileLog.Event += static (_, e) => LogValueChange(e, nameof(EnableFileLog));
|
EnableFileLog.Event += static (_, e) => LogValueChange(e, nameof(EnableFileLog));
|
||||||
@@ -478,11 +471,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public ReactiveObject<bool> EnableMouse { get; private set; }
|
public ReactiveObject<bool> EnableMouse { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Enable/disable the ability to control Ryujinx when it's not the currently focused window.
|
|
||||||
/// </summary>
|
|
||||||
public ReactiveObject<bool> DisableInputWhenOutOfFocus { get; private set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hotkey Keyboard Bindings
|
/// Hotkey Keyboard Bindings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -499,7 +487,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
{
|
{
|
||||||
EnableKeyboard = new ReactiveObject<bool>();
|
EnableKeyboard = new ReactiveObject<bool>();
|
||||||
EnableMouse = new ReactiveObject<bool>();
|
EnableMouse = new ReactiveObject<bool>();
|
||||||
DisableInputWhenOutOfFocus = new ReactiveObject<bool>();
|
|
||||||
Hotkeys = new ReactiveObject<KeyboardHotkeys>();
|
Hotkeys = new ReactiveObject<KeyboardHotkeys>();
|
||||||
InputConfig = new ReactiveObject<List<InputConfig>>();
|
InputConfig = new ReactiveObject<List<InputConfig>>();
|
||||||
}
|
}
|
||||||
@@ -792,11 +779,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public ReactiveObject<bool> CheckUpdatesOnStart { get; private set; }
|
public ReactiveObject<bool> CheckUpdatesOnStart { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// How the emulator should behave when you click off/on the window.
|
|
||||||
/// </summary>
|
|
||||||
public ReactiveObject<FocusLostType> FocusLostActionType { get; private set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Show "Confirm Exit" Dialog
|
/// Show "Confirm Exit" Dialog
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -828,7 +810,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
Debug = new DebugSection();
|
Debug = new DebugSection();
|
||||||
EnableDiscordIntegration = new ReactiveObject<bool>();
|
EnableDiscordIntegration = new ReactiveObject<bool>();
|
||||||
CheckUpdatesOnStart = new ReactiveObject<bool>();
|
CheckUpdatesOnStart = new ReactiveObject<bool>();
|
||||||
FocusLostActionType = new ReactiveObject<FocusLostType>();
|
|
||||||
ShowConfirmExit = new ReactiveObject<bool>();
|
ShowConfirmExit = new ReactiveObject<bool>();
|
||||||
RememberWindowState = new ReactiveObject<bool>();
|
RememberWindowState = new ReactiveObject<bool>();
|
||||||
EnableHardwareAcceleration = new ReactiveObject<bool>();
|
EnableHardwareAcceleration = new ReactiveObject<bool>();
|
||||||
@@ -864,7 +845,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
LoggingEnableFsAccessLog = Logger.EnableFsAccessLog,
|
LoggingEnableFsAccessLog = Logger.EnableFsAccessLog,
|
||||||
LoggingFilteredClasses = Logger.FilteredClasses,
|
LoggingFilteredClasses = Logger.FilteredClasses,
|
||||||
LoggingGraphicsDebugLevel = Logger.GraphicsDebugLevel,
|
LoggingGraphicsDebugLevel = Logger.GraphicsDebugLevel,
|
||||||
LoggingEnableAvalonia = Logger.EnableAvaloniaLog,
|
|
||||||
SystemLanguage = System.Language,
|
SystemLanguage = System.Language,
|
||||||
SystemRegion = System.Region,
|
SystemRegion = System.Region,
|
||||||
SystemTimeZone = System.TimeZone,
|
SystemTimeZone = System.TimeZone,
|
||||||
@@ -873,7 +853,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
DockedMode = System.EnableDockedMode,
|
DockedMode = System.EnableDockedMode,
|
||||||
EnableDiscordIntegration = EnableDiscordIntegration,
|
EnableDiscordIntegration = EnableDiscordIntegration,
|
||||||
CheckUpdatesOnStart = CheckUpdatesOnStart,
|
CheckUpdatesOnStart = CheckUpdatesOnStart,
|
||||||
FocusLostActionType = FocusLostActionType,
|
|
||||||
ShowConfirmExit = ShowConfirmExit,
|
ShowConfirmExit = ShowConfirmExit,
|
||||||
RememberWindowState = RememberWindowState,
|
RememberWindowState = RememberWindowState,
|
||||||
EnableHardwareAcceleration = EnableHardwareAcceleration,
|
EnableHardwareAcceleration = EnableHardwareAcceleration,
|
||||||
@@ -951,7 +930,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
ShowConsole = UI.ShowConsole,
|
ShowConsole = UI.ShowConsole,
|
||||||
EnableKeyboard = Hid.EnableKeyboard,
|
EnableKeyboard = Hid.EnableKeyboard,
|
||||||
EnableMouse = Hid.EnableMouse,
|
EnableMouse = Hid.EnableMouse,
|
||||||
DisableInputWhenOutOfFocus = Hid.DisableInputWhenOutOfFocus,
|
|
||||||
Hotkeys = Hid.Hotkeys,
|
Hotkeys = Hid.Hotkeys,
|
||||||
KeyboardConfig = [],
|
KeyboardConfig = [],
|
||||||
ControllerConfig = [],
|
ControllerConfig = [],
|
||||||
@@ -996,14 +974,12 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
Logger.EnableFsAccessLog.Value = false;
|
Logger.EnableFsAccessLog.Value = false;
|
||||||
Logger.FilteredClasses.Value = [];
|
Logger.FilteredClasses.Value = [];
|
||||||
Logger.GraphicsDebugLevel.Value = GraphicsDebugLevel.None;
|
Logger.GraphicsDebugLevel.Value = GraphicsDebugLevel.None;
|
||||||
Logger.EnableAvaloniaLog.Value = false;
|
|
||||||
System.Language.Value = Language.AmericanEnglish;
|
System.Language.Value = Language.AmericanEnglish;
|
||||||
System.Region.Value = Region.USA;
|
System.Region.Value = Region.USA;
|
||||||
System.TimeZone.Value = "UTC";
|
System.TimeZone.Value = "UTC";
|
||||||
System.SystemTimeOffset.Value = 0;
|
System.SystemTimeOffset.Value = 0;
|
||||||
System.EnableDockedMode.Value = true;
|
System.EnableDockedMode.Value = true;
|
||||||
EnableDiscordIntegration.Value = true;
|
EnableDiscordIntegration.Value = true;
|
||||||
FocusLostActionType.Value = FocusLostType.DoNothing;
|
|
||||||
CheckUpdatesOnStart.Value = true;
|
CheckUpdatesOnStart.Value = true;
|
||||||
ShowConfirmExit.Value = true;
|
ShowConfirmExit.Value = true;
|
||||||
RememberWindowState.Value = true;
|
RememberWindowState.Value = true;
|
||||||
@@ -1074,8 +1050,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
UI.WindowStartup.WindowMaximized.Value = false;
|
UI.WindowStartup.WindowMaximized.Value = false;
|
||||||
Hid.EnableKeyboard.Value = false;
|
Hid.EnableKeyboard.Value = false;
|
||||||
Hid.EnableMouse.Value = false;
|
Hid.EnableMouse.Value = false;
|
||||||
Hid.DisableInputWhenOutOfFocus.Value = false;
|
|
||||||
|
|
||||||
Hid.Hotkeys.Value = new KeyboardHotkeys
|
Hid.Hotkeys.Value = new KeyboardHotkeys
|
||||||
{
|
{
|
||||||
ToggleVSyncMode = Key.F1,
|
ToggleVSyncMode = Key.F1,
|
||||||
@@ -1832,35 +1806,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
configurationFileUpdated = true;
|
configurationFileUpdated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (configurationFileFormat.Version < 62)
|
|
||||||
{
|
|
||||||
Ryujinx.Common.Logging.Logger.Warning?.Print(LogClass.Application, $"Outdated configuration version {configurationFileFormat.Version}, migrating to version 62.");
|
|
||||||
|
|
||||||
configurationFileFormat.LoggingEnableAvalonia = false;
|
|
||||||
|
|
||||||
configurationFileUpdated = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (configurationFileFormat.Version < 63)
|
|
||||||
{
|
|
||||||
Ryujinx.Common.Logging.Logger.Warning?.Print(LogClass.Application, $"Outdated configuration version {configurationFileFormat.Version}, migrating to version 63.");
|
|
||||||
|
|
||||||
configurationFileFormat.DisableInputWhenOutOfFocus = false;
|
|
||||||
|
|
||||||
configurationFileUpdated = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (configurationFileFormat.Version < 64)
|
|
||||||
{
|
|
||||||
Ryujinx.Common.Logging.Logger.Warning?.Print(LogClass.Application, $"Outdated configuration version {configurationFileFormat.Version}, migrating to version 64.");
|
|
||||||
|
|
||||||
configurationFileFormat.FocusLostActionType = configurationFileFormat.DisableInputWhenOutOfFocus
|
|
||||||
? FocusLostType.BlockInput
|
|
||||||
: FocusLostType.DoNothing;
|
|
||||||
|
|
||||||
configurationFileUpdated = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
Logger.EnableFileLog.Value = configurationFileFormat.EnableFileLog;
|
Logger.EnableFileLog.Value = configurationFileFormat.EnableFileLog;
|
||||||
Graphics.ResScale.Value = configurationFileFormat.ResScale;
|
Graphics.ResScale.Value = configurationFileFormat.ResScale;
|
||||||
Graphics.ResScaleCustom.Value = configurationFileFormat.ResScaleCustom;
|
Graphics.ResScaleCustom.Value = configurationFileFormat.ResScaleCustom;
|
||||||
@@ -1878,7 +1823,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
Graphics.ScalingFilter.Value = configurationFileFormat.ScalingFilter;
|
Graphics.ScalingFilter.Value = configurationFileFormat.ScalingFilter;
|
||||||
Graphics.ScalingFilterLevel.Value = configurationFileFormat.ScalingFilterLevel;
|
Graphics.ScalingFilterLevel.Value = configurationFileFormat.ScalingFilterLevel;
|
||||||
Logger.EnableDebug.Value = configurationFileFormat.LoggingEnableDebug;
|
Logger.EnableDebug.Value = configurationFileFormat.LoggingEnableDebug;
|
||||||
Logger.EnableAvaloniaLog.Value = configurationFileFormat.LoggingEnableAvalonia;
|
|
||||||
Logger.EnableStub.Value = configurationFileFormat.LoggingEnableStub;
|
Logger.EnableStub.Value = configurationFileFormat.LoggingEnableStub;
|
||||||
Logger.EnableInfo.Value = configurationFileFormat.LoggingEnableInfo;
|
Logger.EnableInfo.Value = configurationFileFormat.LoggingEnableInfo;
|
||||||
Logger.EnableWarn.Value = configurationFileFormat.LoggingEnableWarn;
|
Logger.EnableWarn.Value = configurationFileFormat.LoggingEnableWarn;
|
||||||
@@ -1896,7 +1840,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
System.EnableDockedMode.Value = configurationFileFormat.DockedMode;
|
System.EnableDockedMode.Value = configurationFileFormat.DockedMode;
|
||||||
EnableDiscordIntegration.Value = configurationFileFormat.EnableDiscordIntegration;
|
EnableDiscordIntegration.Value = configurationFileFormat.EnableDiscordIntegration;
|
||||||
CheckUpdatesOnStart.Value = configurationFileFormat.CheckUpdatesOnStart;
|
CheckUpdatesOnStart.Value = configurationFileFormat.CheckUpdatesOnStart;
|
||||||
FocusLostActionType.Value = configurationFileFormat.FocusLostActionType;
|
|
||||||
ShowConfirmExit.Value = configurationFileFormat.ShowConfirmExit;
|
ShowConfirmExit.Value = configurationFileFormat.ShowConfirmExit;
|
||||||
RememberWindowState.Value = configurationFileFormat.RememberWindowState;
|
RememberWindowState.Value = configurationFileFormat.RememberWindowState;
|
||||||
EnableHardwareAcceleration.Value = configurationFileFormat.EnableHardwareAcceleration;
|
EnableHardwareAcceleration.Value = configurationFileFormat.EnableHardwareAcceleration;
|
||||||
@@ -1961,7 +1904,6 @@ namespace Ryujinx.UI.Common.Configuration
|
|||||||
UI.WindowStartup.WindowMaximized.Value = configurationFileFormat.WindowStartup.WindowMaximized;
|
UI.WindowStartup.WindowMaximized.Value = configurationFileFormat.WindowStartup.WindowMaximized;
|
||||||
Hid.EnableKeyboard.Value = configurationFileFormat.EnableKeyboard;
|
Hid.EnableKeyboard.Value = configurationFileFormat.EnableKeyboard;
|
||||||
Hid.EnableMouse.Value = configurationFileFormat.EnableMouse;
|
Hid.EnableMouse.Value = configurationFileFormat.EnableMouse;
|
||||||
Hid.DisableInputWhenOutOfFocus.Value = configurationFileFormat.DisableInputWhenOutOfFocus;
|
|
||||||
Hid.Hotkeys.Value = configurationFileFormat.Hotkeys;
|
Hid.Hotkeys.Value = configurationFileFormat.Hotkeys;
|
||||||
Hid.InputConfig.Value = configurationFileFormat.InputConfig;
|
Hid.InputConfig.Value = configurationFileFormat.InputConfig;
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Utilities.Configuration.UI
|
|
||||||
{
|
|
||||||
[JsonConverter(typeof(JsonStringEnumConverter<FocusLostType>))]
|
|
||||||
public enum FocusLostType
|
|
||||||
{
|
|
||||||
DoNothing,
|
|
||||||
BlockInput,
|
|
||||||
MuteAudio,
|
|
||||||
BlockInputAndMuteAudio,
|
|
||||||
PauseEmulation
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -24,8 +24,6 @@ namespace Ryujinx.Ava
|
|||||||
{
|
{
|
||||||
public class App : Application
|
public class App : Application
|
||||||
{
|
{
|
||||||
public static event Action ThemeChanged;
|
|
||||||
|
|
||||||
public static MainWindow MainWindow => Current!
|
public static MainWindow MainWindow => Current!
|
||||||
.ApplicationLifetime.Cast<IClassicDesktopStyleApplicationLifetime>()
|
.ApplicationLifetime.Cast<IClassicDesktopStyleApplicationLifetime>()
|
||||||
.MainWindow.Cast<MainWindow>();
|
.MainWindow.Cast<MainWindow>();
|
||||||
@@ -124,7 +122,7 @@ namespace Ryujinx.Ava
|
|||||||
|
|
||||||
ThemeVariant systemTheme = DetectSystemTheme();
|
ThemeVariant systemTheme = DetectSystemTheme();
|
||||||
|
|
||||||
ThemeChanged?.Invoke();
|
ThemeManager.OnThemeChanged();
|
||||||
|
|
||||||
RequestedThemeVariant = baseStyle switch
|
RequestedThemeVariant = baseStyle switch
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -452,7 +452,7 @@ namespace Ryujinx.Ava
|
|||||||
SKMatrix matrix = SKMatrix.CreateScale(scaleX, scaleY, bitmap.Width / 2f, bitmap.Height / 2f);
|
SKMatrix matrix = SKMatrix.CreateScale(scaleX, scaleY, bitmap.Width / 2f, bitmap.Height / 2f);
|
||||||
|
|
||||||
canvas.SetMatrix(matrix);
|
canvas.SetMatrix(matrix);
|
||||||
canvas.DrawBitmap(bitmap, SKPoint.Empty, new SKSamplingOptions(SKFilterMode.Linear));
|
canvas.DrawBitmap(bitmap, SKPoint.Empty);
|
||||||
|
|
||||||
SaveBitmapAsPng(bitmapToSave, path);
|
SaveBitmapAsPng(bitmapToSave, path);
|
||||||
|
|
||||||
@@ -530,7 +530,7 @@ namespace Ryujinx.Ava
|
|||||||
Device?.System.ChangeDockedModeState(e.NewValue);
|
Device?.System.ChangeDockedModeState(e.NewValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateAudioVolumeState(object sender, ReactiveEventArgs<float> e)
|
private void UpdateAudioVolumeState(object sender, ReactiveEventArgs<float> e)
|
||||||
{
|
{
|
||||||
Device?.SetVolume(e.NewValue);
|
Device?.SetVolume(e.NewValue);
|
||||||
|
|
||||||
|
|||||||
@@ -105,12 +105,6 @@
|
|||||||
"SettingsTabGeneralGeneral": "عام",
|
"SettingsTabGeneralGeneral": "عام",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "تمكين وجود ديسكورد الغني",
|
"SettingsTabGeneralEnableDiscordRichPresence": "تمكين وجود ديسكورد الغني",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "التحقق من وجود تحديثات عند التشغيل",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "التحقق من وجود تحديثات عند التشغيل",
|
||||||
"SettingsTabGeneralFocusLossType": "عند فقدان تركيز المحاكي:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "لا تفعل شيئًا",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "حظر الإدخال",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "كتم الصوت",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "حظر الإدخال وكتم الصوت",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "إيقاف التشغيل مؤقتًا",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "إظهار مربع حوار \"تأكيد الخروج\"",
|
"SettingsTabGeneralShowConfirmExitDialog": "إظهار مربع حوار \"تأكيد الخروج\"",
|
||||||
"SettingsTabGeneralRememberWindowState": "تذكر حجم/موضع النافذة",
|
"SettingsTabGeneralRememberWindowState": "تذكر حجم/موضع النافذة",
|
||||||
"SettingsTabGeneralHideCursor": "إخفاء المؤشر:",
|
"SettingsTabGeneralHideCursor": "إخفاء المؤشر:",
|
||||||
|
|||||||
@@ -106,15 +106,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "Allgemein",
|
"SettingsTabGeneralGeneral": "Allgemein",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Aktiviere die Statusanzeige für Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Aktiviere die Statusanzeige für Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Beim Start nach Updates suchen",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Beim Start nach Updates suchen",
|
||||||
"SettingsTabGeneralFocusLossType": "Beim Emulator-Fokusverlust:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "لNichts tun",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Eingabe blockieren",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Lautstärke stumm",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Eingabe blockieren & Ton stumm",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "إEmulation pausieren",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Zeige den \"Beenden bestätigen\"-Dialog",
|
"SettingsTabGeneralShowConfirmExitDialog": "Zeige den \"Beenden bestätigen\"-Dialog",
|
||||||
"SettingsTabGeneralRememberWindowState": "Fenstergröße/-position merken",
|
"SettingsTabGeneralRememberWindowState": "Fenstergröße/-position merken",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Eingabe deaktivieren wenn nicht fokussiert",
|
|
||||||
"SettingsTabGeneralHideCursor": "Mauszeiger ausblenden",
|
"SettingsTabGeneralHideCursor": "Mauszeiger ausblenden",
|
||||||
"SettingsTabGeneralHideCursorNever": "Niemals",
|
"SettingsTabGeneralHideCursorNever": "Niemals",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "Mauszeiger bei Inaktivität ausblenden",
|
"SettingsTabGeneralHideCursorOnIdle": "Mauszeiger bei Inaktivität ausblenden",
|
||||||
@@ -214,7 +207,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Verlangsamungen",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Verlangsamungen",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Alle",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Alle",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Aktiviere Debug-Log",
|
"SettingsTabLoggingEnableDebugLogs": "Aktiviere Debug-Log",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "UI-Logs aktivieren",
|
|
||||||
"SettingsTabInput": "Eingabe",
|
"SettingsTabInput": "Eingabe",
|
||||||
"SettingsTabInputEnableDockedMode": "Angedockter Modus",
|
"SettingsTabInputEnableDockedMode": "Angedockter Modus",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Direkter Tastaturzugriff",
|
"SettingsTabInputDirectKeyboardAccess": "Direkter Tastaturzugriff",
|
||||||
@@ -629,7 +621,6 @@
|
|||||||
"DeveloperOptionTooltip": "Mit Vorsicht verwenden",
|
"DeveloperOptionTooltip": "Mit Vorsicht verwenden",
|
||||||
"OpenGlLogLevel": "Erfordert die Aktivierung der entsprechenden Log-Level",
|
"OpenGlLogLevel": "Erfordert die Aktivierung der entsprechenden Log-Level",
|
||||||
"DebugLogTooltip": "Ausgabe von Debug-Logs in der Konsole.\n\nVerwende diese Option nur auf ausdrückliche Anweisung von Ryujinx Entwicklern, da sie das Lesen der Protokolle erschwert und die Leistung des Emulators verschlechtert.",
|
"DebugLogTooltip": "Ausgabe von Debug-Logs in der Konsole.\n\nVerwende diese Option nur auf ausdrückliche Anweisung von Ryujinx Entwicklern, da sie das Lesen der Protokolle erschwert und die Leistung des Emulators verschlechtert.",
|
||||||
"AvaloniaLogTooltip": "Druckt Avalonia (UI) Logmeldungen in die Konsole.",
|
|
||||||
"LoadApplicationFileTooltip": "Öffnet die Dateiauswahl um Datei zu laden, welche mit der Switch kompatibel ist",
|
"LoadApplicationFileTooltip": "Öffnet die Dateiauswahl um Datei zu laden, welche mit der Switch kompatibel ist",
|
||||||
"LoadApplicationFolderTooltip": "Öffnet die Dateiauswahl um ein Spiel zu laden, welches mit der Switch kompatibel ist",
|
"LoadApplicationFolderTooltip": "Öffnet die Dateiauswahl um ein Spiel zu laden, welches mit der Switch kompatibel ist",
|
||||||
"OpenRyujinxFolderTooltip": "Öffnet den Ordner, der das Ryujinx Dateisystem enthält",
|
"OpenRyujinxFolderTooltip": "Öffnet den Ordner, der das Ryujinx Dateisystem enthält",
|
||||||
|
|||||||
@@ -105,12 +105,6 @@
|
|||||||
"SettingsTabGeneralGeneral": "Γενικά",
|
"SettingsTabGeneralGeneral": "Γενικά",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Ενεργοποίηση Εμπλουτισμένης Παρουσίας Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Ενεργοποίηση Εμπλουτισμένης Παρουσίας Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Έλεγχος για Ενημερώσεις στην Εκκίνηση",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Έλεγχος για Ενημερώσεις στην Εκκίνηση",
|
||||||
"SettingsTabGeneralFocusLossType": "Απώλεια εστίασης του εξομοιωτή:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Μη κάνεις τίποτα",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Αποκλεισμός εισόδου",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Σίγαση έντασης",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Αποκλεισμός εισόδου & σίγαση ήχου",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Παύση προσομοίωσης",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Εμφάνιση διαλόγου \"Επιβεβαίωση Εξόδου\".",
|
"SettingsTabGeneralShowConfirmExitDialog": "Εμφάνιση διαλόγου \"Επιβεβαίωση Εξόδου\".",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralHideCursor": "Απόκρυψη Κέρσορα:",
|
"SettingsTabGeneralHideCursor": "Απόκρυψη Κέρσορα:",
|
||||||
|
|||||||
@@ -113,15 +113,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "General",
|
"SettingsTabGeneralGeneral": "General",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Enable Discord Rich Presence",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Enable Discord Rich Presence",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Check for Updates on Launch",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Check for Updates on Launch",
|
||||||
"SettingsTabGeneralFocusLossType": "On Emulator Focus Loss:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Do Nothing",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Block Input",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Mute Volume",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Block Input & Mute Volume",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Pause Emulation",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Show \"Confirm Exit\" Dialog",
|
"SettingsTabGeneralShowConfirmExitDialog": "Show \"Confirm Exit\" Dialog",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Disable Input when Out of Focus",
|
|
||||||
"SettingsTabGeneralHideCursor": "Hide Cursor:",
|
"SettingsTabGeneralHideCursor": "Hide Cursor:",
|
||||||
"SettingsTabGeneralHideCursorNever": "Never",
|
"SettingsTabGeneralHideCursorNever": "Never",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "On Idle",
|
"SettingsTabGeneralHideCursorOnIdle": "On Idle",
|
||||||
@@ -244,7 +237,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Slowdowns",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Slowdowns",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "All",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "All",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Enable Debug Logs",
|
"SettingsTabLoggingEnableDebugLogs": "Enable Debug Logs",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Enable UI Logs",
|
|
||||||
"SettingsTabInput": "Input",
|
"SettingsTabInput": "Input",
|
||||||
"SettingsTabInputEnableDockedMode": "Docked Mode",
|
"SettingsTabInputEnableDockedMode": "Docked Mode",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Direct Keyboard Access",
|
"SettingsTabInputDirectKeyboardAccess": "Direct Keyboard Access",
|
||||||
@@ -675,7 +667,6 @@
|
|||||||
"DeveloperOptionTooltip": "Use with care",
|
"DeveloperOptionTooltip": "Use with care",
|
||||||
"OpenGlLogLevel": "Requires appropriate log levels enabled",
|
"OpenGlLogLevel": "Requires appropriate log levels enabled",
|
||||||
"DebugLogTooltip": "Prints debug log messages in the console.\n\nOnly use this if specifically instructed by a staff member, as it will make logs difficult to read and worsen emulator performance.",
|
"DebugLogTooltip": "Prints debug log messages in the console.\n\nOnly use this if specifically instructed by a staff member, as it will make logs difficult to read and worsen emulator performance.",
|
||||||
"AvaloniaLogTooltip": "Prints Avalonia (UI) log messages in the console.",
|
|
||||||
"LoadApplicationFileTooltip": "Open a file explorer to choose a Switch compatible file to load",
|
"LoadApplicationFileTooltip": "Open a file explorer to choose a Switch compatible file to load",
|
||||||
"LoadApplicationFolderTooltip": "Open a file explorer to choose a Switch compatible, unpacked application to load",
|
"LoadApplicationFolderTooltip": "Open a file explorer to choose a Switch compatible, unpacked application to load",
|
||||||
"LoadDlcFromFolderTooltip": "Open a file explorer to choose one or more folders to bulk load DLC from",
|
"LoadDlcFromFolderTooltip": "Open a file explorer to choose one or more folders to bulk load DLC from",
|
||||||
|
|||||||
@@ -105,15 +105,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "General",
|
"SettingsTabGeneralGeneral": "General",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Habilitar estado en Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Habilitar estado en Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Buscar actualizaciones al iniciar",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Buscar actualizaciones al iniciar",
|
||||||
"SettingsTabGeneralFocusLossType": "Al Perder el Foco el Emulador:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "No Hacer Nada",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Bloquear Entrada",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Silenciar Volumen",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Bloquear Entrada y Silenciar el Volumen",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Pausar Emulación",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Mostrar diálogo de confirmación al cerrar",
|
"SettingsTabGeneralShowConfirmExitDialog": "Mostrar diálogo de confirmación al cerrar",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Desactivar la Entrada al Perder el Foco",
|
|
||||||
"SettingsTabGeneralHideCursor": "Esconder el cursor:",
|
"SettingsTabGeneralHideCursor": "Esconder el cursor:",
|
||||||
"SettingsTabGeneralHideCursorNever": "Nunca",
|
"SettingsTabGeneralHideCursorNever": "Nunca",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "Ocultar cursor cuando esté inactivo",
|
"SettingsTabGeneralHideCursorOnIdle": "Ocultar cursor cuando esté inactivo",
|
||||||
@@ -213,7 +206,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Ralentizaciones",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Ralentizaciones",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Todo",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Todo",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Habilitar registros de debug",
|
"SettingsTabLoggingEnableDebugLogs": "Habilitar registros de debug",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Habilitar Registros UI",
|
|
||||||
"SettingsTabInput": "Entrada",
|
"SettingsTabInput": "Entrada",
|
||||||
"SettingsTabInputEnableDockedMode": "Modo dock/TV",
|
"SettingsTabInputEnableDockedMode": "Modo dock/TV",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Acceso directo al teclado",
|
"SettingsTabInputDirectKeyboardAccess": "Acceso directo al teclado",
|
||||||
@@ -628,7 +620,6 @@
|
|||||||
"DeveloperOptionTooltip": "Usar con cuidado",
|
"DeveloperOptionTooltip": "Usar con cuidado",
|
||||||
"OpenGlLogLevel": "Requiere activar los niveles de registro apropiados",
|
"OpenGlLogLevel": "Requiere activar los niveles de registro apropiados",
|
||||||
"DebugLogTooltip": "Escribe mensajes de debug en la consola\n\nActiva esto solo si un miembro del equipo te lo pide expresamente, pues hará que el registro sea difícil de leer y empeorará el rendimiento del emulador.",
|
"DebugLogTooltip": "Escribe mensajes de debug en la consola\n\nActiva esto solo si un miembro del equipo te lo pide expresamente, pues hará que el registro sea difícil de leer y empeorará el rendimiento del emulador.",
|
||||||
"AvaloniaLogTooltip": "Muestra los mensajes del registro de Avalonia (UI) en la consola.",
|
|
||||||
"LoadApplicationFileTooltip": "Abre el explorador de archivos para elegir un archivo compatible con Switch para cargar",
|
"LoadApplicationFileTooltip": "Abre el explorador de archivos para elegir un archivo compatible con Switch para cargar",
|
||||||
"LoadApplicationFolderTooltip": "Abre el explorador de archivos para elegir un archivo desempaquetado y compatible con Switch para cargar",
|
"LoadApplicationFolderTooltip": "Abre el explorador de archivos para elegir un archivo desempaquetado y compatible con Switch para cargar",
|
||||||
"OpenRyujinxFolderTooltip": "Abre la carpeta de sistema de Ryujinx",
|
"OpenRyujinxFolderTooltip": "Abre la carpeta de sistema de Ryujinx",
|
||||||
|
|||||||
@@ -105,15 +105,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "Général",
|
"SettingsTabGeneralGeneral": "Général",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Activer Discord Rich Presence",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Activer Discord Rich Presence",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Vérifier les mises à jour au démarrage",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Vérifier les mises à jour au démarrage",
|
||||||
"SettingsTabGeneralFocusLossType": "Perte du Focus de l’Émulateur:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Ne Rien Faire",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Bloquer la Saisie",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Couper le Son",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Bloquer la Saisie & Couper le Son",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Pauser l'Émulation",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Afficher le message de \"Confirmation de sortie\"",
|
"SettingsTabGeneralShowConfirmExitDialog": "Afficher le message de \"Confirmation de sortie\"",
|
||||||
"SettingsTabGeneralRememberWindowState": "Mémoriser la taille/position de la fenêtre",
|
"SettingsTabGeneralRememberWindowState": "Mémoriser la taille/position de la fenêtre",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Désactiver la Saisie en cas de Perte de Focus",
|
|
||||||
"SettingsTabGeneralHideCursor": "Masquer le Curseur :",
|
"SettingsTabGeneralHideCursor": "Masquer le Curseur :",
|
||||||
"SettingsTabGeneralHideCursorNever": "Jamais",
|
"SettingsTabGeneralHideCursorNever": "Jamais",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "Masquer le curseur si inactif",
|
"SettingsTabGeneralHideCursorOnIdle": "Masquer le curseur si inactif",
|
||||||
@@ -215,7 +208,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Ralentissements",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Ralentissements",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Tout",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Tout",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Activer les journaux de debug",
|
"SettingsTabLoggingEnableDebugLogs": "Activer les journaux de debug",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Activer les Journaux de l'Interface Utilisateur",
|
|
||||||
"SettingsTabInput": "Contrôles",
|
"SettingsTabInput": "Contrôles",
|
||||||
"SettingsTabInputEnableDockedMode": "Active le mode station d'accueil",
|
"SettingsTabInputEnableDockedMode": "Active le mode station d'accueil",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Accès direct au clavier",
|
"SettingsTabInputDirectKeyboardAccess": "Accès direct au clavier",
|
||||||
@@ -631,7 +623,6 @@
|
|||||||
"DeveloperOptionTooltip": "Utiliser avec précaution",
|
"DeveloperOptionTooltip": "Utiliser avec précaution",
|
||||||
"OpenGlLogLevel": "Nécessite l'activation des niveaux de journalisation appropriés",
|
"OpenGlLogLevel": "Nécessite l'activation des niveaux de journalisation appropriés",
|
||||||
"DebugLogTooltip": "Affiche les messages de débogage dans la console.\n\nN'utilisez ceci que si un membre du personnel le demande, car cela rendra les logs difficiles à lire et réduit les performances de l'émulateur.",
|
"DebugLogTooltip": "Affiche les messages de débogage dans la console.\n\nN'utilisez ceci que si un membre du personnel le demande, car cela rendra les logs difficiles à lire et réduit les performances de l'émulateur.",
|
||||||
"AvaloniaLogTooltip": "Affiche les journaux Avalonia (Interface Utilisateur) dans la console.",
|
|
||||||
"LoadApplicationFileTooltip": "Ouvrir un explorateur de fichiers pour choisir un fichier compatible Switch à charger",
|
"LoadApplicationFileTooltip": "Ouvrir un explorateur de fichiers pour choisir un fichier compatible Switch à charger",
|
||||||
"LoadApplicationFolderTooltip": "Ouvrir un explorateur de fichiers pour choisir une application Switch compatible et décompressée à charger",
|
"LoadApplicationFolderTooltip": "Ouvrir un explorateur de fichiers pour choisir une application Switch compatible et décompressée à charger",
|
||||||
"OpenRyujinxFolderTooltip": "Ouvrir le dossier du système de fichiers Ryujinx",
|
"OpenRyujinxFolderTooltip": "Ouvrir le dossier du système de fichiers Ryujinx",
|
||||||
|
|||||||
@@ -105,12 +105,6 @@
|
|||||||
"SettingsTabGeneralGeneral": "כללי",
|
"SettingsTabGeneralGeneral": "כללי",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "הפעלת תצוגה עשירה בדיסקורד",
|
"SettingsTabGeneralEnableDiscordRichPresence": "הפעלת תצוגה עשירה בדיסקורד",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "בדוק אם קיימים עדכונים בהפעלה",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "בדוק אם קיימים עדכונים בהפעלה",
|
||||||
"SettingsTabGeneralFocusLossType": "כאשר האמולטור מאבד את הפוקוס:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "לא לעשות כלום",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "חסום קלט",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "כבה את הווליום",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "חסום קלט וכבה קול",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "השהיית האמולציה",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "הראה דיאלוג \"אשר יציאה\"",
|
"SettingsTabGeneralShowConfirmExitDialog": "הראה דיאלוג \"אשר יציאה\"",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralHideCursor": "הסתר את הסמן",
|
"SettingsTabGeneralHideCursor": "הסתר את הסמן",
|
||||||
|
|||||||
@@ -112,15 +112,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "Generali",
|
"SettingsTabGeneralGeneral": "Generali",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Attiva Discord Rich Presence",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Attiva Discord Rich Presence",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Controlla aggiornamenti all'avvio",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Controlla aggiornamenti all'avvio",
|
||||||
"SettingsTabGeneralFocusLossType": "Quando l’emulatore perde focus:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Non fare nulla",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Blocca input",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Disattiva volume",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Blocca input & silenzia volume",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Pausa emulazione",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Mostra dialogo \"Conferma Uscita\"",
|
"SettingsTabGeneralShowConfirmExitDialog": "Mostra dialogo \"Conferma Uscita\"",
|
||||||
"SettingsTabGeneralRememberWindowState": "Ricorda la dimensione e la posizione della finestra",
|
"SettingsTabGeneralRememberWindowState": "Ricorda la dimensione e la posizione della finestra",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Disabilità Input quando fuori dal focus",
|
|
||||||
"SettingsTabGeneralHideCursor": "Nascondi il cursore:",
|
"SettingsTabGeneralHideCursor": "Nascondi il cursore:",
|
||||||
"SettingsTabGeneralHideCursorNever": "Mai",
|
"SettingsTabGeneralHideCursorNever": "Mai",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "Quando è inattivo",
|
"SettingsTabGeneralHideCursorOnIdle": "Quando è inattivo",
|
||||||
@@ -236,7 +229,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Rallentamenti",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Rallentamenti",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Tutto",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Tutto",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Attiva log di debug",
|
"SettingsTabLoggingEnableDebugLogs": "Attiva log di debug",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Abilita i log UI",
|
|
||||||
"SettingsTabInput": "Comandi",
|
"SettingsTabInput": "Comandi",
|
||||||
"SettingsTabInputEnableDockedMode": "Attiva modalità TV",
|
"SettingsTabInputEnableDockedMode": "Attiva modalità TV",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Accesso diretto alla tastiera",
|
"SettingsTabInputDirectKeyboardAccess": "Accesso diretto alla tastiera",
|
||||||
@@ -661,7 +653,6 @@
|
|||||||
"DeveloperOptionTooltip": "Usa con cautela",
|
"DeveloperOptionTooltip": "Usa con cautela",
|
||||||
"OpenGlLogLevel": "Richiede che i livelli di log appropriati siano abilitati",
|
"OpenGlLogLevel": "Richiede che i livelli di log appropriati siano abilitati",
|
||||||
"DebugLogTooltip": "Stampa i messaggi di log per il debug nella console.\n\nUsa questa opzione solo se specificatamente richiesto da un membro del team, dal momento che rende i log difficili da leggere e riduce le prestazioni dell'emulatore.",
|
"DebugLogTooltip": "Stampa i messaggi di log per il debug nella console.\n\nUsa questa opzione solo se specificatamente richiesto da un membro del team, dal momento che rende i log difficili da leggere e riduce le prestazioni dell'emulatore.",
|
||||||
"AvaloniaLogTooltip": "Stampa i messaggi di log di Avalonia (UI) nella console.",
|
|
||||||
"LoadApplicationFileTooltip": "Apri un selettore file per scegliere un file compatibile con Switch da caricare",
|
"LoadApplicationFileTooltip": "Apri un selettore file per scegliere un file compatibile con Switch da caricare",
|
||||||
"LoadApplicationFolderTooltip": "Apri un selettore file per scegliere un'applicazione estratta compatibile con Switch da caricare",
|
"LoadApplicationFolderTooltip": "Apri un selettore file per scegliere un'applicazione estratta compatibile con Switch da caricare",
|
||||||
"LoadDlcFromFolderTooltip": "Apri un selettore file per scegliere una o più cartelle dalle quali caricare DLC in blocco",
|
"LoadDlcFromFolderTooltip": "Apri un selettore file per scegliere una o più cartelle dalle quali caricare DLC in blocco",
|
||||||
|
|||||||
@@ -105,12 +105,6 @@
|
|||||||
"SettingsTabGeneralGeneral": "一般",
|
"SettingsTabGeneralGeneral": "一般",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Discord リッチプレゼンスを有効にする",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Discord リッチプレゼンスを有効にする",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "起動時にアップデートを確認する",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "起動時にアップデートを確認する",
|
||||||
"SettingsTabGeneralFocusLossType": "エミュレーターのフォーカス喪失時:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "何もしない",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "入力をブロック",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "音量をミュート",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "入力をブロック&音量を消音",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "エミュレーション一時停止",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "\"終了を確認\" ダイアログを表示する",
|
"SettingsTabGeneralShowConfirmExitDialog": "\"終了を確認\" ダイアログを表示する",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralHideCursor": "マウスカーソルを非表示",
|
"SettingsTabGeneralHideCursor": "マウスカーソルを非表示",
|
||||||
|
|||||||
@@ -107,15 +107,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "일반",
|
"SettingsTabGeneralGeneral": "일반",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "디스코드 활동 상태 활성화",
|
"SettingsTabGeneralEnableDiscordRichPresence": "디스코드 활동 상태 활성화",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "시작 시, 업데이트 확인",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "시작 시, 업데이트 확인",
|
||||||
"SettingsTabGeneralFocusLossType": "에뮬레이터 포커스 상실 시:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "아무것도 하지 않음",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "입력 차단",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "음소거",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "입력 차단 & 음소거",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "에뮬레이션 일시중지",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "\"종료 확인\" 대화 상자 표시",
|
"SettingsTabGeneralShowConfirmExitDialog": "\"종료 확인\" 대화 상자 표시",
|
||||||
"SettingsTabGeneralRememberWindowState": "창 크기/위치 기억",
|
"SettingsTabGeneralRememberWindowState": "창 크기/위치 기억",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "초점이 맞지 않으면 입력 비활성화",
|
|
||||||
"SettingsTabGeneralHideCursor": "마우스 커서 숨기기",
|
"SettingsTabGeneralHideCursor": "마우스 커서 숨기기",
|
||||||
"SettingsTabGeneralHideCursorNever": "절대 안 함",
|
"SettingsTabGeneralHideCursorNever": "절대 안 함",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "유휴 상태",
|
"SettingsTabGeneralHideCursorOnIdle": "유휴 상태",
|
||||||
@@ -216,7 +209,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "느려짐",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "느려짐",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "모두",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "모두",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "디버그 로그 활성화",
|
"SettingsTabLoggingEnableDebugLogs": "디버그 로그 활성화",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "UI 로그 활성화",
|
|
||||||
"SettingsTabInput": "입력",
|
"SettingsTabInput": "입력",
|
||||||
"SettingsTabInputEnableDockedMode": "도킹 모드",
|
"SettingsTabInputEnableDockedMode": "도킹 모드",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "직접 키보드 접속",
|
"SettingsTabInputDirectKeyboardAccess": "직접 키보드 접속",
|
||||||
@@ -632,7 +624,6 @@
|
|||||||
"DeveloperOptionTooltip": "주의해서 사용",
|
"DeveloperOptionTooltip": "주의해서 사용",
|
||||||
"OpenGlLogLevel": "적절한 로그 수준을 활성화해야 함",
|
"OpenGlLogLevel": "적절한 로그 수준을 활성화해야 함",
|
||||||
"DebugLogTooltip": "콘솔에 디버그 로그 메시지를 인쇄합니다.\n\n로그를 읽기 어렵게 만들고 에뮬레이터 성능을 악화시키므로 직원이 구체적으로 지시한 경우에만 사용하세요.",
|
"DebugLogTooltip": "콘솔에 디버그 로그 메시지를 인쇄합니다.\n\n로그를 읽기 어렵게 만들고 에뮬레이터 성능을 악화시키므로 직원이 구체적으로 지시한 경우에만 사용하세요.",
|
||||||
"AvaloniaLogTooltip": "콘솔에 Avalonia(UI) 로그 메시지를 출력합니다.",
|
|
||||||
"LoadApplicationFileTooltip": "파일 탐색기를 열어 불러올 스위치 호환 파일 선택",
|
"LoadApplicationFileTooltip": "파일 탐색기를 열어 불러올 스위치 호환 파일 선택",
|
||||||
"LoadApplicationFolderTooltip": "파일 탐색기를 열어 불러올 스위치 호환 압축 해제 응용 프로그램 선택",
|
"LoadApplicationFolderTooltip": "파일 탐색기를 열어 불러올 스위치 호환 압축 해제 응용 프로그램 선택",
|
||||||
"OpenRyujinxFolderTooltip": "Ryujinx 파일 시스템 폴더 열기",
|
"OpenRyujinxFolderTooltip": "Ryujinx 파일 시스템 폴더 열기",
|
||||||
|
|||||||
@@ -105,12 +105,6 @@
|
|||||||
"SettingsTabGeneralGeneral": "Ogólne",
|
"SettingsTabGeneralGeneral": "Ogólne",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Włącz Bogatą Obecność Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Włącz Bogatą Obecność Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Sprawdzaj aktualizacje przy uruchomieniu",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Sprawdzaj aktualizacje przy uruchomieniu",
|
||||||
"SettingsTabGeneralFocusLossType": "Gdy emulator traci fokus:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Nie rób nic",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Zablokuj wejście",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Wycisz głośność",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Blokuj wejście & wycisz dźwięk",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Wstrzymaj emulację",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Pokazuj okno dialogowe \"Potwierdź wyjście\"",
|
"SettingsTabGeneralShowConfirmExitDialog": "Pokazuj okno dialogowe \"Potwierdź wyjście\"",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralHideCursor": "Ukryj kursor:",
|
"SettingsTabGeneralHideCursor": "Ukryj kursor:",
|
||||||
|
|||||||
@@ -107,15 +107,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "Geral",
|
"SettingsTabGeneralGeneral": "Geral",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Habilitar Rich Presence do Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Habilitar Rich Presence do Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Verificar se há atualizações ao iniciar",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Verificar se há atualizações ao iniciar",
|
||||||
"SettingsTabGeneralFocusLossType": "Ao Perder o Foco do Emulador:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Não Fazer Nada",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Bloquear controles",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Ficar mudo",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Bloquear controles & silenciar",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Pausar emulação",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Exibir diálogo de confirmação ao sair",
|
"SettingsTabGeneralShowConfirmExitDialog": "Exibir diálogo de confirmação ao sair",
|
||||||
"SettingsTabGeneralRememberWindowState": "Lembrar tamanho/posição da Janela",
|
"SettingsTabGeneralRememberWindowState": "Lembrar tamanho/posição da Janela",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Desativar Controles Quando Estiver Fora de Foco",
|
|
||||||
"SettingsTabGeneralHideCursor": "Esconder o cursor do mouse:",
|
"SettingsTabGeneralHideCursor": "Esconder o cursor do mouse:",
|
||||||
"SettingsTabGeneralHideCursorNever": "Nunca",
|
"SettingsTabGeneralHideCursorNever": "Nunca",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "Esconder o cursor quando ocioso",
|
"SettingsTabGeneralHideCursorOnIdle": "Esconder o cursor quando ocioso",
|
||||||
@@ -216,7 +209,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Lentidão",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Lentidão",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Todos",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Todos",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Habilitar logs de depuração",
|
"SettingsTabLoggingEnableDebugLogs": "Habilitar logs de depuração",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Habilitar Logs da IU",
|
|
||||||
"SettingsTabInput": "Controle",
|
"SettingsTabInput": "Controle",
|
||||||
"SettingsTabInputEnableDockedMode": "Habilitar modo TV",
|
"SettingsTabInputEnableDockedMode": "Habilitar modo TV",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Acesso direto ao teclado",
|
"SettingsTabInputDirectKeyboardAccess": "Acesso direto ao teclado",
|
||||||
@@ -631,7 +623,6 @@
|
|||||||
"DeveloperOptionTooltip": "Use com cuidado",
|
"DeveloperOptionTooltip": "Use com cuidado",
|
||||||
"OpenGlLogLevel": "Requer que os níveis de log apropriados estejaam habilitados",
|
"OpenGlLogLevel": "Requer que os níveis de log apropriados estejaam habilitados",
|
||||||
"DebugLogTooltip": "Habilita exibição de mensagens de depuração",
|
"DebugLogTooltip": "Habilita exibição de mensagens de depuração",
|
||||||
"AvaloniaLogTooltip": "Imprime mensagens de log do Avalonia (UI) no console.",
|
|
||||||
"LoadApplicationFileTooltip": "Abre o navegador de arquivos para seleção de um arquivo do Switch compatível a ser carregado",
|
"LoadApplicationFileTooltip": "Abre o navegador de arquivos para seleção de um arquivo do Switch compatível a ser carregado",
|
||||||
"LoadApplicationFolderTooltip": "Abre o navegador de pastas para seleção de pasta extraída do Switch compatível a ser carregada",
|
"LoadApplicationFolderTooltip": "Abre o navegador de pastas para seleção de pasta extraída do Switch compatível a ser carregada",
|
||||||
"OpenRyujinxFolderTooltip": "Abre o diretório do sistema de arquivos do Ryujinx",
|
"OpenRyujinxFolderTooltip": "Abre o diretório do sistema de arquivos do Ryujinx",
|
||||||
|
|||||||
@@ -112,15 +112,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "Общее",
|
"SettingsTabGeneralGeneral": "Общее",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Статус активности в Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Статус активности в Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Проверять наличие обновлений при запуске",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Проверять наличие обновлений при запуске",
|
||||||
"SettingsTabGeneralFocusLossType": "При потере фокуса эмулятором:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Ничего не делать",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Блокировать ввод",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Отключить звук",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Блокировать ввод & отключить звук",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Пауза эмуляции",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Подтверждать выход из приложения",
|
"SettingsTabGeneralShowConfirmExitDialog": "Подтверждать выход из приложения",
|
||||||
"SettingsTabGeneralRememberWindowState": "Запомнить размер/положение окна",
|
"SettingsTabGeneralRememberWindowState": "Запомнить размер/положение окна",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Отключить ввод при потере фокуса",
|
|
||||||
"SettingsTabGeneralHideCursor": "Скрывать курсор",
|
"SettingsTabGeneralHideCursor": "Скрывать курсор",
|
||||||
"SettingsTabGeneralHideCursorNever": "Никогда",
|
"SettingsTabGeneralHideCursorNever": "Никогда",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "В простое",
|
"SettingsTabGeneralHideCursorOnIdle": "В простое",
|
||||||
@@ -235,7 +228,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Замедления",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Замедления",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Всё",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Всё",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Включить журнал отладки",
|
"SettingsTabLoggingEnableDebugLogs": "Включить журнал отладки",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Включить журналы интерфейса",
|
|
||||||
"SettingsTabInput": "Управление",
|
"SettingsTabInput": "Управление",
|
||||||
"SettingsTabInputEnableDockedMode": "Стационарный режим",
|
"SettingsTabInputEnableDockedMode": "Стационарный режим",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Прямой ввод клавиатуры",
|
"SettingsTabInputDirectKeyboardAccess": "Прямой ввод клавиатуры",
|
||||||
@@ -659,7 +651,6 @@
|
|||||||
"DeveloperOptionTooltip": "Используйте с осторожностью",
|
"DeveloperOptionTooltip": "Используйте с осторожностью",
|
||||||
"OpenGlLogLevel": "Требует включения соответствующих уровней ведения журнала",
|
"OpenGlLogLevel": "Требует включения соответствующих уровней ведения журнала",
|
||||||
"DebugLogTooltip": "Выводит журнал сообщений отладки в консоли.\n\nИспользуйте только в случае просьбы разработчика, так как включение этой функции затруднит чтение журналов и ухудшит работу эмулятора.",
|
"DebugLogTooltip": "Выводит журнал сообщений отладки в консоли.\n\nИспользуйте только в случае просьбы разработчика, так как включение этой функции затруднит чтение журналов и ухудшит работу эмулятора.",
|
||||||
"AvaloniaLogTooltip": "Выводит сообщения журнала Avalonia (интерфейс) в консоли.",
|
|
||||||
"LoadApplicationFileTooltip": "Открывает файловый менеджер для выбора файла, совместимого с Nintendo Switch.",
|
"LoadApplicationFileTooltip": "Открывает файловый менеджер для выбора файла, совместимого с Nintendo Switch.",
|
||||||
"LoadApplicationFolderTooltip": "Открывает файловый менеджер для выбора распакованного приложения, совместимого с Nintendo Switch.",
|
"LoadApplicationFolderTooltip": "Открывает файловый менеджер для выбора распакованного приложения, совместимого с Nintendo Switch.",
|
||||||
"LoadDlcFromFolderTooltip": "Открывает файловый менеджер для выбора одной или несколько папок для массовой загрузки DLC",
|
"LoadDlcFromFolderTooltip": "Открывает файловый менеджер для выбора одной или несколько папок для массовой загрузки DLC",
|
||||||
|
|||||||
@@ -105,15 +105,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "ทั่วไป",
|
"SettingsTabGeneralGeneral": "ทั่วไป",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "เปิดใช้งาน Discord Rich Presence",
|
"SettingsTabGeneralEnableDiscordRichPresence": "เปิดใช้งาน Discord Rich Presence",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "ตรวจหาการอัปเดตเมื่อเปิดโปรแกรม",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "ตรวจหาการอัปเดตเมื่อเปิดโปรแกรม",
|
||||||
"SettingsTabGeneralFocusLossType": "เมื่อโปรแกรมจำลองสูญเสียโฟกัส:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "ไม่ทำอะไร",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "บล็อกการป้อนข้อมูล",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "ปิดเสียง",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "บล็อกข้อมูล & ปิดเสียง",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "พักการจำลอง",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "แสดง \"ยืนยันการออก\" กล่องข้อความโต้ตอบ",
|
"SettingsTabGeneralShowConfirmExitDialog": "แสดง \"ยืนยันการออก\" กล่องข้อความโต้ตอบ",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "ปิดการพิมพ์เมื่อไม่ได้เลือกช่องอินพุต ไม่ให้กรอกข้อมูลเมื่อช่องอินพุตไม่อยู่ในโฟกัส",
|
|
||||||
"SettingsTabGeneralHideCursor": "ซ่อน เคอร์เซอร์:",
|
"SettingsTabGeneralHideCursor": "ซ่อน เคอร์เซอร์:",
|
||||||
"SettingsTabGeneralHideCursorNever": "ไม่มี",
|
"SettingsTabGeneralHideCursorNever": "ไม่มี",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "เมื่อไม่ได้ใช้",
|
"SettingsTabGeneralHideCursorOnIdle": "เมื่อไม่ได้ใช้",
|
||||||
@@ -627,7 +620,6 @@
|
|||||||
"DeveloperOptionTooltip": "โปรดใช้ด้วยความระมัดระวัง",
|
"DeveloperOptionTooltip": "โปรดใช้ด้วยความระมัดระวัง",
|
||||||
"OpenGlLogLevel": "จำเป็นต้องเปิดใช้งานระดับบันทึกที่เหมาะสม",
|
"OpenGlLogLevel": "จำเป็นต้องเปิดใช้งานระดับบันทึกที่เหมาะสม",
|
||||||
"DebugLogTooltip": "พิมพ์ข้อความประวัติการแก้ไขข้อบกพร่องในคอนโซล\n\nใช้สิ่งนี้เฉพาะเมื่อได้รับคำแนะนำจากเจ้าหน้าที่โดยเฉพาะเท่านั้น เนื่องจากจะทำให้บันทึกอ่านยากและทำให้ประสิทธิภาพของโปรแกรมจำลองแย่ลง",
|
"DebugLogTooltip": "พิมพ์ข้อความประวัติการแก้ไขข้อบกพร่องในคอนโซล\n\nใช้สิ่งนี้เฉพาะเมื่อได้รับคำแนะนำจากเจ้าหน้าที่โดยเฉพาะเท่านั้น เนื่องจากจะทำให้บันทึกอ่านยากและทำให้ประสิทธิภาพของโปรแกรมจำลองแย่ลง",
|
||||||
"AvaloniaLogTooltip": "แสดงข้อความบันทึก (log) ของ Avalonia (UI) ในคอนโซล",
|
|
||||||
"LoadApplicationFileTooltip": "เปิด File Explorer เพื่อเลือกไฟล์ที่เข้ากันได้กับ Switch ที่จะโหลด",
|
"LoadApplicationFileTooltip": "เปิด File Explorer เพื่อเลือกไฟล์ที่เข้ากันได้กับ Switch ที่จะโหลด",
|
||||||
"LoadApplicationFolderTooltip": "เปิดตัวสำรวจไฟล์เพื่อเลือกไฟล์ที่เข้ากันได้กับ Switch ที่จะโหลด",
|
"LoadApplicationFolderTooltip": "เปิดตัวสำรวจไฟล์เพื่อเลือกไฟล์ที่เข้ากันได้กับ Switch ที่จะโหลด",
|
||||||
"OpenRyujinxFolderTooltip": "เปิดโฟลเดอร์ระบบไฟล์ Ryujinx",
|
"OpenRyujinxFolderTooltip": "เปิดโฟลเดอร์ระบบไฟล์ Ryujinx",
|
||||||
|
|||||||
@@ -105,12 +105,6 @@
|
|||||||
"SettingsTabGeneralGeneral": "Genel",
|
"SettingsTabGeneralGeneral": "Genel",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Discord Zengin İçerik'i Etkinleştir",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Discord Zengin İçerik'i Etkinleştir",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Her Açılışta Güncellemeleri Denetle",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Her Açılışta Güncellemeleri Denetle",
|
||||||
"SettingsTabGeneralFocusLossType": "Emülatör odak kaybı:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Hiçbir şey yapma",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Girişi Engelle",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Sesi Kapat",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Girişi engelle & sesi kapat",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Emülasyonu Duraklat",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "\"Çıkışı Onayla\" Diyaloğunu Göster",
|
"SettingsTabGeneralShowConfirmExitDialog": "\"Çıkışı Onayla\" Diyaloğunu Göster",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralHideCursor": "İşaretçiyi Gizle:",
|
"SettingsTabGeneralHideCursor": "İşaretçiyi Gizle:",
|
||||||
|
|||||||
@@ -107,15 +107,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "Загальні",
|
"SettingsTabGeneralGeneral": "Загальні",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "Увімкнути розширену присутність Discord",
|
"SettingsTabGeneralEnableDiscordRichPresence": "Увімкнути розширену присутність Discord",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "Перевіряти наявність оновлень під час запуску",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "Перевіряти наявність оновлень під час запуску",
|
||||||
"SettingsTabGeneralFocusLossType": "При втраті фокуса емулятором:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "Нічого не робити",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "Заблокувати введення",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "Вимкнути звук",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "Блокувати введення & вимкнути звук",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "Пауза емуляції",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "Показати діалогове вікно «Підтвердити вихід».",
|
"SettingsTabGeneralShowConfirmExitDialog": "Показати діалогове вікно «Підтвердити вихід».",
|
||||||
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
"SettingsTabGeneralRememberWindowState": "Remember Window Size/Position",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "Вимкнути введення, якщо вікно неактивне",
|
|
||||||
"SettingsTabGeneralHideCursor": "Сховати вказівник:",
|
"SettingsTabGeneralHideCursor": "Сховати вказівник:",
|
||||||
"SettingsTabGeneralHideCursorNever": "Ніколи",
|
"SettingsTabGeneralHideCursorNever": "Ніколи",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "Сховати у режимі очікування",
|
"SettingsTabGeneralHideCursorOnIdle": "Сховати у режимі очікування",
|
||||||
@@ -216,7 +209,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Уповільнення",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "Уповільнення",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Все",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "Все",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "Увімкнути журнали налагодження",
|
"SettingsTabLoggingEnableDebugLogs": "Увімкнути журнали налагодження",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "Увімкнути журнали інтерфейсу",
|
|
||||||
"SettingsTabInput": "Введення",
|
"SettingsTabInput": "Введення",
|
||||||
"SettingsTabInputEnableDockedMode": "Режим док-станції",
|
"SettingsTabInputEnableDockedMode": "Режим док-станції",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "Прямий доступ з клавіатури",
|
"SettingsTabInputDirectKeyboardAccess": "Прямий доступ з клавіатури",
|
||||||
@@ -632,7 +624,6 @@
|
|||||||
"DeveloperOptionTooltip": "Використовуйте з обережністю",
|
"DeveloperOptionTooltip": "Використовуйте з обережністю",
|
||||||
"OpenGlLogLevel": "Потрібно увімкнути відповідні рівні журналу",
|
"OpenGlLogLevel": "Потрібно увімкнути відповідні рівні журналу",
|
||||||
"DebugLogTooltip": "Друкує повідомлення журналу налагодження на консолі.\n\nВикористовуйте це лише за спеціальною вказівкою співробітника, оскільки це ускладнить читання журналів і погіршить роботу емулятора.",
|
"DebugLogTooltip": "Друкує повідомлення журналу налагодження на консолі.\n\nВикористовуйте це лише за спеціальною вказівкою співробітника, оскільки це ускладнить читання журналів і погіршить роботу емулятора.",
|
||||||
"AvaloniaLogTooltip": "Виводити повідомлення журналу Avalonia (UI) в консоль",
|
|
||||||
"LoadApplicationFileTooltip": "Відкриває файловий провідник, щоб вибрати для завантаження сумісний файл Switch",
|
"LoadApplicationFileTooltip": "Відкриває файловий провідник, щоб вибрати для завантаження сумісний файл Switch",
|
||||||
"LoadApplicationFolderTooltip": "Відкриває файловий провідник, щоб вибрати сумісну з комутатором розпаковану програму для завантаження",
|
"LoadApplicationFolderTooltip": "Відкриває файловий провідник, щоб вибрати сумісну з комутатором розпаковану програму для завантаження",
|
||||||
"OpenRyujinxFolderTooltip": "Відкриває папку файлової системи Ryujinx",
|
"OpenRyujinxFolderTooltip": "Відкриває папку файлової системи Ryujinx",
|
||||||
|
|||||||
@@ -107,15 +107,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "常规",
|
"SettingsTabGeneralGeneral": "常规",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "启用 Discord 在线状态展示",
|
"SettingsTabGeneralEnableDiscordRichPresence": "启用 Discord 在线状态展示",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "启动时检查更新",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "启动时检查更新",
|
||||||
"SettingsTabGeneralFocusLossType": "当模拟器失去焦点时:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "什么也不做",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "阻止输入",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "静音",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "阻止输入并静音",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "暂停模拟",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "退出游戏时需要确认",
|
"SettingsTabGeneralShowConfirmExitDialog": "退出游戏时需要确认",
|
||||||
"SettingsTabGeneralRememberWindowState": "记住窗口大小和位置",
|
"SettingsTabGeneralRememberWindowState": "记住窗口大小和位置",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "在后台时禁用输入",
|
|
||||||
"SettingsTabGeneralHideCursor": "隐藏鼠标指针:",
|
"SettingsTabGeneralHideCursor": "隐藏鼠标指针:",
|
||||||
"SettingsTabGeneralHideCursorNever": "从不隐藏",
|
"SettingsTabGeneralHideCursorNever": "从不隐藏",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "自动隐藏",
|
"SettingsTabGeneralHideCursorOnIdle": "自动隐藏",
|
||||||
@@ -216,7 +209,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "减速",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "减速",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "全部",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "全部",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "启用调试日志",
|
"SettingsTabLoggingEnableDebugLogs": "启用调试日志",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "启用 UI 日志",
|
|
||||||
"SettingsTabInput": "输入",
|
"SettingsTabInput": "输入",
|
||||||
"SettingsTabInputEnableDockedMode": "主机模式",
|
"SettingsTabInputEnableDockedMode": "主机模式",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "直通键盘控制",
|
"SettingsTabInputDirectKeyboardAccess": "直通键盘控制",
|
||||||
@@ -632,7 +624,6 @@
|
|||||||
"DeveloperOptionTooltip": "请谨慎使用",
|
"DeveloperOptionTooltip": "请谨慎使用",
|
||||||
"OpenGlLogLevel": "需要启用适当的日志级别",
|
"OpenGlLogLevel": "需要启用适当的日志级别",
|
||||||
"DebugLogTooltip": "在控制台中显示调试日志。\n\n仅在特别需要时使用此功能,因为它会导致日志信息难以阅读,并降低模拟器性能。",
|
"DebugLogTooltip": "在控制台中显示调试日志。\n\n仅在特别需要时使用此功能,因为它会导致日志信息难以阅读,并降低模拟器性能。",
|
||||||
"AvaloniaLogTooltip": "在控制台显示 Avalonia (UI) 的日志信息",
|
|
||||||
"LoadApplicationFileTooltip": "选择 Switch 游戏文件并加载",
|
"LoadApplicationFileTooltip": "选择 Switch 游戏文件并加载",
|
||||||
"LoadApplicationFolderTooltip": "选择解包后的 Switch 游戏目录并加载",
|
"LoadApplicationFolderTooltip": "选择解包后的 Switch 游戏目录并加载",
|
||||||
"OpenRyujinxFolderTooltip": "打开 Ryujinx 模拟器系统目录",
|
"OpenRyujinxFolderTooltip": "打开 Ryujinx 模拟器系统目录",
|
||||||
|
|||||||
@@ -107,15 +107,8 @@
|
|||||||
"SettingsTabGeneralGeneral": "一般",
|
"SettingsTabGeneralGeneral": "一般",
|
||||||
"SettingsTabGeneralEnableDiscordRichPresence": "啟用 Discord 動態狀態展示",
|
"SettingsTabGeneralEnableDiscordRichPresence": "啟用 Discord 動態狀態展示",
|
||||||
"SettingsTabGeneralCheckUpdatesOnLaunch": "啟動時檢查更新",
|
"SettingsTabGeneralCheckUpdatesOnLaunch": "啟動時檢查更新",
|
||||||
"SettingsTabGeneralFocusLossType": "當模擬器失去焦點時:",
|
|
||||||
"SettingsTabGeneralFocusLossTypeDoNothing": "什麼都不做",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInput": "阻止輸入",
|
|
||||||
"SettingsTabGeneralFocusLossTypeMuteAudio": "靜音",
|
|
||||||
"SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio": "停用輸入 & 靜音",
|
|
||||||
"SettingsTabGeneralFocusLossTypePauseEmulation": "暫停模擬",
|
|
||||||
"SettingsTabGeneralShowConfirmExitDialog": "顯示「確認結束」對話方塊",
|
"SettingsTabGeneralShowConfirmExitDialog": "顯示「確認結束」對話方塊",
|
||||||
"SettingsTabGeneralRememberWindowState": "記住視窗大小/位置",
|
"SettingsTabGeneralRememberWindowState": "記住視窗大小/位置",
|
||||||
"SettingsTabGeneralDisableInputWhenOutOfFocus": "在「失去焦點」時停用輸入",
|
|
||||||
"SettingsTabGeneralHideCursor": "隱藏滑鼠游標:",
|
"SettingsTabGeneralHideCursor": "隱藏滑鼠游標:",
|
||||||
"SettingsTabGeneralHideCursorNever": "從不",
|
"SettingsTabGeneralHideCursorNever": "從不",
|
||||||
"SettingsTabGeneralHideCursorOnIdle": "閒置時",
|
"SettingsTabGeneralHideCursorOnIdle": "閒置時",
|
||||||
@@ -216,7 +209,6 @@
|
|||||||
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "減速",
|
"SettingsTabLoggingGraphicsBackendLogLevelPerformance": "減速",
|
||||||
"SettingsTabLoggingGraphicsBackendLogLevelAll": "全部",
|
"SettingsTabLoggingGraphicsBackendLogLevelAll": "全部",
|
||||||
"SettingsTabLoggingEnableDebugLogs": "啟用偵錯日誌",
|
"SettingsTabLoggingEnableDebugLogs": "啟用偵錯日誌",
|
||||||
"SettingsTabLoggingEnableAvaloniaLogs": "啟用 UI 日誌",
|
|
||||||
"SettingsTabInput": "輸入",
|
"SettingsTabInput": "輸入",
|
||||||
"SettingsTabInputEnableDockedMode": "底座模式",
|
"SettingsTabInputEnableDockedMode": "底座模式",
|
||||||
"SettingsTabInputDirectKeyboardAccess": "鍵盤直接存取",
|
"SettingsTabInputDirectKeyboardAccess": "鍵盤直接存取",
|
||||||
@@ -632,7 +624,6 @@
|
|||||||
"DeveloperOptionTooltip": "謹慎使用",
|
"DeveloperOptionTooltip": "謹慎使用",
|
||||||
"OpenGlLogLevel": "需要啟用適當的日誌等級",
|
"OpenGlLogLevel": "需要啟用適當的日誌等級",
|
||||||
"DebugLogTooltip": "在控制台中輸出偵錯日誌訊息。\n\n只有在人員特別指示的情況下才能使用,因為這會導致日誌難以閱讀,並降低模擬器效能。",
|
"DebugLogTooltip": "在控制台中輸出偵錯日誌訊息。\n\n只有在人員特別指示的情況下才能使用,因為這會導致日誌難以閱讀,並降低模擬器效能。",
|
||||||
"AvaloniaLogTooltip": "在控制台中輸出 Avalonia (UI) 日誌訊息。",
|
|
||||||
"LoadApplicationFileTooltip": "開啟檔案總管,選擇與 Switch 相容的檔案來載入",
|
"LoadApplicationFileTooltip": "開啟檔案總管,選擇與 Switch 相容的檔案來載入",
|
||||||
"LoadApplicationFolderTooltip": "開啟檔案總管,選擇與 Switch 相容且未封裝的應用程式來載入",
|
"LoadApplicationFolderTooltip": "開啟檔案總管,選擇與 Switch 相容且未封裝的應用程式來載入",
|
||||||
"OpenRyujinxFolderTooltip": "開啟 Ryujinx 檔案系統資料夾",
|
"OpenRyujinxFolderTooltip": "開啟 Ryujinx 檔案系統資料夾",
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace Ryujinx.Ava.Common
|
||||||
|
{
|
||||||
|
public static class ThemeManager
|
||||||
|
{
|
||||||
|
public static event EventHandler ThemeChanged;
|
||||||
|
|
||||||
|
public static void OnThemeChanged()
|
||||||
|
{
|
||||||
|
ThemeChanged?.Invoke(null, EventArgs.Empty);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
using Avalonia.Logging;
|
using Avalonia.Logging;
|
||||||
|
using Avalonia.Utilities;
|
||||||
using Ryujinx.Common.Logging;
|
using Ryujinx.Common.Logging;
|
||||||
using Ryujinx.UI.Common.Configuration;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@@ -13,19 +13,13 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||||||
|
|
||||||
internal class LoggerAdapter : ILogSink
|
internal class LoggerAdapter : ILogSink
|
||||||
{
|
{
|
||||||
private static bool _avaloniaLogsEnabled = ConfigurationState.Instance.Logger.EnableAvaloniaLog;
|
|
||||||
|
|
||||||
public static void Register()
|
public static void Register()
|
||||||
{
|
{
|
||||||
AvaLogger.Sink = new LoggerAdapter();
|
AvaLogger.Sink = new LoggerAdapter();
|
||||||
ConfigurationState.Instance.Logger.EnableAvaloniaLog.Event
|
|
||||||
+= (_, e) => _avaloniaLogsEnabled = e.NewValue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static RyuLogger.Log? GetLog(AvaLogLevel level)
|
private static RyuLogger.Log? GetLog(AvaLogLevel level)
|
||||||
{
|
{
|
||||||
if (!_avaloniaLogsEnabled) return null;
|
|
||||||
|
|
||||||
return level switch
|
return level switch
|
||||||
{
|
{
|
||||||
AvaLogLevel.Verbose => RyuLogger.Debug,
|
AvaLogLevel.Verbose => RyuLogger.Debug,
|
||||||
|
|||||||
@@ -29,10 +29,10 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
Version = Program.Version;
|
Version = Program.Version;
|
||||||
UpdateLogoTheme(ConfigurationState.Instance.UI.BaseStyle.Value);
|
UpdateLogoTheme(ConfigurationState.Instance.UI.BaseStyle.Value);
|
||||||
|
|
||||||
App.ThemeChanged += Ryujinx_ThemeChanged;
|
ThemeManager.ThemeChanged += ThemeManager_ThemeChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Ryujinx_ThemeChanged()
|
private void ThemeManager_ThemeChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Dispatcher.UIThread.Post(() => UpdateLogoTheme(ConfigurationState.Instance.UI.BaseStyle.Value));
|
Dispatcher.UIThread.Post(() => UpdateLogoTheme(ConfigurationState.Instance.UI.BaseStyle.Value));
|
||||||
}
|
}
|
||||||
@@ -55,7 +55,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
App.ThemeChanged -= Ryujinx_ThemeChanged;
|
ThemeManager.ThemeChanged -= ThemeManager_ThemeChanged;
|
||||||
GC.SuppressFinalize(this);
|
GC.SuppressFinalize(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ using Ryujinx.Ava.Common.Locale;
|
|||||||
using Ryujinx.Ava.UI.Helpers;
|
using Ryujinx.Ava.UI.Helpers;
|
||||||
using Ryujinx.Ava.UI.Models.Input;
|
using Ryujinx.Ava.UI.Models.Input;
|
||||||
using Ryujinx.Ava.UI.Windows;
|
using Ryujinx.Ava.UI.Windows;
|
||||||
using Ryujinx.Ava.Utilities.Configuration.UI;
|
|
||||||
using Ryujinx.Common.Configuration;
|
using Ryujinx.Common.Configuration;
|
||||||
using Ryujinx.Common.Configuration.Multiplayer;
|
using Ryujinx.Common.Configuration.Multiplayer;
|
||||||
using Ryujinx.Common.GraphicsDriver;
|
using Ryujinx.Common.GraphicsDriver;
|
||||||
@@ -153,10 +152,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
public bool EnableDockedMode { get; set; }
|
public bool EnableDockedMode { get; set; }
|
||||||
public bool EnableKeyboard { get; set; }
|
public bool EnableKeyboard { get; set; }
|
||||||
public bool EnableMouse { get; set; }
|
public bool EnableMouse { get; set; }
|
||||||
public bool DisableInputWhenOutOfFocus { get; set; }
|
|
||||||
|
|
||||||
public int FocusLostActionType { get; set; }
|
|
||||||
|
|
||||||
public VSyncMode VSyncMode
|
public VSyncMode VSyncMode
|
||||||
{
|
{
|
||||||
get => _vSyncMode;
|
get => _vSyncMode;
|
||||||
@@ -260,7 +255,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
public bool EnableTrace { get; set; }
|
public bool EnableTrace { get; set; }
|
||||||
public bool EnableGuest { get; set; }
|
public bool EnableGuest { get; set; }
|
||||||
public bool EnableFsAccessLog { get; set; }
|
public bool EnableFsAccessLog { get; set; }
|
||||||
public bool EnableAvaloniaLog { get; set; }
|
|
||||||
public bool EnableDebug { get; set; }
|
public bool EnableDebug { get; set; }
|
||||||
public bool IsOpenAlEnabled { get; set; }
|
public bool IsOpenAlEnabled { get; set; }
|
||||||
public bool IsSoundIoEnabled { get; set; }
|
public bool IsSoundIoEnabled { get; set; }
|
||||||
@@ -578,7 +572,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
ShowConfirmExit = config.ShowConfirmExit;
|
ShowConfirmExit = config.ShowConfirmExit;
|
||||||
RememberWindowState = config.RememberWindowState;
|
RememberWindowState = config.RememberWindowState;
|
||||||
HideCursor = (int)config.HideCursor.Value;
|
HideCursor = (int)config.HideCursor.Value;
|
||||||
FocusLostActionType = (int)config.FocusLostActionType.Value;
|
|
||||||
|
|
||||||
GameDirectories.Clear();
|
GameDirectories.Clear();
|
||||||
GameDirectories.AddRange(config.UI.GameDirs.Value);
|
GameDirectories.AddRange(config.UI.GameDirs.Value);
|
||||||
@@ -598,7 +591,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
EnableDockedMode = config.System.EnableDockedMode;
|
EnableDockedMode = config.System.EnableDockedMode;
|
||||||
EnableKeyboard = config.Hid.EnableKeyboard;
|
EnableKeyboard = config.Hid.EnableKeyboard;
|
||||||
EnableMouse = config.Hid.EnableMouse;
|
EnableMouse = config.Hid.EnableMouse;
|
||||||
DisableInputWhenOutOfFocus = config.Hid.DisableInputWhenOutOfFocus;
|
|
||||||
|
|
||||||
// Keyboard Hotkeys
|
// Keyboard Hotkeys
|
||||||
KeyboardHotkey = new HotkeyConfig(config.Hid.Hotkeys.Value);
|
KeyboardHotkey = new HotkeyConfig(config.Hid.Hotkeys.Value);
|
||||||
@@ -671,7 +663,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
EnableGuest = config.Logger.EnableGuest;
|
EnableGuest = config.Logger.EnableGuest;
|
||||||
EnableDebug = config.Logger.EnableDebug;
|
EnableDebug = config.Logger.EnableDebug;
|
||||||
EnableFsAccessLog = config.Logger.EnableFsAccessLog;
|
EnableFsAccessLog = config.Logger.EnableFsAccessLog;
|
||||||
EnableAvaloniaLog = config.Logger.EnableAvaloniaLog;
|
|
||||||
FsGlobalAccessLogMode = config.System.FsGlobalAccessLogMode;
|
FsGlobalAccessLogMode = config.System.FsGlobalAccessLogMode;
|
||||||
OpenglDebugLevel = (int)config.Logger.GraphicsDebugLevel.Value;
|
OpenglDebugLevel = (int)config.Logger.GraphicsDebugLevel.Value;
|
||||||
|
|
||||||
@@ -697,7 +688,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
config.ShowConfirmExit.Value = ShowConfirmExit;
|
config.ShowConfirmExit.Value = ShowConfirmExit;
|
||||||
config.RememberWindowState.Value = RememberWindowState;
|
config.RememberWindowState.Value = RememberWindowState;
|
||||||
config.HideCursor.Value = (HideCursorMode)HideCursor;
|
config.HideCursor.Value = (HideCursorMode)HideCursor;
|
||||||
config.FocusLostActionType.Value = (FocusLostType)FocusLostActionType;
|
|
||||||
|
|
||||||
if (_gameDirectoryChanged)
|
if (_gameDirectoryChanged)
|
||||||
{
|
{
|
||||||
@@ -723,7 +713,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
config.System.EnableDockedMode.Value = EnableDockedMode;
|
config.System.EnableDockedMode.Value = EnableDockedMode;
|
||||||
config.Hid.EnableKeyboard.Value = EnableKeyboard;
|
config.Hid.EnableKeyboard.Value = EnableKeyboard;
|
||||||
config.Hid.EnableMouse.Value = EnableMouse;
|
config.Hid.EnableMouse.Value = EnableMouse;
|
||||||
config.Hid.DisableInputWhenOutOfFocus.Value = DisableInputWhenOutOfFocus;
|
|
||||||
|
|
||||||
// Keyboard Hotkeys
|
// Keyboard Hotkeys
|
||||||
config.Hid.Hotkeys.Value = KeyboardHotkey.GetConfig();
|
config.Hid.Hotkeys.Value = KeyboardHotkey.GetConfig();
|
||||||
@@ -806,7 +795,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
config.Logger.EnableGuest.Value = EnableGuest;
|
config.Logger.EnableGuest.Value = EnableGuest;
|
||||||
config.Logger.EnableDebug.Value = EnableDebug;
|
config.Logger.EnableDebug.Value = EnableDebug;
|
||||||
config.Logger.EnableFsAccessLog.Value = EnableFsAccessLog;
|
config.Logger.EnableFsAccessLog.Value = EnableFsAccessLog;
|
||||||
config.Logger.EnableAvaloniaLog.Value = EnableAvaloniaLog;
|
|
||||||
config.System.FsGlobalAccessLogMode.Value = FsGlobalAccessLogMode;
|
config.System.FsGlobalAccessLogMode.Value = FsGlobalAccessLogMode;
|
||||||
config.Logger.GraphicsDebugLevel.Value = (GraphicsDebugLevel)OpenglDebugLevel;
|
config.Logger.GraphicsDebugLevel.Value = (GraphicsDebugLevel)OpenglDebugLevel;
|
||||||
|
|
||||||
|
|||||||
@@ -74,10 +74,6 @@
|
|||||||
ToolTip.Tip="{locale:Locale DebugLogTooltip}">
|
ToolTip.Tip="{locale:Locale DebugLogTooltip}">
|
||||||
<TextBlock Text="{locale:Locale SettingsTabLoggingEnableDebugLogs}" />
|
<TextBlock Text="{locale:Locale SettingsTabLoggingEnableDebugLogs}" />
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
<CheckBox IsChecked="{Binding EnableAvaloniaLog}"
|
|
||||||
ToolTip.Tip="{locale:Locale AvaloniaLogTooltip}">
|
|
||||||
<TextBlock Text="{locale:Locale SettingsTabLoggingEnableAvaloniaLogs}" />
|
|
||||||
</CheckBox>
|
|
||||||
<StackPanel Margin="0,10,0,0" Orientation="Horizontal" VerticalAlignment="Stretch">
|
<StackPanel Margin="0,10,0,0" Orientation="Horizontal" VerticalAlignment="Stretch">
|
||||||
<TextBlock VerticalAlignment="Center"
|
<TextBlock VerticalAlignment="Center"
|
||||||
ToolTip.Tip="{locale:Locale FSAccessLogModeTooltip}"
|
ToolTip.Tip="{locale:Locale FSAccessLogModeTooltip}"
|
||||||
|
|||||||
@@ -39,30 +39,6 @@
|
|||||||
<CheckBox IsChecked="{Binding RememberWindowState}">
|
<CheckBox IsChecked="{Binding RememberWindowState}">
|
||||||
<TextBlock Text="{locale:Locale SettingsTabGeneralRememberWindowState}" />
|
<TextBlock Text="{locale:Locale SettingsTabGeneralRememberWindowState}" />
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
<StackPanel Margin="0, 15, 0, 0" Orientation="Horizontal">
|
|
||||||
<TextBlock VerticalAlignment="Center"
|
|
||||||
Text="{locale:Locale SettingsTabGeneralFocusLossType}"
|
|
||||||
Width="150" />
|
|
||||||
<ComboBox SelectedIndex="{Binding FocusLostActionType}"
|
|
||||||
HorizontalContentAlignment="Left"
|
|
||||||
MinWidth="100">
|
|
||||||
<ComboBoxItem>
|
|
||||||
<TextBlock Text="{locale:Locale SettingsTabGeneralFocusLossTypeDoNothing}" />
|
|
||||||
</ComboBoxItem>
|
|
||||||
<ComboBoxItem>
|
|
||||||
<TextBlock Text="{locale:Locale SettingsTabGeneralFocusLossTypeBlockInput}" />
|
|
||||||
</ComboBoxItem>
|
|
||||||
<ComboBoxItem>
|
|
||||||
<TextBlock Text="{locale:Locale SettingsTabGeneralFocusLossTypeMuteAudio}" />
|
|
||||||
</ComboBoxItem>
|
|
||||||
<ComboBoxItem>
|
|
||||||
<TextBlock Text="{locale:Locale SettingsTabGeneralFocusLossTypeBlockInputAndMuteAudio}" />
|
|
||||||
</ComboBoxItem>
|
|
||||||
<ComboBoxItem>
|
|
||||||
<TextBlock Text="{locale:Locale SettingsTabGeneralFocusLossTypePauseEmulation}" />
|
|
||||||
</ComboBoxItem>
|
|
||||||
</ComboBox>
|
|
||||||
</StackPanel>
|
|
||||||
<StackPanel Margin="0, 15, 0, 0" Orientation="Horizontal">
|
<StackPanel Margin="0, 15, 0, 0" Orientation="Horizontal">
|
||||||
<TextBlock VerticalAlignment="Center"
|
<TextBlock VerticalAlignment="Center"
|
||||||
Text="{locale:Locale SettingsTabGeneralHideCursor}"
|
Text="{locale:Locale SettingsTabGeneralHideCursor}"
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ namespace Ryujinx.Ava.UI.Views.User
|
|||||||
ViewModel.BackgroundColor.G,
|
ViewModel.BackgroundColor.G,
|
||||||
ViewModel.BackgroundColor.B,
|
ViewModel.BackgroundColor.B,
|
||||||
ViewModel.BackgroundColor.A));
|
ViewModel.BackgroundColor.A));
|
||||||
canvas.DrawBitmap(bitmap, 0, 0, new SKSamplingOptions(SKFilterMode.Linear));
|
canvas.DrawBitmap(bitmap, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
using (SKImage image = SKImage.FromBitmap(newBitmap))
|
using (SKImage image = SKImage.FromBitmap(newBitmap))
|
||||||
|
|||||||
@@ -21,9 +21,7 @@
|
|||||||
x:DataType="viewModels:MainWindowViewModel"
|
x:DataType="viewModels:MainWindowViewModel"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
WindowStartupLocation="Manual"
|
WindowStartupLocation="Manual"
|
||||||
Focusable="True"
|
Focusable="True">
|
||||||
GotFocus="AppWindow_OnGotFocus"
|
|
||||||
LostFocus="AppWindow_OnLostFocus">
|
|
||||||
<Window.Styles>
|
<Window.Styles>
|
||||||
<Style Selector="WindowDrawnDecorations:fullscreen /template/ Border">
|
<Style Selector="WindowDrawnDecorations:fullscreen /template/ Border">
|
||||||
<Setter Property="Background" Value="#000000" />
|
<Setter Property="Background" Value="#000000" />
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
using Avalonia;
|
using Avalonia;
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
using Avalonia.Controls.Primitives;
|
using Avalonia.Controls.Primitives;
|
||||||
using Avalonia.Input;
|
|
||||||
using Avalonia.Interactivity;
|
using Avalonia.Interactivity;
|
||||||
using Avalonia.Platform;
|
using Avalonia.Platform;
|
||||||
using Avalonia.Threading;
|
using Avalonia.Threading;
|
||||||
@@ -14,7 +13,6 @@ using Ryujinx.Ava.Input;
|
|||||||
using Ryujinx.Ava.UI.Applet;
|
using Ryujinx.Ava.UI.Applet;
|
||||||
using Ryujinx.Ava.UI.Helpers;
|
using Ryujinx.Ava.UI.Helpers;
|
||||||
using Ryujinx.Ava.UI.ViewModels;
|
using Ryujinx.Ava.UI.ViewModels;
|
||||||
using Ryujinx.Ava.Utilities.Configuration.UI;
|
|
||||||
using Ryujinx.Common.Configuration;
|
using Ryujinx.Common.Configuration;
|
||||||
using Ryujinx.Common.Logging;
|
using Ryujinx.Common.Logging;
|
||||||
using Ryujinx.Graphics.Gpu;
|
using Ryujinx.Graphics.Gpu;
|
||||||
@@ -751,119 +749,5 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
msg, "", "", "", LocaleManager.Instance[LocaleKeys.InputDialogOk], (int)FASymbol.Checkmark);
|
msg, "", "", "", LocaleManager.Instance[LocaleKeys.InputDialogOk], (int)FASymbol.Checkmark);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AppWindow_OnGotFocus(object sender, FocusChangedEventArgs e)
|
|
||||||
{
|
|
||||||
if (ViewModel.AppHost is null) return;
|
|
||||||
|
|
||||||
if (!_focusLoss.Active)
|
|
||||||
return;
|
|
||||||
|
|
||||||
switch (_focusLoss.Type)
|
|
||||||
{
|
|
||||||
case FocusLostType.BlockInput:
|
|
||||||
{
|
|
||||||
if (!ViewModel.AppHost.NpadManager.InputUpdatesBlocked)
|
|
||||||
{
|
|
||||||
_focusLoss = default;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ViewModel.AppHost.NpadManager.UnblockInputUpdates();
|
|
||||||
_focusLoss = default;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case FocusLostType.MuteAudio:
|
|
||||||
{
|
|
||||||
if (!ViewModel.AppHost.Device.IsAudioMuted())
|
|
||||||
{
|
|
||||||
_focusLoss = default;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ViewModel.AppHost.Device.SetVolume(ViewModel.VolumeBeforeMute);
|
|
||||||
|
|
||||||
_focusLoss = default;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case FocusLostType.BlockInputAndMuteAudio:
|
|
||||||
{
|
|
||||||
if (!ViewModel.AppHost.Device.IsAudioMuted())
|
|
||||||
goto case FocusLostType.BlockInput;
|
|
||||||
|
|
||||||
ViewModel.AppHost.Device.SetVolume(ViewModel.VolumeBeforeMute);
|
|
||||||
ViewModel.AppHost.NpadManager.UnblockInputUpdates();
|
|
||||||
|
|
||||||
_focusLoss = default;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case FocusLostType.PauseEmulation:
|
|
||||||
{
|
|
||||||
if (!ViewModel.AppHost.Device.System.IsPaused)
|
|
||||||
{
|
|
||||||
_focusLoss = default;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
ViewModel.AppHost.Resume();
|
|
||||||
|
|
||||||
_focusLoss = default;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private (FocusLostType Type, bool Active) _focusLoss;
|
|
||||||
|
|
||||||
private void AppWindow_OnLostFocus(object sender, RoutedEventArgs e)
|
|
||||||
{
|
|
||||||
if (ConfigurationState.Instance.FocusLostActionType.Value is FocusLostType.DoNothing)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (ViewModel.AppHost is null) return;
|
|
||||||
|
|
||||||
switch (ConfigurationState.Instance.FocusLostActionType.Value)
|
|
||||||
{
|
|
||||||
case FocusLostType.BlockInput:
|
|
||||||
{
|
|
||||||
if (ViewModel.AppHost.NpadManager.InputUpdatesBlocked)
|
|
||||||
return;
|
|
||||||
|
|
||||||
ViewModel.AppHost.NpadManager.BlockInputUpdates();
|
|
||||||
_focusLoss = (FocusLostType.BlockInput, ViewModel.AppHost.NpadManager.InputUpdatesBlocked);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case FocusLostType.MuteAudio:
|
|
||||||
{
|
|
||||||
if (ViewModel.AppHost.Device.GetVolume() is 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
ViewModel.VolumeBeforeMute = ViewModel.AppHost.Device.GetVolume();
|
|
||||||
ViewModel.AppHost.Device.SetVolume(0);
|
|
||||||
_focusLoss = (FocusLostType.MuteAudio, ViewModel.AppHost.Device.GetVolume() is 0f);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case FocusLostType.BlockInputAndMuteAudio:
|
|
||||||
{
|
|
||||||
if (ViewModel.AppHost.Device.GetVolume() is 0)
|
|
||||||
goto case FocusLostType.BlockInput;
|
|
||||||
|
|
||||||
ViewModel.VolumeBeforeMute = ViewModel.AppHost.Device.GetVolume();
|
|
||||||
ViewModel.AppHost.Device.SetVolume(0);
|
|
||||||
ViewModel.AppHost.NpadManager.BlockInputUpdates();
|
|
||||||
_focusLoss = (FocusLostType.BlockInputAndMuteAudio, ViewModel.AppHost.Device.GetVolume() is 0f && ViewModel.AppHost.NpadManager.InputUpdatesBlocked);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case FocusLostType.PauseEmulation:
|
|
||||||
{
|
|
||||||
if (ViewModel.AppHost.Device.System.IsPaused)
|
|
||||||
return;
|
|
||||||
|
|
||||||
ViewModel.AppHost.Pause();
|
|
||||||
_focusLoss = (FocusLostType.PauseEmulation, ViewModel.AppHost.Device.System.IsPaused);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user