lynxnb
e6efaf26bc
Don't scroll to the top of the game list on adapter changes
2023-04-27 00:31:14 +02:00
lynxnb
caa15f729f
Revert setting the app category to game
...
It was causing unbelievable slow cold app boot times on some devices (e.g. Pixel 6), for no apparent reason.
2023-04-27 00:31:14 +02:00
Dima
bdf73aa20d
Fix GetSharedFontInOrderOfPriority
...
return fonts array size instead of loaded state
2023-04-25 10:20:50 +01:00
Pablo González
8c2b39858d
Add xml for the shader compilation screen ( #2255 )
...
* Add xml for the shader compilation screen
* Change ConstraintLayout for LinearLayout and adapt style to MD3
* Change some aspects of the progress indicator and the source of text color
2023-04-23 21:43:48 +02:00
Abandoned Cart
178dbea801
Use the searching text to specify load state
2023-04-22 19:54:04 +01:00
Abandoned Cart
30aee55122
Suppress AppItem serialVersionUID warning
2023-04-22 19:54:04 +01:00
Abandoned Cart
56fd79ff46
Remove the DataItem wrapper on AppItem
2023-04-22 19:54:04 +01:00
Abandoned Cart
c8e0f71bb7
Remove RomFormat as an AppEntry key
...
There may be a time and place where knowing the format is necessary, but it is not in the list of games being presented to the end-user
2023-04-22 19:54:04 +01:00
Abandoned Cart
fe46213beb
Remove "Group Games By Format" option
2023-04-22 19:54:04 +01:00
Abandoned Cart
0b453ca4ed
Simplify placeholder for empty items
2023-04-22 19:54:04 +01:00
Abandoned Cart
b82452f8f8
Remove HeaderItem as a DataItem type
2023-04-22 19:54:04 +01:00
Dima
1841727c56
Remove header rom filter
2023-04-22 19:54:04 +01:00
Billy Laws
d3d36c6fa0
Update hades
2023-04-16 16:31:42 +01:00
Billy Laws
6a57fd16fb
Don't bail out when invalid desc types are encountered
...
This caused graphical artifacts and didn't particularly help prevent crashes.
2023-04-16 16:31:42 +01:00
Billy Laws
34611ba180
Optimise waiter queue push
2023-04-16 16:31:42 +01:00
Billy Laws
e63108bff1
Mark app as being a game
2023-04-16 16:31:42 +01:00
Billy Laws
9caa845d4f
Avoid using interconnect for texture data copies
...
Since the interonnect copies aren't visible or tracked by texture manager, this could cause the texture manager to effectively miss the upload.
2023-04-16 16:31:42 +01:00
Billy Laws
4192873744
Fix TLS writes from X2/3
...
These mistakenly used the wrong source register.
2023-04-16 16:31:42 +01:00
Billy Laws
5bcc79ef80
Ensure SVC trampoline is always correctly sized
...
Despite the trampoline size being hardcoded, it was previously dynamic and could change based off of the value stored in the target register potentially leading to instructions being missed.
2023-04-16 16:31:42 +01:00
Billy Laws
e0c487f607
Fix system register state handling
...
We failed to preserve NCSZ, and and we stored instead of loaded FPCR when returning to guest.
2023-04-16 16:31:42 +01:00
Billy Laws
77ca290a78
Silence counter reset warnings
...
Some games reset all counters at the start of a frame.
2023-04-16 16:31:42 +01:00
Billy Laws
7d0b7f0b71
Handle OOB blits by adding to the texture base offset
...
The previous method would cause OOB reads for the last row to clamp, and adding an extra row would potentially encounter unmapped memory. So use this technique based on how Ryu does it.
2023-04-16 16:31:42 +01:00
Dima
6aef7fdd1e
Stub some services
2023-04-03 10:30:20 +01:00
Billy Laws
5c83dec85f
Update shader compiler
2023-04-02 17:35:12 +01:00
Billy Laws
bbc8ccb823
Treat partially unmapped textures as unmapped
2023-04-02 17:35:12 +01:00
Billy Laws
bbe4872a95
Fix missed CachedMappedBufferView initialisation
2023-04-02 17:35:12 +01:00
Billy Laws
7bfe63f679
Enable adreno/mali LLVM misopt workaround
...
Fixes animal crossing character issues, see shader compiler commit for details.
2023-04-02 17:35:12 +01:00
Billy Laws
737fb2207d
Avoid submitting executions on semaphore incrs
...
This avoids breaking RPs which helps perf, and since we have our own sync logic we don't need to match the guest here.
2023-04-02 17:35:12 +01:00
Billy Laws
99a7b77948
Remove broken descriptor aliasing quirk
...
This can be fixed in the shader compiler by just naming cbufs differently.
2023-04-02 17:35:12 +01:00
Billy Laws
c440575a56
Add partial conditional rendering support
...
Disabled for cases where the results come from queries rn, however still functional for cases like AC which don't use it with queries.
2023-04-02 17:35:12 +01:00
Billy Laws
a2798a9184
Implement support for occulusion queries
...
These are mostly implemented how you would expect, however as opposed to copying out query pool results immeditely, doing so is delayed until the RP end in order to avoid splits.
2023-04-02 17:35:12 +01:00
Billy Laws
202c97a1eb
Introduce several new node insertion functions for use with queries
...
Queries need the ability to insert commands at the beginning and end of RPs.
2023-04-02 17:35:12 +01:00
Billy Laws
9a51b5f54e
Update audio-core
2023-04-02 17:33:57 +01:00
lynxnb
816599749b
Fix Android Studio OSC layout preview (again)
...
The layout preview/editor doesn't instantiate an Application instance, therefore accessing `displayMetrics` from the app context would lead to a crash, and the view being mocked in the preview.
Additionally a default grid value is defined for `AlignmentGridView` to avoid a crash because of an invalid iteration step in the drawing loop.
2023-04-02 18:16:10 +02:00
lynxnb
3cbbdeda33
Improve OSC default position of sticks and buttons
2023-04-02 18:16:10 +02:00
lynxnb
a799cb63f1
Add separate L3 and R3 buttons to OSC
...
As part of this commit, a `defaultEnabled` property was added to `OnScreenButton` to determine the default visibility of buttons. This is required because L3 and R3 should be hidden by default and only enabled by the user on demand.
Additionally, the buttons' mask values were added to `ButtonId` members, as adding entries in the middle of the class conflicted with the `ordinal` enum property, making it unfit to use for our purposes.
Finally, the `ControllerType` class was extended with an array of optional buttons. Optional buttons represent buttons that are allowed to be displayed on screen, but shouldn't be included in the controller mapping activity.
2023-04-02 18:16:10 +02:00
lynxnb
acdf4e6823
Introduce constants for default OSC config values
2023-04-02 18:16:10 +02:00
lynxnb
83bc93601f
Use EFFECT_TICK
instead of CLICK
as OSC vibration effect
2023-04-02 18:16:10 +02:00
lynxnb
88e6fc9888
Implement OSC snap to grid functionality
2023-04-02 18:16:10 +02:00
lynxnb
88084016a1
Implement OSC per-button scale functionality
2023-04-02 18:16:10 +02:00
lynxnb
2794af6d06
OSC: delegate config reset to individual buttons
2023-04-02 18:16:10 +02:00
lynxnb
3fc09f0953
Add OnScreenButton
properties' missing comments
2023-04-02 18:16:10 +02:00
lynxnb
81eb8fd231
Rework OSC edit mode handling for better extensibility
...
Edit mode configuration parameters are now shared between the view and the buttons in a small `OnScreenEditInfo` object, avoiding variable duplication about edit state. The `editingTouchHandler` has also been simplified to only lookup the button if one wasn't being edited already.
2023-04-02 18:16:10 +02:00
lynxnb
c4d0d02509
Simplify OnScreenConfiguration
...
`ControllerConfigurationDummy` was removed as it isn't needed anymore, and the remaining classes simplified.
2023-04-02 18:16:10 +02:00
lynxnb
17f45c0366
Retrieve the vibrator service outside of OSC View
...
Retrieving the vibrator service inside the view crashes the layout editor. Fix by retrieving it in the activity and passing it to the view.
2023-04-02 18:16:10 +02:00
kikimanjaro
0eed72664d
Add automatic refreshing games list
2023-04-02 16:52:37 +02:00
Billy Laws
d00fcee79d
Prevent aaudio backend usage
2023-03-27 22:31:14 +01:00
Billy Laws
9555082763
Update audio-core
2023-03-27 22:31:14 +01:00
Billy Laws
653bfba23b
Use OpenSL over AAudio
...
AAudio lacks support for multiple streams on some devices, whereas OpenSL doesn't.
2023-03-27 22:31:14 +01:00
Billy Laws
7d573db80b
Make GetTimeTicks return the time in guest ticks as opposed to host
...
This is required by audren.
2023-03-27 22:31:14 +01:00