aboutsummaryrefslogtreecommitdiff
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #12454 from liamwhite/ct-stuffNarr the Reg2024-01-011-9/+5
|\ | | | | core_timing: minor refactors
| * core_timing: remove user data valueLiam2023-12-231-9/+5
| |
* | core: track separate heap allocation for linuxLiam2023-12-251-49/+50
|/
* Revert "video_core: use interval map for page count tracking"liamwhite2023-12-171-3/+3
|
* video_core: use interval map for page count trackingLiam2023-12-141-3/+3
|
* core: Respect memory permissions in MapGPUCode2023-11-251-35/+36
|
* general: fix build failure on clang 17Liam2023-10-171-3/+3
|
* msvc: set warning level to /W4 globallyDanila Malyutin2023-09-031-1/+1
| | | | And fix a bunch of warnings
* Buffer cache: always use async buffer downloads and fix regression.Fernando Sahmkow2023-05-071-2/+2
|
* BufferCache: Fixes and address feedbackFernando Sahmkow2023-05-011-1/+3
|
* Tests: Add memory tracker tests.Fernando Sahmkow2023-04-293-550/+548
|
* Fixes 'Continous' typoMax Dunbar2023-03-291-10/+10
|
* tests: mark integer literals as unsignedLiam2023-03-261-17/+20
|
* tests: Implement tests for verifying HashValueMorph2023-03-252-0/+42
| | | | Values were randomly generated and the verification was done against boost 1.79.
* general: fix spelling mistakesLiam2023-03-122-2/+2
|
* buffer_base: Partially revert changes from #9559ameerj2023-02-081-1/+1
| | | | This fixes a regression where Yoshi's Crafted World (and potentially other titles) would enter an infinite loop when GPU Accuracy was set to "Normal"
* Merge pull request #9555 from abouvier/catch2-updateliamwhite2023-01-2215-23/+14
|\ | | | | tests: update catch2 to 3.0.1
| * tests: update catch2 to 3.0.1Alexandre Bouvier2023-01-0515-23/+14
| |
* | BufferBase: Don't ignore GPU pages.Fernando Sahmkow2023-01-051-1/+1
|/
* MacroHLE: Reduce massive calculations on sizing estimation.Fernando Sahmkow2023-01-012-0/+71
|
* tests: add missing headerAlexandre Bouvier2022-12-261-0/+1
| | | <cstring> is needed for std::memcpy
* scratch_buffer: Explicitly defing resize and resize_destructive functionsameerj2022-12-191-3/+75
| | | | | resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
* tests: Add ScratchBuffer testsameerj2022-12-192-0/+128
|
* CMake: Consolidate common PCH headersameerj2022-11-301-7/+1
|
* CMake: Use precompiled headersameerj2022-11-292-0/+17
|
* tests: fix for -WallAlexandre Bouvier2022-10-251-1/+1
| | | Fix #9123
* core: Partially persist emulation state across game boots.bunnei2022-10-181-3/+0
|
* code: dodge PAGE_SIZE #defineKyle Kienapfel2022-08-191-3/+4
| | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779
* Revert Coretiming PRs 8531 and 7454 (#8591)Maide2022-07-271-3/+1
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-274-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to b2eb10382941bef0914f4a0a4685b9033440aa9f
* yuzu: Add ui files for multiplayer roomsFearlessTobi2022-07-252-3/+3
|
* Rework CoreTimingKelebek12022-07-101-1/+4
|
* common/fiber: make fibers easier to useLiam2022-07-021-88/+35
|
* Core: Fix tests.Fernando Sahmkow2022-06-281-0/+3
|
* Core: Reimplement Core Timing.Fernando Sahmkow2022-06-281-1/+0
|
* chore: add missing SPDX tagsAndrea Pappacoda2022-04-281-3/+2
| | | | Follow-up to 2b87305d319f0bd04da36fb96314934f37b12637
* general: Convert source file copyright comments over to SPDXMorph2022-04-238-24/+16
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* cmake: make tests optionalAlexandre Bouvier2022-01-121-1/+1
|
* [input_common] Add completion test for CalibrationConfigurationJobvperus2021-11-292-1/+138
|
* logging: Simplify and make thread-safeyzct123452021-08-131-0/+2
| | | | | | | | | This simplifies the logging system. This also fixes some lost messages on startup. The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation. With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
* shader_recompiler,video_core: Cleanup some GCC and Clang errorslat9nq2021-07-221-0/+2
| | | | | | | | | | | | | | | | | Mostly fixing unused *, implicit conversion, braced scalar init, fpermissive, and some others. Some Clang errors likely remain in video_core, and std::ranges is still a pertinent issue in shader_recompiler shader_recompiler: cmake: Force bracket depth to 1024 on Clang Increases the maximum fold expression depth thread_worker: Include condition_variable Don't use list initializers in control flow Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
* Buffer Cache: Address Feedback.Fernando Sahmkow2021-07-101-1/+1
|
* Buffer Cache: Fix High Downloads and don't predownload on Extreme.Fernando Sahmkow2021-07-091-1/+1
|
* common: Add unique functionReinUsesLisp2021-07-082-0/+109
|
* common: Replace common_sizes into user-literalsWunkolo2021-06-241-1/+3
| | | | | | | | | | | | | 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.
* tests: Add tests for host memoryReinUsesLisp2021-06-112-0/+184
|
* common: fs: Rework the Common Filesystem interface to make use of ↵Morph2021-05-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | std::filesystem (#6270) * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
* common: Fiber: use a reference for YieldTo.bunnei2021-03-071-14/+14
| | | | - Fixes another small leak.
* Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei2021-03-051-18/+21
|
* Merge pull request #6006 from bunnei/fiber-unique-ptrbunnei2021-03-041-21/+18
|\ | | | | core: Switch to unique_ptr for usage of Common::Fiber.