summaryrefslogtreecommitdiff
path: root/src/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12499 from Kelebek1/timeGravatar liamwhite2024-01-251-1/+1
|\ | | | | Rework time services
| * Rework time service to fix time passing offline.Gravatar Kelebek12024-01-241-1/+1
| |
* | Core: Eliminate core/memory dependancies.Gravatar Fernando Sahmkow2024-01-181-4/+3
|/
* Merge pull request #12454 from liamwhite/ct-stuffGravatar Narr the Reg2024-01-011-9/+5
|\ | | | | core_timing: minor refactors
| * core_timing: remove user data valueGravatar Liam2023-12-231-9/+5
| |
* | core: track separate heap allocation for linuxGravatar Liam2023-12-251-49/+50
|/
* Revert "video_core: use interval map for page count tracking"Gravatar liamwhite2023-12-171-3/+3
|
* video_core: use interval map for page count trackingGravatar Liam2023-12-141-3/+3
|
* core: Respect memory permissions in MapGravatar GPUCode2023-11-251-35/+36
|
* general: fix build failure on clang 17Gravatar Liam2023-10-171-3/+3
|
* msvc: set warning level to /W4 globallyGravatar Danila Malyutin2023-09-031-1/+1
| | | | And fix a bunch of warnings
* Buffer cache: always use async buffer downloads and fix regression.Gravatar Fernando Sahmkow2023-05-071-2/+2
|
* BufferCache: Fixes and address feedbackGravatar Fernando Sahmkow2023-05-011-1/+3
|
* Tests: Add memory tracker tests.Gravatar Fernando Sahmkow2023-04-293-550/+548
|
* Fixes 'Continous' typoGravatar Max Dunbar2023-03-291-10/+10
|
* tests: mark integer literals as unsignedGravatar Liam2023-03-261-17/+20
|
* tests: Implement tests for verifying HashValueGravatar Morph2023-03-252-0/+42
| | | | Values were randomly generated and the verification was done against boost 1.79.
* general: fix spelling mistakesGravatar Liam2023-03-122-2/+2
|
* buffer_base: Partially revert changes from #9559Gravatar ameerj2023-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-updateGravatar liamwhite2023-01-2215-23/+14
|\ | | | | tests: update catch2 to 3.0.1
| * tests: update catch2 to 3.0.1Gravatar Alexandre Bouvier2023-01-0515-23/+14
| |
* | BufferBase: Don't ignore GPU pages.Gravatar Fernando Sahmkow2023-01-051-1/+1
|/
* MacroHLE: Reduce massive calculations on sizing estimation.Gravatar Fernando Sahmkow2023-01-012-0/+71
|
* tests: add missing headerGravatar Alexandre Bouvier2022-12-261-0/+1
| | | <cstring> is needed for std::memcpy
* scratch_buffer: Explicitly defing resize and resize_destructive functionsGravatar ameerj2022-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 testsGravatar ameerj2022-12-192-0/+128
|
* CMake: Consolidate common PCH headersGravatar ameerj2022-11-301-7/+1
|
* CMake: Use precompiled headersGravatar ameerj2022-11-292-0/+17
|
* tests: fix for -WallGravatar Alexandre Bouvier2022-10-251-1/+1
| | | Fix #9123
* core: Partially persist emulation state across game boots.Gravatar bunnei2022-10-181-3/+0
|
* code: dodge PAGE_SIZE #defineGravatar Kyle 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)Gravatar Maide2022-07-271-3/+1
|
* chore: make yuzu REUSE compliantGravatar Andrea 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 01cf05bc75b1e47beb08937439f3ed9339e7b254
* yuzu: Add ui files for multiplayer roomsGravatar FearlessTobi2022-07-252-3/+3
|
* Rework CoreTimingGravatar Kelebek12022-07-101-1/+4
|
* common/fiber: make fibers easier to useGravatar Liam2022-07-021-88/+35
|
* Core: Fix tests.Gravatar Fernando Sahmkow2022-06-281-0/+3
|
* Core: Reimplement Core Timing.Gravatar Fernando Sahmkow2022-06-281-1/+0
|
* chore: add missing SPDX tagsGravatar Andrea Pappacoda2022-04-281-3/+2
| | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-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 optionalGravatar Alexandre Bouvier2022-01-121-1/+1
|
* [input_common] Add completion test for CalibrationConfigurationJobGravatar vperus2021-11-292-1/+138
|
* logging: Simplify and make thread-safeGravatar yzct123452021-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 errorsGravatar lat9nq2021-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.Gravatar Fernando Sahmkow2021-07-101-1/+1
|
* Buffer Cache: Fix High Downloads and don't predownload on Extreme.Gravatar Fernando Sahmkow2021-07-091-1/+1
|
* common: Add unique functionGravatar ReinUsesLisp2021-07-082-0/+109
|
* common: Replace common_sizes into user-literalsGravatar Wunkolo2021-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 memoryGravatar ReinUsesLisp2021-06-112-0/+184
|
* common: fs: Rework the Common Filesystem interface to make use of ↵Gravatar 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