Commit graph

368 commits

Author SHA1 Message Date
Connor McLaughlin 469010868e Android: Add missing menu file 2021-02-04 14:09:06 +10:00
Connor McLaughlin 929863e7d6
Merge pull request #1576 from falsepopsky/updateSpanish
updated spanish translation
2021-02-04 13:48:50 +10:00
Connor McLaughlin 2029702eda Android: Add option to manually inject a path into the game list 2021-02-04 13:47:16 +10:00
falsepopsky 4c0d3c5c9d fixed some misleading translation in android spanish, also updated to latest duckstation-qt_es 2021-02-03 21:59:24 -03:00
Connor McLaughlin 55b61e9030 Android: Add Russian to language override list 2021-02-02 03:58:21 +10:00
Connor McLaughlin 62fe03782e
Merge pull request #1555 from 6lackmag3/master
Russian translation for Android
2021-02-02 03:54:09 +10:00
6lackmag3 c7e08ec420
Create strings.xml
strings for Russian translation
2021-02-01 04:02:10 +03:00
6lackmag3 ad2fd0d682
Create arrays.xml
arrays for Russian translation
2021-02-01 04:00:20 +03:00
6lackmag3 2a6ac1115a
Update strings.xml
with -> wish
2021-01-31 23:05:42 +03:00
Connor McLaughlin 85b4a02f20 Fix Android build 2021-01-31 17:28:37 +10:00
Connor McLaughlin 98b4101cd7 Settings: Expose Save() method to interface 2021-01-31 17:10:27 +10:00
Connor McLaughlin e697d9aa33 HostDisplay: Move imgui context creation to base class 2021-01-31 17:10:27 +10:00
Anderson_Cardoso 99bedb0f0b Android Updated some missing Strings to latest.
Yo, @stenzek

Please note that I'm really not sure if this is right or not.. if something is wrong please let me know and will redo it.

Added Missing Strings

- Main Menu
Controller Mapping

- Settings
Game Directories / Summary Game Directories

- Theme
Theme / Array

- Sync to host refresh rate
Settings as well as Summary

- Audio
audio resampling / summary

- Controller Mapping
controller mapping / summary

- Enhancements
disable enhancements / summary

Advanced
- Sustained Performance / summary
- Threaded GPU Presentation / summary
- Optimal frame pacing / Summary
2021-01-31 16:39:51 +10:00
Anderson_Cardoso b43b24ce8d Android Updated Some Missing Arrays
Updated some missing arrays for Portuguese language translation.
2021-01-31 16:39:51 +10:00
Connor McLaughlin 84dd24902c Android: Fix incorrect setting key for FF volume 2021-01-31 16:39:51 +10:00
Connor McLaughlin 678ef7d7b6 Android: Add Spanish to language override selector 2021-01-31 16:39:51 +10:00
falsepopsky e8515322f4 added missed strings <display all frames> for values-es 2021-01-28 22:20:48 -03:00
falsepopsky 24c7021d0c new language translation for android => Spanish, also updated and fixed the last duckstation-qt_es translation to latest 2021-01-28 21:54:54 -03:00
Connor McLaughlin 9ada3c8e6f Settings: Rename 'Display All Frames' to 'Optimal Frame Pacing' 2021-01-28 23:50:39 +10:00
Connor McLaughlin 4bb3fb48f9 System: Add a new throttler/pacer which can catch up on lost time
This can result in worse frame pacing, so if you have a decent machine
you'll probably want to turn on "display all frames" in display
settings.

