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
Connor McLaughlin
744629e9a8
Common/FileSystem: Fix modification time not being set in find
...
Fixes game list list always re-scanning on Linux/Android.
2020-11-28 00:14:45 +10:00
Connor McLaughlin
feadc83050
Common/GrowableMemoryByteStream: Add helper methods
2020-11-28 00:14:45 +10:00
Connor McLaughlin
4a482875ca
Common/FileSystem: Add helpers for ByteStream
2020-11-28 00:14:45 +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
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
497759b4d6
VulkanHostDisplay: Support 16-bit scanout
2020-11-21 21:12:38 +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
a29669432f
Common/PageFaultHandler: Fix compiling on 32-bit Windows
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
9c9e2bbe27
GL/ContextWGL: Check for ES2 context extension before creating
2020-11-21 18:39:03 +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
ac89379ca6
GL/ContextEGL: Use pbuffer when surfaceless not supported
2020-11-08 00:22:35 +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
2eaebd8921
GPU: Implement support for multisample antialiasing
2020-10-31 14:27:58 +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
e147327459
GL: Fix window resize not applying under Wayland
2020-10-26 01:09:09 +10:00
Connor McLaughlin
bf46461dd6
Common/Vulkan: Remove unused methods in staging texture
2020-10-21 23:13:34 +10:00
Connor McLaughlin
abc035b15a
CDImage: Fix assert failing on invalid cuesheets
2020-10-21 22:28:11 +10:00
Connor McLaughlin
6624660b0d
Common/FileSystem: Fix a compile error on macOS
2020-10-18 14:54:38 +10:00
Connor McLaughlin
7566c45f64
CPU/Recompiler: Implement fastmem
2020-10-18 14:54:38 +10:00
Connor McLaughlin
ceb67b5018
Common: Add memory arena and page fault handler classes
2020-10-18 14:54:38 +10:00
Connor McLaughlin
69b2c3fc2d
StateWrapper: Track save state version
2020-10-18 14:54:38 +10:00
Connor McLaughlin
893268bba5
CDImage: Fix crash on invalid cue/chd with no tracks
2020-10-18 14:54:26 +10:00
Connor McLaughlin
d6758aacce
CDSubchannelReplacement: Fix a crash on invalid input
2020-10-15 01:25:18 +10:00
Connor McLaughlin
49cea927f0
Build: Add ARM64 platform for Windows
2020-10-14 00:48:48 +10:00
Connor McLaughlin
69d29d7395
GL/Context: Don't use WGL on Windows/ARM64
2020-10-14 00:48:48 +10:00
Connor McLaughlin
df15229eec
Common/CPUDetect: Add ARM64 for MSVC
2020-10-14 00:48:48 +10:00
C.W. Betts
5344b44970
Make context_agl.h compatible with ObjC ARC code.
...
Helpful when working with OpenEmu.
2020-10-12 16:38:47 -06:00
Connor McLaughlin
3ecae0f409
Common/Align: Make constexpr
2020-10-11 20:34:56 +10:00
Connor McLaughlin
348555cc8c
Build: Link with objc runtime on macOS
2020-10-11 12:45:21 +10:00
Connor McLaughlin
d39c9f5d1c
Clean up some compiler warnings
2020-10-11 12:21:08 +10:00
Connor McLaughlin
c89d94c2ff
Move Cubeb AudioStream to FrontendCommon
...
This way it doesn't need to be built for libretro.
2020-10-11 12:21:08 +10:00
Connor McLaughlin
fe25f005c2
GPU: Fix incorrect sign extension of positions
...
Fixes missing objects in Skullmonkeys (again).
2020-10-11 12:21:08 +10:00
Connor McLaughlin
9e2e1050bb
GL/Program: Don't delete nonexistant shaders (when using binaries)
2020-10-10 18:26:29 +10:00
Connor McLaughlin
48d053cd7b
CDImageCHD: Align tracks to 4 frames
...
Fixes games having "randomly" offset audio.
2020-10-04 00:12:01 +10:00
C.W. Betts
152ccd5917
Fix stat64 failure on Apple Silicon: just use the (not deprecated on OS X) stat (which is 64-bit since 10.6 via linking trickery, and always 64-bit on 64-bit OSes).
2020-10-02 03:23:43 -06:00
Albert Liu
5f3d475f4c
CDImageMemory: Fix SBI loading
2020-09-26 15:42:13 -07:00
Albert Liu
659e6a2e60
CDImageBin: Remove use of duplicated ReplaceExtension function
2020-09-26 15:38:46 -07:00
Connor McLaughlin
f1086b18f9
FileSystem: Remove heap allocations from FileExists/DirectoryExists
2020-09-24 00:31:44 +10:00
Connor McLaughlin
a0a78087fe
Vulkan: Support Wayland
2020-09-23 20:19:50 +10:00
Connor McLaughlin
2aace1b503
GL/Context: Don't choke on X11+Wayland
2020-09-23 19:46:39 +10:00
Connor McLaughlin
cd0199a07a
FileSystem: Fix size being unfilled on Linux
...
Fixes BIOS detection.
2020-09-23 12:15:25 +10: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
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
70768c02af
Common: Add Shift-JIS helpers
2020-09-19 00:28:47 +10:00
Silent
1918a5ddd4
STBI: Handle UTF-8 paths correctly
2020-09-14 21:27:22 +02:00
Connor McLaughlin
68d08ddbcb
Merge branch 'postprocessing'
2020-09-13 12:14:21 +10:00
Connor McLaughlin
a0f6b4ce81
Build: Don't include AGL context wrapper for libretro
2020-09-13 11:56:56 +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
Silent
89e0290d06
Fix resource leaks in AutoStagingTexture::EnsureSize and D3D11HostDisplay::DownloadTexture
2020-09-04 23:44:19 +02: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
ca723d699b
Make ALWAYS_INLINE_RELEASE specify inline in debug too
...
Stops us needing the static qualifier as well.
2020-08-29 21:22:41 +10:00
Connor McLaughlin
17b5c749bf
libretro: Re-enable hw context switch, add auto option
2020-08-23 14:51:23 +10:00
kwyxz
31695c4ff7
Haiku port of duckstation libretro core ( #716 )
...
* Haiku build 1st attempt
* fix load on Haiku
* Removed debugging flags
* Added a couple ifndef
2020-08-22 13:20:37 +10:00
Connor McLaughlin
2e9f656546
CPU: Implement PGXP CPU Mode
...
This is *very* slow. You don't want to enable it if you don't need it.
It is also incompatible with the recompiler and will disable it if the
option is enabled.
2020-08-20 00:49:39 +10:00
Connor McLaughlin
a895c02789
Common/ByteStream: Use wide paths for committing updates
...
Fixes save states to UTF-8 paths.
2020-08-17 13:10:36 +10:00
Connor McLaughlin
c5db7db182
Build: Compile source as UTF-8 with MSVC
2020-08-15 00:04:38 +10:00
Connor McLaughlin
512a8b2b39
FileSystem: Make more functions UTF-8 compatible on Windows
2020-08-06 22:07:43 +10:00
Connor McLaughlin
045e6dff61
Common: Add Win32ProgressCallback
2020-08-06 19:33:08 +10:00
Connor McLaughlin
7cafb8c515
Common: Add MinizipHelpers (RAM and UTF-8 compatible fopen)
2020-08-06 19:33:02 +10:00
Connor McLaughlin
6e586311e8
Common: Add title, modal information to ProgressCallback
2020-08-06 19:32:53 +10:00
RibShark
1ebbb1e42a
Only force 2 second pregap for track 1
...
Fixes #579
2020-08-05 15:19:28 +01:00
Connor McLaughlin
a7dbb9ab28
CDImage: Work around cue parser requiring new line at end
2020-08-05 03:14:06 +10:00
Connor McLaughlin
69cbc0b5a2
GL/Texture: Add wrap texture mode option
2020-08-04 14:40:00 +10:00
Connor McLaughlin
96ba9198ef
GPU/HW: Expand lines into triangles before rendering
...
Fewer batches, consistent upscaling behavior.
2020-08-02 17:17:11 +10:00
jdgleaver
363804c48b
(libretro/Vulkan) Fix glslang shader-related crashes
2020-08-01 15:29:59 +01:00
Connor McLaughlin
7067b8f6e3
CDImage/CHD: Handle UTF-8 strings when opening
2020-08-01 14:01:23 +10:00
Connor McLaughlin
ede8de92f6
FileSystem: Use wide strings for FindFiles and StatFile on Windows
2020-08-01 14:00:58 +10:00
Connor McLaughlin
2eb9384275
Replace more instances of fopen() with FileSystem::OpenFile()
2020-08-01 14:00:22 +10:00
Connor McLaughlin
b6f871d2b9
JIT optimizations and refactoring ( #675 )
...
* CPU/Recompiler: Use rel32 call where possible for no-args
* JitCodeBuffer: Support using preallocated buffer
* CPU/Recompiler/AArch64: Use bl instead of blr for short branches
* CPU/CodeCache: Allocate recompiler buffer in program space
This means we don't need 64-bit moves for every call out of the
recompiler.
* GTE: Don't store as u16 and load as u32
* CPU/Recompiler: Add methods to emit global load/stores
* GTE: Convert class to namespace
* CPU/Recompiler: Call GTE functions directly
* Settings: Turn into a global variable
* GPU: Replace local pointers with global
* InterruptController: Turn into a global pointer
* System: Replace local pointers with global
* Timers: Turn into a global instance
* DMA: Turn into a global instance
* SPU: Turn into a global instance
* CDROM: Turn into a global instance
* MDEC: Turn into a global instance
* Pad: Turn into a global instance
* SIO: Turn into a global instance
* CDROM: Move audio FIFO to the heap
* CPU/Recompiler: Drop ASMFunctions
No longer needed since we have code in the same 4GB window.
* CPUCodeCache: Turn class into namespace
* Bus: Local pointer -> global pointers
* CPU: Turn class into namespace
* Bus: Turn into namespace
* GTE: Store registers in CPU state struct
Allows relative addressing on ARM.
* CPU/Recompiler: Align code storage to page size
* CPU/Recompiler: Fix relative branches on A64
* HostInterface: Local references to global
* System: Turn into a namespace, move events out
* Add guard pages
* Android: Fix build
2020-07-31 17:09:18 +10:00
Connor McLaughlin
8b0c3f0dc8
FileSystem: Use wide strings for fopen on Windows
2020-07-31 16:04:06 +10:00
Connor McLaughlin
3edb8e113e
StringUtil: Add wide string<->utf8 conversion for Windows
2020-07-31 16:04:00 +10:00
Connor McLaughlin
c7b457de9e
CubebAudioStream: Continue even without minimum latency
...
Fixes audio not functioning on Android.
2020-07-29 02:38:04 +10:00
Connor McLaughlin
08b26edceb
CDImage: Fix incorrect track length
...
Shouldn't affect much, other than the game properties window.
2020-07-25 02:36:41 +10:00
Connor McLaughlin
10f23667c9
CDImage: Fix incorrect pregap file offset calculation
...
Should fix repeating audio at the start of some tracks.
2020-07-24 13:47:21 +10:00
Connor McLaughlin
f3df4f91a2
libretro: Implement disk control interface
2020-07-23 02:36:23 +10:00
Connor McLaughlin
266d70c629
Common/FileSystem: Add IsAbsolutePath() and tests
2020-07-23 02:35:37 +10:00
Connor McLaughlin
3187d07d03
CDImage: Add memory CD image class
2020-07-22 00:03:07 +10:00
Connor McLaughlin
cf366d3fba
CDImage: Fix crash reading subq from lead-in
2020-07-22 00:02:51 +10:00
Connor McLaughlin
03c3b10054
CDSubChannelReplacement: Use subq union directly
2020-07-22 00:02:44 +10:00
Connor McLaughlin
eb7da791ea
CommonHostInterface: Fix command line help not printing on Windows
2020-07-21 20:09:54 +10:00
Connor McLaughlin
71cef1de3f
GL/ContextGLX: Add additional logging
2020-07-15 15:50:30 +10:00
Connor McLaughlin
282f166e7a
Vulkan/StagingBuffer: Don't try to invalidate unmapped buffer
...
Fixes crash on Mali.
2020-07-12 00:40:05 +10:00
Connor McLaughlin
fb6538da35
Vulkan/Context: Allocate SSBO descriptors in global set
...
Fixes vram write buffer creation failing on Mali.
2020-07-12 00:38:27 +10:00
Connor McLaughlin
4ce5f7e802
GLContext: Wayland support
2020-07-11 03:28:25 +10:00
Connor McLaughlin
a5fe740e30
Fix a bunch of compiler warnings
2020-07-09 13:30:16 +10:00
Connor McLaughlin
9685be9064
D3D11/ShaderCache: Remove feature level 12 enum usage
...
It's not used anyway.
2020-07-09 13:00:44 +10:00
Connor McLaughlin
46dfccef81
Common/DimensionalArray: Don't break clang
2020-07-08 15:40:08 +10:00
Connor McLaughlin
a68bbb3e85
Common/DimensionalArray: Work around VC2017 issue
2020-07-08 15:04:47 +10:00
Connor McLaughlin
6ae5caa23b
Common/StringUtil: Add missing include
2020-07-08 12:45:49 +10:00
Connor McLaughlin
01287cb7da
build: Support building libretro core for Android
2020-07-07 20:27:14 +10:00
Connor McLaughlin
729e1b3392
GLContext: Fix Android context creation
2020-07-07 00:59:49 +10:00
Connor McLaughlin
da180a1c4f
Vulkan: Fix crash when device creation fails
2020-07-07 00:59:42 +10:00
Connor McLaughlin
1d4b5e22cb
Vulkan: Fall back to geometryShader when fillModeNonSolid unsupported
2020-07-07 00:59:35 +10:00
Connor McLaughlin
9b3e344ad8
Renderers: Support empty shader cache
2020-07-04 22:14:07 +10:00
Connor McLaughlin
f396a2c373
Renderers: Make shader cache path a prefix instead of directory
2020-07-04 22:14:07 +10:00
Connor McLaughlin
b9ffca1ddf
libretro: Vulkan renderer support
2020-07-04 22:14:07 +10:00
Connor McLaughlin
bf08385051
WindowInfo: Add surface_scale field
2020-07-01 01:57:25 +10:00
Connor McLaughlin
7d88bba764
Common: Add an image helper class
2020-07-01 00:56:46 +10:00
Connor McLaughlin
f3b2953e40
Common/StringUtil: Add FromChars overload for bool
2020-07-01 00:56:46 +10:00
Connor McLaughlin
2a38090e7a
HostDisplay: Move most backend logic to FrontendCommon
2020-06-30 03:03:56 +10:00
Connor McLaughlin
dc7cc3b67f
Common/ByteStream: Fix buffer corruption in MemoryByteStream
2020-06-30 02:44:01 +10:00
Connor McLaughlin
ea1066f76e
GL/StreamBuffer: Use glBufferData() on all drivers
2020-06-29 14:44:16 +10:00
Connor McLaughlin
745b53e4cb
GL/Context: Fix crash in some GLX drivers
2020-06-27 17:35:08 +10:00
Connor McLaughlin
2cfb811569
Merge pull request #565 from lioncash/stamp
...
timestamp: Correct duplicate conditionals
2020-06-24 01:32:52 +10:00
Connor McLaughlin
84d4423719
Merge pull request #564 from lioncash/leak
...
file_system: Prevent resource leaks in DeleteDirectory()
2020-06-24 01:31:52 +10:00
Lioncash
4c82705e34
timestamp: Correct duplicate conditionals
...
Previously, the milliseconds field wasn't being used in comparisons on
Windows.
2020-06-23 06:24:06 -04:00
Lioncash
987b11a1d2
timestamp: Implement operator!= in terms of operator==
...
Same behavior, less code.
2020-06-23 06:20:29 -04:00
Lioncash
83a01c27a2
file_system: Prevent resource leaks in DeleteDirectory()
...
We need to remember to close the search handle in the error cases.
2020-06-23 06:13:54 -04:00
Lioncash
292a0a6800
file_system: Correct duplicate conditionals in CreateDirectory()
2020-06-23 06:09:38 -04:00