summaryrefslogtreecommitdiffstats
path: root/src/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-301-10/+10
|
* tests: mark integer literals as unsignedLiam2023-03-261-17/+20
|
* tests: Implement tests for verifying HashValueMorph2023-03-262-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-091-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-2315-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-201-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-202-0/+128
|
* CMake: Consolidate common PCH headersameerj2022-12-011-7/+1
|
* CMake: Use precompiled headersameerj2022-11-302-0/+17
|
* tests: fix for -WallAlexandre Bouvier2022-10-251-1/+1
| | | Fix #9123
* core: Partially persist emulation state across game boots.bunnei2022-10-191-3/+0
|
* code: dodge PAGE_SIZE #defineKyle Kienapfel2022-08-201-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-281-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 01cf05bc75b1e47beb08937439f3ed9339e7b254
* 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 99ceb03a1cfcf35968cab589ea188a8c406cda52
* 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-231-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-092-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 std::filesystem (#6270)Morph2021-05-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-18/+21
|
* Merge pull request #6006 from bunnei/fiber-unique-ptrbunnei2021-03-051-21/+18
|\ | | | | core: Switch to unique_ptr for usage of Common::Fiber.
| * core: Switch to unique_ptr for usage of Common::Fiber.bunnei2021-02-271-21/+18
| | | | | | | | | | - With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer.
* | [network] Error handling reformcomex2021-02-282-0/+29
|/ | | | | | | | | | | | | | | | | | | | | `network.cpp` has several error paths which either: - report "Unhandled host socket error=n" and return `SUCCESS`, or - switch on a few possible errors, log them, and translate them to Errno; the same switch statement is copied and pasted in multiple places in the code Convert these paths to use a helper function `GetAndLogLastError`, which is roughly the equivalent of one of the switch statements, but: - handling more cases (both ones that were already in `Errno`, and a few more I added), and - using OS functions to convert the error to a string when logging, so it'll describe the error even if it's not one of the ones in the switch statement. - To handle this, refactor the logic in `GetLastErrorMsg` to expose a new function `NativeErrorToString` which takes the error number explicitly as an argument. And improve the Windows version a bit. Also, add a test which exercises two random error paths.
* common/cityhash: Use common typesReinUsesLisp2021-02-181-2/+2
| | | | | | | | Allow sharing return types with the rest of the code base. For example, we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses 'uint128 = std::pair<u64, u64>'. While we are at it, use size_t instead of std::size_t.
* tests: Add tests for CityHashReinUsesLisp2021-02-182-0/+23
|
* tests/buffer_base: Add cached CPU writes testsReinUsesLisp2021-02-131-0/+76
| | | | Ensure the behavior of the previous commit in tests.
* ring_buffer: Remove granularity template argumentMerryMage2021-02-061-5/+5
| | | | | | Non-obvious bug in RingBuffer::Push(std::vector<T>&) when granularity != 1 Just remove it altogether because we do not have a use for granularity != 1
* Merge pull request #5262 from ReinUsesLisp/buffer-baseRodrigo Locatti2021-01-162-0/+474
|\ | | | | buffer_cache/buffer_base: Add a range tracking buffer container and tests
| * tests: Add unit tests for the GPU range tracking buffer containerReinUsesLisp2021-01-132-0/+474
| | | | | | | | | | | | | | | | | | Due to how error prone the container design is, this commit adds unit tests for it. Some tests taken from here are based on bugs from using this buffer container in games, so if we ever break it in the future in a way that might harm games, the tests should fail.
* | common/bit_util: Replace CLZ/CTZ operations with standardized onesLioncash2021-01-152-24/+0
|/ | | | Makes for less code that we need to maintain.
* tests/ring_buffer: Silence signed/unsigned mismatch warningsReinUsesLisp2021-01-091-15/+15
|
* general: Fix various spelling errorsMorph2021-01-021-2/+2
|
* memory: Remove MemoryHookMerryMage2021-01-013-240/+0
|
* hle: kernel: Separate KScheduler from GlobalSchedulerContext class.bunnei2020-12-062-56/+0
|
* tests: Fix warning about comparison between signed and unsignedcomex2020-11-271-2/+2
|
* tests: Fix data race in fibers testReinUsesLisp2020-10-281-31/+40
| | | | | | | | | | | | | | | | | | | 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.
* tests/core_timing: Remove pragma optimize(off)Lioncash2020-08-031-9/+5
| | | | | | | | | | | | | I made a review comment about this in the PR that this was introduced in (#3955, commit 71c4779211dc081a3b2dd4af52edad5748e7a7f5), but it seems to have been missed. We shouldn't be using this pragma here because it's MSVC specific. This causes warnings on other compilers. The test it's surrounding is *extremely* dubious, but for the sake of silencing warnings on other compilers, we can mark "placebo" as volatile and be on with it.
* core_timing: Make use of uintptr_t to represent user_dataLioncash2020-07-281-2/+2
| | | | Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly.
* core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash2020-07-161-6/+8
| | | | Enforces our desired time units directly with a concrete type.
* core_timing: Make use of std::chrono with ScheduleEventLioncash2020-07-161-5/+8
|
* Core/Common: Address Feedback.Fernando Sahmkow2020-06-281-1/+1
|
* Tests/CoreTiming: Correct host timing tests.Fernando Sahmkow2020-06-272-157/+14
|
* CoreTiming: Correct rebase bugs and other miscellaneous things.Fernando Sahmkow2020-06-271-4/+6
|
* General: Cleanup legacy code.Fernando Sahmkow2020-06-271-0/+1
|
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-272-100/+85
| | | | | | | This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
* Tests/HostTiming: Correct GCC Compile error.Fernando Sahmkow2020-06-181-15/+14
|
* Common/Fiber: Implement Rewinding.Fernando Sahmkow2020-06-181-0/+46
|
* Common/Tests: Address FeedbackFernando Sahmkow2020-06-182-24/+24
|
* Common/Tests: Clang Format.Fernando Sahmkow2020-06-181-9/+14
|
* Common: Implement WallClock Interface and implement a native clock for x64Fernando Sahmkow2020-06-181-26/+19
|
* Tests: Add base tests to host timingFernando Sahmkow2020-06-182-0/+151
|
* Common: Polish Fiber class, add comments, asserts and more tests.Fernando Sahmkow2020-06-181-1/+94
|
* Tests: Add tests for fibers and refactor/fix Fiber classFernando Sahmkow2020-06-182-0/+215
|
* Merge pull request #3697 from lioncash/declarationsbunnei2020-04-231-8/+10
|\ | | | | CMakeLists: Enable -Wmissing-declarations on Linux builds
| * General: Resolve warnings related to missing declarationsLioncash2020-04-171-8/+10
| |
* | arm_test_common: Updates for new VMM.bunnei2020-04-171-6/+2
|/
* core/memory: Migrate over memory mapping functions to the new Memory classLioncash2019-11-271-7/+8
| | | | | | Migrates all of the direct mapping facilities over to the new memory class. In the process, this also obsoletes the need for memory_setup.h, so we can remove it entirely from the project.
* core_timing: Use better reference tracking for EventType. (#3159)bunnei2019-11-271-66/+18
| | | | | | | * core_timing: Use better reference tracking for EventType. - Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects. - Removes need for unique names - we won't be using this for save states anyways.
* Core_Timing: Fix tests.Fernando Sahmkow2019-10-121-2/+2
|
* Core Timing: General corrections and added tests.Fernando Sahmkow2019-10-091-3/+153
|
* Tests: Eliminate old Core Timing TestsFernando Sahmkow2019-10-091-193/+0
|
* Merge pull request #2583 from FernandoS27/core-timing-safebunnei2019-06-301-10/+10
|\ | | | | Core_Timing: Make core_timing threadsafe by default.
| * Core_Timing: Make core_timing threadsafe by default.Fernando Sahmkow2019-06-161-10/+10
| | | | | | | | | | | | The old implementation had faulty Threadsafe methods where events could be missing. This implementation unifies unsafe/safe methods and makes core timing thread safe overall.
* | kernel: Differentiate kernel and user processes when picking IDZach Hilman2019-06-101-1/+2
|/ | | | This allows kernel internal type processes to be assigned IDs in the KIP range while userland processes are assigned in the user range.
* kernel: Handle page table switching within MakeCurrentProcess()Lioncash2019-04-071-2/+1
| | | | | Centralizes the page table switching to one spot, rather than making calling code deal with it everywhere.
* Fixes and corrections on formatting.Fernando Sahmkow2019-03-272-30/+11
|
* Add MultiLevelQueue TestsFernando Sahmkow2019-03-272-0/+56
|
* Implement intrinsics CountTrailingZeroes and test it.Fernando Sahmkow2019-03-272-0/+43
|
* Merge pull request #2090 from FearlessTobi/port-4599bunnei2019-03-212-0/+91
|\ | | | | Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField
| * common/bitfield: make it endianness-awareWeiyi Wang2019-02-062-0/+91
| |
* | core: Move PageTable struct into Common.bunnei2019-03-172-5/+6
| |
* | kernel: Make the address arbiter instance per-processLioncash2019-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | Now that we have the address arbiter extracted to its own class, we can fix an innaccuracy with the kernel. Said inaccuracy being that there isn't only one address arbiter. Each process instance contains its own AddressArbiter instance in the actual kernel. This fixes that and gets rid of another long-standing issue that could arise when attempting to create more than one process.
* | kernel/address_arbiter: Pass in system instance to constructorLioncash2019-03-051-3/+3
| | | | | | | | | | Allows getting rid of reliance on the global accessor functions and instead operating on the provided system instance.
* | core_timing: Convert core timing into a classLioncash2019-02-161-103/+112
| | | | | | | | | | | | | | | | | | | | | | Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces.
* | core_timing: Rename CoreTiming namespace to Core::TimingLioncash2019-02-121-84/+85
|/ | | | | | Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
* global: Use std::optional instead of boost::optional (#1578)Frederic L2018-10-302-10/+10
| | | | | | | | | | | | | | | | * get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
* kernel/thread: Use a regular pointer for the owner/current processLioncash2018-10-101-1/+2
| | | | | | | | | | | There's no real need to use a shared pointer in these cases, and only makes object management more fragile in terms of how easy it would be to introduce cycles. Instead, just do the simple thing of using a regular pointer. Much of this is just a hold-over from citra anyways. It also doesn't make sense from a behavioral point of view for a process' thread to prolong the lifetime of the process itself (the process is supposed to own the thread, not the other way around).
* kernel/process: Make data member variables privateLioncash2018-09-301-1/+1
| | | | | | | Makes the public interface consistent in terms of how accesses are done on a process object. It also makes it slightly nicer to reason about the logic of the process class, as we don't want to expose everything to external code.
* memory: Dehardcode the use of a 36-bit address spaceLioncash2018-09-251-2/+5
| | | | | Given games can also request a 32-bit or 39-bit address space, we shouldn't be hardcoding the address space range as 36-bit.
* Merge pull request #1327 from FearlessTobi/port-4171bunnei2018-09-172-16/+0
|\ | | | | Port #4171 from Citra: "Tests: Remove glad test OS X work-around"
| * Tests: Remove glad test OS X work-aroundYuri Kunde Schlesner2018-09-152-16/+0
| |
* | Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-153-18/+19
|/
* common: Implement a ring bufferMerryMage2018-09-082-0/+131
|
* kernel: Eliminate kernel global stateLioncash2018-08-292-1/+3
| | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
* externals: Update catch to 2.3.0Lioncash2018-08-084-4/+4
| | | | Updates the library from 2.2.3 to 2.3.0
* core/memory: Get rid of 3DS leftoversLioncash2018-08-032-57/+0
| | | | Removes leftover code from citra that isn't needed.
* arm_test_common: Get rid of truncation warningsLioncash2018-07-201-2/+5
| | | | Explicitly cast the value to a u8 to show that this is intentional.
* arm_test_common: Make file static variable a member variable of the testing environmentLioncash2018-07-202-2/+5
| | | | Gets rid of file-static behavior.
* arm_test_common: Add missing header guardLioncash2018-07-201-0/+2
|
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-192-39/+0
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* core: Move process creation out of global state.bunnei2018-03-142-6/+6
|
* Kernel: Store the program id in the Process class instead of the CodeSet class.Subv2018-03-022-5/+5
| | | | There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them.
* memory: Replace all memory hooking with Special regionsMerryMage2018-01-272-25/+29
|
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+3
|
* CMakeLists: Derive the source directory grouping from targets themselvesLioncash2018-01-181-15/+11
| | | | | Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
* Fix build on macOS and linuxMerryMage2018-01-131-1/+1
|
* CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119)B3n302018-01-092-0/+238
| | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming
* arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei2018-01-033-13507/+0
|
* hle: Initial implementation of NX service framework and IPC.bunnei2017-10-152-217/+0
|
* Merge remote-tracking branch 'upstream/master' into nxbunnei2017-10-106-0/+13787
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/core/CMakeLists.txt # src/core/arm/dynarmic/arm_dynarmic.cpp # src/core/arm/dyncom/arm_dyncom.cpp # src/core/hle/kernel/process.cpp # src/core/hle/kernel/thread.cpp # src/core/hle/kernel/thread.h # src/core/hle/kernel/vm_manager.cpp # src/core/loader/3dsx.cpp # src/core/loader/elf.cpp # src/core/loader/ncch.cpp # src/core/memory.cpp # src/core/memory.h # src/core/memory_setup.h
| * Moved down_count to CoreTimingHuw Pascoe2017-09-301-1/+1
| |
| * Tests: Added Memory::IsValidVirtualAddress tests.Subv2017-09-272-0/+57
| |
| * Tests: Fixed ARM VFP testsSubv2017-09-271-9/+13
| |
| * memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage2017-09-241-1/+1
| | | | | | | | Don't expose Memory::current_page_table as a global.
| * Tests/VFP: Use a standalone pagetable for the TestEnvironment memory operations.Subv2017-09-151-4/+14
| | | | | | | | This fixes building the tests
| * tests: Add tests for vaddMerryMage2017-07-235-2/+13510
| |
| * tests: Arm testing frameworkMerryMage2017-07-233-0/+208
| |
* | nso: Refactor and allocate .bss section.bunnei2017-09-301-2/+2
|/
* Kernel: Fix typo in test nameYuri Kunde Schlesner2017-06-221-1/+1
|
* Kernel/IPC: Support translation of null handlesYuri Kunde Schlesner2017-06-211-0/+23
| | | | | Missed this in my first implementation. Thanks to @wwylele for pointing out that this was missing.
* Kernel/IPC: Add tests for HLERequestContext buffer translationYuri Kunde Schlesner2017-06-192-2/+196
|
* CMake: Create an INTERFACE target for CatchYuri Kunde Schlesner2017-05-281-4/+2
|
* CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner2017-05-281-2/+3
| | | | | | | | | | Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
* Common: add ParamPackagewwylele2017-03-012-0/+26
|
* tests: add missing libcore dependency after 75ee2f8c6702Jan Beich2016-12-071-1/+1
| | | | | | | | | $ (cmake -DENABLE_SDL2:BOOL=false /path/to/citra; gmake) [...] [ 85%] Linking CXX executable tests ../common/libcommon.a(microprofile.cpp.o): In function `MicroProfileThreadStart(pthread**, void* (*)(void*))': src/common/microprofile.cpp:(.text+0x41): undefined reference to `pthread_create' c++: error: linker command failed with exit code 1 (use -v to see invocation)
* tests: add a work-around for macOS linking errorwwylele2016-11-192-0/+15
|
* FileSys: add PathParserwwylele2016-11-192-0/+39
|
* Tests: Run tests on CIMerryMage2016-05-191-0/+2
|
* tests: Infrastructure for unit testsMerryMage2016-05-192-0/+23