But, it's sadly needed for Android.
2021-01-28 21:04:23 +10:00
Connor McLaughlin 35dc530b9a Android: Pin emu thread to exclusive cores where supported 2021-01-27 01:21:03 +10:00
Connor McLaughlin b96136a9ec Android: Fix crash when loading input profile ingame 2021-01-27 01:21:03 +10:00
Connor McLaughlin 0b4363679c Android: Block for window changes/surface destruction 2021-01-27 01:21:03 +10:00
Connor McLaughlin a84bf0d8cf Android: Support PSFs in game list 2021-01-24 18:24:07 +10:00
Connor McLaughlin b107cdee53 Android: Add manual disc change from file 2021-01-24 17:37:09 +10:00
Connor McLaughlin 59810bf8db Android: Add game directory list editor 2021-01-24 17:37:09 +10:00
Connor McLaughlin 3c3bfdea93 Android: Don't call toast methods off UI thread 2021-01-21 13:56:10 +10:00
Connor McLaughlin 0dee202095 Android: Disable PGXP options when geometry correction disabled 2021-01-21 01:28:25 +10:00
Connor McLaughlin a0ca20a821 Android: Defer rotation request until after start
Fixes messed-up state when orientation is set.
2021-01-21 01:24:52 +10:00
Connor McLaughlin 5b4aff5edf Android: Fix possible reference overflow when scanning 2021-01-20 21:52:39 +10:00
Connor McLaughlin f5188c7fef Android: Default to digital controller type for mapping port 1 2021-01-20 15:04:17 +10:00
Connor McLaughlin fb48e8f093 Android: Fix a possible exception when refreshing game list 2021-01-20 14:45:04 +10:00
Connor McLaughlin ffa3744b3b Settings: Add 20:9 display aspect ratio 2021-01-14 00:45:46 +10:00
Connor McLaughlin 3b433d8d3e Android: Add sustained performance mode option 2021-01-13 20:19:24 +10:00
Connor McLaughlin 6ad8a6666c Android: Enable resampling by default 2021-01-13 20:19:24 +10:00
Connor McLaughlin 434f75658c Android: Fix incorrect code in key list 2021-01-13 20:19:24 +10:00
Connor McLaughlin a27f220f79 Android: Support binding volume buttons 2021-01-13 19:26:24 +10:00
Connor McLaughlin 37f9f118c4 Android: Add 'Open Pause Menu' hotkey 2021-01-13 19:26:24 +10:00
Connor McLaughlin 60232c390a Android: Use checkbox list for patch codes/cheats 2021-01-13 19:26:24 +10:00
Connor McLaughlin 5746dcdbd4 Android: Fix build 2021-01-13 02:54:54 +10:00
Connor McLaughlin b5ffbfe826 Qt: Fix audio sliders not applying correctly 2021-01-13 02:37:04 +10:00
Connor McLaughlin c18fa06f0c Android: Add 'Sync To Host Refresh Rate' option 2021-01-11 15:42:42 +10:00
Connor McLaughlin 5769830b72 Android: Fix incorrect string refresh in audio settings 2021-01-11 03:49:40 +10:00
Connor McLaughlin ce965e89ca Qt/Android: Add help text for resampling, turn on by default 2021-01-11 02:27:14 +10:00
Connor McLaughlin 5996945b37 Android: Use Java thread for emulation thread 2021-01-11 01:14:32 +10:00
Connor McLaughlin 4fafb34251 CommonHostInterface: Move input map update to frontend
Fixes controller state getting reset when loading input profile.
2021-01-09 14:54:53 +10:00
Connor McLaughlin b0398f5aa7 Qt: Add shutdown without saving menu option 2021-01-09 00:23:02 +10:00
Connor McLaughlin f606999a04 Android: Fix analog stick as dpad in digital mode option 2021-01-03 18:39:15 +10:00
Connor McLaughlin 9708332a80 Android: Make tab titles game properties translatable 2021-01-03 18:30:06 +10:00
Connor McLaughlin fc3780815d Android: Reformat Java sources 2021-01-03 18:30:06 +10:00
Connor McLaughlin 600e8d5dd0 Android: Fix fab background colour in dark mode 2021-01-03 18:30:06 +10:00
Connor McLaughlin 4eee5ebdb7 Android: Add per-game settings and properties UI 2021-01-03 18:30:06 +10:00
Connor McLaughlin 7f008ea5c7 Android: Normalize controller binding text size 2021-01-03 18:30:06 +10:00
Connor McLaughlin bea6f0beb4 Android: Fix incorrect version string on build 2020-12-31 19:41:51 +10:00
Connor McLaughlin 22bb64e7b0 Android: Add hotkey binding support 2020-12-30 19:42:14 +10:00
Connor McLaughlin 3cb2cd8235 GPU: Add adaptive and box downsampling modes 2020-12-30 17:41:39 +10:00
Connor McLaughlin 68ce959d70 Settings: Add option to temporarily disable all enhancements 2020-12-30 17:39:29 +10:00
Connor McLaughlin 1b99233466 Android: Add analog-stick-as-dpad option to controller settings 2020-12-29 22:49:52 +10:00
Connor McLaughlin 0aa3b6b399 Android: Controller binding support 2020-12-29 22:49:52 +10:00
Connor McLaughlin 6bf37f51be Android: Add controller interface class 2020-12-29 22:49:52 +10:00
Connor McLaughlin cbcb8b4b89 Android: Add dark theme 2020-12-29 22:49:52 +10:00
Connor McLaughlin 59b9e4b2ef Android: Hook up most of the settings interface mutators 2020-12-29 22:49:52 +10:00
Connor McLaughlin 702ed21207 HostDisplay: Add threaded presentation for Vulkan renderer
Can add a significant speedup for fast forward. Automatically disabled
when vsync is enabled.
2020-12-27 00:54:53 +10:00
Anderson_Cardoso b67b770c5d
Android Update Strings to latest 2020-12-25 16:00:12 -03:00
Connor McLaughlin 744cfbd924 Frontends: Add PGXP Depth Buffer options 2020-12-23 01:39:49 +10:00
Albert Liu 189656cbc4 CommonHostInterface: Fully clear controller section before loading profile 2020-12-22 03:24:51 +10:00
Connor McLaughlin d130fc9465 Android: Possible fix for white overlay with controller 2020-12-22 02:15:55 +10:00
Margen67 b7534015e0 Use proper 21:9 aspect ratio, add 32:9 2020-12-20 19:57:15 -08:00
Connor McLaughlin c95ccbcb5e Android: Add Auto (Game Native) aspect ratio 2020-12-17 11:57:46 +10:00
Connor McLaughlin 2c35a552d5
Merge pull request #1214 from andercard0/patch-46
Android update Strings to latest
2020-12-17 01:04:20 +10:00
Anderson_Cardoso 2c89178895
Android update Strings to latest 2020-12-13 15:56:49 -03:00
Anderson_Cardoso e0679b216e
Android Update Arrays to latest. 2020-12-13 15:55:59 -03:00
Connor McLaughlin 3ed429772d Android: Fix touchscreen controller being instantiated when disabled 2020-12-14 02:15:25 +10:00
Connor McLaughlin 4bcf8b3ce9 Android: Fix nav/notification bar getting stuck when editing layout 2020-12-14 02:15:25 +10:00
Connor McLaughlin d7c3a0137f Android: Support editing touchscreen controller layout 2020-12-14 01:35:53 +10:00
Connor McLaughlin 76c945a6e3 Android: Auto-formatting 2020-12-14 01:35:53 +10:00
Connor McLaughlin abb0a1987d Android: Fix force analog on reset 2020-12-13 00:18:52 +10:00
Connor McLaughlin a391ba1622 Android: Clean up local references on emu thread and loops
Should hopefully fix the runtime killing our app on some devices.
2020-12-11 00:32:53 +10:00
Connor McLaughlin ae9c4c48f4 Android: Fix fast forward volume label 2020-12-11 00:32:53 +10:00
Dennis H b1d7f7b156 replaced tabs by spaces from copied text 2020-12-09 17:08:41 +01:00
Dennis H e3744688e1 added missing strings 2020-12-09 17:07:56 +01:00
Connor McLaughlin 20d4cec4d6
Merge pull request #1179 from andercard0/patch-42
Android Update Pt-Br
2020-12-10 01:21:41 +10:00
Connor McLaughlin 53962b32b0
Merge pull request #1178 from andercard0/patch-41
Android Update Pt-Br
2020-12-10 01:21:31 +10:00
Connor McLaughlin 523dda47fa Android: Add Dutch translation 2020-12-10 01:16:54 +10:00
Anderson_Cardoso d5df266373
Android Update Pt-Br
Update Settings to latest
2020-12-08 19:37:45 -03:00
Anderson_Cardoso 66013e44d4
Android Update Pt-Br
Arrays update.
2020-12-08 19:36:06 -03:00
Connor McLaughlin 300510f20a Android: Add language override setting 2020-12-09 01:29:15 +10:00
Connor McLaughlin 98766a490f Log: Change success to verbose and move down in ordering 2020-12-09 01:03:32 +10:00
Connor McLaughlin 678146b907 HostInterface: Add separate volume control for fast forwarding 2020-12-09 01:03:32 +10:00
Connor McLaughlin 25fb3c01c3 Andorid: Add partial Italian translation 2020-12-09 00:19:57 +10:00
Connor McLaughlin 03ea80d130 Android: Add threaded rendering to advanced options 2020-12-09 00:19:57 +10:00
Connor McLaughlin 5c2efd880d Android: Add Brazilian Portuguese translation 2020-12-09 00:19:57 +10:00
Connor McLaughlin e340963c99 Android: Replace inline strings with string resource references 2020-12-09 00:19:57 +10:00
Connor McLaughlin c8f33e340b Revert "CommonHostInterface: Don't use sleep throttle when syncing to audio at standard speed"
This reverts commit 922e17f677.
2020-12-07 02:44:23 +10:00
Connor McLaughlin ead1be4728 Android: Add version, GitHub, Discord to app 2020-12-07 01:07:13 +10:00
Connor McLaughlin 922e17f677 CommonHostInterface: Don't use sleep throttle when syncing to audio at standard speed 2020-12-06 18:18:18 +10:00
Connor McLaughlin 8ad9dcb1ac Android: Add CD-ROM preload option 2020-12-03 00:57:52 +10:00
Connor McLaughlin 98f70e9b51 HostDisplay: Add 5:4 and 3:2 aspect ratios 2020-12-01 01:58:46 +10:00
Connor McLaughlin eaafd0a00c Cheats: Support parsing built-in database 2020-11-30 01:15:44 +10:00
Connor McLaughlin cf75282078 Android: Add missing call to ApplyGameSettings 2020-11-28 02:04:18 +10:00
Connor McLaughlin b6b2d66d99 Android: Restore ABI filters 2020-11-28 01:00:54 +10:00
Connor McLaughlin bb1e3a0692 Android: Display covers in game list 2020-11-28 00:14:46 +10:00
Connor McLaughlin 38e3b2a28a Android: Display compatibility rating in game list 2020-11-28 00:14:45 +10:00
Connor McLaughlin 5fd5d89b23 Android: Include data files in APK 2020-11-28 00:14:45 +10:00
Connor McLaughlin 12caa79178 Android: Use APK assets for HostInterface::OpenPackagePath 2020-11-28 00:14:45 +10:00
Connor McLaughlin bf2e38aed5 CPU/Recompiler: Implement LUT-based fastmem 2020-11-24 14:49:21 +10:00
Connor McLaughlin b49067d165 Build: Fix Android armv8 performance regression 2020-11-22 02:33:02 +10:00
Connor McLaughlin a6529a9537 Android: Enable armeabi-v7a builds 2020-11-21 23:47:12 +10:00
Connor McLaughlin 2d3fd621bf Settings: Add 19:9 aspect ratio 2020-11-11 01:02:40 +10:00
Connor McLaughlin c3526adb69 Android: Fix opening controller menu unpausing 2020-11-09 01:18:44 +10:00
Connor McLaughlin 82ffb1bc81 Android: Implement vibrate-on-press and dualshock vibration 2020-11-09 00:38:19 +10:00
Connor McLaughlin cf2d9b86b0 Android: Bump minimum version to 23 (Android 6.0 Marshmellow)
5.0 seems to have various issues...
2020-11-08 00:35:38 +10:00
Connor McLaughlin 3e6bc0e10d Android: Implement disc changing via playlists 2020-11-08 00:22:35 +10:00
Connor McLaughlin 4701d2480d Android: Display game code in list 2020-11-08 00:22:35 +10:00
Connor McLaughlin c1de8c32c1 Android: Provide game list file title to Java-side 2020-11-08 00:22:35 +10:00
Connor McLaughlin d23b9b508d Android: Add option to force screen rotation 2020-11-08 00:22:35 +10:00
Connor McLaughlin fb4ebabee5 Android: Add option to pause when menu is open 2020-11-08 00:22:35 +10:00
Connor McLaughlin b2c8e9e31e Android: End emulation activity if not valid on returning 2020-11-08 00:22:35 +10:00
Connor McLaughlin 8f74d4718f Android: Fix crash if activity is killed before returning 2020-11-08 00:22:35 +10:00
Connor McLaughlin c18278e664 Android: Support starting emulation activity externally
Should hopefully work for third-party launchers.
2020-11-08 00:22:35 +10:00
Connor McLaughlin 74942443d3 Android: Add patch code (cheat) import 2020-11-08 00:22:35 +10:00
Connor McLaughlin 8cb89636eb Android: Empty audio buffers when returning from activity 2020-11-08 00:22:35 +10:00
Connor McLaughlin f68ad7d0c3 Android: Fix wait for emulation thread returning early 2020-11-08 00:22:35 +10:00
Connor McLaughlin 5635ee1d7c Android: Add 'No Edge Blending' texture filtering modes 2020-11-08 00:22:35 +10:00
Connor McLaughlin a17e15f176 Android: Remove duplicate speed limiter option from settings 2020-11-04 00:49:42 +10:00
Connor McLaughlin f94fef11ac Android: Display version in title 2020-11-04 00:07:56 +10:00
Connor McLaughlin e457d4ca0c Android: Move settings icon to action bar 2020-11-03 22:59:26 +10:00
Connor McLaughlin 8816c5048d Android: Add CPU overclocking option 2020-11-03 22:59:26 +10:00
Connor McLaughlin 2b66492ed8 HostInterface: Add proper turbo speed setting 2020-11-03 22:59:26 +10:00
Connor McLaughlin d5a5969bd4 Revert "Android: Enable sustained performance mode"
This reverts commit 96ff8c87e5.
2020-11-03 17:33:04 +10:00
Connor McLaughlin 5a93760af9 Android: Fix some crashes reported via Play Store 2020-11-03 16:17:45 +10:00
Connor McLaughlin efc0a7391d Android: Add presented frame limit option 2020-11-03 16:17:45 +10:00
Connor McLaughlin 96ff8c87e5 Android: Enable sustained performance mode 2020-11-03 16:17:45 +10:00
Connor McLaughlin 7dc71027cf Android: Add chroma smoothing enhancement 2020-11-03 16:17:45 +10:00
Connor McLaughlin d16b5a6721 Android: Add MSAA to enhancements 2020-11-03 16:17:45 +10:00
Connor McLaughlin 7ce55ca800 Android: Fix race/crash when switching away/back to the emulation activity 2020-10-27 11:58:46 +10:00
Connor McLaughlin 80a377d45a Android: Defer renderer changes to restart
Apparently it doesn't like changing surface types.
2020-10-27 11:58:04 +10:00
Connor McLaughlin 9a7999f158 Android: Format Java code 2020-10-24 16:05:52 +10:00
Connor McLaughlin 076d3d3479 Android: Add Start File to main activity menu 2020-10-24 16:05:52 +10:00
Connor McLaughlin e22c7608e3 Android: Scan on background thread and show progress 2020-10-24 16:05:52 +10:00
Connor McLaughlin 5084c90e08 Android: Rename cheats to patches 2020-10-24 16:05:52 +10:00
Connor McLaughlin de3696be4c Android: Add multiple save slots 2020-10-24 16:05:52 +10:00
Connor McLaughlin 47eede06c8 Android: Move OSD options to Display category 2020-10-18 14:54:38 +10:00
Connor McLaughlin 942df40fe7 Android: Add missing advanced settings tab 2020-10-18 14:54:38 +10:00
Connor McLaughlin 7566c45f64 CPU/Recompiler: Implement fastmem 2020-10-18 14:54:38 +10:00
Connor McLaughlin d950779662 Android: Use alert not toast for BIOS import error 2020-10-14 19:05:20 +10:00
Connor McLaughlin e5cdb7751b Android: Prevent OOM when importing invalid BIOSes 2020-10-14 18:59:50 +10:00
Connor McLaughlin e78ea2b60e Android: Fix crash on startup 2020-10-14 18:50:10 +10:00
Connor McLaughlin 8b6309aff6 Android: Add volume control to settings 2020-10-14 18:09:11 +10:00
Connor McLaughlin ad827155e6 Android: Re-add missing audio options 2020-10-14 18:09:11 +10:00
Connor McLaughlin e7945b422f Android: Split settings into tabs 2020-10-14 15:45:31 +10:00
Connor McLaughlin 2a824751e7 Android: Improve external controller/add auto-hide touch option 2020-10-14 15:45:30 +10:00
Connor McLaughlin 3b6b7007b3 OpenSLESAudioStream: Add additional logging 2020-10-14 15:45:30 +10:00
Connor McLaughlin 8b3db72677 Android: Add logging options to settings 2020-10-14 15:45:30 +10:00
Connor McLaughlin eb89bbd909 Android: Fix right stick/L2/R2 on external controller 2020-10-14 00:48:48 +10:00
Connor McLaughlin 962f3407b4 Android: Add OpenSL ES audio backend 2020-10-14 00:48:48 +10:00
Connor McLaughlin 2ce9baa8ad Android: Fix possible crash in TouchscreenControllerView 2020-10-11 14:51:17 +10:00
Connor McLaughlin 7775774761 Android: Fix game controller input being ignored 2020-10-11 14:39:14 +10:00
Connor McLaughlin 6716b8e8ba Android: Add 16:10 aspect ratio option 2020-10-11 14:39:00 +10:00
Connor McLaughlin d39c9f5d1c Clean up some compiler warnings 2020-10-11 12:21:08 +10:00
Connor McLaughlin 671033fdd2 Android: Fix disabling save state on exit not working 2020-10-10 19:57:58 +10:00
Connor McLaughlin 10d42446f4 Android: Tweak some help text for options, add PGXP precision 2020-10-10 19:42:05 +10:00
Connor McLaughlin b612958daa Android: Add some audio settings 2020-10-10 18:51:25 +10:00
Connor McLaughlin 13a9411b07 Android: Add BIOS importer 2020-10-10 17:42:21 +10:00
Connor McLaughlin 423054e8ac Android: Fix ANR when boot fails 2020-10-10 16:35:36 +10:00
Connor McLaughlin 897f2dadf8 Android: Add analog touchscreen controls 2020-10-10 12:48:19 +10:00
Connor McLaughlin e7bf22c31f Android: Possible fix for multi-touch-stuck issue 2020-10-09 18:34:42 +10:00
Connor McLaughlin ed5527b6d8 Android: Make dpad usable in corners 2020-10-08 18:56:16 +10:00
Connor McLaughlin 51fb174984 Android: Fix multi-touch for touchscreen controller 2020-10-08 18:33:04 +10:00
Connor McLaughlin 0050c52e63 Android: Add some missing settings 2020-10-08 18:32:54 +10:00
Connor McLaughlin db6a9b4ab5 Android: Slightly improve scoped storage error message 2020-10-08 18:32:38 +10:00
Connor McLaughlin 790a117371 Android: Show error for selecting scoped storage directories 2020-10-07 21:12:52 +10:00
Connor McLaughlin 7dce9d4b9b Android: Use automatic build numbers based on Git history 2020-10-07 20:35:50 +10:00
Connor McLaughlin 533722456b Android: Fix logo not displaying during loading 2020-10-07 18:01:20 +10:00
Connor McLaughlin de33c7fa2b Android: Implement cheats 2020-10-07 18:01:20 +10:00
Connor McLaughlin 4b8ae472ab Android: Fix touchscreen controller being limited to touch down/up 2020-10-07 18:01:20 +10:00
Connor McLaughlin 5b1ed7903b Android: Fix settings having indents 2020-09-20 01:36:49 +10:00
Connor McLaughlin a520be5208 Android: Use dialog menu instead of appbar
Fixes it getting messed up in landscape orientation.
2020-09-20 01:36:49 +10:00
Connor McLaughlin a7b85605e2 Ignore existing surface size on Android
Seems to be a race condition here where it's not up to date.
2020-09-20 01:36:49 +10:00
Connor McLaughlin 5aa1b9553f Android: Fix emulation stopping on app switch and UI covering display 2020-09-13 14:37:44 +10:00
Connor McLaughlin c360b41a79 Android: Fix settings activity back button stopping emulation 2020-09-13 14:37:28 +10:00
Connor McLaughlin 4a263e4ec1 Android: Add texture filter options 2020-09-13 14:35:58 +10:00
Connor McLaughlin 9b942de47e Android: Improve handling of portrait mode 2020-09-11 00:18:57 +10:00
Connor McLaughlin 6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
2020-09-01 12:46:44 +10:00
Connor McLaughlin 41558f4df3 Android: Sort game list by title 2020-09-01 12:03:59 +10:00
Connor McLaughlin c5044768a8 Android: Hook up game list long press menu 2020-09-01 12:03:51 +10:00
Connor McLaughlin cbbf599e4e Android: Multiple improvements
- Save/resume state when closing/starting.
 - Error reporting - hopefully can figure out why it's not starting on
   some devices.
 - Reduce startup latency.
 - Add more options and descriptions to settings.
