Commit graph

6790 commits

Author SHA1 Message Date
Jean-Philip Desjardins
0fe80a2de4 Make clock ratio configurable.
Can be used to test effects of underclocking in real time.
2021-10-15 17:23:33 -04:00
Jean-Philip Desjardins
d020c69d1e Tweak assert.
Just make sure we catch edge cases if they happen.
2021-10-15 10:09:23 -04:00
Jean-Philip Desjardins
fe7356753e Improve kernel alarm handling.
There's now a proper delay for the alarm handler invocation.
2021-10-15 10:09:23 -04:00
Jean-Philip Desjardins
631072045d Make PAUSED the initial CD status.
Way of Samurai relies on this to begin reading from disc.
2021-10-15 10:08:42 -04:00
Jean-Philip Desjardins
f40a24759e Only keep valid QWC bits in case QWC underflows. 2021-10-15 10:08:42 -04:00
Jean-Philip Desjardins
ca8194eada Fix style. 2021-10-14 20:14:28 -04:00
Jean-Philip Desjardins
afce989876 Add handling for BC2F.
Still not properly implemented though.
2021-10-14 13:00:45 -04:00
Jean-Philip Desjardins
607a697177 Add missing cases. 2021-10-14 12:50:41 -04:00
Jean-Philip Desjardins
c624a6b771 Compute BSS section size if 0 is provided.
Needed by Kya: Dark Lineage.
2021-10-14 12:47:14 -04:00
Jean-Philip Desjardins
4739e6610c Move string resources. 2021-10-13 16:30:37 -04:00
Jean-Philip Desjardins
d23102565e Better messaging.
Honestly not sure how to make this easier for users.
2021-10-13 16:30:36 -04:00
Jean-Philip Desjardins
e6d4c0d4bb Add some feedback. 2021-10-13 16:30:36 -04:00
Jean-Philip Desjardins
3586937883 Allow migrating from the settings menu. 2021-10-13 16:30:36 -04:00
Jean-Philip Desjardins
c044a1ecbf Plug in the migration process.
Only the first time you start the app for now. But will add a preference item to activate it.
2021-10-13 16:30:36 -04:00
Jean-Philip Desjardins
470421c6e5 Mini cleanup. 2021-10-13 16:30:36 -04:00
Jean-Philip Desjardins
b6f320c012 Update Android build tools version. 2021-10-13 16:30:35 -04:00
Jean-Philip Desjardins
49bdcbb206 First draft of data folder migration code. 2021-10-13 16:30:35 -04:00
Jean-Philip Desjardins
ea29275910 Use app's data path instead of external storage.
Maybe a temp fix, gotta see how we're going to handle migration from old dir to this new dir.
2021-10-13 16:30:35 -04:00
Jean-Philip Desjardins
3ea9f0d661 Target SDK version 30. 2021-10-13 16:30:35 -04:00
Jean-Philip Desjardins
0b66e54ced Fix PovHatBinding's SetValue. 2021-10-13 08:10:57 -04:00
Jean-Philip Desjardins
2a64695f6e Convert evdev range to our range. 2021-10-13 08:10:57 -04:00
Jean-Philip Desjardins
2c044275fc Fix broken fragment shader interlock requirement on Vulkan. 2021-10-12 13:55:41 -04:00
Jean-Philip Desjardins
3bc60f4728 Fix a few high occurring crashes reported by Google Play. 2021-10-01 11:05:33 -04:00
Jean-Philip Desjardins
b30a553d4d
Merge pull request #1129 from Croden1999/patch
Android: Update translation
2021-10-01 09:09:20 -04:00
Croden1999
1dd4d39493
Update translation 2021-10-01 14:06:43 +08:00
Jean-Philip Desjardins
4fe199b34c Limit workgroup size using device caps. 2021-09-29 18:42:47 -04:00
Jean-Philip Desjardins
9056ae1755 Fix issues with xfer compute job.
- Limit size of workgroup size with device limits.
- Align buffer to what the device requires.

Seems to help fix issues with some Mali devices.
2021-09-29 16:47:42 -04:00
Jean-Philip Desjardins
8e2bc282b6 Update Framework submodule. 2021-09-28 16:37:36 -04:00
Jean-Philip Desjardins
4662b635be Add item in settings menu to switch GS handler. 2021-09-28 15:16:07 -04:00
Jean-Philip Desjardins
62aeeda944 Add preference to switch between OpenGL & Vulkan. 2021-09-28 15:02:53 -04:00
Jean-Philip Desjardins
3fb2128670 Remove one instance of hardcoded GS class name. 2021-09-28 14:02:27 -04:00
Jean-Philip Desjardins
5cd65b21da Make all subpass dependencies per region. 2021-09-28 11:35:49 -04:00
Jean-Philip Desjardins
fb803c3f4e Fix validation error. 2021-09-28 10:57:17 -04:00
Jean-Philip Desjardins
10ee031d27 Fixed some crashes and edge cases. 2021-09-28 10:57:05 -04:00
Jean-Philip Desjardins
4e5eb8f534 Style fix. 2021-09-25 10:31:27 -04:00
Jean-Philip Desjardins
e0f5e464d0 Add definitions to select which Vulkan flavor we want to use.
Not the best mechanism, but this now allows both flavors to live in the same branch.
2021-09-24 21:59:21 -04:00
Jean-Philip Desjardins
6a3f6d0351 Update Framework submodule. 2021-09-24 21:55:59 -04:00
Jean-Philip Desjardins
03a6d5ea2a Update post refactor. 2021-09-24 13:02:21 -04:00
Jean-Philip Desjardins
802f2dc845 Fix style issues. 2021-09-24 13:02:20 -04:00
Jean-Philip Desjardins
f4e54ceed9 Test adding some more dependencies. 2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
a7ab66eec5 Add a pipeline barrier between draw calls.
Seems to fix flickering on Adreno devices.
2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
11a9615684 Update Nuanceur submodule. 2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
bec62a86f8 Update Android build tools. 2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
ddc2bddf11 No need to flush render pass if fb mask changed. 2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
4bc887730a Implement SetWindow on Android Vulkan.
Fixes crash when starting a game for the second time.
2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
70e5620625 Import memory copy logic.
Fixes post processing in many games.
2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
05beb3e20e Limit store area.
Scissor is not enough to determine which area to write back to memory.
2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
75e9904d11 Flush render pass when scissor changes.
What is kept in the transient framebuffer is dependent on the current scissor.
2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
5912144fcf Use integer color pipeline. 2021-09-24 13:01:29 -04:00
Jean-Philip Desjardins
b710e2d1ed Post rebase fixes. 2021-09-24 13:01:29 -04:00