Commit graph

2646 commits

Author SHA1 Message Date
Albert Liu 866cbdca4b GPU: Prevent potential overflow in CRTC visible area calculation 2020-12-14 19:28:59 -08:00
Albert Liu 78e42d9b4c GPU: Clean up CRTC variable naming 2020-12-14 19:28:59 -08:00
Albert Liu b8abf2df95 GPU: Don't apply display offsets when not cropping 2020-12-14 19:28:58 -08:00
Connor McLaughlin e85f7da874 Update game compatibility settings 2020-12-14 02:15:25 +10:00
shikulja 4e7de5a464 Update ru translation
(LF>CRLF )
2020-12-13 18:58:57 +03:00
Connor McLaughlin d0e68c7163 GPU: Mask Y coordinates of VRAM transfers to 9-bits
Fixes GPU error and crash in hardware renderers in Remote Control
Dandy.
2020-12-14 01:35:53 +10:00
Connor McLaughlin 5164840c25 CPU/CodeCache: Don't choke on indirect branches in delay slot
Fixes emulator crash/memory usage explosion in Shadow Master.
2020-12-14 01:35:53 +10:00
Connor McLaughlin c90ed85d9d
Merge pull request #1202 from andercard0/patch-44
Atualização Português do Brasil
2020-12-14 01:35:36 +10:00
Connor McLaughlin ac2d788e3d
Merge pull request #1205 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-14 01:35:16 +10:00
GravuTrad c37cb54acf
Update duckstation-qt_fr.ts (#1210)
* Update duckstation-qt_fr.ts

Update french: all typos errors and few missing translations

* Update duckstation-qt_fr.ts

* Update duckstation-qt_fr.ts
2020-12-14 01:34:53 +10:00
zkdpower 12c294c780
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-13 11:08:04 +08:00
Anderson_Cardoso bb4be085e4
Atualização Português do Brasil 2020-12-12 16:55:19 -03:00
Connor McLaughlin 5c6ee953d0 libretro: Update compatibility settings 2020-12-13 00:47:26 +10:00
Connor McLaughlin 7e5410fc44 CPU/AArch64: Use scratch register for unfitting intermediate values
Should fix crashes with icache emulation enabled.
2020-12-13 00:36:09 +10:00
Connor McLaughlin c47efc597f
Merge pull request #1194 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-13 00:17:50 +10:00
Renzo Pigliacampo 35b9143d3e
Update spanish translation (#1189) 2020-12-13 00:15:47 +10:00
Albert Liu 62609b5008 GameSettings: Fix build warning 2020-12-12 01:00:34 -08:00
Albert Liu def9a98cb9 GameSettings: Disable analog mode forcing instead of forcing digital controller 2020-12-11 19:50:43 -08:00
Albert Liu 8716c33f41 AnalogController: Clarify option for forcing analog mode 2020-12-11 19:50:43 -08:00
Connor McLaughlin 90997d4a8b GameList: Prioritize game title cover image over database title 2020-12-12 12:23:53 +10:00
Connor McLaughlin 6e7f1501b5 SDLAudioStream: Fix volume not applying 2020-12-12 11:50:48 +10:00
Connor McLaughlin eefbd8f6a6 CubebAudioStream: Use cubeb's volume control 2020-12-12 11:50:37 +10:00
Connor McLaughlin 907e0de35a FrontendCommon: Fix volume hotkeys starting at 0% when muted 2020-12-12 11:50:20 +10:00
Connor McLaughlin f4d540bcc6 Qt: Fix mute toggle having inverse effect 2020-12-12 11:49:50 +10:00
Connor McLaughlin 58b24d6ac9 Qt: Fix volume controls updating incorrect volume 2020-12-12 11:49:34 +10:00
Connor McLaughlin 420525e672 DigitalController: MSVC warning fix 2020-12-12 11:37:38 +10:00
zkdpower 49fda513ee
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-11 08:33:03 +08:00
Albert Liu 191e6b0496 DigitalController: Add option to force as Pop'n Controller 2020-12-09 23:39:11 -08:00
Connor McLaughlin e2a2972b38
Merge pull request #1180 from andercard0/patch-43
Atualização Português do Brasil
2020-12-10 01:22:05 +10:00
Connor McLaughlin 50bcdc0abb MDEC: Adjust 16bpp timing
Fixes jittery movement in Parasite Eve II opening.
2020-12-09 20:29:32 +10:00
Connor McLaughlin 59c338f461 Cheats: Support double conditional D0/D1/D2/D3/E0/E1/E2/E3/D4 2020-12-09 20:22:43 +10:00
Anderson_Cardoso 654c3f2ad6
Atualização Português do Brasil 2020-12-08 21:36:46 -03:00
Connor McLaughlin 98766a490f Log: Change success to verbose and move down in ordering 2020-12-09 01:03:32 +10:00
Connor McLaughlin 678146b907 HostInterface: Add separate volume control for fast forwarding 2020-12-09 01:03:32 +10:00
Connor McLaughlin b79d025e66
Merge pull request #1174 from ggrtk/analog-controller
AnalogController: Disallow analog-to-dpad in config mode
2020-12-09 00:22:57 +10:00
Connor McLaughlin 8e79059fe3
Merge pull request #1166 from CookiePLMonster/xinput-button-fix
XInput: Fix mapping buttons to axes
2020-12-09 00:22:14 +10:00
Connor McLaughlin 419736aaee GPU/Software: Ensure commands are always aligned to 4 bytes 2020-12-09 00:19:57 +10:00
Albert Liu 18a4ff76e2 AnalogController: Disallow analog-to-dpad in config mode 2020-12-08 02:36:19 -08:00
Silent a4124fdc1b
Another fix for XInput backend 2020-12-07 18:08:48 +01:00
Connor McLaughlin 98d6b49987 System: Log FPS/frame times every second 2020-12-08 01:47:28 +10:00
Connor McLaughlin 7daa169cda
Merge pull request #1163 from ggrtk/gpu-tex-palette-reg-y
GPU: Fix GPUTexturePaletteReg y BitField width
2020-12-08 01:42:10 +10:00
Connor McLaughlin e7ae9b33a1
Merge pull request #1160 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-08 01:41:56 +10:00
Albert Liu 93f46c142c GPU: Fix GPUTexturePaletteReg y BitField width 2020-12-06 22:20:23 -08:00
zkdpower 0d2e835637
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-07 01:31:27 +08:00
Connor McLaughlin 50273899c6
Merge pull request #1158 from andercard0/patch-38
Tradução Português do Brasil
2020-12-07 02:48:10 +10:00
Connor McLaughlin b44a654943 System: Reset throttler when audio buffers underflow
Should hopefully reduce the chances of the audio source ending up out of
phase from the emulation when vsync is disabled.
2020-12-07 02:44:23 +10:00
Connor McLaughlin c8f33e340b Revert "CommonHostInterface: Don't use sleep throttle when syncing to audio at standard speed"
This reverts commit 922e17f677.
2020-12-07 02:44:23 +10:00
Anderson_Cardoso 8f56d2c659
Tradução Português do Brasil
Update to latest.
2020-12-06 12:42:01 -03:00
Connor McLaughlin f002b4ca4b
Merge pull request #1150 from andercard0/patch-37
Atualização Português do Brasil
2020-12-07 01:09:46 +10:00
Connor McLaughlin e579cd2eb2 CDImageHasher: Only ignore index 0 for track 1 2020-12-07 00:44:48 +10:00
Connor McLaughlin 0fbb69a3ef Qt: Add option to hide the mouse cursor in fullscreen 2020-12-07 00:06:32 +10:00
Connor McLaughlin a511882cb8 D3D11HostDisplay: Add an option to force a blit/discard swap chain 2020-12-06 23:46:23 +10:00
Connor McLaughlin 3ccfc42b0f D3D11HostDisplay: Use shader cache for postprocessing shaders 2020-12-06 23:37:41 +10:00
Connor McLaughlin 737a87b483 CommonHostInterface: Add a hotkey to toggle all cheats 2020-12-06 23:32:32 +10:00
Connor McLaughlin 922e17f677 CommonHostInterface: Don't use sleep throttle when syncing to audio at standard speed 2020-12-06 18:18:18 +10:00
Connor McLaughlin f5ccb6ea60 CPU: Fall back to mmap'ed buffer if reprotecting code space fails 2020-12-06 18:13:07 +10:00
Connor McLaughlin 09495b1d93 Cheats: Implement C1 command 2020-12-06 15:50:58 +10:00
Connor McLaughlin ea9829946d Cheats: Implement D4/D5/D6 code types 2020-12-06 15:47:00 +10:00
Anderson_Cardoso f0c2fb23e3
Atualização Português do Brasil 2020-12-05 13:51:47 -03:00
Connor McLaughlin fd6462263f Common/Event: Fix TryWait not returning on timeout on Linux
Fixes a potential deadlock in the Qt frontend if initialization on the
emu thread takes too long.
2020-12-06 00:41:07 +10:00
Connor McLaughlin a90c25d0e7 SPU: Ignore manually set loop address only on first block
Fixes occasional missing dialogue in Valkyrie Profile.
2020-12-06 00:35:54 +10:00
Connor McLaughlin d7bd21c06d Timers: Update when sync is used with sysclk source
Fixes hang at boot in Zoku Mikagura Shoujo Tanteidan - Kanketsuhen.
2020-12-06 00:35:54 +10:00
Connor McLaughlin 5e05a14f97 GPU: Fix incorrect draw time approximation of lines
Fixes flickering pre-mission screen in Omega Boost.
2020-12-06 00:35:54 +10:00
Connor McLaughlin d757056891 GPU: Implement dot clock timer (Timer 0)
Fixes softlock in Evil Dead - Hail to the King.
2020-12-06 00:35:54 +10:00
Connor McLaughlin 8b3426a96e System: Reinitialize code cache on hw settings change/disc swap
Basically, anything which could allocate large amounts of memory and
potentially overlap with our fastmem area.
2020-12-06 00:35:54 +10:00
Connor McLaughlin 1c9d0967b1 GPU/OpenGL: Fix shader compile error on GLES 2020-12-06 00:35:54 +10:00
Connor McLaughlin 6d674175f4 Qt: Add missing documentation for pause-on-focus-loss 2020-12-06 00:35:54 +10:00
Connor McLaughlin 47cd1bc67e
Merge pull request #1149 from andercard0/patch-36
Atualização tradução Português do Brasil
2020-12-06 00:35:19 +10:00
RaydenX93 a9b7e295fe
Update Italian Translation (#1148)
* Update duckstation-qt_it.ts

* Corrections

On behalf of @hugihadein
2020-12-06 00:35:08 +10:00
Anderson_Cardoso 2fc27a6bb2
Atualização tradução Português do Brasil
Updated to latest.
2020-12-05 09:00:19 -03:00
Silent 39768edd74
XInput: Fix mapping triggers to axes 2020-12-04 17:55:01 +01:00
Connor McLaughlin 5575950822 Cheats: Support chaining C0 codes with separator (00000000 FFFF) 2020-12-05 02:08:10 +10:00
Connor McLaughlin af6b0dc189 Qt: Add option to pause on application focus loss 2020-12-05 02:08:10 +10:00
Connor McLaughlin 0a0243b78e
Merge pull request #1141 from andercard0/patch-35
Atualização Português Brasil
2020-12-05 02:05:33 +10:00
Connor McLaughlin 60b7d8e8c0
Merge pull request #1140 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-05 02:05:19 +10:00
Anderson_Cardoso 526c682298
Atualização Português Brasil
Atualizado para versão atual!
2020-12-03 22:02:31 -03:00
zkdpower 822df373bb
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-04 08:54:53 +08:00
Connor McLaughlin 9089c97339 CPU: Drop cache control log to dev level 2020-12-04 01:19:00 +10:00
Connor McLaughlin 52dbcbaca5 PGXP: Treat add rd, rs, zero as moves
Fixes exploding vertices in BIOS intro.

Needs further investigation as to why this fixes it - clearly the actual
oepration is incorrect.
2020-12-04 01:07:36 +10:00
Connor McLaughlin 59ac365b52 GPU/HW: Extend the UV range to all "upscaled" pixels
Extend the UV range to all "upscaled" pixels. This means 1-pixel-high
polygon-based framebuffer effects won't be downsampled.

(e.g. Mega Man Legends 2 haze effect)
2020-12-04 00:33:04 +10:00
Connor McLaughlin 362905e3df GPU: Add display line offset game setting
Use when games need additional cropping.
2020-12-04 00:33:04 +10:00
Connor McLaughlin c406f0708f Cheats: Implement C0 command (activate codes iff equal) 2020-12-03 00:57:52 +10:00
Connor McLaughlin 3eaf28675a
Merge pull request #1126 from andercard0/patch-34
Atualização Português do Brasil
2020-12-03 00:57:30 +10:00
Connor McLaughlin bc91075bdf
Merge pull request #1125 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-03 00:56:56 +10:00
Anderson_Cardoso 78031afee7
Atualização Português do Brasil
Update to latest.
2020-12-01 14:57:06 -03:00
zkdpower 3a33ada3f9
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-02 01:48:46 +08:00
Connor McLaughlin cd8f17dbd0 Qt: Allow memory card editing from playlist context menu 2020-12-02 00:56:31 +10:00
Connor McLaughlin 0ea2ced46d Qt: Disable game properties for playlist entries 2020-12-02 00:56:15 +10:00
Connor McLaughlin 7e944103c2 GPU/OpenGL: Work around rasterization/interplation issue on V3D/Pi4 2020-12-01 15:14:23 +10:00
Connor McLaughlin a2666de7c8 HostInterface: Make mmap fastmem unavailable a warning instead of OSD message 2020-12-01 13:23:02 +10:00
Connor McLaughlin 977c2f4947 CheatList: Fix games with serial aliases not loading from database 2020-12-01 13:21:07 +10:00
Connor McLaughlin f8c2d7dafd
Merge pull request #1121 from dankcushions/geoshader
OES_geometry_shader and OES_copy_image support
2020-12-01 02:12:51 +10:00
Connor McLaughlin 98f70e9b51 HostDisplay: Add 5:4 and 3:2 aspect ratios 2020-12-01 01:58:46 +10:00
Connor McLaughlin bccecdbf18 Qt: Fix crash with Vulkan renderer when unsupported 2020-12-01 01:17:26 +10:00
Connor McLaughlin 37c9e69b3e System: Zero downcount at end of frame
Prevents code running after vblank starts, and fixes events getting
delayed in interpreter mode.
2020-12-01 01:16:49 +10:00
dankcushions e7139fe0d1 OES_copy_image support 2020-11-30 14:08:26 +00:00
Connor McLaughlin c3932e945d GameSettings: Fix PGXP culling disabled message showing when PGXP disabled 2020-11-30 01:15:44 +10:00
Connor McLaughlin b695d3c6ce System: Use existing media if save state media is not found 2020-11-30 01:15:44 +10:00
Connor McLaughlin eaafd0a00c Cheats: Support parsing built-in database 2020-11-30 01:15:44 +10:00
Connor McLaughlin 39010320ea HostDisplay: Fix possible race when saving screenshots 2020-11-30 01:15:44 +10:00
Connor McLaughlin 53697154f5
Merge pull request #1112 from zkdpower/master
Update duckstation-qt_zh-cn.ts to latest
2020-11-30 01:15:29 +10:00
dankcushions 82b4edfaf4 OES_geometry_shader can be supported by non-GLES 3.2 conformant devices (eg Pi 4) 2020-11-28 17:48:46 +00:00
zkdpower 77552d6904
Update duckstation-qt_zh-cn.ts to latest
Update duckstation-qt_zh-cn.ts to latest
2020-11-28 09:57:37 +08:00
Connor McLaughlin d1a42df121 GameList: Fix cover image detection based on file title 2020-11-28 02:04:18 +10:00
Connor McLaughlin f21d901cf1 Common/FileSystem: Fix macOS build 2020-11-28 00:58:46 +10:00
Connor McLaughlin 16a6c1706e Qt: Fix manual redump database downloading/updating 2020-11-28 00:42:09 +10:00
Connor McLaughlin a75b6e512a System: Improve translatability of save state error 2020-11-28 00:35:03 +10:00
Connor McLaughlin 3137eb41c4 GameList: Make cover functions const 2020-11-28 00:14:45 +10:00
Connor McLaughlin 744629e9a8 Common/FileSystem: Fix modification time not being set in find
Fixes game list list always re-scanning on Linux/Android.
2020-11-28 00:14:45 +10:00
Connor McLaughlin feadc83050 Common/GrowableMemoryByteStream: Add helper methods 2020-11-28 00:14:45 +10:00
Connor McLaughlin a902d9b409 Qt: Fix MSAA game settings not updating combo box on open 2020-11-28 00:14:45 +10:00
Connor McLaughlin 263f7b673b GameList: Use shipped redump database/compatibility settings 2020-11-28 00:14:45 +10:00
Connor McLaughlin 4a482875ca Common/FileSystem: Add helpers for ByteStream 2020-11-28 00:14:45 +10:00
Connor McLaughlin 5f69216f70 HostInterface: Add OpenPackageFile method 2020-11-28 00:14:45 +10:00
Connor McLaughlin 859f23f4d5 libretro: Add compatibility settings loading 2020-11-28 00:14:44 +10:00
Connor McLaughlin b73fd7a4e8 SDLControllerInterface: Ship game controller db with builds 2020-11-28 00:14:44 +10:00
Connor McLaughlin bf584faa32
Merge pull request #1109 from andercard0/patch-33
Atualização Português do Brasil
2020-11-28 00:13:21 +10:00
Connor McLaughlin 1fa0903fa9
Merge pull request #1111 from ggrtk/gpu-sw-fix
GPU/SW: Fix 16-bit wraparound output crashing
2020-11-28 00:12:41 +10:00
Albert Liu e12c68cf65 GPU/SW: Fix 16-bit wraparound output crashing 2020-11-26 23:58:06 -08:00
Albert Liu 32e47fba93 System: Limit maximum loadable save state version 2020-11-26 19:51:45 -08:00
Anderson_Cardoso e630868080
Atualização Português do Brasil
Translated

OSD Messages;
CPUFastmemMode;
GamePropertiesDialog;
AdvancedSettingsWidget;
2020-11-26 15:09:42 -03:00
Connor McLaughlin b2de5945c4 libretro: Disable context caching
It's completely broken in RetroArch, see https://github.com/libretro/RetroArch/issues/11623
2020-11-27 01:40:50 +10:00
Connor McLaughlin f7a75941b5 GameSettings: Add PGXP tolerance and MSAA 2020-11-27 01:40:50 +10:00
Connor McLaughlin f0ff7ce231 PGXP: Add geometry tolerance setting 2020-11-27 01:40:50 +10:00
Connor McLaughlin 24fef20485 CommonHostInterface: Compress screenshots in background/use worker thread 2020-11-27 01:40:50 +10:00
Connor McLaughlin 125dfa7c40 HostDisplay: Support resizing/compressing images on worker thread 2020-11-27 01:40:50 +10:00
Connor McLaughlin df14fa4d75 CommonHostInterface: Fix compatible/old version save states not showing in browser 2020-11-27 01:40:50 +10:00
Connor McLaughlin dc21f2b5cf GL/Context: Check return value of eglBindApi()
Fixes some Android devices thinking they got a desktop GL context.
2020-11-27 01:40:50 +10:00
Albert Liu 9ac09d35be AnalogController: Only clear motor state on rumble config if not used 2020-11-26 06:01:08 -08:00
Albert Liu a4eb4b9280 AnalogController: Set transfer state to idle on reset 2020-11-26 06:01:08 -08:00
Connor McLaughlin fcbd618783
Merge pull request #1105 from ggrtk/analog-controller
AnalogController: Rumble handling and config mode fixes
2020-11-26 01:43:50 +10:00
Connor McLaughlin 627a3109b3 libretro: Re-query hardware render interface after AV system info change
I suspect the frontend is supposed to call context_reset/destroy here,
but it's not for whatever reason, and this works around it.
2020-11-26 01:34:12 +10:00
Albert Liu 566993c6df AnalogController: Improve DualShock rumble handling
Fixes low vibration in Final Fantasy VIII, missing vibration in Armored
Core Project Phantasma, etc.
2020-11-25 07:33:30 -08:00
Albert Liu 31b41b9ec0 AnalogController: Output zeros for 0x43 when already in config mode 2020-11-25 07:33:30 -08:00
Albert Liu 3f709d97b6 AnalogController: Send full analog response for reads in config mode 2020-11-25 07:33:30 -08:00
Albert Liu e4820bcbc1 AnalogController: Delay manual mode toggle to transfer state reset 2020-11-25 07:33:30 -08:00
Connor McLaughlin b45bee5954 libretro: Work around crash in RetroArch Vulkan driver 2020-11-25 23:06:41 +10:00
Connor McLaughlin 917fa5dd0e SPU: Only ignore loop address for not-pending-on voices
Fixes softlocks during dialog in The Misadventures of Tron Bonne.
2020-11-25 22:45:03 +10:00
Connor McLaughlin ade61d6139 libretro: Fix fastmem defaulting to LUT on 64-bit 2020-11-24 15:14:34 +10:00
Connor McLaughlin 7fd22958ae OpenGLHostDisplay: Fix crash in libretro core 2020-11-24 14:54:06 +10:00
Connor McLaughlin 16bfaad505 Updater/Win32: wWinMain should be WINAPI 2020-11-24 14:52:25 +10:00
Connor McLaughlin 1507824435 Qt: Default of GPU thread is enabled 2020-11-24 14:51:40 +10:00
RaydenX93 694b5abd8d
Update Italian Translation (#1096)
* Update duckstation-qt_it.ts

* Update duckstation-qt_it.ts

fix typo ed alcune piccolezze

* Update duckstation-qt_it.ts

lol avevo incollato per sbaglio un link di github

Co-authored-by: Mattia <74111053+hugihadein@users.noreply.github.com>
2020-11-24 14:51:19 +10:00
Connor McLaughlin bf2e38aed5 CPU/Recompiler: Implement LUT-based fastmem 2020-11-24 14:49:21 +10:00
Connor McLaughlin 44b3c9be6e Common/PageFaultHandler: Fix for Windows/ARM64 2020-11-22 14:49:49 +10:00
Connor McLaughlin 773d5f5f25
Merge pull request #1095 from zkdpower/master
Update duckstation-qt_zh-cn.ts to latest
2020-11-22 14:08:19 +10:00
Connor McLaughlin 0612fe4ddd
Merge pull request #1094 from andercard0/patch-32
Atualização Português do Brasil
2020-11-22 14:07:54 +10:00
Connor McLaughlin 0793f98c87 CPU/Recompiler: Reduce armv7 code buffer size 2020-11-22 13:59:26 +10:00
Connor McLaughlin 07dbc5a80d GPU/HW: Draw opaque before semitransparent for reverse subtract
Fixes missing shadows in Suikoden II.
2020-11-22 13:46:20 +10:00
Connor McLaughlin e06f85a328 GPU: Fix VRAM palette changes not being detected in hw renderer
Fixes wall texture animation in Mega Man Legends.
2020-11-22 13:22:29 +10:00