Commit graph

2534 commits

Author SHA1 Message Date
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
zkdpower daf3720ba0
Update duckstation-qt_zh-cn.ts to latest
Update duckstation-qt_zh-cn.ts to latest
2020-11-22 05:37:33 +08:00
Anderson_Cardoso ff2c2e04d8
Atualização Português do Brasil
Translated
Display Settings Widget;
MaindWindow;
OSD Message;
Some fixes.
2020-11-21 15:18:59 -03:00
Connor McLaughlin b49067d165 Build: Fix Android armv8 performance regression 2020-11-22 02:33:02 +10:00
Connor McLaughlin 347a10723f
Merge pull request #1090 from hugihadein/patch-1
fix typo in italian translation
2020-11-22 01:25:31 +10:00
Connor McLaughlin 7e7ec86f91 GPU/Software: Remove a couple of unused variables 2020-11-22 01:24:26 +10:00
Connor McLaughlin a6529a9537 Android: Enable armeabi-v7a builds 2020-11-21 23:47:12 +10:00
Connor McLaughlin 497759b4d6 VulkanHostDisplay: Support 16-bit scanout 2020-11-21 21:12:38 +10:00
Mattia faaa62cfca
fix typo in italian translation 2020-11-21 10:21:49 +01:00
Connor McLaughlin 131dc923ed Build: Fix CMake build 2020-11-21 18:59:03 +10:00
Connor McLaughlin cb407263ea XInputControllerInterface: Fix device connected spam 2020-11-21 18:58:27 +10:00
Connor McLaughlin c375d04bad Frontends: Add .iso to open disc filter 2020-11-21 18:41:36 +10:00
Connor McLaughlin b554c133ea GPU/OpenGL: Add a version check and display message when unsupported 2020-11-21 18:39:04 +10:00
Connor McLaughlin 7f058169b9 OpenGLHostDisplay: Add a GLES2 render path 2020-11-21 18:39:04 +10:00
Connor McLaughlin 2595e31575 GPU: Split software to frontend/backend 2020-11-21 18:39:04 +10:00
Connor McLaughlin 03d4f80883 GPU: Move enums/types into separate file 2020-11-21 18:39:04 +10:00
Connor McLaughlin d3d881aa6b GPU/Software: Reduce number of copies by one, enable 16-bit scanout 2020-11-21 18:39:04 +10:00
Connor McLaughlin beffbaee39 Common/Rectangle: Use memcpy for operator= 2020-11-21 18:39:04 +10:00
Connor McLaughlin dc53209565 Common/Event: Replace poll event with lock/condvar 2020-11-21 18:39:04 +10:00
Connor McLaughlin 9f3e8bed86 CPU: Add AArch32/armv7 recompiler 2020-11-21 18:39:04 +10:00
Connor McLaughlin 1128836826 CPU/Recompiler: Add GetValueInHostOrScratchRegister helper 2020-11-21 18:39:04 +10:00
Connor McLaughlin cdd0a5525a CPU/Recompiler: Reduce register pressure of lwl/lwr/swl/swr 2020-11-21 18:39:04 +10:00
Connor McLaughlin 6df5824616 CPU/Recompiler: Support targets where shifts aren't implicitly masked 2020-11-21 18:39:04 +10:00
Connor McLaughlin 053d7fdc4b CPU/Recompiler: Inhibit allocation in mtc0/rfe branches 2020-11-21 18:39:04 +10:00
Connor McLaughlin 028a5c60d7 Bus: Fix failed safe instruction reads raising guest exceptions 2020-11-21 18:39:03 +10:00
Connor McLaughlin 28c88cd69f Build: Fix Win32 compilation of core 2020-11-21 18:39:03 +10:00
Connor McLaughlin a29669432f Common/PageFaultHandler: Fix compiling on 32-bit Windows 2020-11-21 18:39:03 +10:00
Connor McLaughlin a03bca2f72 CPU: Make fastmem a compile-time feature (support 32-bit targets) 2020-11-21 18:39:03 +10:00
Connor McLaughlin dba42cf323 Common/CPUDetect: Use consistant naming for ARM targets 2020-11-21 18:39:03 +10:00
Connor McLaughlin 125d104df4 Pad: Fix controller state not being ignored in state load 2020-11-21 18:39:03 +10:00
Connor McLaughlin 53f81d067a CPU/CodeCache: Remove warning about executing uncompiled blocks 2020-11-21 18:39:03 +10:00
Connor McLaughlin 9c9e2bbe27 GL/ContextWGL: Check for ES2 context extension before creating 2020-11-21 18:39:03 +10:00
Connor McLaughlin aeee649700
Merge pull request #1089 from zkdpower/master
Update duckstation-qt_zh-cn.ts to latest
2020-11-21 18:37:56 +10:00
Connor McLaughlin 0f04763ef6
Merge pull request #1084 from andercard0/patch-30
Update Pt-Br
2020-11-21 18:37:37 +10:00
Connor McLaughlin 3185c5df0f
Merge pull request #1078 from CookiePLMonster/sdl-joystick-support
Add SDL_Joystick support
2020-11-21 18:37:20 +10:00
zkdpower ed8f6aefcf
Update duckstation-qt_zh-cn.ts to latest
Update duckstation-qt_zh-cn.ts to latest
2020-11-21 05:13:33 +08:00
Anderson_Cardoso 957d40b011
Update Pt-Br
Translated 
- Main Window options
2020-11-18 13:45:33 -03:00
Connor McLaughlin 3f2a9cedbe Qt: Add screenshot to System menu 2020-11-19 00:40:02 +10:00
Connor McLaughlin 46b97dd4a8 Qt: Hook up window size menu 2020-11-19 00:40:02 +10:00
Connor McLaughlin e4d2b7331b CommonHostInterface: Add resize window to scale functions 2020-11-19 00:40:02 +10:00
Connor McLaughlin 0726ad1275 GPU: Flush partial VRAM writes to backend VRAM 2020-11-19 00:40:02 +10:00
Connor McLaughlin 9e11e5c354 CPU: Make zero register printing consistent with the others 2020-11-19 00:40:02 +10:00
Connor McLaughlin 042bdd9c0c CPU/CodeCache: Fetch second delay slot from first branch for double branches 2020-11-19 00:40:02 +10:00
Connor McLaughlin 3890a539ee CDROM: Clear data FIFO on reset
Fixes Snatcher booting.
2020-11-19 00:40:02 +10:00
Connor McLaughlin bc98b2470c
Merge pull request #1081 from zkdpower/master
Update duckstation-qt_zh-cn.ts to latest
2020-11-19 00:39:33 +10:00
zkdpower 04309754a5
Update duckstation-qt_zh-cn.ts to latest
Update duckstation-qt_zh-cn.ts to latest
2020-11-16 19:04:23 +08:00
Anderson_Cardoso bdac8ffcde
Update Pt-Br
Translated
 
