aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-07Add support for guest Fz (Fpcr) mode through host Ftz and Daz (Mxcsr) modes ↵LDj3SNuD
(fast paths). (#1630) * Add support for guest Fz (Fpcr) mode through host Ftz and Daz (Mxcsr) modes (fast paths). * Ptc.InternalVersion = 1630 * Nits. * Address comments. * Update Ptc.cs * Address comment.
2020-12-07logger: Add build version to the log file names (#1782)Ac_K
2020-12-03Extract texture Target from Info for quick access (#1774)riperiperi
2020-12-03CPU: Implement VFNMS.F32/64 (#1758)sharmander
* Add necessary methods / op-code * Enable Support for FMA Instruction Set * Add Intrinsics / Assembly Opcodes for VFMSUB231XX. * Add X86 Instructions for VFMSUB231XX * Implement VFNMS * Implement VFNMS Tests * Add special cases for FMA instructions. * Update PPTC Version * Remove unused Op * Move Check into Assert / Cleanup * Rename and cleanup * Whitespace * Whitespace / Rename * Re-sort * Address final requests * Implement VFMA.F64 * Simplify switch * Simplify FMA Instructions into their own IntrinsicType. * Remove whitespace * Fix indentation * Change tests for Vfnms -- disable inf / nan * Move args up, not description ;) * Undo vfma * Completely remove vfms code., * Fix order of instruction in assembler
2020-12-03Dummy out gl queries with 0 draws, remove glFlush call (#1773)riperiperi
2020-12-03Cache delegate for QueryModified, use regular multi handle. (#1771)riperiperi
2020-12-03Make sure to not leak copy handles passed in request (#1772)Mary
* Make sure to not leak copy handles passed in request Following last gdkchan's PR this make sure to close copy handles that are passed by guest when it should. * fix comment copy pasta
2020-12-02Close audio WorkBuffer transfer memory handle (#1770)gdkchan
2020-12-02Create a single guest process per IPC message processor (#1769)gdkchan
2020-12-02amadeus: Fix a typo in TapFrame logic (#1767)Mary
This fix a crash at boot in Pang Adventures
2020-12-02IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special ↵gdkchan
handling from kernel (#1458) * IPC refactor part 2: Use ReplyAndReceive on HLE services and remove special handling from kernel * Fix for applet transfer memory + some nits * Keep handles if possible to avoid server handle table exhaustion * Fix IPC ZeroFill bug * am: Correctly implement CreateManagedDisplayLayer and implement CreateManagedDisplaySeparableLayer CreateManagedDisplaySeparableLayer is requires since 10.x+ when appletResourceUserId != 0 * Make it exit properly * Make ServiceNotImplementedException show the full message again * Allow yielding execution to avoid starving other threads * Only wait if active * Merge IVirtualMemoryManager and IAddressSpaceManager * Fix Ro loading data from the wrong process Co-authored-by: Thog <me@thog.eu>
2020-12-02Implement Force Early Z Register (#1755)riperiperi
2020-12-01Add a "Remove All" button to the DLC and Update windows (#1579)Xpl0itR
2020-12-01Add option to start games in fullscreen mode (#1580)Xpl0itR
* Add option to start games in fullscreen mode * Add command line option * Use pascal case on menu item
2020-12-01salieri: Fix missing guest GPU accessor missing on hashes (#1759)Mary
This adds the guest GPU accessor to hashes computation. As this change all the hashes from the cache, I added some migration logic. This is required for #1755.
2020-12-01common: Fix last warning in SystemInfo (#1757)Ac_K
* common: Fix last warning in SystemInfo * info to Info * fix MacOSSystemInfo file name by delete the file * MacOSSysteminfo to MacOSSystemInfo
2020-12-01config: Fix MaxAnisotropy value parsing (#1764)Ac_K
2020-11-27audio: Cleanup Ryujinx.Audio and fix OpenAL issue (#1746)Ac_K
* audio: Cleanup SoundIO and fix OpenAL issue * fix tabs by spaces * Fix extra spaces * Fix SoundIO.cs * Fix ContainsAudioOutBuffer
2020-11-27Prefer truly perfect texture matches over fomat aliased ones (#1754)riperiperi
2020-11-27Blacklist very textures with a very small width or height from scaling (#1753)riperiperi
2020-11-27ui: Check last played datetime validity against current culture (#1730)Mary
This is an issue happening when you change your datetime format on your system and try to sort via last played datetime. DateTime.Parse use the current thread culture and will not parse date correctly, effectively causing a crash. As such, I added a check when loading the game list that ensure that the datetime is valid in current culture. Fix #1727.
2020-11-27Remove some warnings and cleaning code (#1736)Ac_K
2020-11-24pctl: Implement IsRestrictionEnabled and fix ↵Ac_K
CheckFreeCommunicationPermission (#1747) * pctl: Implement IsRestrictionEnabled and fix CheckFreeCommunicationPermission * fix comment
2020-11-24am: Fix GetSaveDataSize stub (#1748)Ac_K
2020-11-21am: Cleaning and stub TryPopFromFriendInvitationStorageChannel (#1738)Ac_K
2020-11-21amadeus: Fix reverb 3d mono wrong delay line offset (#1742)Mary
This fix reverb 3d mono rendering using -1 instead of 1 for delay line offset. I also did some clean up as this value is now used by all channel variants. Now Resident Evil 6 goes in-gane.
2020-11-21salieri: remove a wrong debug assert (#1740)Mary
THis assert is wrong and useless now, remove it because it's annoying in Debug.
2020-11-21amadeus: Fix possible underflow in delay time delay effect (#1739)Mary
This fix an underflow in the setup of delay time in the delay effect. THis fix a regression caused by Amadeus on Shovel Knight: Treasure Trove.
2020-11-21audin: fix wrong id ListAudioInsAuto call (#1737)Ac_K
2020-11-20audout: Implement and fix some calls (#1725)Ac_K
* audout: Implement GetAudioOutBufferCount, GetAudioOutPlayedSampleCount and FlushAudioOutBuffers This PR implement audout service calls: - GetAudioOutBufferCount - GetAudioOutPlayedSampleCount - FlushAudioOutBuffers The RE calls just give some hints about no extra checks. Since we use a totally different implementation because of our backend, I can't do something better for now. SetAudioOutVolume and GetAudioOutVolume are fixed too by set/get the volume of the current opened track, previous implementation was wrong. This fix #1133, fix #1258 and fix #1519. Thanks to @jduncanator for this help during the implementation and all his precious advices. * Fix some debug leftovers * Address jD feedback
2020-11-20Allow copy destination to have a different scale from source (#1711)riperiperi
* Allow copy destination to have a different scale from source Will result in more scaled copy destinations, but allows scaling in some games that copy textures to the output framebuffer. * Support copying multiple levels/layers Uses glFramebufferTextureLayer to copy multiple layers, copies levels individually (and scales the regions). Remove CopyArrayScaled, since the backend copy handles it now.
2020-11-20Perform Compressed<->Uncompressed copies using Pixel Buffer Objects (#1732)riperiperi
* PBO single layer copy, part 1 Still needs ability to take and set width/height slices. (using pack paramaters) * PBO Copies pt 2 * Some fixes and cleanup. * Misc Cleanup * Move handle into the TextureInfo interface. This interface is shared between texture storages and views. * Move unscaled copy to the TextureCopy class. * Address feedback.
2020-11-20Use backup when PTC compression is corrupt (#1704)riperiperi
* Use backup when PTC compression is corrupt * Apply suggestions from code review Co-authored-by: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Co-authored-by: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com>
2020-11-20olsc: Add service olsc:u and stub some calls (#1734)Ac_K
2020-11-19gui: Toggle Docked/Handheld mode and VSync by clicking status bar (#1726)Ac_K
* gui: Toggle between docked/handheld mode by clicking status bar This PR just add a way to toggle between the docked and the handheld mode by clicking the lable in the status bar. Nothing more. * Fix glade file formatting * Add VSync toggle
2020-11-19GLRenderer: Change between docked and handheld mode using a keybinding (#1685)Sera
* GLRenderer: Change between docked and handheld mode using a keybinding * nit
2020-11-18Do not perform layout conversion on buffer texture flushes (#1729)gdkchan
2020-11-18CPU (A64): Add FP16/FP32 fast paths (F16C Intrinsics) for Fcvt_S, Fcvtl_V & ↵LDj3SNuD
Fcvtn_V Instructions. Now HardwareCapabilities uses CpuId. (#1650) * net5.0 * CPU (A64): Add FP16/FP32 fast paths (F16C Intrinsics) for Fcvt_S, Fcvtl_V & Fcvtn_V Instructions. Switch to .NET 5.0. Nits. Tests performed successfully in both debug and release mode (for all instructions involved). * Address comment. * Update appveyor.yml * Revert "Update appveyor.yml" This reverts commit 27cdd59e8b90e227e6924d9c162af26c00a89013. * Remove Assembler CpuId. * Update appveyor.yml * Address comment.
2020-11-18Improvements with new .NET 5 functions or bugfixes (#1714)gdkchan
* Improvements with new .NET 5 functions or bugfixes * This no longer needs to be unsafe
2020-11-18loaders: Fix possible parsing errors of informations on some NSO (#1724)Ac_K
This fix possible parsing errors of informations on some NSO where the "zero" field don't exist introduced by #1661 leading to crashes at start. References: https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/creport/source/creport_modules.cpp#L202 https://github.com/Thog/oss-rtld/blob/master/source/main.cpp#L14
2020-11-17Simplify depth test state updates (#1695)gdkchan
2020-11-17Fix buffer to texture copy with remap enabled (#1721)gdkchan
2020-11-17Specify the X64 version of .NET 5, and change the build command to be the ↵EmulationFanatic
right one (#1719)
2020-11-17shader cache: Fix Linux boot issues (#1709)Mary
* shader cache: Fix Linux boot issues This rollback the init logic back to previous state, and replicate the way PTC handle initialization. * shader cache: set default state of ready for translation event to false * Fix cpu unit tests
2020-11-17shader cache: Fix possible race causing crashes on manifest at startup (#1718)Mary
* shader cache: Fix possible race causing crashes on manifest at startup This fix a misplace function call ending up causing possibly two write on the cache.info at the same time. * shader cache: Make RemoveManifestEntries async too to be sure all operations are perform before starting the game
2020-11-17shader cache: Fix invalid virtual address clean up (#1717)Mary
* shader cache: Fix invalid virtual address clean up This fix an issue causing the virtual address of texture descriptors to not be cleaned up when caching and instead cleaning texture format and swizzle. This should fix duplicate high duplication in the cache for certain games and possible texture corruption issues. **THIS WILL INVALIDATE ALL SHADER CACHE LEVELS CONSIDERING THE NATURE OF THE ISSUE** * shader cache: Address gdk's comment
2020-11-16Propagate zeta format properly (#1716)gdkchan
2020-11-15am: Fix VR enabled by default (#1715)Ac_K
This PR fix an issue I've made in #1688 which is enabled VR as default. It could cause rendering issues in games when VR mode isn't used, as users have reported in Smash:
2020-11-15am/lbl/hid/pctl: Enabled VR Rendering (#1688)Ac_K
* am/lbl/hid/pctl: Enabled VR Rendering This PR enable VR rendering on games which support it through the Toy-Con VR Goggles. Please remember Ryujinx currently don't support console SixAxis sensor and for now, in some games, the view can't be moved. Everything is implemented accordingly to RE: - am: ICommonStateGetter: SetVrModeEnabled, BeginVrModeEx, EndVrModeEx. - lbl: ILblController: SetBrightnessReflectionDelayLevel, GetBrightnessReflectionDelayLevel, SetCurrentAmbientLightSensorMapping, GetCurrentAmbientLightSensorMapping, SetCurrentBrightnessSettingForVrMode, GetCurrentBrightnessSettingForVrMode, EnableVrMode, DisableVrMode, IsVrModeEnabled. - pctl: IParentalControlService: ConfirmStereoVisionPermission, ConfirmStereoVisionRestrictionConfigurable, GetStereoVisionRestriction, SetStereoVisionRestriction, ResetConfirmedStereoVisionPermission, IsStereoVisionPermitted. - hid: IHidServer: ResetSevenSixAxisSensorTimestamp is stubbed because we don't support console SixAxisSensor for now. Maybe we could add a setting later to enable or disable VR. But I think it's fine to keep this always available since you have to enable it in games. * Fix permission flag check * Address gdkchan feedback
2020-11-15ui diag: Add missing error message for ApplicationNotFound (#1693)Mary
I missed to add the error messages for this error code on the initial PR, this fix it.