Commit graph

3271 commits

Author SHA1 Message Date
Isaac Marovitz
6846f23c62 Old man yells at formatter 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a6c066ea38 Remove redundant property 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a0a74d3d10 Remove ambigious object 2024-02-23 20:52:15 -05:00
Isaac Marovitz
c7f52388c9 Remove all ReflectionBindings 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a0687b630c Analyzer fix 2024-02-23 20:52:15 -05:00
Isaac Marovitz
3a10d79bd9 Style fixes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
9a8a926851 Code style fixes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
02b355eebf Formatting and error
More Ava 11-ness

Whoops
2024-02-23 20:52:15 -05:00
Isaac Marovitz
5e8eedae37 Ack Suggestions
Remaining ack suggestions

Update src/Ryujinx.Ava/UI/Models/Input/ControllerInputConfig.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>

Update src/Ryujinx.Ava/UI/Models/Input/ControllerInputConfig.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2024-02-23 20:52:15 -05:00
Isaac Marovitz
71fa81017b Fixes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
9bbee3041e Fix rebase errors 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b9cf223d86 Visual fixes and improvements
One weird bug
2024-02-23 20:52:15 -05:00
Isaac Marovitz
7dddee5971 Cleanup a couple things 2024-02-23 20:52:15 -05:00
Isaac Marovitz
e51c131fd7 Dispose stuff 2024-02-23 20:52:15 -05:00
Isaac Marovitz
86fdd76013 Crimes are here to stay 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b005814c72 Please be quiet 2024-02-23 20:52:15 -05:00
Isaac Marovitz
44a53e1cdf Try me in the Hague 2024-02-23 20:52:15 -05:00
Isaac Marovitz
2b0fce3e9d Crimes against code 2024-02-23 20:52:15 -05:00
Isaac Marovitz
1231e1e87d We’re done at last 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a5ef6580c4 Are you feeling it now mr krabs 2024-02-23 20:52:15 -05:00
Isaac Marovitz
3afc37e683 Localise ButtonKeyAssigner 2024-02-23 20:52:15 -05:00
Isaac Marovitz
920777bc4b r/therestofthefuckingowl 2024-02-23 20:52:15 -05:00
Isaac Marovitz
c567f40531 Start localising 2024-02-23 20:52:15 -05:00
Isaac Marovitz
4a92d0b482 Actually fix fuck ups 2024-02-23 20:52:15 -05:00
Isaac Marovitz
1b037ca33d Fix more stupid mistakes 2024-02-23 20:52:15 -05:00
Isaac Marovitz
a553b090b6 Fix stupid mistake 2024-02-23 20:52:15 -05:00
Isaac Marovitz
355ec4036f Almost there 2024-02-23 20:52:15 -05:00
Isaac Marovitz
d738da55a7 Progress 2024-02-23 20:52:15 -05:00
Isaac Marovitz
d224996c15 It builds 2024-02-23 20:52:15 -05:00
Isaac Marovitz
281a078773 Propogate those fields i forgot about 2024-02-23 20:52:15 -05:00
Isaac Marovitz
53bc71f181 Clean 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b35a0e5888 Restructure 2024-02-23 20:52:15 -05:00
Isaac Marovitz
12991ce070 Restructure + Ack suggestions 2024-02-23 20:52:15 -05:00
Isaac Marovitz
b71fa3784e Restructure + Ack suggestions 2024-02-23 20:52:15 -05:00
Isaac Marovitz
139a4b1fe7 Slow and steady 2024-02-23 20:52:15 -05:00
Isaac Marovitz
d3f0c085d3 So much boilerplate 2024-02-23 20:52:15 -05:00
dependabot[bot]
4d0dbbfae2
nuget: bump System.Drawing.Common from 8.0.1 to 8.0.2 (#6308)
Bumps [System.Drawing.Common](https://github.com/dotnet/winforms) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/dotnet/winforms/releases)
- [Changelog](https://github.com/dotnet/winforms/blob/main/docs/release-activity.md)
- [Commits](https://github.com/dotnet/winforms/compare/v8.0.1...v8.0.2)

---
updated-dependencies:
- dependency-name: System.Drawing.Common
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 01:17:24 +01:00
jhorv
08384ee5a8
IPC code gen improvements (#6352)
* HipcGenerator: skip do-nothing call to MemoryMarshal.Cast<byte, byte>() in generated code

* HipcGenerator: fix method name typos

* HipcGenerator: make generated methods use stackalloc for `isBufferMapAlias` bool array

* HipcGenerator: make generated GetCommandHandlers() method return a FrozenDictionary<int, CommandHandler>

* HipcGenerator: return `FrozenDictionary<,>.Empty` when there are no command implementations, otherwise create `FrozenDictionary` from a `IEnumerable<KeyValuePair<,>>`` instead of a `Dictionary<,>``
2024-02-23 21:12:24 -03:00
gdkchan
d4d0a48bfe
Migrate Audio service to new IPC (#6285)
* Migrate audren to new IPC

* Migrate audout

* Migrate audin

* Migrate hwopus

* Bye bye old audio service

* Switch volume control to IHardwareDeviceDriver

* Somewhat unrelated changes

* Remove Concentus reference from HLE

* Implement OpenAudioRendererForManualExecution

* Remove SetVolume/GetVolume methods that are not necessary

* Remove SetVolume/GetVolume methods that are not necessary (2)

* Fix incorrect volume update

* PR feedback

* PR feedback

* Stub audrec

* Init outParameter

* Make FinalOutputRecorderParameter/Internal readonly

* Make FinalOutputRecorder IDisposable

* Fix HardwareOpusDecoderManager parameter buffers

* Opus work buffer size and error handling improvements

* Add AudioInProtocolName enum

* Fix potential divisions by zero
2024-02-22 16:58:33 -03:00
riperiperi
57d8afd0c9
OpenGL: Mask out all color outputs with no fragment shader (#6341)
* OpenGL: Mask out all color outputs with no fragment shader

This appears to match Vulkan's behaviour, which is needed for stencil shadows in Penny's Big Breakaway. It's far from the only issue, you can try the Full Bindless PR if you want to see it in a more intact state.

* Remove unused member
2024-02-22 18:43:19 +01:00
gdkchan
c43fb92bbf
Ensure service init runs after Horizon constructor (#6342) 2024-02-22 13:55:29 -03:00
gdkchan
167f50bbcd
Implement virtual buffer dependencies (#6190)
* Implement virtual buffer copies

* Introduce TranslateAndCreateMultiBuffersPhysicalOnly, use it for copy and clear

* Rename VirtualBufferCache to VirtualRangeCache

* Fix potential issue where virtual range could exist in the cache, without a physical buffer

* Fix bug that could cause copy with negative size on CopyToDependantVirtualBuffer

* Remove virtual copy back for SyncAction

* GetData XML docs

* Make field readonly

* Fix virtual buffer modification tracking

* Remove CopyFromDependantVirtualBuffers from ExternalFlush

* Move things around a little to avoid perf impact

- Inline null check for CopyFromDependantVirtualBuffers
- Remove extra method call for SynchronizeMemoryWithVirtualCopyBack, prefer calling CopyFromDependantVirtualBuffers separately

* Fix up XML doc

---------

Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2024-02-22 11:03:07 -03:00
riperiperi
ba91f5d401
Vulkan: Properly reset barrier batch when splitting due to mismatching flags (#6345)
Forgot to set the end variable here. Should stop it from crashing when this path is taken.
2024-02-22 10:43:22 +01:00
riperiperi
79f6c18a9b
Vulkan: Disable push descriptors on older NVIDIA GPUs (#6340)
Disables push descriptors on older NVIDIA GPUs (10xx and below), since it is clearly broken beyond comprehension. The existing workaround wasn't good enough and a more thorough one will probably cost more performance than the feature gains. The workaround has been removed.

Fixes #6331.
2024-02-21 23:52:13 -03:00
riperiperi
4f63782bac
Vulkan: Fix barrier batching past limit (#6339)
If more than 16 barriers were queued at one time, the _queuedBarrierCount would no longer match the number of remaining barriers, because when breaking out of the loop consuming them it deleted all barriers, not just the 16 that were consumed.

Should fix freezes that started occurring with #6240. Fixes issue #6338.
2024-02-21 23:41:08 -03:00
MetrosexualGarbodor
6f5fcb7970
Avalonia UI: Update English tooltips (#6305)
* update English tooltips

* missed a dot
2024-02-19 23:27:15 +01:00
Mary Guillemard
6ef8946169
Avalonia: Fix gamescope once and for all (#6301)
Enable input focus proxy, makes WM_TAKE_FOCUS capability to be exposed.

This fix menu on gamescope, for real this time....

Signed-off-by: Mary Guillemard <mary@mary.zone>
2024-02-19 21:18:46 +01:00
gdkchan
42340fc743
LightningJit: Add a limit on the number of instructions per function for Arm64 (#6328) 2024-02-17 17:30:54 -03:00
Exhigh
103e7cb021
hid: Stub SetTouchScreenResolution (#6322)
* hid: Implement SetTouchScreenResolution

* Fix Tomb Raider I-III Remastered from crashing without enabling Ignore Missing Services

* PR Feedback: Update Comments
2024-02-17 14:49:50 -03:00
riperiperi
31ed061bea
Vulkan: Improve texture barrier usage, timing and batching (#6240)
* WIP barrier batch

* Add store op to image usage barrier

* Dispose the barrier batch

* Fix encoding?

* Handle read and write on the load op barrier.

Load op consumes read accesses but does not add one, as the only other operation that can read is another load.

* Simplify null check

* Insert barriers on program change in case stale bindings are reintroduced

* Not sure how I messed this one up

* Improve location of bindings barrier update

This is also important for emergency deferred clear

* Update src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs

Co-authored-by: Mary Guillemard <thog@protonmail.com>

---------

Co-authored-by: Mary Guillemard <thog@protonmail.com>
2024-02-17 00:21:37 -03:00