- New Controller type;
- Analog Controller;
2020-11-15 14:46:26 -03:00
Silent 086f251370
Tidy up SDL controller methods interface 2020-11-15 16:12:39 +01:00
Silent 2880b71b48
Support for SDL Joysticks
This enables use of non-controller peripherals,
such as DirectInput steering wheels or flight sticks
2020-11-15 16:12:39 +01:00
Connor McLaughlin 473cfffa0c GPU: Only accept DMA writes when FIFO is empty or command incomplete
Fixes a bunch of games, including Red Asphalt, Little Princess, Vampire
Hunter D main menu when combined with tight DMA sync.
2020-11-16 01:00:55 +10:00
Connor McLaughlin df12f08ac3 DMA: Add additional tick penalty to DMA chains for page change 2020-11-16 01:00:55 +10:00
Connor McLaughlin 6a2deb6d71
Merge pull request #1072 from ggrtk/analog-joystick
Controller: Add Analog Joystick support
2020-11-16 01:00:10 +10:00
Silent 99ec667b20
Factorize input hooks into reusable monitor classes
Those monitors will need some context so this will be useful
in the nearby future.
2020-11-15 15:31:13 +01:00
Anderson_Cardoso a0c63705ef
Update Pt-Br translation (Fixes)
Nothing special just fixes.
2020-11-14 15:13:12 -03:00
Albert Liu 7ed0477a29 AnalogController: Save buttons and legacy rumble to state 2020-11-14 07:46:26 -08:00
Albert Liu 81a638cabb Pad: Fix loading controllers from save states 2020-11-14 07:46:26 -08:00
Albert Liu f9d2643d98 Controller: Add Analog Joystick support 2020-11-14 07:46:26 -08:00
Connor McLaughlin 3f9ba4acb6
Merge pull request #1071 from RaydenX93/update_it_20201114
Update Italian Translation
2020-11-15 00:22:38 +10:00
Connor McLaughlin 13d9702000 HostDisplay: Log errno on file open failure 2020-11-15 00:16:00 +10:00
Connor McLaughlin 5b4cc214c5 libretro: Move some interface init to retro_init
Apparently fixes rumble.
2020-11-15 00:11:50 +10:00
RaydenX93 bb01fbf6c0 Update duckstation-qt_it.ts 2020-11-14 15:06:06 +01:00
Connor McLaughlin 65be904d15 SPU: Only log warning about FIFO lost on writes 2020-11-14 23:20:28 +10:00
Connor McLaughlin 077764ce18 CPU/Interpreter: Handle move instructions in PGXP memory mode 2020-11-14 23:20:28 +10:00
Connor McLaughlin e1579584ef CPU/Recompiler: Fix PGXP values getting corrupted if cached in caller-saved reg 2020-11-14 23:20:28 +10:00
Connor McLaughlin 3f937a2a39 SPU: Port reverb algorithm changes from Mednafen 2020-11-14 23:20:28 +10:00
Connor McLaughlin 925bb7173f
Merge pull request #1067 from ggrtk/analog-axis-scale
ControllerInterface: Move axis scaling into AnalogController class
2020-11-14 23:20:04 +10:00
Connor McLaughlin aa0c52cea1
Merge pull request #1061 from zkdpower/master
Update duckstation-qt_zh-cn.ts to latest.
2020-11-14 23:18:50 +10:00
Albert Liu 3eeab81063 PlayStationMouse: Fix returning incorrect controller type 2020-11-13 01:42:31 -08:00
Albert Liu ca8fe27954 libretro: Add analog axis scale toggle 2020-11-12 04:16:04 -08:00
Albert Liu d87ab23fec ControllerInterface: Move axis scaling into AnalogController class 2020-11-11 23:55:23 -08:00
zkdpower 6db847c56f
Update duckstation-qt_zh-cn.ts to latest.
Update duckstation-qt_zh-cn.ts to latest.
2020-11-11 12:18:39 +08:00
Anderson_Cardoso 402364ae63
Atualização Tradução Português do Brasil
Translated:

