Connor McLaughlin
5875b738dc
Common/FileSystem: Add a helper to get root directory list
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
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
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
Connor McLaughlin
368820d6e9
Vulkan: Default to two swap chain images
2021-01-27 01:21:03 +10:00
Connor McLaughlin
52f5ca7e28
Common/Timer: Add additional sleep functions
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
6c6fdeb15e
HostDisplay: Make textures have levels/layers/samples attributes
2021-01-24 20:41:40 +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
f61427017d
GameList: Remove exe/psf extensions from titles in game list
2021-01-24 17:37:09 +10: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
1ae4b94eb2
AudioStream: Don't hold lock while resampling
2021-01-13 19:25:15 +10:00
Connor McLaughlin
220f2f4845
Vulkan: Fix typo causing debug shaders to be used
2021-01-13 02:37:04 +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
bc5fb850d4
AudioStream: Reset resampler state on emptying buffers
2021-01-11 03:58:14 +10:00
Connor McLaughlin
d23645e02f
CMake: Fix Linux build
2021-01-11 03:18:30 +10:00
Connor McLaughlin
54c7fc6b08
AudioStream: Support resampling input
2021-01-11 01:14:32 +10:00
Connor McLaughlin
9d7f4523b0
Log: Close C file handles on free (win32)
...
Fixes toggling console not hiding the window.
2021-01-09 01:52:48 +10:00
Connor McLaughlin
9951921a6d
Log: Enable virtual terminal processing on Win32
...
This way we don't need to set the registry value.
2021-01-09 00:39:32 +10:00
Connor McLaughlin
6a04803502
Merge pull request #1394 from piepacker/msw_console_behavior
...
Console: Fix problems when using CLI from MSYS2/GitBash/ConEmu
2021-01-09 00:22:37 +10:00
Connor McLaughlin
419726f4cc
Remove libretro core - core will now be maintained by libretro
...
libretro have agreed to take over maintenance of the core.
Please see their fork at https://github.com/libretro/duckstation if you
wish to continue to use it.
2021-01-08 01:37:59 +10:00
Jake Stine
f26b094cf7
Console: Use ANSI escape codes and remove entirely Win32's legacy WriteConsoleA code.
...
Also fixes android build failure (missing unistd.h)
2021-01-07 07:05:33 -08:00
Jake Stine
c9b8dc13fd
Console: Fix problems when using CLI from MSYS2/GitBash/ConEmu
...
- Fix issue where console output is lost when running from MSYS2/GitBash CLI
- Fix issue where pipe redirections would be overridden and otuput would always go to the attached console (this affected windows cmd prompt as well as other shell CLIs)
- Simplify some logic regarding registering of the standard output writer
2021-01-05 07:35:11 -08:00
Connor McLaughlin
e3de44d127
D3D11/Texture: Log attributes when creation fails
2021-01-05 17:19:05 +10:00
Connor McLaughlin
0d281538cf
CDImageCue: Disable implicit pregap insertion for audio CDs
...
Fixes supplementary disc detection in Dancing Stage
featuring DREAMS COME TRUE.
2021-01-02 01:33:13 +10:00
Connor McLaughlin
6d501bff56
GL/Program: Use glBindFragDataLocationIndexedEXT for GLES
2020-12-31 13:29:41 +10:00
Connor McLaughlin
5236583544
Vulkan/Texture: Support transitioning individual mip levels
2020-12-30 17:39:40 +10:00
Connor McLaughlin
2ce5dc3bbe
Vulkan: Don't hardcode mipmap samplers to lod0
2020-12-30 17:39:40 +10:00
Connor McLaughlin
59e8363075
D3D11: Support mipmaps in wrapper textures
2020-12-30 17:39:40 +10:00
Connor McLaughlin
702ed21207
HostDisplay: Add threaded presentation for Vulkan renderer
...
Can add a significant speedup for fast forward. Automatically disabled
when vsync is enabled.
2020-12-27 00:54:53 +10:00
Connor McLaughlin
d74d27163c
Common/MemoryArena: Add destroy/valid methods
2020-12-27 00:50:08 +10:00
Connor McLaughlin
a66f14b5c3
Vulkan/Texture: Add UpdateFromBuffer method
2020-12-26 00:47:03 +10:00
Connor McLaughlin
ebaad0f35a
Common/GL: Add replace method to texture
2020-12-26 00:47:03 +10:00
Connor McLaughlin
f6c0156eea
Common/Image: Add save helpers, fix errors
2020-12-26 00:47:03 +10:00
Michael Forney
4bca193ee1
FileSystem: Include <limits.h> for PATH_MAX
2020-12-26 00:47:02 +10:00
Michael Forney
7a40a843d4
Common/FileSystem: Fix misspelling of 'separator'
2020-12-26 00:47:02 +10:00
Michael Forney
d0398c8a83
Common/FileSystem: Fix canonicalization of paths beginning with ./
...
If we don't skip past the following separator when the destination
is empty, then `./file` gets canonicalized as `/file`.
Also, consider the case where we end up with an empty string (for
example, from `foo/..`). Canonicalize this as `.`.
2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric
9bd28f39a5
StringUtil: Add base support and hexadecimal functions
2020-12-26 00:47:02 +10:00
Connor McLaughlin
627008f34c
CDImage: Add helper for checking for SBI
2020-12-18 03:03:22 +10:00
Connor McLaughlin
4232ef7bf3
CDImageCue: Try for a file based on the cue filename if bin missing
...
Should work around people who have renamed the files but not updated the
cuesheet.
2020-12-18 03:03:22 +10:00
Connor McLaughlin
98766a490f
Log: Change success to verbose and move down in ordering
2020-12-09 01:03:32 +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
e579cd2eb2
CDImageHasher: Only ignore index 0 for track 1
2020-12-07 00:44:48 +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
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
f21d901cf1
Common/FileSystem: Fix macOS build
2020-11-28 00:58:46 +10:00