ameerj
4cee25281f
main: Display the instruction set of the running title in the window name
Displays whether the currently running title uses 64-bit instructions or only 32-bit instructions.
5 years ago
bunnei
36d581ec73
hle: service: hwopus: OpenHardwareOpusDecoderEx: Remove unused buffer size.
5 years ago
ReinUsesLisp
9476309d53
buffer_cache: Only flush downloaded size
Fixes a regression unintentionally introduced by the garbage collector.
This makes regular memory downloads only flush the requested sizes.
This negatively affected Koei Tecmo games.
5 years ago
ReinUsesLisp
03abe8bf85
video_core: Enforce C4244
Enforce implicit integer casts to a smaller type as errors.
5 years ago
ReinUsesLisp
05bd50a1cf
codec,vic: Disable warnings in ffmpeg headers
5 years ago
ReinUsesLisp
3ab5bf6454
vk_buffer_cache: Silence implicit cast warnings
5 years ago
ReinUsesLisp
b4894faeae
buffer_cache/texture_cache: Make GC functions private
5 years ago
ReinUsesLisp
e79d02bf38
buffer_cache: Silence implicit cast warning
5 years ago
ReinUsesLisp
99b859db55
vulkan_device: Make device memory match the rest of the file
Match the style in the file.
5 years ago
bunnei
982be246ab
hle: hle_helpers: Skip data payload offset checks on TIPC requests.
- TIPC does not use this.
5 years ago
bunnei
3565e32f4d
hle: service: hwopus: Implement GetWorkBufferSizeEx and OpenHardwareOpusDecoderEx.
- This is used by the latest update of Doom Eternal.
5 years ago
bunnei
d1ba4a2db2
hle: service: aoc: Stub GetAddOnContentListChangedEventWithProcessId.
- This is used by the latest update of Doom Eternal.
5 years ago
bunnei
50d0cc2716
audio_core: common: Bump audio revision to 9.
- This is used in fw 12.x.x games.
5 years ago
Wunkolo
4569f39c7c
common: Replace common_sizes into user-literals
Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc
user-literals within literals.h.
To keep the global namespace clean, users will have to use:
```
using namespace Common::Literals;
```
to access these literals.
5 years ago
Morph
eed0d1f33b
general: Add missing #pragma once directives
5 years ago
Chloe
f216a9432b
Add missing includes ( #6521 )
* Add missing includes
* Add array
5 years ago
Lioncash
d0b1f2bd05
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
5 years ago
Lioncash
be6844c1ed
maxwell3d: Add missing return in default SizeInBytes() case
We were returning '1' in ComponentCount()'s default case but were
neglecting to do the same with SizeInBytes().
5 years ago
OZtistic
36aacf62ad
Simple resizing of the Per-Game configuration window and removal of useless Help question mark button in the title bar
5 years ago
Fernando Sahmkow
f9b940a442
Reaper: Set minimum cleaning limit on OGL.
5 years ago
Morph
2fa207058b
common: fs: Add a description of a regular file in IsFile
This provides a more concrete example of what a regular file is and isn't.
5 years ago
Morph
0394893354
vfs_real: Fix Mode to FileAccessMode conversion
These enforce requiring the file to exist prior to opening.
5 years ago
Morph
76b2313b25
common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFile
This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode.
This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file.
Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices.
The documentation has also been updated for these functions to clarify that a file refers to a regular file.
5 years ago
Morph
cf0b9d1de2
common: fs: file: Remove [[nodiscard]] attribute from Flush
Similarly, Flush() is typically called to attempt to flush a file into the disk. In the one case where this is used, we do not care whether the flush has succeeded or not, making [[nodiscard]] unnecessary.
5 years ago
Morph
81b1b71993
common: fs: Remove [[nodiscard]] attribute on Remove* functions
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal.
As such, removing the [[nodiscard]] attribute is best for these functions.
5 years ago
Rodrigo Locatti
c9c8537643
core: Make is_powered_on atomic
Fixes potential data races when shutting down.
5 years ago
Rodrigo Locatti
1ca9a13e50
common/detached_tasks: Wait for tasks before shutting down
If this is not waited on, the synchronization primitives are destroyed
whe main exits and the detached task ends up signalling garbage and not
properly finishing.
5 years ago
Rodrigo Locatti
15cc561d12
npad: Fix data race when updating devices
Add a lock to avoid data races.
This reduces the number of -fsanitize=thread errors significantly.
5 years ago
Rodrigo Locatti
0a39163a90
input_common/mouse_input: Fix data race
Fix data race using std::jthread and std::stop_token.
5 years ago
Kelebek1
ba3af04da1
Implement audout GetAudioOutPlayedSampleCount
Used in Ninja Gaiden games.
5 years ago
ReinUsesLisp
4009ae1da2
bootmanager: Use std::stop_source for stopping emulation
Use its std::stop_token to abort shader cache loading.
Using std::stop_token instead of std::atomic_bool allows the usage of
other utilities like std::stop_callback.
5 years ago
ReinUsesLisp
cf116a28a6
vk_master_semaphore: Use jthread for debug thread
5 years ago
Fernando Sahmkow
2298508465
Update dynarmic and add new unsafe CPU option.
5 years ago
Fernando Sahmkow
569a1962c0
Reaper: Guarantee correct deletion.
5 years ago
Fernando Sahmkow
865dd615ca
Reaper: Upgrade label from unsafe to experimental as no regressions are known now.
5 years ago
ameerj
851c76233d
util_shaders: Specify ASTC decoder memory barrier bits
5 years ago
ameerj
ace20ba4a4
astc_decoder.comp: Remove unnecessary LUT SSBOs
We can move them to instead be compile time constants within the shader.
5 years ago
ameerj
31b125ef57
astc: Various robustness enhancements for the gpu decoder
These changes should help in reducing crashes/drivers panics that may
occur due to synchronization issues between the shader completion and
later access of the decoded texture.
5 years ago
lat9nq
9a06b85b24
host_memory: Correct MEM_RESERVE_PLACEHOLDER
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
5 years ago
Vortex
e704da9192
externals: httplib: replace custom httplib header with upstream as submodule.
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
5 years ago
Morph
fd5ef1970c
service: time: Use GetFileRelative to get files within subdirectories
The timezone info file can be within subdirectories (such as Asia/Tokyo), use GetFileRelative instead of GetFile to get files within subdirectories.
5 years ago
Morph
1a5eceeb9c
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
5 years ago
ameerj
0b172d12c0
vulkan_debug_callback: Skip logging known false-positive validation errors
Avoids overwhelming the log with validation errors that are not applicable
5 years ago
Fernando Sahmkow
719a6dd5a1
Reaper: Correct size calculation on Vulkan.
5 years ago
ameerj
36250a4730
config: Add frame limiter toggle hotkey
5 years ago
ameerj
3522fc019c
nvflinger: Add toggle to disable buffer swap interval limits
Enabling this setting will allow some titles to present more frames to
the screen as they become available in the nvflinger buffer queue.
5 years ago
Fernando Sahmkow
ca6f47c686
Reaper: Change memory restrictions on TC depending on host memory on VK.
5 years ago
Fernando Sahmkow
0dd98842bf
Reaper: Address Feedback.
5 years ago
Fernando Sahmkow
954ad2a61e
Reaper: Setup settings and final tuning.
5 years ago
Fernando Sahmkow
d8ad6aa187
Reaper: Tune it up to be an smart GC.
5 years ago