- OSD Message;
- Main Window;
- Cheat Manager Dialog;
- QTHost Interface (MC new option);
2020-11-10 14:03:59 -03:00
Connor McLaughlin ca14e53c4a GTE: Make widescreen hack use display aspect ratio 2020-11-11 01:02:40 +10:00
Connor McLaughlin 2d3fd621bf Settings: Add 19:9 aspect ratio 2020-11-11 01:02:40 +10:00
Connor McLaughlin 2467dbedd7 CDImage: Handle .iso files the same as .bin files
Very reluctant to add this but people keep complaining...
2020-11-11 01:02:40 +10:00
Connor McLaughlin ce81d23574 Qt: Add Edit Memory Cards to game list context menu 2020-11-11 01:02:40 +10:00
Connor McLaughlin 6cd991bc57 BIOS: Turn display on with fast boot
Fixes black screen in SaGa Frontier with fast boot disabled.
2020-11-11 01:02:40 +10:00
Connor McLaughlin d468814a6d GPU: Disable texture filters when dual-source blend is unsupported 2020-11-11 01:02:40 +10:00
Connor McLaughlin 92a4551bb2 GPU/OpenGL: Support GL_EXT_blend_func_extended for dual-source blend 2020-11-11 01:02:40 +10:00
Albert Liu d0443e3165 BIOS: Add BIOS image info for PS1 on PS3 2020-11-09 09:02:00 -08:00
Albert Liu c698519d44 Bus: Log writes to additional POST registers 2020-11-09 09:02:00 -08:00
Albert Liu f3522b7b70 Bus: Stub out EXP3 and unknown EXP accesses 2020-11-09 09:02:00 -08:00
Connor McLaughlin c1a81aefa4
Merge pull request #1054 from zkdpower/master
fix one translation mistake
2020-11-09 00:37:30 +10:00
zkdpower d0b5338663
improve one mistake
improve one mistake
2020-11-08 20:26:51 +08:00
RaydenX93 e6064b6eb6 Update duckstation-qt_it.ts 2020-11-07 19:31:18 +01:00
Connor McLaughlin e1ffb5e385 Qt: Add missing DMA state to debug menu 2020-11-08 00:27:48 +10:00
Connor McLaughlin 8e0ee7e9c5 Qt: Update Chinese translation from @zkdpower 2020-11-08 00:22:35 +10:00
Connor McLaughlin 44e2a857fa Qt/CheatManager: Add import file/text options 2020-11-08 00:22:35 +10:00
Connor McLaughlin 56ab103559 GameSettings: Fix CD-ROM read speedup incorrectly saved to ini 2020-11-08 00:22:35 +10:00
Connor McLaughlin 3e6bc0e10d Android: Implement disc changing via playlists 2020-11-08 00:22:35 +10:00
Connor McLaughlin 8cb89636eb Android: Empty audio buffers when returning from activity 2020-11-08 00:22:35 +10:00
Connor McLaughlin ac89379ca6 GL/ContextEGL: Use pbuffer when surfaceless not supported 2020-11-08 00:22:35 +10:00
Connor McLaughlin b6ec587e5b CheatList: Allow passing in strings instead of filenames 2020-11-08 00:22:35 +10:00
Connor McLaughlin 6828082f8b CheatList: Add merge list function for importing 2020-11-08 00:22:35 +10:00
Connor McLaughlin 576914cd2c CPU/CodeCache: Backpatch code writes after they exceed 10 faults
Small performance improvement in Driver 2.
2020-11-08 00:22:35 +10:00
Connor McLaughlin 62892b02d1 libretro: Add edge blending texture filtering modes 2020-11-08 00:22:35 +10:00
Connor McLaughlin 6922380569
Merge pull request #1040 from andercard0/patch-26
Atualização Tradução Português do Brasil
2020-11-08 00:14:35 +10:00
Albert Liu 6d4b812b7c AnalogController: Implement legacy rumble method
Fixes missing vibration in Tobal 2, Bushido Blade, etc.
2020-11-04 22:45:58 -08:00
Anderson_Cardoso 722c4196f2
Atualização Tradução Português do Brasil
Translated:

