Commit graph

1664 commits

Author SHA1 Message Date
Thog
a849f5a3aa Fix inconsistencies with UserId (#906)
* Fix inconsistencies with UserId

The account user id isn't an UUID. This PR adds a new UserId type with
the correct value ordering to avoid mismatch with LibHac's Uid. This also fix
an hardcoded value of the UserId.

As the userid has been invalid for quite some time (and to avoid forcing
users to their recreate saves), the userid has been changed to "00000000000000010000000000000000".

Also implement a stub for IApplicationFunctions::GetSaveDataSize. (see
the sources for the reason)

Fix #626

* Address jd's & Ac_k's comments
2024-02-22 19:14:45 -05:00
gdkchan
2370411fdb Support configurable point size (#916) 2024-02-22 19:14:45 -05:00
gdkchan
9b0f3d826a Support flat interpolation qualifier on shaders (#915) 2024-02-22 19:14:45 -05:00
Xpl0itR
5b9b736475 Fix application list (#891)
* Fix application list

* Convert file extensions to lowercase before comparing

* AcK's requested changes

* fixed bug found by gdkchan's requested changes

* Account for mismatch between LibHac.TitleLanguage and ...System.Language
2024-02-22 19:14:45 -05:00
gdkchan
fb09da3835 Enable stencil texturing (fixes #866) (#910) 2024-02-22 19:14:44 -05:00
gdkchan
fd0c104edc Discard higher 32-bits of IPC message magic and command number (#911) 2024-02-22 19:14:44 -05:00
Ac_K
a16b37eee5 prepo IPrepoService accurate parsing for report (#905)
* prepo IPrepoService accurate parsing for report

I've found they use msgpack for the report, so I've added a nuget package and deserialize the report in the right way.

Close #838

* jD requested changes

* Change nuget to MsgPack.Cli

* Use var instead of explicit cast
2024-02-22 19:14:44 -05:00
Thog
baa5a10471 Fix OpenBisFileSystem wrong buffer type (#909)
As the title say.
2024-02-22 19:14:44 -05:00
bunnei
9623877ffe SoftwareKeyboard: Interactive data size should include size field. (#907) 2024-02-22 19:14:44 -05:00
Thog
f10b696da7 Make VirtualFileSystem only instanciable once (#901)
This fix a regression caused by #888 on temporary saves for SNES Online.
(and probably other games)
2024-02-22 19:14:44 -05:00
MelonSpeedruns
ee3f6c95b7 Added Program Icon (#900)
* Added Program Icon

Added an icon that displays in the Windows File Explorer and on the console window itself when launched.

* Renamed ryu.ico to Ryujinx.ico
2024-02-22 19:14:44 -05:00
gdkchan
61eca2953b Ignore exit flag on branch delay slot (#899) 2024-02-22 19:14:44 -05:00
Thog
eca7f3ec95 Keep the GUI alive when closing a game (#888)
* Keep the GUI alive when closing a game

Make HLE.Switch init when starting a game and dispose it when closing
the GlScreen.

This also make HLE in charge of disposing the audio and gpu backend.

* Address Ac_k's comments

* Make sure to dispose the Discord module and use GTK quit method

Also update Discord Precense when closing a game.

* Make sure to dispose MainWindow

* Address gdk's comments
2024-02-22 19:14:43 -05:00
Jonathan Goyvaerts
01439e82ab Update DiscordRichPresence package reference to 1.0.147 which is now built for .NET core (#898) 2024-02-22 19:14:43 -05:00
Thog
86b687d5c2 Update 32 bits syscalls to match 64 bits implementation (#892)
* Implement 32 bits syscalls

Co-authored-by: riperiperi <rhy3756547@hotmail.com>

Implement all 32 bits counterparts of the 64 bits syscalls we currently
have.

* Add FlushProcessDataCache32

* Address jd's comments
2024-02-22 19:14:43 -05:00
gdkchan
654637f9a9 Fix shader output color buffer index when non-sequential render targets are used (#895) 2024-02-22 19:14:43 -05:00
bylaws
c5718906a6 Various small audren fixes (#894)
* Remove redundant modulo on wave buffer index

This is already performed by SetBufferIndex

* Correct typo in UpdateDataHeader

MixeSize -> MixSize

* Remove unused variable in audren

'volume' was unused and 'voice.Volume' was used instead so remove 'volume'
2024-02-22 19:14:43 -05:00
gdkchan
ffbc3141ad Support audio effect output status (#890)
* Support audio effect output status

* Remove extra line
2024-02-22 19:14:43 -05:00
gdkchan
3add501f58 Add sampler border color support on the GPU (#893) 2024-02-22 19:14:43 -05:00
Alex Barney
6e18e1df1e Update to LibHac 0.8.2 (#889)
* Update to LibHac 0.8.2

This brings support for temporary savedata, ignores case in key names when loading from a file, and prints the rights ID correctly when missing a title key.

* Auto-format IFileSystemProxy
2024-02-22 19:14:43 -05:00
Thog
f9c6bedca9 Rework SVC handling (#883)
* Rework SVC handling

Prepare for 32 bits support.

* QueryMemory64 x1 is an output

* Pregenerate all SVC handler

Also clean up + 32 bits code path

* Address gdk's comments

* Simplify local setter loop

* Address jd's comments
2024-02-22 19:14:43 -05:00
Ac_K
cafafa41a1 Name all threads (#886)
* Name all threads

Close #874

* use ThreadName instead of ThreadId in Logging
2024-02-22 19:14:43 -05:00
Thog
acb9c9037a Fix race condition in ContentManager (#884)
* Fix race condition in ContentManager

This fix a race condition happening since #791 when trying to load a
game via command line.

* Address gdk's comments

* Ensure to dispose the FileStream and not the IStorage
2024-02-22 19:14:43 -05:00
gdkchan
b2b5371db2 Add a GetSpan method to the memory manager and use it on GPU (#877) 2024-02-22 19:14:43 -05:00
gdkchan
12094e461a Support instanced draw of quads" (#881) 2024-02-22 19:14:42 -05:00
gdkchan
236e8027ee Replace glFinish with barrier for WaitForIdle (#878) 2024-02-22 19:14:42 -05:00
Jonathan Goyvaerts
8b031ee33b Get rid of unused class AboutInfo (#882) 2024-02-22 19:14:42 -05:00
Alex Barney
5b14e1424c Call EnsureApplicationSaveData when launching a game (#871)
* Workaround for the lack of a program registry

* Call EnsureApplicationSaveData when launching a game
2024-02-22 19:14:42 -05:00
Thog
13af50f0cd Add 32 bits support to HleProcessDebugger (#859)
Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2024-02-22 19:14:42 -05:00
Jonathan Goyvaerts
a4745d957f Create method to LoadAndSave ApplicationMetaData and get rid of code duplication (#872) 2024-02-22 19:14:42 -05:00
Thog
2208467991 MapBufferEx: take page size into account (#873)
Fix #744
2024-02-22 19:14:42 -05:00
emmauss
4e2dc9e6e5 System firmware installer (#791)
* firmware installer

* Add directory installation option and fix 9.x support for directory

* Fix missing system font error while installing for the first time

* Address code style comments

* Create and use InvalidFirmwarePackageException

* Fix LDj3SNuD's comments

* addressed alex's comments

* add label to status bar to show current firmware version

Co-authored-by: Thog <thog@protonmail.com>
2024-02-22 19:14:42 -05:00
Xpl0itR
242ae5b183 Update path for system archives in README (#870) 2024-02-22 19:14:42 -05:00
Ac_K
575f31c23d InitializeCounters to Initialize 2024-02-22 19:14:42 -05:00
Ac_K
453dbf52fa PrintGpuInformation 2024-02-22 19:14:42 -05:00
Ac_K
9906bf9cba Add GPU Information to Logging 2024-02-22 19:14:42 -05:00
Thog
526b3b2998 Fix R5G6B5 in SurfaceFlinger (#863)
Also fix B5G6R5Unorm wrong definition in Ryujinx.Graphics.OpenGL.
2024-02-22 19:14:42 -05:00
gdkchan
6ca3ac0a47 Add runtime identifiers to new projects 2024-02-22 19:14:42 -05:00
gdkchan
20c3d0684d Address PR feedback
Removes a useless null check

Aligns some values to improve readability
2024-02-22 19:14:42 -05:00
gdkchan
fc74a27dab Remove some unused args on the shader translator 2024-02-22 19:14:42 -05:00
gdkchan
03251fa7b2 Fix FADD32I check for Ra negation 2024-02-22 19:14:42 -05:00
gdkchan
e9b5b9106f Remove FFMPEG dependency from README 2024-02-22 19:14:41 -05:00
gdkchan
002f0ce334 Address PR feedback
Add TODO comment for GL_EXT_polygon_offset_clamp
2024-02-22 19:14:41 -05:00
gdkchan
c88c7e2f6a Fix some shader disposal issues 2024-02-22 19:14:41 -05:00
gdkchan
a6f2127cbb Fix some spelling mistakes
Thanks to LDj3SNuD for spotting these
2024-02-22 19:14:41 -05:00
gdkchan
a5dd864c6a Fix ShaderTools 2024-02-22 19:14:41 -05:00
gdkchan
c56567a0f1 Address PR feedback 2024-02-22 19:14:41 -05:00
gdkchan
3ede36da5c Target .NET Core 3.0 for NVDEC project 2024-02-22 19:14:41 -05:00
gdkchan
2dd6fa52df Re-add NVDEC project (not integrated) 2024-02-22 19:14:41 -05:00
gdkchan
6646d138ee More code cleanup 2024-02-22 19:14:41 -05:00