Commit Graph

61 Commits (fd0a009a7fe5207a83f16d02d9f8f7d9305feb7f)

Author SHA1 Message Date
Connor McLaughlin a2eaaf0e89 PGXP: Allocate large storage dynamically
This causes performance issues on ARM otherwise.
5 years ago
Connor McLaughlin 6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
5 years ago
Connor McLaughlin 2b902f6d09
Merge pull request #806 from CookiePLMonster/axis-to-button-map
Allow mapping axes to buttons
5 years ago
Silent 057bf986c4
Allow mapping half axes to buttons
This allows to bind pressure sensitive NeGcon buttons to keyboard,
mouse and controller buttons
5 years ago
Connor McLaughlin 547cc4dbf6 Qt: Clear OSD messages on system stop 5 years ago
Connor McLaughlin 5115c75f88 CommonHostInterface: Clear input map before changing interface
Should hopefully fix the crash when changing controller backends.
5 years ago
Connor McLaughlin 3c46f7b44c ControllerInterface: Add XInput controller backend 5 years ago
Connor McLaughlin ab002e78e1 Support translating strings in emulator core 5 years ago
Connor McLaughlin bca609a2a6 Qt: Add option to disable per-game settings 5 years ago
Connor McLaughlin 60d3fffec1 Add per-game overrides (mainly for compatibility) 5 years ago
Connor McLaughlin 3ca1d5b275 CommonHostInterface: Fix lag when OSD message display disabled 5 years ago
Connor McLaughlin 10a46a7fd8 OSD: Add option to show display resolution 5 years ago
Connor McLaughlin f5fb8186c7 Switch some messages to the OSD and increase durations 5 years ago
Connor McLaughlin 5c6e92cdfc GPU/HW: Disable coordinate clamping when unnecessary 5 years ago
Connor McLaughlin fbdc9ae631 CommonHostInterface: Remove additional API reset/restore on screenshot 5 years ago
Connor McLaughlin 0c1b637549 PGXP: Add initial implementation 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 3edb8e113e StringUtil: Add wide string<->utf8 conversion for Windows 5 years ago
Connor McLaughlin 8665a24eee CommonHostInterface: Fix crash when there's no controller interface 5 years ago
Albert Liu 79576ca956 AnalogController: Expose axis scale setting to frontend 5 years ago
Albert Liu 855fc9a31c CommonHostInterface: Prevent some potential null pointer dereferences 5 years ago
Connor McLaughlin eb7da791ea CommonHostInterface: Fix command line help not printing on Windows 5 years ago
Connor McLaughlin a5fe740e30 Fix a bunch of compiler warnings 5 years ago
Connor McLaughlin 97a946bd62 CommonHostInterface: Implement frame step hotkey 5 years ago
Connor McLaughlin 4dc9e10777 HostInterface: Support per-controller-type settings 5 years ago
Connor McLaughlin 2a38090e7a HostDisplay: Move most backend logic to FrontendCommon 5 years ago
Albert Liu 1a45ee3018 CommonHostInterface: Use largeImage fields in Discord presence payload
Fixes application icon not showing up in Discord Rich Presence.
5 years ago
Connor McLaughlin 58b0e6859a Frontend: Reset/restore GPU state before saving screenshot
Fixes driver crashes in Vulkan.
5 years ago
Albert Liu 293c2f50cd ControllerInterface: Make axis-to-button deadzone customizable 5 years ago
Albert Liu 6b7c068f83 ControllerInterface: Implement axis scaling for axis-to-axis mappings
This feature allows us to work around analog stick range issues at the
intercardinal directions in certain titles (e.g. Rockman DASH 2) caused
by modern controllers having a tighter logical range of reporting than
PS1 analog controllers.
5 years ago
Connor McLaughlin 63cc4ab197 CommonHostInterface: Release save state selector before display
This can have GPU objects, so needs to be released first.
5 years ago
Albert Liu 8a94fc944a CommonHostInterface: Fix minor log message typo 5 years ago
Connor McLaughlin 8d2c7db224 Qt: Source input profiles from program and user directory
This way Linux users as well as Windows users who use the Documents
user directory can use the shipped input profiles.
5 years ago
Connor McLaughlin 075380f8e0 Move most helper logic from base HostInterface to FrontendCommon 5 years ago
Albert Liu e1e3cf4f5a CommonHostInterface: Simplify input profile saving 5 years ago
Connor McLaughlin b17a5832e5 System: Simplify save state booting
Fixes memory card warning messages on load state.
5 years ago
Connor McLaughlin 6477e5fb54 CommonHostInterface: Add volume up/down/mute hotkeys 5 years ago
Connor McLaughlin c67e877d82 CommonHostInterface: Fix -state command line parameter not working 5 years ago
Connor McLaughlin 2d6bdc1f82 Qt: Fix rumble not stopping on power off 5 years ago
Connor McLaughlin 1ed86f4897 Frontends: Add Discord Presence support 5 years ago
Connor McLaughlin d8ab587153 HostInterface: Modify settings loading interface to support per-frontend settings 5 years ago
Connor McLaughlin 63692a012f Qt: Add "New..." to input profile save button
This will ensure the profile gets saved to the correct location.
5 years ago
Connor McLaughlin fce35d6dbe CommonHostInterface: Support mouse bindings 5 years ago
Connor McLaughlin a111e36ad7 CommonHostInterface: Add proper fast forward toggle 5 years ago
Connor McLaughlin b9954a943a CommonHostInterface: Default hotkeys for new save state UI
- F1: Load
- F2: Save
- F3: Select Previous
- F4: Select Next
5 years ago
Connor McLaughlin 2a710798cc CommonHostInterface: Add save state selector UI 5 years ago
Connor McLaughlin 277c03aca0 Add auto-generated Git version to window titles 5 years ago
Connor McLaughlin f75ea052a6 FrontendCommon: Add input profile support 5 years ago
Connor McLaughlin d9ebb975b2 CommonHostInterface: Reimplement controller rumble support
Even better than before, supports separate motor control.
5 years ago
Connor McLaughlin 915989fa25 CommonHostInterface: Remove extra newlines in messages 5 years ago