Commit Graph

40 Commits (a7b85605e2b3acc467a75833c0b311bfbc8f1fde)

Author SHA1 Message Date
Connor McLaughlin a7b85605e2 Ignore existing surface size on Android
Seems to be a race condition here where it's not up to date.
5 years ago
Connor McLaughlin 5aa1b9553f Android: Fix emulation stopping on app switch and UI covering display 5 years ago
Connor McLaughlin c360b41a79 Android: Fix settings activity back button stopping emulation 5 years ago
Connor McLaughlin 4a263e4ec1 Android: Add texture filter options 5 years ago
Connor McLaughlin 9b942de47e Android: Improve handling of portrait mode 5 years ago
Connor McLaughlin 6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
5 years ago
Connor McLaughlin 41558f4df3 Android: Sort game list by title 5 years ago
Connor McLaughlin c5044768a8 Android: Hook up game list long press menu 5 years ago
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.
5 years ago
Connor McLaughlin c3ce9135bf Fix recompiler not auto-disabling with PGXP-CPU mode 5 years ago
Connor McLaughlin 4137c9775e Android: Fix crash in main activity 5 years ago
Connor McLaughlin 60e44c232b Android: Fix broken crop mode setting 5 years ago
Connor McLaughlin 7b384ad300 Android: Use getExternalStorageDirectory() rather than hardcoding to /sdcard 5 years ago
Connor McLaughlin 0c1b637549 PGXP: Add initial implementation 5 years ago
Connor McLaughlin e9882a10aa System: Move restore/reset graphics API state to System
Fixes frame stepping.
5 years ago
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
5 years ago
Connor McLaughlin 73c9a31b86 Android: Expose more settings via UI 5 years ago
Connor McLaughlin d406c03ba9 Android: Add memory card mode settings 5 years ago
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.
5 years ago
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)
5 years ago
Albert Liu bf597aab44 Settings: Specify GPU resolution scale as VRAM size 5 years ago
Connor McLaughlin 0398c6cb4a Android: Fix build 5 years ago
Connor McLaughlin 68d98af497 Qt: Remove usage of QString where possible for settings 5 years ago
Connor McLaughlin 9833bfddf3 Android: Add Vulkan renderer to options 5 years ago
Connor McLaughlin f9cbc3acfb Android: Hook up settings interface 5 years ago
Connor McLaughlin a451e7f177 Android: Get it running again
Currently settings are not changable.
5 years ago
Connor McLaughlin e91d760175 HostInterface: Fix crash on startup with controller connected 5 years ago
Connor McLaughlin b418f880ab Android: It builds again, but needs a lot more work 5 years ago
Connor McLaughlin ad21f48a67 Fix Android build after controller changes 5 years ago
Connor McLaughlin b6aa2a6496 Android: Add Game List settings 5 years ago
Connor McLaughlin c136ec5930 Android: Update app icon 5 years ago
Connor McLaughlin 6592b59597 Android: Add touchscreen controller toggle 5 years ago
Connor McLaughlin 9321fcb627 Android: Basic game controller input forwarding 5 years ago
Connor McLaughlin 35bbde6d71 Android: Finish basic overlay controller implementation 5 years ago
Connor McLaughlin 5d91c011a6 Android: Basic touchscreen controller implementation 5 years ago
Connor McLaughlin 737bec0e7d Android: Get storage permissions before populating game list 5 years ago
Connor McLaughlin 8c33163ef1 Android: Add type to game list (disc/psexe) 5 years ago
Connor McLaughlin 6da9e23d3b Android: Implementation of basic game list 5 years ago
Connor McLaughlin adc3a2fac1 Android: Support GLES3 and hardware renderers 5 years ago
Connor McLaughlin ea35c5f3bc Import initial work on Android frontend 5 years ago