2113 Commits

Author SHA1 Message Date
Connor McLaughlin
b193374dd4 GameList: Add method to look up a cover image 2020-09-24 00:31:44 +10:00
Connor McLaughlin
f1086b18f9 FileSystem: Remove heap allocations from FileExists/DirectoryExists 2020-09-24 00:31:44 +10:00
phoe-nix
b9fa774a21
update zh translation
"Auto-Detect" can not translate in "BIOSSettingsWidget".
2020-09-23 22:27:05 +08:00
Connor McLaughlin
40d157aa23
Merge pull request #875 from CookiePLMonster/more-slashes
Fix an outstanding forward slash showing in the UI
2020-09-23 22:55:40 +10:00
Connor McLaughlin
21a768f9e8
Merge pull request #878 from ggrtk/bios-image-infos
BIOS: Update image infos
2020-09-23 22:55:22 +10:00
Connor McLaughlin
d728bc091b BIOS: Add option to set search directory elsewhere 2020-09-23 22:53:51 +10:00
Connor McLaughlin
a0a78087fe Vulkan: Support Wayland 2020-09-23 20:19:50 +10:00
Connor McLaughlin
f022bdb328 PostProcessingShader: Fix a compile warning 2020-09-23 20:19:38 +10:00
Connor McLaughlin
2aace1b503 GL/Context: Don't choke on X11+Wayland 2020-09-23 19:46:39 +10:00
Albert Liu
9a31eb50f6 BIOS: Add some more BIOS revision hashes 2020-09-22 22:49:46 -07:00
Albert Liu
073c053e36 BIOS: Fix mislabeling on SCPH-5500 hash 2020-09-22 22:49:21 -07:00
Connor McLaughlin
be585c9f68 Qt: Fix compilation with Qt 5.11 2020-09-23 12:18:01 +10:00
Connor McLaughlin
cd0199a07a FileSystem: Fix size being unfilled on Linux
Fixes BIOS detection.
2020-09-23 12:15:25 +10:00
Silent
e6431e3599
Fix an outstanding forward slash showing in the UI 2020-09-22 18:24:45 +02:00
Connor McLaughlin
78f06fb711 libretro: Fix breakage with new BIOS detection 2020-09-23 02:11:30 +10:00
Connor McLaughlin
df98bfbf04 Qt: Set Cyrillic glyph range/font for OSD for ru language 2020-09-23 00:40:30 +10:00
Connor McLaughlin
20b609a3e0 Qt: Add Russian translation 2020-09-23 00:39:57 +10:00
Connor McLaughlin
7d01bedf07 BIOS: Automatically detect images, improve selection UI 2020-09-23 00:20:50 +10:00
Connor McLaughlin
3385346b7f
Merge pull request #872 from andercard0/patch-10
Update | Pt-Br Translation
2020-09-23 00:16:12 +10:00
r57zone
2e4009e52a Russian translation 2020-09-21 18:05:39 +04:00
Anderson_Cardoso
1616d8165c
Update duckstation-qt_pt-br.ts
Translated or Adapted:

