Connor McLaughlin
85b4a02f20
Fix Android build
2021-01-31 17:28:37 +10:00
Connor McLaughlin
98bad30af8
NoGUI: Merge in old branch and use base NoGUI class for SDL
2021-01-31 17:10:27 +10:00
Connor McLaughlin
b09da307b5
Common: Add DRM display helper class and GBM GL context
2021-01-31 17:10:27 +10:00
Connor McLaughlin
dc0eb4cb04
Replace duckstation-sdl with stub directing users to duckstation-qt
2021-01-31 17:10:27 +10:00
Connor McLaughlin
cae5bc1712
Add NoGUI frontend based on old SDL frontend + fullscreen UI
2021-01-31 17:10:27 +10:00
Connor McLaughlin
61e4e6f140
Add "Fullscreen UI"
2021-01-31 17:10:27 +10:00
Connor McLaughlin
0cdd1a70c0
Common/Image: Add helper for loading from stream
2021-01-31 17:10:27 +10:00
Connor McLaughlin
3a7d9f1725
CommonHostInterface: Add controller nav helpers
2021-01-31 17:10:27 +10:00
Connor McLaughlin
61d0af30a2
FileSystem: Add read/write binary stream helpers
2021-01-31 17:10:27 +10:00
Connor McLaughlin
41be96ef93
CommonHostInterface: Make RunLater()/ApplySettings() virtual
2021-01-31 17:10:27 +10:00
Connor McLaughlin
ec60fa3c9d
CommonHostInterface: Make fullscreen/exit functions public
2021-01-31 17:10:27 +10:00
Connor McLaughlin
2dbb3325ff
CommonHostInterface: Tweak frame boundary for loading screen
2021-01-31 17:10:27 +10:00
Connor McLaughlin
e1bf362d13
CommonHostInterface: Extract ff/turbo hotkeys to functions
2021-01-31 17:10:27 +10:00
Connor McLaughlin
bed1abf0b8
CommonHostInterface: Add media path to save state info
2021-01-31 17:10:27 +10:00
Connor McLaughlin
4540a190c1
CommonHostInterface: Make input profile functions public
2021-01-31 17:10:27 +10:00
Connor McLaughlin
556cd6d168
CommonHostInterface: Add enumerator for OSD messages
2021-01-31 17:10:27 +10:00
Connor McLaughlin
96a36f4850
SDL: Remove gamepad handler from ImGui
2021-01-31 17:10:27 +10:00
Connor McLaughlin
48f78a9c41
GameList: Expose search directories list
2021-01-31 17:10:27 +10:00
Connor McLaughlin
55a1d0437d
System: Display message on media change
2021-01-31 17:10:27 +10:00
Connor McLaughlin
98b4101cd7
Settings: Expose Save() method to interface
2021-01-31 17:10:27 +10:00
Connor McLaughlin
9d08f2e277
Settings: Fix show resolution not correctly saving to file
2021-01-31 17:10:27 +10:00
Connor McLaughlin
5875b738dc
Common/FileSystem: Add a helper to get root directory list
2021-01-31 17:10:27 +10:00
Connor McLaughlin
7a48bcc585
FrontendCommon: Remove WITH_IMGUI #ifdefs
...
We never compile FrontendCommon without imgui anyway.
2021-01-31 17:10:27 +10:00
Connor McLaughlin
e697d9aa33
HostDisplay: Move imgui context creation to base class
2021-01-31 17:10:27 +10:00
Connor McLaughlin
e132cac0e5
ImGui: Clear memory for font after creating texture
2021-01-31 17:10:27 +10:00
Connor McLaughlin
e614522de5
Common/String: Add helpers for std::string, std::string_view
2021-01-31 17:10:27 +10:00
Connor McLaughlin
d8ea9c2983
GameSettings: Add helper to query number of user settings
2021-01-31 17:10:27 +10:00
Connor McLaughlin
582c77b604
ImGuiStyle: Return the font we create
2021-01-31 17:10:26 +10:00
Connor McLaughlin
a563f99191
dep/imgui: Update to 9499afdf5e7f22e2cf4bf7c365d18f7e1d07572b
2021-01-31 17:10:10 +10:00
Connor McLaughlin
5aeabf028b
Qt: Install crash handler on startup
2021-01-31 17:00:57 +10:00
Connor McLaughlin
122cf67bb3
Common: Add crash handler functions for Windows
2021-01-31 17:00:57 +10:00
Connor McLaughlin
35f8ea13d9
AudioStream: Prevent writing too many frames at once and hanging
2021-01-31 17:00:57 +10:00
Connor McLaughlin
ef7d135492
GPU: Fix missing sync when hblank is pending
2021-01-31 16:39:51 +10:00
Connor McLaughlin
9d80c48d6f
CPU: Fix icache missing from save state
2021-01-31 16:39:51 +10:00
Connor McLaughlin
fa2cca1429
Merge pull request #1540 from ggrtk/analog-controller-update
...
AnalogController: Update behavior based on hardware testing
2021-01-31 16:23:11 +10:00
Connor McLaughlin
c4386d6e71
Merge pull request #1534 from zkdpower/master
...
Update Simple-Chinese language file to latest
2021-01-31 16:22:56 +10:00
Connor McLaughlin
9abfbdd86f
Merge pull request #1531 from falsepopsky/spanishTranslationAndroid
...
Spanish translation android
2021-01-31 16:22:34 +10:00
Connor McLaughlin
c61dc0dcbe
Merge pull request #1522 from andercard0/patch-67
...
Atualização Português do Brasil
2021-01-31 16:21:23 +10:00
Max833
c10e62e729
Qt: Update German translation ( #1524 )
...
* Update duckstation-qt_de.ts
* Update duckstation-qt_de.ts
2021-01-31 16:20:39 +10:00
Albert Liu
2938c946f9
AnalogController: Improve accuracy of rumble configuration
2021-01-30 00:53:43 -08:00
Albert Liu
c9c2f1bd21
AnalogController: Handle more config mode 0x46 and 0x47 cases
2021-01-29 23:50:45 -08:00
zkdpower
c03f48c907
Update Simple-Chinese language file to latest
...
Update Simple-Chinese language file to latest
2021-01-29 17:06:21 +08:00
falsepopsky
24c7021d0c
new language translation for android => Spanish, also updated and fixed the last duckstation-qt_es translation to latest
2021-01-28 21:54:54 -03:00
Connor McLaughlin
3c2b11fccb
System: Don't log rewind pending flag when disabled
2021-01-29 01:27:32 +10:00
Anderson_Cardoso
43a682b358
Atualização Português do Brasil
...
Update Brazilian Portuguese language to latest.
2021-01-28 12:06:56 -03:00
Connor McLaughlin
84c30703b2
Settings: Disable interlacing by default
...
The games which require it are auto-disabled by gameini.
2021-01-28 23:52:25 +10:00
Connor McLaughlin
9ada3c8e6f
Settings: Rename 'Display All Frames' to 'Optimal Frame Pacing'
2021-01-28 23:50:39 +10:00
Connor McLaughlin
4bb3fb48f9
System: Add a new throttler/pacer which can catch up on lost time
...
This can result in worse frame pacing, so if you have a decent machine
you'll probably want to turn on "display all frames" in display
settings.
But, it's sadly needed for Android.
2021-01-28 21:04:23 +10:00
Connor McLaughlin
4e583890ea
AudioStream: Add option to wait until a full buffer is queued
2021-01-28 21:04:23 +10:00
Connor McLaughlin
9316ce532b
Common/Timer: Add SleepUntil() method
2021-01-28 21:04:23 +10:00
Max833
ed4ed259e3
UI: Add missing register widget help ( #1515 )
...
* Update displaysettingswidget.cpp
* Update generalsettingswidget.cpp
* Update consolesettingswidget.cpp
2021-01-28 21:03:51 +10:00
Connor McLaughlin
d23474f552
Merge pull request #1516 from falsepopsky/SpanishTranslation
...
Update Spanish translation file to Latest
2021-01-28 21:02:18 +10:00
falsepopsky
061268e76f
Updated Spanish Translation by @falsepopsky
2021-01-26 20:51:54 -03:00
Connor McLaughlin
700f916a34
Qt: Update Japanese translation by mikakunin
2021-01-27 01:21:03 +10:00
Connor McLaughlin
368820d6e9
Vulkan: Default to two swap chain images
2021-01-27 01:21:03 +10:00
Connor McLaughlin
1320e4fdab
GameSettings: Fix texture filter setting not loading from ini
2021-01-27 01:21:03 +10:00
Connor McLaughlin
c119ccffc8
Merge pull request #1511 from andercard0/patch-66
...
Atualização Português do Brasil
2021-01-27 01:14:17 +10:00
zkdpower
c5dd0ef2ae
Update Simple-Chinese language file to latest
...
Update Simple-Chinese language file to latest
2021-01-26 11:31:02 +08:00
Anderson_Cardoso
9e394c31bf
Atualização Português do Brasil
...
Update translation to latest.
2021-01-25 23:06:57 -03:00
Connor McLaughlin
1b6780386f
Qt: Update Japanese translation by mikakunin
2021-01-26 03:38:32 +10:00
Connor McLaughlin
a5dfc68ac9
GameSettings: Add runahead as per-game setting
2021-01-26 03:38:32 +10:00
Connor McLaughlin
16a32bf696
Qt: Simplify runahead settings
2021-01-26 03:38:31 +10:00
Connor McLaughlin
1b16ba3d98
Warning fixes
2021-01-26 03:38:31 +10:00
Connor McLaughlin
e79dff1731
System: Use hybrid sleep on Android
2021-01-26 03:38:31 +10:00
Connor McLaughlin
52f5ca7e28
Common/Timer: Add additional sleep functions
2021-01-26 03:38:31 +10:00
Connor McLaughlin
0d473e8681
ImGui: Fix incorrect buffer binding/crash in GLES2
2021-01-26 03:38:31 +10:00
Connor McLaughlin
8cafe856f0
OpenGLHostDisplay: Work around functions unavailable in GLES2
2021-01-26 03:38:31 +10:00
Connor McLaughlin
24dd49e05d
GPU: Fix runahead with MSAA enabled in D3D11/Vulkan
2021-01-26 03:22:23 +10:00
Max833
8ceadf802c
Update german translation
2021-01-26 03:22:23 +10:00
zkdpower
791012d151
Update Simple-Chinese language file to latest
...
Update Simple-Chinese language file to latest
2021-01-26 03:22:23 +10:00
Connor McLaughlin
12dd62a738
Qt: Add missing minipsf extension to all file types filter
2021-01-25 02:30:28 +10:00
Anderson_Cardoso
557f3c9ca1
Atualização Português Brasil
...
Updated translation to latest.
2021-01-24 12:59:33 -03:00
Connor McLaughlin
b7752ff30b
CDROM: Update position when pausing while seeking instead of erroring
...
This was causing freezes in FF7 - needs more research.
2021-01-25 01:49:35 +10:00
Connor McLaughlin
6eeca57a06
CommonHostInterface: Wrap OSD messages
2021-01-25 01:15:46 +10:00
Connor McLaughlin
b3ce2b21c0
System: Prevent using both runahead and rewind concurrently
2021-01-25 01:15:46 +10:00
Connor McLaughlin
3f96473fb5
System: Reuse existing texture/buffers for runahead/rewind
2021-01-25 01:15:46 +10:00
Connor McLaughlin
e01d66d18e
System: Implement runahead
2021-01-25 01:15:46 +10:00
Connor McLaughlin
689b62e065
Qt: Add settings for rewind
2021-01-25 01:15:45 +10:00
Connor McLaughlin
516d685dd0
System: Add memory-only save states and rewind
2021-01-25 01:15:45 +10:00
Connor McLaughlin
6c6fdeb15e
HostDisplay: Make textures have levels/layers/samples attributes
2021-01-24 20:41:40 +10:00
Connor McLaughlin
e54ba23c4f
Qt: Move speed settings into its own category
2021-01-24 20:41:40 +10:00
Connor McLaughlin
ddcc29c8a6
Qt: Delay showing game list refresh progress
...
Otherwise we spend more time updating the visuals than actually
scanning.
2021-01-24 18:55:37 +10:00
Connor McLaughlin
4a60cc4c1e
VulkanHostDisplay: Ensure previous frame is presented before acquiring image
2021-01-24 17:37:09 +10:00
Connor McLaughlin
b1d4d5db5e
Vulkan/SwapChain: Recreate semaphores when resizing
...
Prevents us acquiring an image on an already-signaled semaphore.
2021-01-24 17:37:09 +10:00
Connor McLaughlin
6a122623fa
GameList: Increment progress on each file, not each load
2021-01-24 17:37:09 +10:00
Connor McLaughlin
d62e6ffbb3
Qt: Add icons for unknown region and PSF files in game list
2021-01-24 17:37:09 +10:00
Connor McLaughlin
f61427017d
GameList: Remove exe/psf extensions from titles in game list
2021-01-24 17:37:09 +10:00
Connor McLaughlin
76ec38ee47
GameList: Support scanning PSF/MiniPSF files
2021-01-24 17:37:09 +10:00
Connor McLaughlin
41a9231a87
GameList: Use region from exe
2021-01-24 17:37:09 +10:00
Connor McLaughlin
b62f31fd96
System: Use region from exe/psf when booting
2021-01-24 17:37:09 +10:00
Connor McLaughlin
253b115b11
PSFLoader: Detect region from exe
2021-01-24 17:37:09 +10:00
Connor McLaughlin
10135e08a2
PSFLoader: Support loading minipsfs/libraries
2021-01-24 17:37:09 +10:00
Silent
c31ec6d428
Update PL translation
2021-01-23 22:17:08 +01:00
Silent
e8e8fd9ffa
InputBindingDialog: Allow to translate the Close button
2021-01-23 22:02:10 +01:00
Connor McLaughlin
4433197665
CPU/Recompiler: Fix hang in AArch32/armv7
2021-01-21 13:20:02 +10:00
Connor McLaughlin
63562e4527
Qt: Preserve surface when switching fullscreen and not-render-to-main
2021-01-20 21:40:54 +10:00
Connor McLaughlin
4e802e90ca
SPU: Move voice key off/on outside sample loop
...
Should be a very tiny performance boost with no difference in behaviour.
2021-01-20 12:32:37 +10:00
Connor McLaughlin
8c8f29c047
CDROM: Double audio FIFO low watermark size
...
Gives a better chance to catch up in case of desyncs.
2021-01-20 12:09:44 +10:00
Connor McLaughlin
3c012ec6ef
SPU: Consider partial ticks when generating pending samples
...
Fixes hitches in opening FMV in Soul Blade (Europe).
2021-01-20 12:05:06 +10:00
Connor McLaughlin
a927bfbe50
GPU/HW: Flush after each primitive for B-F transparency
...
Slow, but necessary for some games such as Suikoden II, where it draws
multiple polygons to the same area on screen with different transparency
modes.
2021-01-20 01:08:36 +10:00
Connor McLaughlin
cbee8fab66
CommonHostInterface: Throttle rumble updates to changes or every 100ms
...
These updates appear to be synchronous, and limit how fast we can fast
forward when controllers are connected via bluetooth.
2021-01-19 00:27:34 +10:00
Connor McLaughlin
d4f52f1ec7
GTE: Force inline a few of the helper functions
...
Tiny performance improvement.
2021-01-19 00:07:26 +10:00
Connor McLaughlin
914b9bf738
SPU: Drain transfer FIFO when cancelling transfer
...
The busy bit got stuck on otherwise, which broke the Spanish translation
of Vagrant Story.
2021-01-18 20:43:10 +10:00
Connor McLaughlin
699d599d00
GPU: Clear display when disabling DAC and interlaced
...
Fixes old output showing up briefly when it's re-enabled.
2021-01-18 03:28:14 +10:00
Connor McLaughlin
9da35be0a8
Qt: Update Japanese translation by mikakunin
2021-01-17 02:48:23 +10:00
Connor McLaughlin
29690c4635
GPU/SW: Fix interlaced output getting corrupted when size changes
...
Fixes glitches in screen when tilting table in Pro Pinball.
2021-01-17 02:45:13 +10:00
Silent
f74a4ad6ee
Update PL translation
2021-01-16 16:32:12 +01:00
Silent
2cd4357a5a
Fix size policy for Game List buttons
...
Allows translations to expand those buttons into
multiple lines.
2021-01-15 18:13:57 +01:00
Connor McLaughlin
6fbd970b55
Common/AudioStream: Fix race condition with resampling reset while reading
2021-01-16 02:56:04 +10:00
Connor McLaughlin
4c9e0299ed
Common/FIFOQueue: Fix incorrect assertion failure in debug builds
2021-01-16 02:56:04 +10:00
Connor McLaughlin
e81df6bddd
Settings: Disable host refresh rate sync by default
2021-01-16 02:56:04 +10:00
Connor McLaughlin
9c30990f8f
Merge pull request #1462 from zkdpower/master
...
Update Simple-Chinese language file to latest
2021-01-16 02:55:27 +10:00
Anderson_Cardoso
e66d353549
Atualização Português do Brasil
...
Android - Strings not available for translation as follows:
- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-15 00:03:48 -03:00
zkdpower
0decadd86d
Update Simple-Chinese language file to latest
...
Update Simple-Chinese language file to latest
2021-01-15 10:27:04 +08:00
Connor McLaughlin
02948f988d
CDROM: Return 0x00 on response FIFO overread
...
Fixes CyberSled hanging on boot.
2021-01-14 01:51:01 +10:00
Connor McLaughlin
ffa3744b3b
Settings: Add 20:9 display aspect ratio
2021-01-14 00:45:46 +10:00
Connor McLaughlin
d44de3a9dc
System: Use SetWaitableTimer() for throttling on Windows
2021-01-14 00:40:25 +10:00
Connor McLaughlin
93959a9d88
CPU: Fix crash with some block cycle counts on ARM
...
Fixes crash in Capcom vs SNK Pro.
2021-01-13 20:19:24 +10:00
Connor McLaughlin
37f9f118c4
Android: Add 'Open Pause Menu' hotkey
2021-01-13 19:26:24 +10:00
Connor McLaughlin
1ae4b94eb2
AudioStream: Don't hold lock while resampling
2021-01-13 19:25:15 +10:00
Connor McLaughlin
2b5cfb272c
Qt: Add dump VRAM and SPU RAM actions
2021-01-13 19:24:41 +10:00
Connor McLaughlin
b5ffbfe826
Qt: Fix audio sliders not applying correctly
2021-01-13 02:37:04 +10:00
Connor McLaughlin
220f2f4845
Vulkan: Fix typo causing debug shaders to be used
2021-01-13 02:37:04 +10:00
Anderson_Cardoso
fc58d8e8cc
Atualização Português do Brasil
...
Android - Strings not available for translation as follows:
- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-11 14:01:45 -03:00
Connor McLaughlin
a0a24c7752
GPU/Vulkan: Only update sample texture when render area dirty
...
Fixes crash when using Show VRAM in some games with Vulkan.
2021-01-12 02:19:23 +10:00
Connor McLaughlin
16ad54143b
HostInterface: Don't sleep when syncing to host refresh
2021-01-12 02:19:23 +10:00
zkdpower
6712f6b649
Update Simple-Chinese language file to latest
...
Update Simple-Chinese language file to latest
2021-01-11 17:15:52 +08:00
Connor McLaughlin
873b9f622a
Merge pull request #1432 from andercard0/patch-62
...
Atualização Português do Brasil
2021-01-11 15:42:23 +10:00
Connor McLaughlin
e5915846a4
Merge pull request #1433 from ggrtk/qt-update-widget-help-text
...
Qt: Update widget help text
2021-01-11 15:42:12 +10:00
Connor McLaughlin
13cba122ef
HostDisplay: Move Windows fallback for refresh rate query to HostInterface
2021-01-11 15:24:38 +10:00
Connor McLaughlin
fd166a4485
ShaderCache: Add a data version field
...
We can increment this to prevent people's shader caches from growing too
large with shader changes.
2021-01-11 15:24:38 +10:00
Connor McLaughlin
97971464d1
GPU/ShaderGen: Remove texcoord offset
...
Doesn't seem to be needed anymore, and causes issues in some games (e.g.
flickering polygons in Evil Dead)
2021-01-11 15:12:16 +10:00
Albert Liu
29331ef679
Qt: Update widget help text
2021-01-10 20:49:25 -08:00
Anderson_Cardoso
69f14feec1
Atualização Português do Brasil
...
Android - Strings not available for translation as follows:
- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-10 17:32:27 -03:00
Connor McLaughlin
bc5fb850d4
AudioStream: Reset resampler state on emptying buffers
2021-01-11 03:58:14 +10:00
Connor McLaughlin
43d01776dc
HostInterface: Add "Sync To Host Refresh Rate" option
2021-01-11 03:50:44 +10:00
Connor McLaughlin
bb572741ae
HostDisplay: Add GetHostRefreshRate() function
...
Only implemented in Windows for now.
2021-01-11 03:50:13 +10:00
Connor McLaughlin
d23645e02f
CMake: Fix Linux build
2021-01-11 03:18:30 +10:00
Connor McLaughlin
ce965e89ca
Qt/Android: Add help text for resampling, turn on by default
2021-01-11 02:27:14 +10:00
Connor McLaughlin
fdeef65676
Qt: Move emulation speed settings to console settings
2021-01-11 02:12:20 +10:00
Connor McLaughlin
54f5563321
Qt: Add turbo speed setting
2021-01-11 01:57:10 +10:00
Connor McLaughlin
d73fedcef1
Qt: Make about dialog slightly taller
2021-01-11 01:32:19 +10:00
Connor McLaughlin
692eb035ec
Qt: Fix flex sizing with >1 flex column
2021-01-11 01:29:31 +10:00
Connor McLaughlin
a5f9aa11e1
Settings: Add audio resampling when running at non-standard speed
2021-01-11 01:14:32 +10:00
Connor McLaughlin
54c7fc6b08
AudioStream: Support resampling input
2021-01-11 01:14:32 +10:00
Connor McLaughlin
19032750b4
CDROM: Don't treat no-region discs as audio CDs
...
Fixes some homebrew games not booting.
2021-01-11 01:05:21 +10:00
Connor McLaughlin
2c2195b116
Qt: Update Polish translation by Zuzia
2021-01-11 01:04:54 +10:00
Connor McLaughlin
11992bde4e
TimingEvents: Use function pointers instead of std::function
2021-01-10 01:45:07 +10:00
zkdpower
8c241ed8de
Update Simple-Chinese language file to latest ( #1424 )
...
* Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
* Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-10 01:43:35 +10:00
Connor McLaughlin
b4d1dcfe4b
Merge pull request #1415 from andercard0/patch-61
...
Atualização Português do Brasil
2021-01-10 01:43:28 +10:00