2020-08-30 15:35:01 +10:00
Connor McLaughlin c3ce9135bf Fix recompiler not auto-disabling with PGXP-CPU mode 2020-08-21 00:09:37 +10:00
Connor McLaughlin 4137c9775e Android: Fix crash in main activity 2020-08-02 03:06:23 +10:00
Connor McLaughlin 60e44c232b Android: Fix broken crop mode setting 2020-08-02 00:25:14 +10:00
Connor McLaughlin 7b384ad300 Android: Use getExternalStorageDirectory() rather than hardcoding to /sdcard 2020-08-02 00:25:12 +10:00
Connor McLaughlin 0c1b637549 PGXP: Add initial implementation 2020-08-02 00:25:07 +10:00
Connor McLaughlin e9882a10aa System: Move restore/reset graphics API state to System
Fixes frame stepping.
2020-08-01 16:45:07 +10:00
Connor McLaughlin b6f871d2b9
JIT optimizations and refactoring (#675)
* CPU/Recompiler: Use rel32 call where possible for no-args

* JitCodeBuffer: Support using preallocated buffer

* CPU/Recompiler/AArch64: Use bl instead of blr for short branches

* CPU/CodeCache: Allocate recompiler buffer in program space

This means we don't need 64-bit moves for every call out of the
recompiler.

* GTE: Don't store as u16 and load as u32

* CPU/Recompiler: Add methods to emit global load/stores

* GTE: Convert class to namespace

* CPU/Recompiler: Call GTE functions directly

* Settings: Turn into a global variable

* GPU: Replace local pointers with global

* InterruptController: Turn into a global pointer

* System: Replace local pointers with global

* Timers: Turn into a global instance

* DMA: Turn into a global instance

* SPU: Turn into a global instance

* CDROM: Turn into a global instance

* MDEC: Turn into a global instance

* Pad: Turn into a global instance

* SIO: Turn into a global instance

* CDROM: Move audio FIFO to the heap

* CPU/Recompiler: Drop ASMFunctions

No longer needed since we have code in the same 4GB window.

* CPUCodeCache: Turn class into namespace

* Bus: Local pointer -> global pointers

* CPU: Turn class into namespace

* Bus: Turn into namespace

* GTE: Store registers in CPU state struct

Allows relative addressing on ARM.

* CPU/Recompiler: Align code storage to page size

* CPU/Recompiler: Fix relative branches on A64

* HostInterface: Local references to global

* System: Turn into a namespace, move events out

* Add guard pages

* Android: Fix build
2020-07-31 17:09:18 +10:00
Connor McLaughlin 73c9a31b86 Android: Expose more settings via UI 2020-07-31 03:40:27 +10:00
Connor McLaughlin d406c03ba9 Android: Add memory card mode settings 2020-07-30 02:00:39 +10:00
Connor McLaughlin 24ffe6f67e Android: Multiple fixes
- Fix possible crash when applying settings worker thread (no JNIEnv).
 - Fix settings not applying until restarting the app.
 - Support analog controller - auto-binding of axixes. Currently no
   touchscreen controller for the joysticks.
 - Add option to auto-hide the touchscreen controller.
2020-07-29 02:38:04 +10:00
Connor McLaughlin a7e24da7fe Android: Multiple changes
- Fix game list display of NTSC-J region
 - Hook up quick load/save/reset options in emulation view.
 - Add speed limiter toggle to emulation view.
 - Add game list scanning options to main menu.
 - Add resume button (not yet hooked up to save states, it'll start the
   BIOS shell)
2020-07-27 00:05:18 +10:00
Albert Liu bf597aab44 Settings: Specify GPU resolution scale as VRAM size 2020-07-23 01:03:18 -07:00
Connor McLaughlin 0398c6cb4a Android: Fix build 2020-07-21 20:25:40 +10:00