ReinUsesLisp
cc3a6c6f51
video_core: Enforce C4244
Enforce implicit integer casts to a smaller type as errors.
5 years ago
ReinUsesLisp
d5154a3b19
codec,vic: Disable warnings in ffmpeg headers
5 years ago
ReinUsesLisp
0435cb0ffc
vk_buffer_cache: Silence implicit cast warnings
5 years ago
ReinUsesLisp
a0a7f569c0
buffer_cache/texture_cache: Make GC functions private
5 years ago
ReinUsesLisp
21e08723e7
buffer_cache: Silence implicit cast warning
5 years ago
ReinUsesLisp
5943f8f61d
vulkan_device: Make device memory match the rest of the file
Match the style in the file.
5 years ago
bunnei
42957785f0
hle: hle_helpers: Skip data payload offset checks on TIPC requests.
- TIPC does not use this.
5 years ago
bunnei
3a6d12430c
hle: service: hwopus: Implement GetWorkBufferSizeEx and OpenHardwareOpusDecoderEx.
- This is used by the latest update of Doom Eternal.
5 years ago
bunnei
84abf1723b
hle: service: aoc: Stub GetAddOnContentListChangedEventWithProcessId.
- This is used by the latest update of Doom Eternal.
5 years ago
bunnei
2c6a61d4dd
audio_core: common: Bump audio revision to 9.
- This is used in fw 12.x.x games.
5 years ago
Wunkolo
722f9c3cb5
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
5004b030df
general: Add missing #pragma once directives
5 years ago
Chloe
a9a9167009
Add missing includes ( #6521 )
* Add missing includes
* Add array
5 years ago
Lioncash
f4d6293427
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
5 years ago
Lioncash
3d8516c16f
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
718f92c097
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
505b198e80
Reaper: Set minimum cleaning limit on OGL.
5 years ago
Morph
42e41ca939
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
c74b4be699
vfs_real: Fix Mode to FileAccessMode conversion
These enforce requiring the file to exist prior to opening.
5 years ago
Morph
f158fd9dd1
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
e12844c5a3
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
f81ef990ac
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
13edf2e071
core: Make is_powered_on atomic
Fixes potential data races when shutting down.
5 years ago
Rodrigo Locatti
ee29cddce2
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
c32066d766
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
65df2a2ba0
input_common/mouse_input: Fix data race
Fix data race using std::jthread and std::stop_token.
5 years ago
Kelebek1
5015541902
Implement audout GetAudioOutPlayedSampleCount
Used in Ninja Gaiden games.
5 years ago
ReinUsesLisp
2b175430fd
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
6d5036dcf2
vk_master_semaphore: Use jthread for debug thread
5 years ago
lat9nq
8ec7ea11c8
gl_device: Expand on Mesa driver names
Makes this list a bit more capable at identifying Mesa drivers. Tries to
deal with two of the overloaded vendor strings in a more generic
fashion.
5 years ago
ameerj
59d6951aeb
video_core: Add GPU vendor name to window title bar
5 years ago
Fernando Sahmkow
1592ec32bc
Update dynarmic and add new unsafe CPU option.
5 years ago
Fernando Sahmkow
849c8dba46
Reaper: Guarantee correct deletion.
5 years ago
Fernando Sahmkow
d2d4616cca
Reaper: Upgrade label from unsafe to experimental as no regressions are known now.
5 years ago
ameerj
9a77d40804
util_shaders: Specify ASTC decoder memory barrier bits
5 years ago
ameerj
79621cca95
astc_decoder.comp: Remove unnecessary LUT SSBOs
We can move them to instead be compile time constants within the shader.
5 years ago
ameerj
fe7d3006f5
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
bee420dcfb
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
b0965d25b9
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
be34265f5e
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
3543d65449
kernel: Fix missing peak set in KResourceLimit::SetLimitValue
5 years ago
ameerj
74f5fcbd29
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
b0d14ec124
Reaper: Correct size calculation on Vulkan.
5 years ago
ameerj
2f2d7a9b02
config: Add frame limiter toggle hotkey
5 years ago
ameerj
72a4091aec
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
aa941d40cd
Reaper: Change memory restrictions on TC depending on host memory on VK.
5 years ago
Fernando Sahmkow
2fd0207e2e
Reaper: Address Feedback.
5 years ago
Fernando Sahmkow
25e2362427
Reaper: Setup settings and final tuning.
5 years ago
Fernando Sahmkow
978aabb1d0
Reaper: Tune it up to be an smart GC.
5 years ago
ReinUsesLisp
cb0d987c90
Initial Reaper Setup
WIP
5 years ago