Commit graph

2391 commits

Author SHA1 Message Date
Connor McLaughlin 5115c75f88 CommonHostInterface: Clear input map before changing interface
Should hopefully fix the crash when changing controller backends.
2020-08-24 00:22:49 +10:00
Connor McLaughlin 9254fc9e63 GPU/HW: Fix UB with reverse subtract and texture filtering on 2020-08-24 00:22:49 +10:00
phoe-nix b929afc33f
Update duckstation-qt_zh-cn.ts (#762)
* Update duckstation-qt_zh-cn.ts

* Merge duckstation-qt_zh-cn.ts with master

Co-authored-by: Connor McLaughlin <stenzek@gmail.com>
2020-08-24 00:22:28 +10:00
Connor McLaughlin 21596e6b86
Merge pull request #792 from Blackbird88/master
Star Wars - Dark Forces (SLUS-00297) gameini
2020-08-24 00:20:14 +10:00
Connor McLaughlin 78d080615e
Merge pull request #791 from RaydenX93/master
Update duckstation-qt_it.ts
2020-08-24 00:19:57 +10:00
Connor McLaughlin 419259bda0
Merge pull request #788 from CookiePLMonster/xinput-improvements
Xinput improvements
2020-08-24 00:19:37 +10:00
Blackbird88 7cc22e24d1
Star Wars - Dark Forces (SLUS-00297) gameini 2020-08-23 15:29:03 +02:00
RaydenX93 9966d7a0da Update duckstation-qt_it.ts
translation is now up-to-date with minor fixes
2020-08-23 14:53:00 +02:00
Connor McLaughlin 17b5c749bf libretro: Re-enable hw context switch, add auto option 2020-08-23 14:51:23 +10:00
Connor McLaughlin df14519a97 libretro: Recreate resources after context reset 2020-08-23 14:23:34 +10:00
Connor McLaughlin 32921acc5a Timers: Don't read out of bounds for invalid address 2020-08-23 14:03:36 +10:00
Connor McLaughlin 60eb22537b CPU/Recompiler: Flush caller-saved regs before calling functions
Should provide a very small performance boost.
2020-08-23 14:03:10 +10:00
Silent 8def7420c4
XInput: Try to use XInput 1.3 if 1.4 is not present
This simple change enables the use of Guide button
for Windows 7 users, provided they have DirectX End-User
Runtimes installed. XInput 9.1.0 does not have the hidden
XInputGetStateEx export, so it was not possible to poll for
Guide button.
2020-08-22 22:52:54 +02:00
Silent 1c4bbc8cde
XInput: Do not use XINPUT_CAPS_FFB_SUPPORTED
There are several reasons for this:
1. XINPUT_CAPS_FFB_SUPPORTED flag was introduced in Windows 8,
   and therefore only supported by XInput 1.4
2. Despite the name, this flag does NOT indicate whether normal rumble
   is supported. This flag is reserved for more complex force feedback,
   and according to MSDN it may have went unused on Windows.

This fixes a future (the method is not used yet) bug where
XInputControllerInterface::GetControllerRumbleMotorCount would
erroreously report no rumble support.
2020-08-22 22:46:12 +02:00
Connor McLaughlin 136a9d60e9 Qt: Fix booting system from context menu 2020-08-23 01:41:55 +10:00
Connor McLaughlin d3f530f96e CPU/CachedInterpreter: Very slight optmization 2020-08-23 01:41:55 +10:00
Connor McLaughlin d37fba81ed CPU/Interpreter: Fix incorrect downcount comparison 2020-08-23 01:41:55 +10:00
Connor McLaughlin 45d0af8b30 README.md: Add an index and more screenshots 2020-08-23 01:41:54 +10:00
Connor McLaughlin 3ef5e722ce
Merge pull request #783 from hhromic/add-gcdb-info
README: Add SDL game controller database information
2020-08-23 01:40:30 +10:00
Hugo Hromic b28d578b93 README: Add SDL game controller database information 2020-08-22 12:10:15 +01:00
Connor McLaughlin 34c125050e Qt: Update display after loading state
Fixes display not updating after loading state while paused.
2020-08-22 18:16:48 +10:00
Connor McLaughlin 2768c2c91d System: Fix VRAM sometimes getting lost when loading state 2020-08-22 18:16:35 +10:00
Connor McLaughlin 3c46f7b44c ControllerInterface: Add XInput controller backend 2020-08-22 16:50:19 +10:00
Connor McLaughlin 62d0ec5584 Qt/AudioSettingsWidget: Mark some help text as translatable 2020-08-22 14:38:57 +10:00
Connor McLaughlin 1d4d1d06a7 CPU/Recompiler: Disable static code buffer on macOS/Haiku 2020-08-22 13:24:57 +10:00
Connor McLaughlin eb002f7e3e dep/libcue: MSVC filter fix 2020-08-22 13:22:25 +10:00
kwyxz 31695c4ff7
Haiku port of duckstation libretro core (#716)
* Haiku build 1st attempt

* fix load on Haiku

* Removed debugging flags

* Added a couple ifndef
2020-08-22 13:20:37 +10:00
Abbanon 8151594d60
Update gpusettingswidget.cpp (#741)
* Update gpusettingswidget.cpp

* Update gpusettingswidget.cpp

Minor fix

Co-authored-by: Connor McLaughlin <stenzek@gmail.com>
2020-08-22 13:11:03 +10:00
Connor McLaughlin 0f88c0e817
Merge pull request #760 from Richard-L/patch-1
Update audiosettingswidget.cpp
2020-08-22 13:09:53 +10:00
Connor McLaughlin 868aae0546
Merge pull request #764 from Richard-L/patch-6
Update consolesettingswidget.cpp
2020-08-22 13:09:31 +10:00
Connor McLaughlin 7100277ad5
Merge branch 'master' into patch-6 2020-08-22 13:09:16 +10:00
Connor McLaughlin ab002e78e1 Support translating strings in emulator core 2020-08-22 13:06:20 +10:00
Connor McLaughlin afe397a04d
Merge pull request #781 from hhromic/add-gamecontrollerdb
SDLControllerInterface: Add support for optional game controller database
2020-08-22 13:05:27 +10:00
Hugo Hromic 1e10bef09e SDLControllerInterface: Add support for optional game controller database
If an optional "gamecontrollerdb.txt" file exists in the user directory,
then SDL game controller mappings will be loaded from it.

There is an officially endorsed community sourced database in
https://github.com/gabomdq/SDL_GameControllerDB
2020-08-21 23:51:07 +01:00
Connor McLaughlin f852be74e8 Compile fix for Linux/libretro 2020-08-21 00:26:22 +10:00
Connor McLaughlin bca609a2a6 Qt: Add option to disable per-game settings 2020-08-21 00:09:37 +10:00
Connor McLaughlin 5fca2d1d1c Qt: Add toggles for toolbar/status bar 2020-08-21 00:09:37 +10:00
Connor McLaughlin c3ce9135bf Fix recompiler not auto-disabling with PGXP-CPU mode 2020-08-21 00:09:37 +10:00
Connor McLaughlin afda565d78 Add global overrides for interlacing/PGXP-CPU 2020-08-21 00:09:37 +10:00
Connor McLaughlin 60d3fffec1 Add per-game overrides (mainly for compatibility) 2020-08-21 00:09:37 +10:00
Connor McLaughlin e8da20f174
Merge pull request #776 from andercard0/patch-1
Update duckstation-qt_pt-br.ts
2020-08-21 00:09:16 +10:00
Anderson_Cardoso e94ea87a84
Update duckstation-qt_pt-br.ts
Update of Brazilian Portuguese language translation with new options recently added; 
some typo fixed as well.
2020-08-19 21:37:19 -03:00
Connor McLaughlin 0d4fe1eb71
Fix Linux build again 2020-08-20 01:21:36 +10:00
Connor McLaughlin 6a17a558bb CPU: Linux compile fix 2020-08-20 01:05:03 +10:00
Connor McLaughlin b17335d812 GTE: Increase z precision in PGXP mode 2020-08-20 00:49:42 +10:00
Connor McLaughlin b98dbc75e9 Qt: Use scm date in update dialog 2020-08-20 00:49:39 +10:00
Connor McLaughlin e3e8e47ffc scmversion: Add date 2020-08-20 00:49:39 +10:00
Connor McLaughlin 71a38adbc7 Qt: List changes between current->latest build in auto updater
Thanks to @hhromic for the API endpoint tip.
2020-08-20 00:49:39 +10:00
Connor McLaughlin 07cc926775 SDL: Fix mismatch between saved and running settings 2020-08-20 00:49:39 +10:00
Connor McLaughlin daa72aba10 CPU: Skip executing nop instructions
Makes PGXP CPU mode quicker, as well as a performance improvement to the
regular interpreter.
2020-08-20 00:49:39 +10:00