Commit graph

2487 commits

Author SHA1 Message Date
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
Connor McLaughlin 3dce0d654a
Merge pull request #1030 from CookiePLMonster/fix-bios-comparator
Fix bios comparator
2020-11-02 00:52:50 +10:00
Connor McLaughlin 79aa1cece7
Merge pull request #1031 from ggrtk/negcon-deadzone
NeGcon: Add steering axis deadzone setting
2020-11-02 00:52:27 +10:00
Albert Liu 8b5fde8e6f BIOS: Add SCPH-1000R image infos 2020-11-01 04:21:17 -08:00
Albert Liu 3b51b993f3 NeGcon: Add steering axis deadzone setting 2020-11-01 04:17:18 -08:00
Silent 4ef70ef2aa
Fix bios comparator 2020-11-01 13:12:04 +01:00
Anderson_Cardoso 0d6a3ca28d
Update Brazilian Portuguese Translation
Translated:.

- GPU Settings Widget; 
- OSD Messages | Multisample;
2020-10-31 19:48:26 -03:00
Connor McLaughlin b5b1c725c1 GPU: Fix MSAA in OpenGL ES 2020-10-31 15:24:25 +10:00
Connor McLaughlin 4c08624ce5 libretro: Fix Windows build 2020-10-31 15:12:18 +10:00
Connor McLaughlin f2aa343cae GPU/HW: Fix SSAA being enabled when it's not supported 2020-10-31 15:12:12 +10:00
Connor McLaughlin 4fe1c07b02 GL/Texture: Use texture storage where available 2020-10-31 15:11:53 +10:00
Connor McLaughlin 95dba59826 libretro: Add MSAA options 2020-10-31 14:39:38 +10:00
Connor McLaughlin f39b3006f2 Qt: Update Chinese translation from @zkdpower 2020-10-31 14:30:38 +10:00
Connor McLaughlin ed0777cd8d OpenGLHostDisplay: Make sure vsync is on at startup 2020-10-31 14:27:58 +10:00
Connor McLaughlin fdb770a596 ImGui: Get rid of serializing GL calls in OpenGL renderer
Gives a 25% performance improvement on NVIDIA.
2020-10-31 14:27:58 +10:00
Connor McLaughlin b3c5c0f852 GPU/OpenGL: Eliminate some redundant per-draw state calls 2020-10-31 14:27:58 +10:00
Connor McLaughlin 2eaebd8921 GPU: Implement support for multisample antialiasing 2020-10-31 14:27:58 +10:00
Connor McLaughlin 61a4960380 GPU: Skip zero-width or height fills 2020-10-31 14:27:57 +10:00
Connor McLaughlin 2e53bf914e CPU/CodeCache: Fix crash when jumping to invalid block in recompiler 2020-10-31 14:27:57 +10:00
Connor McLaughlin 8f20ffaed3
Merge pull request #1017 from andercard0/patch-23
Update Brazilian Portuguese Translation
2020-10-31 14:18:28 +10:00
Connor McLaughlin 70fa41431b
Merge pull request #1020 from ggrtk/pal-bios-path
HostInterface: Fix PAL BIOS path not being read from settings
2020-10-30 11:37:41 +10:00
Albert Liu fe9680fba8 libretro: Fix duplicated core option keys 2020-10-29 17:56:25 -07:00
Albert Liu df1c5c0f45 HostInterface: Fix PAL BIOS path not being read from settings 2020-10-29 14:26:07 -07:00
Anderson_Cardoso 88f60a1ca8
Update Brazilian Portuguese Translation
Translated:

- Analog Controller texts;
- Analog Controller Options;
- Enhancement Settings Widget;
2020-10-29 14:21:31 -03:00
Connor McLaughlin 7078f73ecf AnalogController: Fix analog-as-digital applying in analog mode 2020-10-30 02:10:49 +10:00
Connor McLaughlin 2fb67ee7db AnalogController: Add option to use analog stick as dpad in digital mode 2020-10-30 00:44:40 +10:00
Connor McLaughlin 7210b0826a GameSettings: Make DMA/GPU tweak settings overridable 2020-10-30 00:44:40 +10:00
Connor McLaughlin be63d893cd CPU: Use partial icache fills for non-line-aligned addresses 2020-10-30 00:44:40 +10:00
Connor McLaughlin 3b3ad0c1cb Bus: Fix icache fills from BIOS failing 2020-10-30 00:44:39 +10:00
Connor McLaughlin f14270fc4b Bus: Ignore reads to nocash EXP2 area 2020-10-30 00:44:39 +10:00
Connor McLaughlin b2d224abfc System: Set BIOS before resetting
Fixes incorrect first instruction executing in interpreter mode.
2020-10-30 00:44:39 +10:00
Connor McLaughlin e081ee4b8e CDROM: Return error to guest instead of panicing for unknown commands 2020-10-30 00:44:39 +10:00
Connor McLaughlin a6947fbc70 CDROM: Implement fast forward/rewind 2020-10-30 00:44:39 +10:00
Connor McLaughlin 29467d40c8 DMA: Add debug window 2020-10-30 00:44:39 +10:00
Connor McLaughlin 62dbaaf02c Qt: Fix power off button not exiting in batch mode 2020-10-30 00:44:39 +10:00
Albert Liu b66f212ec3 SDL: Add Mute CD Audio option to settings menu 2020-10-28 15:03:50 -07:00
Connor McLaughlin 87518fbee1 Qt: Linux compile fix 2020-10-29 01:58:08 +10:00
Connor McLaughlin 0552da6be2 CDROM: Stub out VideoCD command 2020-10-29 01:44:44 +10:00
Connor McLaughlin bde271566b Common/PageFaultHandler: Hook SIGBUS as well as SIGSEGV on AArch64
Apparently this happens too?
2020-10-29 01:42:17 +10:00
Connor McLaughlin 34a808c258 SPU: Zero previous block ADPCM samples on key on
Fixes clicking in background in Breath of Fire III.
2020-10-29 01:30:40 +10:00
Connor McLaughlin a8171405b1 CPU/CodeCache: Fix incorrect invalidation on non-page-crossing DMA writes
Fixes recompiler mode for Breath of Fire III, probably others.
2020-10-29 01:30:00 +10:00
Connor McLaughlin 451c48406d libretro: Fix runtime aspect ratio changes not applying 2020-10-28 17:32:59 +10:00
Connor McLaughlin 0b84433533 Qt/DisplaySettings: Fix renderer recommended value not translating 2020-10-28 17:32:49 +10:00
Connor McLaughlin cf630f0592 Qt: Fix incorrect help text for texture filtering 2020-10-28 17:32:24 +10:00
Connor McLaughlin 9bfa27d550 Qt/AudioSettings: Make auto buffer size a multiple of 128 2020-10-28 17:32:01 +10:00
Connor McLaughlin 392c7af738 Bus: Fix assertion failing if booting fails 2020-10-28 17:31:25 +10:00
Connor McLaughlin 7ce55ca800 Android: Fix race/crash when switching away/back to the emulation activity 2020-10-27 11:58:46 +10:00
Connor McLaughlin be3dd3e06f HostInterface: Fix a possible crash when renderer recreation fails 2020-10-27 11:57:41 +10:00