- Memory card importer; 
- Memory Card editor;
2020-09-20 14:46:10 -03:00
Connor McLaughlin
e8e461c0a7 FileSystem: Fix GetProgramPath() sometimes returning stale paths
See https://social.msdn.microsoft.com/Forums/windowshardware/en-US/4b7b3884-d0bb-4812-bc18-2078c61d4b90/queryfullprocessimagename-gives-wrong-path-for-renamed-directory?forum=windowsgeneraldevelopmentissues
2020-09-21 01:20:20 +10:00
Connor McLaughlin
2219b9aa66 CDImageCue: Work around broken (old) dumps with missing pregap
Some people have broken (older) dumps where a two second pregap was implicit but not specified in the cuesheet.
The problem is we can't tell between a missing implicit two second pregap and a zero second pregap.
2020-09-21 01:20:17 +10:00
Silent
92d0dabf54
Make path separators in UI more consistent 2020-09-20 00:08:17 +02:00
Connor McLaughlin
25f45fbd23 CPU: Add hack for stale icache reads in interpreter 2020-09-20 01:38:18 +10:00
Connor McLaughlin
db84bdb560 CDROM: Apply 4 sector penalty to ReadN..ReadN sequence
Fixes Worms Pinball.
2020-09-20 01:36:49 +10:00
Connor McLaughlin
9736dc7895 CPU: Fix InterpretUncachedBlock()
But this shouldn't be hit during normal execution.
2020-09-20 01:36:49 +10:00
Connor McLaughlin
1d5af57f71 GPU: Halve draw ticks for 480i even with force progressive
Fixes some of the games broken with the enhancement on.
2020-09-20 01:36:49 +10:00
Connor McLaughlin
d274c553c5 OpenGLHostDisplay: Fix incorrect top alignment 2020-09-20 01:36:49 +10:00
Connor McLaughlin
a7b85605e2 Ignore existing surface size on Android
Seems to be a race condition here where it's not up to date.
2020-09-20 01:36:49 +10:00
Connor McLaughlin
3bdda39e1f
Merge pull request #866 from CookiePLMonster/discord-running-game
Fix Discord RPC not reporting the game title
2020-09-20 01:35:53 +10:00
Silent
67392a37ec
Fix Discord RPC not reporting the game title 2020-09-19 15:00:03 +02:00
phoe-nix
cecf32c14c
update zh translation 2020-09-19 10:40:59 +08:00
Connor McLaughlin
bdd98281fc Qt: Fix status bar toggle not saving 2020-09-19 00:31:02 +10:00
Connor McLaughlin
238152ae88 Qt: Add memory card editor 2020-09-19 00:28:47 +10:00
Connor McLaughlin
92da9917a8 MemoryCard: Split into image helper functions 2020-09-19 00:28:47 +10:00
Connor McLaughlin
70768c02af Common: Add Shift-JIS helpers 2020-09-19 00:28:47 +10:00
phoe-nix
6fec44e153
Update zh translation 2020-09-18 03:35:24 +08:00
Connor McLaughlin
d924130308
AnalogController: Fix Linux build 2020-09-18 00:40:54 +10:00
Connor McLaughlin
7c55940fa8 AnalogController: Fix default value of vibration bias 2020-09-18 00:17:35 +10:00
Connor McLaughlin
e6bff275a6 AnalogController: Set vibration strength to 0 on Reset 2020-09-18 00:13:59 +10:00
Connor McLaughlin
915b7d3726 AnalogController: Use nonlinear mapping of vibration strength
Curve from Pokopom: https://github.com/KrossX/Pokopom/blob/master/Pokopom/Input_XInput.cpp#L210
2020-09-17 19:57:10 +10:00
Connor McLaughlin
debfd53618 AnalogController: Use range for large motor, add bias
Seems the bias is needed for FF8.
2020-09-17 19:56:27 +10:00
Connor McLaughlin
67d0bbedb1 ControllerInterface: Don't use a minimum strength of 0.01 2020-09-17 19:56:11 +10:00
Connor McLaughlin
3096f0953f PostProcessing: Use ints-for-bools CPU-side as well 2020-09-16 11:52:23 +10:00
Connor McLaughlin
3bd9f85af8 PostProcessingShaderGen: Use ints instead of bools for options 2020-09-16 11:52:23 +10:00
Connor McLaughlin
a02feeb8e8
Merge pull request #856 from andercard0/patch-8
Updates and Updates
2020-09-16 11:52:07 +10:00
Anderson_Cardoso
9f0c714138
Updates and Updates
Items translated:
- Post processing shaders options;
- Return of the accentuations for Pt-Br
2020-09-15 21:52:37 -03:00
Silent
c54061de5f
Properties: Hide buttons when not in the Properties tab 2020-09-15 21:43:03 +02:00
Connor McLaughlin
d2ad114354 libretro: Fix incorrect rumble scale 2020-09-16 01:14:56 +10:00
Connor McLaughlin
352a3405e8 OpenGLHostDisplay: Fix offset image in libretro 2020-09-16 01:14:56 +10:00
Silent
1918a5ddd4
STBI: Handle UTF-8 paths correctly 2020-09-14 21:27:22 +02:00
Silent
a35a2838b6
Fix XML loading not handling UTF-8 paths 2020-09-14 20:33:56 +02:00
Connor McLaughlin
8d5a6acfc7 Qt: Use assume messages/confirmations from core are UTF-8 2020-09-15 00:36:43 +10:00
Connor McLaughlin
198b83676c Qt: Fix game properties opening on wrong tab 2020-09-15 00:31:55 +10:00
Connor McLaughlin
4d9e58ac42 Qt: Allow updating to previously skipped builds by forcing update 2020-09-15 00:31:35 +10:00
Connor McLaughlin
daa5e02853 GameSettings: Add trait for disabling PGXP texture correction 2020-09-15 00:31:35 +10:00
Connor McLaughlin
1d9a086b8a Qt: Put linear/integer upscaling on the same line in game properties 2020-09-15 00:31:35 +10:00
Connor McLaughlin
51c595759f GameList: Fix incorrect serialization of some options 2020-09-15 00:31:35 +10:00
Connor McLaughlin
8ac0e12828 Qt: Save main window position/state to config 2020-09-15 00:31:35 +10:00
hunterk
71636d22f6 add input descriptors for remaps 2020-09-13 16:10:24 -05:00
Connor McLaughlin
bb6af3c8fc
Merge pull request #845 from CookiePLMonster/fix-resume
Fix issues with a -resume parameter
2020-09-14 00:11:42 +10:00
Connor McLaughlin
9c28b3e167 CommonHostInterface: Add post processing toggle hotkeys 2020-09-13 22:31:31 +10:00
Connor McLaughlin
441f26706e Qt: Move post processing to its own setting category 2020-09-13 22:27:30 +10:00
Connor McLaughlin
ed5c03e0d5 Qt: Fix texture filtering drop-down in game properties 2020-09-13 20:25:39 +10:00
Connor McLaughlin
3232e3b164 Qt: Add reload button to postprocessing UI 2020-09-13 20:21:33 +10:00
Connor McLaughlin
7a5f167c1c VulkanHostDisplay: Fix a possible crash at shutdown with large post shaders 2020-09-13 20:21:23 +10:00
Connor McLaughlin
2492eb8678 FrontendCommon: Add a hotkey to reload post processing 2020-09-13 20:21:05 +10:00
Connor McLaughlin
a409a5d45d ShaderGen: More GLSL/HLSL aliases 2020-09-13 20:20:47 +10:00
Connor McLaughlin
c1006bd0ff PostProcessing: Allow fragment coordinate access from shader 2020-09-13 18:50:40 +10:00
Connor McLaughlin
c4f18c12d5 Qt: Add per-shader postprocessing options 2020-09-13 18:39:58 +10:00
Connor McLaughlin
60ed9e7191 PostProcessingShader: Fix errors in shader parsing 2020-09-13 18:39:40 +10:00
Connor McLaughlin
a7e27d778b Qt: Make audio buffer size max out at 8192 frames 2020-09-13 14:56:16 +10:00
Connor McLaughlin
a053f389bd VulkanHostDisplay: Don't choke when we lose the surface 2020-09-13 14:37:00 +10:00
Connor McLaughlin
26dff586f3 OpenGLHostDisplay: Fix vertical alignment 2020-09-13 14:36:31 +10:00
Connor McLaughlin
2bed670144 Qt: Compile fix for Linux/mac 2020-09-13 12:51:43 +10:00
Connor McLaughlin
c9372a674a More build fixes... 2020-09-13 12:40:32 +10:00
Connor McLaughlin
a1f527eddf VulkanHostDisplay: Build fix for libretro 2020-09-13 12:27:34 +10:00
Connor McLaughlin
68d08ddbcb Merge branch 'postprocessing' 2020-09-13 12:14:21 +10:00
Connor McLaughlin
70a63ce3ec libretro: Build fix 2020-09-13 12:11:52 +10:00
Connor McLaughlin
a0f6b4ce81 Build: Don't include AGL context wrapper for libretro 2020-09-13 11:56:56 +10:00
Connor McLaughlin
3847be86b0 Fix a bunch of random warnings 2020-09-13 11:54:51 +10:00
Silent
2d90cfc07e
Tidy up SystemBootParameters constructors 2020-09-12 23:05:38 +02:00
Silent
c47dceffb5
Pass a SystemBootParameters pointer to QtHostInterface::bootSystem
This resolves ownership issues related to the SystemBootParameters
class, since it's meant to be non-copyable but it was copied as per
Qt meta type rules
2020-09-12 22:01:08 +02:00
Silent
95d5417017
Fix -resume causing a quiet exit if there is no resume savestate 2020-09-12 19:58:37 +02:00
Connor McLaughlin
021f333ec2 Qt: Post processing UI 2020-09-13 01:23:43 +10:00
Connor McLaughlin
2819715260 FrontendCommon: Add a post processing implementation 2020-09-13 01:23:43 +10:00
Connor McLaughlin
5804778339 D3D11/Texture: Fix dimensions not getting reset on destroy 2020-09-13 01:23:43 +10:00
Connor McLaughlin
d09a802a17 Vulkan/Context: Use VK_LAYER_KHRONOS_validation 2020-09-13 01:23:43 +10:00
Connor McLaughlin
666d7fbb99 Vulkan/Context: Add pipeline destruction deferring 2020-09-13 01:23:43 +10:00
Connor McLaughlin
f63192c6b2 Vulkan/SwapChain: Fix incorrect return from GetTextureFormat() 2020-09-13 01:23:43 +10:00
Connor McLaughlin
aa383d0bda Common/String: Support constructing from string_view 2020-09-13 01:23:43 +10:00
Connor McLaughlin
84b0522abc Common/Rectangle: Make it work with float types 2020-09-13 01:23:43 +10:00
Connor McLaughlin
2b4568df6a ShaderGen: Split HW shadergen from base 2020-09-13 01:23:43 +10:00
Connor McLaughlin
ccaff2e7cd Settings: Fix incorrect UI for xBR texture filter 2020-09-13 01:21:14 +10:00
Silent
cf513c1c24
Simplify quicksave/quickload logic 2020-09-12 16:07:22 +02:00
Connor McLaughlin
605992f294 Fix Android build 2020-09-12 00:35:38 +10:00
Connor McLaughlin
3625834ea7 GPU/HW: Add loading bar to shader compilation 2020-09-12 00:26:34 +10:00
Connor McLaughlin
6f250a4ff7 GPU/HW: Add JINC2 and xBRZ texture filtering options
Shaders ported from beetle-psx.
2020-09-12 00:26:34 +10:00
Connor McLaughlin
83f64dbc87
Merge pull request #838 from andercard0/patch-7
Oh Update, here we go again! ;)
2020-09-12 00:25:42 +10:00
phoe-nix
9d5027be57
Update zh-cn 2020-09-11 22:18:02 +08:00
Anderson_Cardoso
72b81c1af2
Oh Update, here we go again! ;)
Translation Notes

