Commit graph

73 commits

Author SHA1 Message Date
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