Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common: Add unique function | ReinUsesLisp | 2021-07-09 | 1 | -0/+1 |
| | |||||
* | tests: Add tests for host memory | ReinUsesLisp | 2021-06-11 | 1 | -0/+1 |
| | |||||
* | [network] Error handling reform | comex | 2021-02-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | `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. | ||||
* | tests: Add tests for CityHash | ReinUsesLisp | 2021-02-18 | 1 | -0/+1 |
| | |||||
* | Merge pull request #5262 from ReinUsesLisp/buffer-base | Rodrigo Locatti | 2021-01-16 | 1 | -0/+1 |
|\ | | | | | buffer_cache/buffer_base: Add a range tracking buffer container and tests | ||||
| * | tests: Add unit tests for the GPU range tracking buffer container | ReinUsesLisp | 2021-01-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | 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 ones | Lioncash | 2021-01-15 | 1 | -1/+0 |
|/ | | | | Makes for less code that we need to maintain. | ||||
* | memory: Remove MemoryHook | MerryMage | 2021-01-01 | 1 | -2/+0 |
| | |||||
* | hle: kernel: Separate KScheduler from GlobalSchedulerContext class. | bunnei | 2020-12-06 | 1 | -1/+0 |
| | |||||
* | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 2020-06-27 | 1 | -1/+0 |
| | | | | | | | 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: Add base tests to host timing | Fernando Sahmkow | 2020-06-18 | 1 | -0/+1 |
| | |||||
* | Tests: Add tests for fibers and refactor/fix Fiber class | Fernando Sahmkow | 2020-06-18 | 1 | -0/+1 |
| | |||||
* | Add MultiLevelQueue Tests | Fernando Sahmkow | 2019-03-27 | 1 | -0/+1 |
| | |||||
* | Implement intrinsics CountTrailingZeroes and test it. | Fernando Sahmkow | 2019-03-27 | 1 | -0/+1 |
| | |||||
* | common/bitfield: make it endianness-aware | Weiyi Wang | 2019-02-06 | 1 | -0/+1 |
| | |||||
* | Tests: Remove glad test OS X work-around | Yuri Kunde Schlesner | 2018-09-15 | 1 | -2/+0 |
| | |||||
* | common: Implement a ring buffer | MerryMage | 2018-09-08 | 1 | -0/+1 |
| | |||||
* | core/memory: Get rid of 3DS leftovers | Lioncash | 2018-08-03 | 1 | -1/+0 |
| | | | | Removes leftover code from citra that isn't needed. | ||||
* | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 2018-07-19 | 1 | -1/+0 |
| | | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | ||||
* | CMakeLists: Derive the source directory grouping from targets themselves | Lioncash | 2018-01-18 | 1 | -15/+11 |
| | | | | | Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases. | ||||
* | CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119) | B3n30 | 2018-01-09 | 1 | -0/+1 |
| | | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming | ||||
* | arm: Remove SkyEye/Dyncom code that is ARMv6-only. | bunnei | 2018-01-03 | 1 | -1/+0 |
| | |||||
* | hle: Initial implementation of NX service framework and IPC. | bunnei | 2017-10-15 | 1 | -1/+0 |
| | |||||
* | Tests: Added Memory::IsValidVirtualAddress tests. | Subv | 2017-09-27 | 1 | -0/+1 |
| | |||||
* | tests: Add tests for vadd | MerryMage | 2017-07-23 | 1 | -0/+1 |
| | |||||
* | tests: Arm testing framework | MerryMage | 2017-07-23 | 1 | -0/+2 |
| | |||||
* | Kernel/IPC: Add tests for HLERequestContext buffer translation | Yuri Kunde Schlesner | 2017-06-19 | 1 | -2/+3 |
| | |||||
* | CMake: Create an INTERFACE target for Catch | Yuri Kunde Schlesner | 2017-05-28 | 1 | -4/+2 |
| | |||||
* | CMake: Correct inter-module dependencies and library visibility | Yuri Kunde Schlesner | 2017-05-28 | 1 | -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 ParamPackage | wwylele | 2017-03-01 | 1 | -0/+1 |
| | |||||
* | tests: add missing libcore dependency after 75ee2f8c6702 | Jan Beich | 2016-12-07 | 1 | -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 error | wwylele | 2016-11-19 | 1 | -0/+1 |
| | |||||
* | FileSys: add PathParser | wwylele | 2016-11-19 | 1 | -0/+1 |
| | |||||
* | Tests: Run tests on CI | MerryMage | 2016-05-19 | 1 | -0/+2 |
| | |||||
* | tests: Infrastructure for unit tests | MerryMage | 2016-05-19 | 1 | -0/+14 |