Not translateable Texts list:

- Compiling Shaders;
- Resolution scale se to 16x;
- Keyboard/keypad+plus minus;
- OSD: Preloading Image to Ram;
- Restore Defaults / Close buttons;
- Options Load Game State 1 and so on;
- PGXP Enable/Disable Recompilling all Blocks;
- Tabs: General - Graphics - Save States and Audio;

Note 2: Wrong Desctiption

- [ ] Automatically Load Cheats, when mouse over it; is wrongly showing General Settings instead of explain what the option is for.
2020-09-10 20:14:34 -03:00
Connor McLaughlin
330722eb5f Qt: Split GPU options into display and enhancements 2020-09-11 00:18:57 +10:00
Connor McLaughlin
14778b5d24 Qt: Add hidpi icons 2020-09-11 00:18:57 +10:00
Connor McLaughlin
5cc91dc78b HostDisplay: Add alignment setting 2020-09-11 00:18:57 +10:00
Anderson_Cardoso
032fc80327
Update - Pt-Br
Cheat list options translated.
2020-09-09 20:54:21 -03:00
Connor McLaughlin
5b17ad11a7 GameList: Fix cache corruption after scanning for new games 2020-09-10 00:23:24 +10:00
Connor McLaughlin
ad3e93dba4 Qt: Enable hi-dpi pixmaps 2020-09-10 00:07:52 +10:00
Connor McLaughlin
42107de50e Qt: Switch flags back to pngs 2020-09-09 23:58:49 +10:00
Connor McLaughlin
b247af535d Qt: Hook up cheat list menus 2020-09-09 23:44:21 +10:00
Connor McLaughlin
03f052e12e FrontendCommon: Add auto cheat loading option 2020-09-09 23:44:02 +10:00
Connor McLaughlin
bf6b4514a0 SDL: Add cheat menu 2020-09-09 22:11:32 +10:00
Connor McLaughlin
ddb38ac31d Add pcsxr and libretro cheat list parsing 2020-09-09 22:11:28 +10:00
Connor McLaughlin
c2e7e8254f Qt: Use svgs for region icons 2020-09-09 19:03:49 +10:00
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.
2020-09-09 18:28:50 +10:00
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.
2020-09-09 15:54:07 +09:00
Connor McLaughlin
9a52c54c2f Vulkan: Don't force debug device/validation layers 2020-09-08 17:22:34 +10:00
Connor McLaughlin
455f359125 FrontendCommon: Fix descriptor/image validation errors in imgui render 2020-09-08 11:44:54 +10:00
Connor McLaughlin
2cecb8bbdb GPU/Vulkan: End render pass in ClearDisplay()
Fixes crash on Mesa/radv.
2020-09-08 11:44:54 +10:00
Connor McLaughlin
1e6d50e4dc Qt: Fix advanced setting text being editable 2020-09-08 11:44:54 +10:00
Connor McLaughlin
9bb278b166 CommonHostInterface: Fix crash on shutdown when using save state selector 2020-09-06 21:03:27 +10:00
Connor McLaughlin
e731c87757 Qt: Turn tweaks/hacks into a table
Also move PGXP CPU mode/vertex cache to advanced options
2020-09-06 20:54:00 +10:00
RaydenX93
3507877cab Update duckstation-qt_it.ts
Many invalid/obsolete entries have appeared. According to @stenzek , this may be due to lost mapping between forms and translated strings. I'm comming this for now as everything seems ok, but a re-mapping is due. Obsolete/invalid strings are still available, as far as i know.
2020-09-06 12:00:22 +02:00
Connor McLaughlin
d5d79e952c Fix CMake build 2020-09-06 18:37:10 +10:00
Connor McLaughlin
c8ecd031ff
Merge pull request #822 from andercard0/patch-5
Quick update - Pt-Br - Again
2020-09-06 17:59:41 +10:00
Connor McLaughlin
726e5d46b1
Merge pull request #821 from CookiePLMonster/d3d11-memleaks
Fix D3D11 resource leaks
2020-09-06 17:59:20 +10:00
Connor McLaughlin
7286dbab51 Qt: Fix sorting game list by title being case sensitive 2020-09-06 17:55:08 +10:00
Connor McLaughlin
75ad685ae8 CommonHostInterface: Fix incorrect version error string in save state selector 2020-09-06 17:48:58 +10:00
Connor McLaughlin
4f8fd049d0 SDL: Fix crash on shutdown when save state selector used 2020-09-06 17:48:01 +10:00
Connor McLaughlin
976d4bae79 TimingEvent: Fix crash when invalid save state loaded 2020-09-06 17:47:49 +10:00
Connor McLaughlin
2c36750a0e VulkanHostDisplay: Fix imgui image textures not rendering 2020-09-06 17:47:23 +10:00
Connor McLaughlin
ac6b9dc87f dep/imgui: Move implementations to frontend-common 2020-09-06 17:28:19 +10:00
Connor McLaughlin
6c8ea294a1
Merge pull request #825 from CookiePLMonster/savestate-ui-fixes
Seek before reading save state screenshot
2020-09-06 17:26:16 +10:00
Silent
2565d2cae1
Ass a 256x256 app icon 2020-09-05 23:01:07 +02:00
Silent
33df4ab1bd
Seek before reading save state screenshot
Fixes corrupted thumbnails in the save state UI
2020-09-05 21:46:46 +02:00
Anderson_Cardoso
b117326d59
Quick update - Pt-Br - Again
Cosmetic stuff - nothing really important.
2020-09-04 19:57:54 -03:00
Silent
89e0290d06
Fix resource leaks in AutoStagingTexture::EnsureSize and D3D11HostDisplay::DownloadTexture 2020-09-04 23:44:19 +02:00
Connor McLaughlin
fd0a009a7f System: Add missing <cctype> include 2020-09-03 12:25:59 +10:00
Connor McLaughlin
42d49426e8 CPU/Recompiler/AArch64: Fix crash when calling >26-bit away functions 2020-09-03 00:11:40 +10:00
Connor McLaughlin
a2eaaf0e89 PGXP: Allocate large storage dynamically
This causes performance issues on ARM otherwise.
2020-09-03 00:11:40 +10:00
Anderson_Cardoso
355b162758
Quick update - Pt-Br and Workaround
Translation Notes: 
- Quick workaround fix for some ~, é, ç accentuations not properly being show;
- Translation of other bunch more user settings added recently;
- Same Tabs still not translatable as before;
2020-09-01 21:28:05 -03:00
Connor McLaughlin
b2057ac6cc GameSettings: Add disallow force NTSC timings trait 2020-09-02 00:03:53 +10:00
Connor McLaughlin
c9cefe4020 GameSettings: Add a bunch more user settings 2020-09-02 00:00:48 +10:00
Connor McLaughlin
bf85fbe331 GameSettings: Fix widescreen hack not saving to cache 2020-09-01 20:32:55 +10:00
Connor McLaughlin
0af22825ad FrontendCommon: Drop imgui deps for libretro build 2020-09-01 12:48:57 +10:00
Connor McLaughlin
6bbbb96d4b Move GameList to FrontendCommon
Reduces libretro core dependencies further.
2020-09-01 12:46:44 +10:00
Connor McLaughlin
13e3095801 Core: Don't link to imgui for libretro core 2020-09-01 12:22:32 +10:00
Connor McLaughlin
dd0ae0fc9d Vulkan/StagingTexture: Keep mapped throughout transfers
The underlying bug here was not invalidating the buffer after mapping (is
this supposed to be necessary?). But by keeping it mapped, we invalidate
it anyway.

Fixes screen corruption in Final Fantasy IX on Mali GPUs.
2020-09-01 12:02:39 +10:00
Connor McLaughlin
e21fc9e253 GPU/Vulkan: Use half width framebuffer for VRAM readbacks 2020-09-01 12:02:04 +10:00
Connor McLaughlin
d59eb05d94 Timers: Fix update interval for timer2 IRQs being too low 2020-08-31 22:01:05 +10:00