Commit Graph

22 Commits (d3d881aa6b452c33792cc8d8f58436abf3fbc2a4)

Author SHA1 Message Date
Connor McLaughlin d3d881aa6b GPU/Software: Reduce number of copies by one, enable 16-bit scanout 5 years ago
Connor McLaughlin 5b4cc214c5 libretro: Move some interface init to retro_init
Apparently fixes rumble.
5 years ago
Connor McLaughlin 451c48406d libretro: Fix runtime aspect ratio changes not applying 5 years ago
Connor McLaughlin d39c9f5d1c Clean up some compiler warnings 5 years ago
Connor McLaughlin 40037d6e90 libretro: Cheat support 5 years ago
Connor McLaughlin d728bc091b BIOS: Add option to set search directory elsewhere 5 years ago
Connor McLaughlin 78f06fb711 libretro: Fix breakage with new BIOS detection 5 years ago
Connor McLaughlin 70a63ce3ec libretro: Build fix 5 years ago
Connor McLaughlin 3847be86b0 Fix a bunch of random warnings 5 years ago
Connor McLaughlin f704cc64c3 libretro: Use bitmasks for input 5 years ago
Connor McLaughlin de388d342f libretro: Add rumble interface 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 f3df4f91a2 libretro: Implement disk control interface 5 years ago
Connor McLaughlin 68d98af497 Qt: Remove usage of QString where possible for settings 5 years ago
Connor McLaughlin 5f76140aa5 libretro: Expose main RAM to frontend 5 years ago
Connor McLaughlin 343e3ba3b7 libretro: Better handle resolution changes 5 years ago
Connor McLaughlin 8408d3b6bf libretro: Disable shader cache
Can't seem to see somewhere we can save shader blobs. It wasn't working
anyway because it would generate invalid paths.
5 years ago
Connor McLaughlin 218f6721d3 libretro: Fix display rendering in D3D11/OpenGL 5 years ago
Connor McLaughlin 4dc9e10777 HostInterface: Support per-controller-type settings 5 years ago
Connor McLaughlin 38aa485f8f libretro: Analog controller/DualShock support 5 years ago
Connor McLaughlin 861b98ed3b libretro: Additional work
- Reliable resolution switching.
 - Hook up logging.
 - Memory cards and controller type settings.
 - Save state support.
 - Direct3D support.
5 years ago
Connor McLaughlin d7f083559e Add initial libretro implementation 5 years ago