- Enhancement Settings Widget;
- General Settings Widget;
- Main Window nessage;
- Advanced Widget;
- OSD messages;
2020-11-03 12:47:25 -03:00
Connor McLaughlin 2388662cc5 Qt: Fix texture filter setting incorrect value for no-edge-blending 2020-11-03 22:59:26 +10:00
Connor McLaughlin 2b66492ed8 HostInterface: Add proper turbo speed setting 2020-11-03 22:59:26 +10:00
Connor McLaughlin 3a6ff109be Qt: Update Chinese translation from @zkdpower 2020-11-03 16:17:45 +10:00
Connor McLaughlin 2c8a4ff154 HostDisplay: Add an option to decouple display fps from emulator fps
Makes Android so much faster...
2020-11-03 16:17:45 +10:00
Connor McLaughlin ae1e4b1b8f GPU: Add chroma smoothing for 24-bit display enhancement 2020-11-03 16:17:45 +10:00
Connor McLaughlin d102b2facd Qt: Fix selecting fullscreen mode breaking other backend borderless 2020-11-03 16:17:45 +10:00
Connor McLaughlin 863f84e3f6 System: Fix frame limiter on fast systems (when frametime <1ms) 2020-11-03 16:17:45 +10:00
Anderson_Cardoso 75a22724b9
Update Brazilian Portuguese Translation
Translated: 

- OSD messages;
- NeGcon controller options;
- GPU Texture Filter new options;
- Display Settings Widget options;
- Fixed not translated res texts i lefted.
2020-11-01 13:53:49 -03:00
Connor McLaughlin 121d856b14 Qt: Update Chinese translation from @zkdpower 2020-11-02 00:56:05 +10:00
Connor McLaughlin 2b2a868fef HostInterface: Fix incorrect translation context in CPU mode switch string 2020-11-02 00:56:05 +10:00
Connor McLaughlin 414bc30f24 HostDisplay: Implement exclusive fullscreen for D3D11 renderer 2020-11-02 00:56:05 +10:00
Connor McLaughlin 858f39827d GPU/HW: Add 'Disable Edge Blending' variants of texture filters 2020-11-02 00:56:05 +10:00
Connor McLaughlin 6ddf6784ab GPU/OpenGL: Fix edge blending when texture filtering 2020-11-02 00:56:05 +10:00
Connor McLaughlin ad6a4d4ec0
Merge pull request #1025 from andercard0/patch-24
Update Brazilian Portuguese Translation
2020-11-02 00:55:51 +10:00