- 28 Oct, 2020 10 commits
-
-
ReinUsesLisp authored
Trivially add the encoding for this.
-
LC authored
hle/kernel: Remove unused registered_core_threads to fix data races
-
LC authored
common/fiber: Take shared_ptr<Fiber> by copy in YieldTo
-
LC authored
tests: Fix data race in fibers test
-
LC authored
video_core: Enforce -Werror=type-limits
-
LC authored
video_core: Enforce -Wredundant-move and -Wpessimizing-move
-
ReinUsesLisp authored
Silence three warnings and make them errors to avoid introducing more in the future.
-
ReinUsesLisp authored
Silences one warning and avoids introducing more in the future.
-
ReinUsesLisp authored
YieldTo does not intend to modify the passed shared_ptrs. Pass it by copy to keep a reference count while this function executes.
-
ReinUsesLisp authored
Previous to this commit, the tests were using operator[] from unordered_map to query elements but this silently inserts empty elements when they don't exist. If all threads were executed without concurrency, this wouldn't be an issue, but the same unordered_map could be written from two threads at the same time. This is a data race and makes some previously inserted elements invisible for a short period of time, causing them to insert and return an empty element. This default constructed element (a zero) was used to index an array of fibers that asserted when one of them was nullptr, shutting the test session off. To address this issue, lock on thread id reads and writes. This could be a shared mutex to allow concurrent reads, but the definition of std::this_thread::get_id is fuzzy when using non-standard techniques like fibers. I opted to use a standard mutex. While we are at it, fix the included headers.
-
- 27 Oct, 2020 12 commits
-
-
liushuyu authored
-
liushuyu authored
* A regression was in 39c8d18f and token verification function was broken. * The reason being `httplib` now requires OpenSSL 1.1+ API while LibreSSL 2.x provided OpenSSL 1.0 compatible API. * The bundled LibreSSL has been updated to 3.2.2 so it now provides OpenSSL 1.1 compatible API now. * Also the path hint has been added so that it will find the correct path to the CA certs on *nix systems. * An option is provided so that *nix system distributions/providers can use their own SSL implementations when compiling Yuzu/Citra to (hopefully) complies with their maintenance guidelines. * LURLParse is also removed since `httplib` can handle `scheme:host:port` string itself now.
-
bunnei authored
yuzu: settings: Enable multicore, asynch GPU, and assembly shaders by default.
-
bunnei authored
- In general, this is now the preferred settings for most games. # Conflicts: # src/yuzu/configuration/config.cpp
-
bunnei authored
video_core: NVDEC Implementation
-
ReinUsesLisp authored
This member was only used on asserts and it triggered data races. Remove it to fix them.
-
bunnei authored
core: cpu_manager: Add missing call to MicroProfileOnThreadExit().
-
bunnei authored
hle: services: TimeZoneContentManager: This can be made explicit.
-
ameerj authored
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
-
bunnei authored
controller: Pass ControllerParameters by reference in ReconfigureControllers()
-
Lioncash authored
Prevents unnecessary copies and heap reallocations from occurring.
- 26 Oct, 2020 2 commits
- 25 Oct, 2020 6 commits
-
-
Rodrigo Locatti authored
controller: Convert led_patterns integer literals to bool literals
-
Rodrigo Locatti authored
general: Use template deduction guides for lock_guard
-
Lioncash authored
Same behavior, less code.
-
Lioncash authored
'bool' isn't always guaranteed to be the same size as an int, so this can technically cause truncation warnings if we support other platforms.
-
LC authored
applets/profile_select: Resolve a warning in exec()
-
Morph authored
Resolves a warning where not all control paths return a value.
-
- 24 Oct, 2020 1 commit
-
-
bunnei authored
main/profile_select: Don't ask for profile when there's only one.
-
- 23 Oct, 2020 3 commits
- 22 Oct, 2020 2 commits
- 21 Oct, 2020 4 commits
-
-
Morph authored
It turns out that after a controller is disconnected, there is a chance that events from the previous controller are sent/processed after it has been disconnected. This causes the previously disconnected controller to reappear as connected due to GetSDLJoystickBySDLID() emplacing this controller back to the map. Fix this by only returning an SDLJoystick if and only if it exists in the map.
-
bunnei authored
video_core: Conditially activate relevant compiler warnings
-
Lioncash authored
Resolves the clang build issue in a more unintrusive way.
-
LC authored
Revert "core: Fix clang build"
-