Commit Graph

63 Commits (e1afa85258555cbcb92b99cfbe82faa31bea6922)

Author SHA1 Message Date
Connor McLaughlin d73271ec0a GPU: Add option to force 4:3 for 24-bit content (e.g. FMVs) 5 years ago
Connor McLaughlin 87e3e4097f libretro: Use saves/duckstation_cache as shader cache directory 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
Silent 92d0dabf54
Make path separators in UI more consistent 5 years ago
Connor McLaughlin d2ad114354 libretro: Fix incorrect rumble scale 5 years ago
hunterk 71636d22f6 add input descriptors for remaps 5 years ago
Connor McLaughlin ccaff2e7cd Settings: Fix incorrect UI for xBR texture filter 5 years ago
Connor McLaughlin 6f250a4ff7 GPU/HW: Add JINC2 and xBRZ texture filtering options
Shaders ported from beetle-psx.
5 years ago
Connor McLaughlin 45eb30b6cc
Merge pull request #835 from TzakShrike/master
Upgrade region flags. Correct NTSC-U to NTSC-U/C. Add custom U/C flag. Remove outdated icons.qrc file.
5 years ago
Sam Pearman 2ef6b6aa40 Region flag upgrade & correct NTSC-U to NTSC-U/C
Replace references to NTSC-U with the correct NTSC-U/C and adds Canada in user-facing strings.
Replaces all region flags with revised SVGs.
Brings the US flag down to 3:2 to match Europe and Japan.
Adds a custom split US & Canada flag for the U/C region, also 3:2.
Generated PNGs and new HiDPI PNGs for region flags.
Flag PNGs were generated by downscaling using a Lanczos filter to a width of 36/72 pixels, then a 1px grey border added, then a 2/5px transparent border.
5 years ago
Connor McLaughlin 6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
5 years ago
Connor McLaughlin 19d6037b99 CPU: Implement instruction cache simulation
Implemented for all execution modes. Disabled by default in the cached
interpreter and recompiler, always enabled in the pure interpreter.
5 years ago
Connor McLaughlin 17b5c749bf libretro: Re-enable hw context switch, add auto option 5 years ago
Connor McLaughlin df14519a97 libretro: Recreate resources after context reset 5 years ago
Connor McLaughlin f852be74e8 Compile fix for Linux/libretro 5 years ago
Connor McLaughlin c3ce9135bf Fix recompiler not auto-disabling with PGXP-CPU mode 5 years ago
Connor McLaughlin 2e9f656546 CPU: Implement PGXP CPU Mode
This is *very* slow. You don't want to enable it if you don't need it.
It is also incompatible with the recompiler and will disable it if the
option is enabled.
5 years ago
Connor McLaughlin f704cc64c3 libretro: Use bitmasks for input 5 years ago
Connor McLaughlin 0682b31044 libretro: Set both strong and weak rumble motors 5 years ago
Connor McLaughlin de388d342f libretro: Add rumble interface 5 years ago
Connor McLaughlin 7c697f363e libretro: Make single cards for playlist the default, fix disabled case
This bug was causing the option to act as if it was disabled anyway.
5 years ago
Connor McLaughlin 881d21985d libretro: Fix load devices from state option 5 years ago
Connor McLaughlin 810b359234 libretro: Add single-memcard-for-playlist option 5 years ago
dankcushions 971d262b0c Prefix libretro core options with core name. 5 years ago
Connor McLaughlin 5df116b608 libretro: Expose bilinear texture filtering option 5 years ago
Connor McLaughlin 05f0ce6da8 libretro: Fix build 5 years ago
Connor McLaughlin 2cc1fe9c02 libretro: Expose CD-ROM preload option 5 years ago
Connor McLaughlin 3df1670809 libretro: Try for a GLES context first depending on preferred renderer 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 0317541477 libretro: Remove VRAM resolution from scale text 5 years ago
Connor McLaughlin 415c21dc84 libretro: Possible fix for crash when reloading content 5 years ago
Connor McLaughlin 99b0ba3f20 libretro: Use correct path for shared mode memcards 5 years ago
Connor McLaughlin 90aaee86c7 libretro: Use duckstation_shared_card_N.mcd in shared mode
shared_card_n.mcd is too ambiguious when it's sharing a directory with
other cores.
5 years ago
Connor McLaughlin f3df4f91a2 libretro: Implement disk control interface 5 years ago
jdgleaver 7478e75ed6 (libretro) Fix 'Fast Boot' option 5 years ago
Connor McLaughlin 68d98af497 Qt: Remove usage of QString where possible for settings 5 years ago
Connor McLaughlin 2702eb90bf libretro: Add widescreen hack option 5 years ago
Connor McLaughlin 5f76140aa5 libretro: Expose main RAM to frontend 5 years ago
Connor McLaughlin 35093818c6 libretro: Add resolutions up to 16x 5 years ago
Connor McLaughlin 3ad780b52e libretro: Fix logging breaking when retro_set_environment called twice 5 years ago
Connor McLaughlin 068b244303 libretro: Do SET_CORE_OPTIONS unconditionally 5 years ago
Connor McLaughlin 922003ba50 libretro: Ignore renderer changes
RetroArch does not support hot swapping renderers.
5 years ago
Connor McLaughlin 547e8b239b libretro: Reduce base width/height
Stops the window opening so large.
5 years ago
Connor McLaughlin b0b3901722 libretro: Fix DualShock analog mode auto-enable 5 years ago
Connor McLaughlin 343e3ba3b7 libretro: Better handle resolution changes 5 years ago
Connor McLaughlin e15fafe428 libretro: Reduce OSD message durations 5 years ago