Commit Graph

21 Commits (c2ceb026104778321e12d951759141bdeb2d11a2)

Author SHA1 Message Date
Connor McLaughlin ea9829946d Cheats: Implement D4/D5/D6 code types 6 years ago
Albert Liu f9d2643d98 Controller: Add Analog Joystick support 6 years ago
Albert Liu 3b51b993f3 NeGcon: Add steering axis deadzone setting 6 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
6 years ago
Connor McLaughlin e374853cf5 HostInterface: Better configuration of custom crosshair/software cursor 6 years ago
Connor McLaughlin 4dc9e10777 HostInterface: Support per-controller-type settings 6 years ago
Albert Liu ee3a96011e Controller: Add NeGcon support 6 years ago
Connor McLaughlin 9539ce032b AnalogController: Show controller number in OSD messages 6 years ago
Connor McLaughlin 95468901f2 AnalogController: Add analog toggle button 6 years ago
Connor McLaughlin 8f82987341 Controller: Add basic PlayStation Mouse support
Still needs capture/relative movement for a better experience.
7 years ago
Connor McLaughlin e6bd6587fd Controller: Add emulation of Namco GunCon 7 years ago
Connor McLaughlin d9ebb975b2 CommonHostInterface: Reimplement controller rumble support
Even better than before, supports separate motor control.
7 years ago
Connor McLaughlin 4b1541087a Controller: Add methods to query buttons/axises for a controller type 7 years ago
Connor McLaughlin cbcb9b02b0 AnalogController: Rumble support 7 years ago
Connor McLaughlin a347b3606e Implement support for analog controllers 7 years ago
Connor McLaughlin 6e18e56089 Controller: Support general axis input events 7 years ago
Connor McLaughlin 32d8b4dc84 Frontend: Dynamic button mapping based on controller type 7 years ago
Connor McLaughlin c65279f944 System: Create controllers dynamically based on config 7 years ago
Connor McLaughlin ea0845d5ad Move controller creation to System class, switch shared_ptr to unique_ptr 7 years ago
Connor McLaughlin 89e9373037 Controller: Add a set-button interface in base class 7 years ago
Connor McLaughlin da14b10e72 Split MemoryCard and PadDevice (now Controller) 7 years ago