Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4477 from lioncash/log-desig | bunnei | 2020-08-06 | 2 | -21/+15 |
|\ | | | | | logging/backend: Make use of designated initializers | ||||
| * | logging/backend: Make use of designated initializers | Lioncash | 2020-08-03 | 2 | -21/+15 |
| | | | | | | | | Same behavior, less code. | ||||
* | | Merge pull request #4444 from lioncash/volatile | bunnei | 2020-08-05 | 2 | -21/+26 |
|\ \ | |/ |/| | common/atomic_ops: Don't cast away volatile from pointers | ||||
| * | common/atomic_ops: Don't cast away volatile from pointers | Lioncash | 2020-07-28 | 2 | -21/+26 |
| | | | | | | | | Preserves the volatility of the pointers being casted. | ||||
* | | ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) | David | 2020-08-03 | 2 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * ipc: Allow all trivially copyable objects to be passed directly into WriteBuffer With the support of C++20, we can use concepts to deduce if a type is an STL container or not. * More agressive concept for stl containers * Add -fconcepts * Move to common namespace * Add Common::IsBaseOf | ||||
* | | Merge pull request #4263 from lat9nq/fix-screencaps-2 | David | 2020-08-03 | 3 | -0/+3 |
|\ \ | |/ |/| | screenshots: Option to save screenshots immediately in a specified directory + Linux workaround | ||||
| * | common: Add a screenshots directory | lat9nq | 2020-07-21 | 3 | -0/+3 |
| | | | | | | | | Adds a screenshots directory as a path managed by FileUtil. | ||||
* | | Merge pull request #4415 from lioncash/maybe | bunnei | 2020-07-26 | 1 | -1/+1 |
|\ \ | | | | | | | virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]] | ||||
| * | | virtual_buffer: Mark size parameter of FreeMemoryPages() as [[maybe_unused]] | Lioncash | 2020-07-25 | 1 | -1/+1 |
| |/ | | | | | | | | | This isn't used on Windows, but is used on non-Windows operating systems. | ||||
* / | common/string_util: Remove unimplemented function prototype (#4414) | LC | 2020-07-25 | 1 | -12/+0 |
|/ | | | | This function was relocated to log.h as a constexpr function, so this can be removed. | ||||
* | alignment: explicitly include <new> after 723edb4c0659 | Jan Beich | 2020-07-19 | 1 | -0/+1 |
| | | | | | | | | | | In file included from src/core/hle/kernel/memory/page_table.cpp:5: src/./common/alignment.h:67:68: error: no member named 'align_val_t' in namespace 'std' return static_cast<T*>(::operator new (n * sizeof(T), std::align_val_t{Align})); ~~~~~^ src/./common/alignment.h:71:51: error: no member named 'align_val_t' in namespace 'std' ::operator delete (p, n * sizeof(T), std::align_val_t{Align}); ~~~~~^ | ||||
* | alignment: Simplify AlignmentAllocator implementation | Lioncash | 2020-07-17 | 1 | -43/+4 |
| | | | | | With C++20, much of the allocator interface has been simplified, so we can make the same adjustments. | ||||
* | common/swap: Make use of std::endian | Lioncash | 2020-07-14 | 1 | -42/+4 |
| | | | | Allows removing a bunch of defines in favor of a two liner. | ||||
* | common/alignment: Fix compilation errors (#4303) | Tobias | 2020-07-12 | 1 | -1/+3 |
| | |||||
* | Revert "Port citra-emu/citra#5441: "Common: remove a mod from AlignUp"" | bunnei | 2020-07-12 | 1 | -3/+1 |
| | |||||
* | Common: remove a mod from AlignUp (#5441) | Marshall Mohror | 2020-07-11 | 1 | -1/+3 |
| | | | | In cases where the size is not a known constant when inlining, AlignUp<std::size_t> currently generates two 64-bit div instructions. This generates one div and a cmov which is significantly cheaper. | ||||
* | cmake: Fix libfmt linking errors | David Marcec | 2020-07-10 | 1 | -5/+1 |
| | |||||
* | cmake: fix fmt linking when found | John Galt | 2020-07-09 | 1 | -1/+5 |
| | | | | | | | This is a new attempt at #4206 that shouldn't break windows builds. If someone else could test on windows, it would be much appreciated. Previously, the build bot passed but the actual builds failed. | ||||
* | Revert "cmake: fix fmt linking" | bunnei | 2020-07-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4206 from RealJohnGalt/linkfix | bunnei | 2020-07-03 | 1 | -1/+1 |
|\ | | | | | cmake: fix fmt linking | ||||
| * | cmake: fix fmt linking | John Galt | 2020-06-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | On gcc/ld, and clang/lld, fmt::v6 symbols are excluded, so linking fails. This fixes the issue. Note: This was included in the FindBoost changes I shared with BlinkHawk, however only they were merged. I'm not sure if it was missed, or if there was an issue with this part of the change. | ||||
* | | common: switch to nullptr for sysctl's empty new value | Jan Beich | 2020-07-01 | 1 | -4/+4 |
| | | |||||
* | | common: add sysconf() fallback | Jan Beich | 2020-06-30 | 1 | -3/+16 |
|/ | | | | | | src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~ | ||||
* | Core/Common: Address Feedback. | Fernando Sahmkow | 2020-06-28 | 4 | -12/+13 |
| | |||||
* | Common/Kernel: Corrections and small bug fixing. | Fernando Sahmkow | 2020-06-27 | 1 | -6/+1 |
| | |||||
* | Common/NativeClockx86: Reduce native clock accuracy further. | Fernando Sahmkow | 2020-06-27 | 1 | -1/+1 |
| | |||||
* | Common/AtomicOps: Correct GCC Intrinsic argument ordering. | Fernando Sahmkow | 2020-06-27 | 1 | -5/+5 |
| | |||||
* | Clang Format. | Fernando Sahmkow | 2020-06-27 | 3 | -23/+23 |
| | |||||
* | General: Tune the priority of main emulation threads so they have higher priority than less important helper threads. | Fernando Sahmkow | 2020-06-27 | 2 | -0/+55 |
| | |||||
* | X64 Clock: Reduce accuracy to be less or equal to guest accuracy. | Fernando Sahmkow | 2020-06-27 | 2 | -1/+7 |
| | |||||
* | ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes. | Fernando Sahmkow | 2020-06-27 | 3 | -0/+89 |
| | |||||
* | HostTiming: Pause the hardware clock on pause. | Fernando Sahmkow | 2020-06-27 | 4 | -0/+15 |
| | |||||
* | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 2020-06-27 | 1 | -0/+6 |
| | | | | | | | 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. | ||||
* | Merge pull request #3396 from FernandoS27/prometheus-1 | David | 2020-06-27 | 14 | -3/+758 |
|\ | | | | | Implement SpinLocks, Fibers and a Host Timer | ||||
| * | Common: Fix non-conan build | Fernando Sahmkow | 2020-06-26 | 1 | -1/+2 |
| | | |||||
| * | Common/Fiber: Address Feedback and Correct Memory leaks. | Fernando Sahmkow | 2020-06-18 | 2 | -34/+41 |
| | | |||||
| * | Common/Fiber: Implement Rewind on Boost Context. | Fernando Sahmkow | 2020-06-18 | 2 | -2/+39 |
| | | |||||
| * | Common/uint128: Correct MSVC Compilation in old versions. | Fernando Sahmkow | 2020-06-18 | 1 | -0/+4 |
| | | |||||
| * | Common/Fiber: Document fiber interexchange. | Fernando Sahmkow | 2020-06-18 | 1 | -1/+4 |
| | | |||||
| * | Common/Fiber: Implement Rewinding. | Fernando Sahmkow | 2020-06-18 | 2 | -2/+38 |
| | | |||||
| * | Common/Fiber: Additional corrections to f_context. | Fernando Sahmkow | 2020-06-18 | 1 | -4/+4 |
| | | |||||
| * | Common/Fiber: Correct f_context based Fibers. | Fernando Sahmkow | 2020-06-18 | 1 | -6/+8 |
| | | |||||
| * | Core/HostTiming: Allow events to be advanced manually. | Fernando Sahmkow | 2020-06-18 | 2 | -5/+6 |
| | | |||||
| * | Common/Tests: Address Feedback | Fernando Sahmkow | 2020-06-18 | 3 | -8/+8 |
| | | |||||
| * | Common: Make MinGW build use Windows Fibers instead of fcontext_t | Fernando Sahmkow | 2020-06-18 | 2 | -4/+4 |
| | | |||||
| * | Common/Tests: Clang Format. | Fernando Sahmkow | 2020-06-18 | 4 | -18/+21 |
| | | |||||
| * | Common: Correct fcontext fibers. | Fernando Sahmkow | 2020-06-18 | 1 | -5/+4 |
| | | |||||
| * | Common: Refactor & Document Wall clock. | Fernando Sahmkow | 2020-06-18 | 5 | -49/+49 |
| | | |||||
| * | Common: Implement WallClock Interface and implement a native clock for x64 | Fernando Sahmkow | 2020-06-18 | 7 | -0/+348 |
| | | |||||
| * | Tests: Add base tests to host timing | Fernando Sahmkow | 2020-06-18 | 1 | -2/+2 |
| | | |||||
| * | Common: Polish Fiber class, add comments, asserts and more tests. | Fernando Sahmkow | 2020-06-18 | 4 | -24/+53 |
| | | |||||
| * | Tests: Add tests for fibers and refactor/fix Fiber class | Fernando Sahmkow | 2020-06-18 | 2 | -19/+32 |
| | | |||||
| * | Common: Implement a basic Fiber class. | Fernando Sahmkow | 2020-06-18 | 3 | -0/+204 |
| | | |||||
| * | Common: Implement a basic SpinLock class | Fernando Sahmkow | 2020-06-18 | 3 | -0/+68 |
| | | |||||
* | | common/telemetry: Add AVX512 to telemetry | Morph | 2020-06-20 | 1 | -0/+1 |
| | | |||||
* | | common/cpu_detect: Add AVX512 detection | Morph | 2020-06-20 | 2 | -0/+6 |
|/ | |||||
* | Merge pull request #4086 from MerryMage/abi | bunnei | 2020-06-17 | 1 | -66/+29 |
|\ | | | | | xbyak_abi: Cleanup | ||||
| * | xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSize | MerryMage | 2020-06-15 | 1 | -17/+19 |
| | | |||||
| * | xbyak_abi: Register indexes should be unsigned | MerryMage | 2020-06-15 | 1 | -11/+12 |
| | | |||||
| * | xbyak_abi: Remove *GPS variants of stack manipulation functions | MerryMage | 2020-06-15 | 1 | -36/+0 |
| | | |||||
| * | xbyak_abi: Fix ABI_PushRegistersAndAdjustStack | MerryMage | 2020-06-15 | 1 | -6/+2 |
| | | | | | | | | Pushing GPRs twice. | ||||
* | | gl_arb_decompiler: Implement an assembly shader decompiler | ReinUsesLisp | 2020-06-12 | 1 | -0/+2 |
|/ | | | | | | Emit code compatible with NV_gpu_program5. This should emit code compatible with Fermi, but it wasn't tested on that architecture. Pascal has some issues not present on Turing GPUs. | ||||
* | Add xbyak external | David Marcec | 2020-05-30 | 3 | -1/+316 |
| | |||||
* | Fix macOS code and change "Swapfile" to "Swap" | Morph | 2020-05-27 | 1 | -2/+5 |
| | |||||
* | main: Log host system memory parameters | Morph | 2020-05-17 | 3 | -0/+81 |
| | | | | Logs both physical memory and swapfile sizes, this is useful for support. | ||||
* | time_zone: Use std::chrono::seconds for strong typing. | bunnei | 2020-05-13 | 2 | -3/+4 |
| | |||||
* | common: Add module to get the current time zone. | bunnei | 2020-05-11 | 3 | -0/+68 |
| | |||||
* | Replace externals with Conan (#3735) | James Rowe | 2020-05-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | * Remove git submodules that will be loaded through conan * Move custom Find modules to their own folder * Use conan for downloading missing external dependencies * CI: Change the yuzu source folder user to the user that the containers run on * Attempt to remove dirty mingw build hack * Install conan on the msvc build * Only set release build type when using not using multi config generator * Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries * Add workaround for submodules that use legacy CMAKE variables * Re-add USE_BUNDLED_QT on the msvc build bot | ||||
* | acc: Return a unique value per account for GetAccountId | David Marcec | 2020-04-29 | 1 | -0/+5 |
| | |||||
* | Fix -Werror=conversion error. | Markus Wick | 2020-04-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3630 from benru/open-windows-network-files | bunnei | 2020-04-18 | 1 | -1/+8 |
|\ | | | | | common/file_util: Allow access to files on network shares | ||||
| * | common/file_util: Allow access to files on network shares | Ben Russell | 2020-04-09 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | On Windows, network shares use paths like \\server\share\file which were being broken by FileUtil::SanitizePath() removing double slashes. Changed the code in SanitizePath to permit a double-backslash if it occurs at the start of a filepath (on Windows only). | ||||
* | | Merge pull request #3672 from lioncash/null | Fernando Sahmkow | 2020-04-17 | 2 | -9/+33 |
|\ \ | | | | | | | file_util: Early-exit in WriteArray and ReadArray if specified lengths are zero | ||||
| * | | file_util: Early-exit in WriteArray and ReadArray if specified lengths are zero | Lioncash | 2020-04-15 | 2 | -9/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's undefined behavior to pass a null pointer to std::fread and std::fwrite, even if the length passed in is zero, so we must perform the precondition checking ourselves. A common case where this can occur is when passing in the data of an empty std::vector and size, as an empty vector will typically have a null internal buffer. While we're at it, we can move the implementation out of line and add debug checks against passing in nullptr to std::fread and std::fwrite. | ||||
* | | | common: page_table: Update to use VirtualBuffer and simplify. | bunnei | 2020-04-17 | 2 | -53/+18 |
| | | | |||||
* | | | common: Add VirtualBuffer class, to abstract memory virtualization. | bunnei | 2020-04-17 | 3 | -0/+112 |
| | | | |||||
* | | | common: scope_exit: Implement mechanism for canceling a scope exit. | bunnei | 2020-04-17 | 1 | -1/+8 |
| | | | |||||
* | | | common: alignment: Add a helper function for generic alignment checking. | bunnei | 2020-04-17 | 1 | -0/+7 |
| | | | |||||
* | | | common: common_funcs: Add a macro for defining enum flag operators. | bunnei | 2020-04-17 | 1 | -0/+32 |
|/ / | |||||
* | | Merge pull request #3594 from ReinUsesLisp/vk-instance | bunnei | 2020-04-11 | 3 | -0/+183 |
|\ \ | |/ |/| | yuzu: Drop SDL2 and Qt frontend Vulkan requirements | ||||
| * | common/dynamic_library: Import and adapt helper from Dolphin | ReinUsesLisp | 2020-04-07 | 3 | -0/+183 |
| | | |||||
* | | common: Port some changes from dolphin (#5127) | Vitor K | 2020-04-01 | 2 | -15/+16 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * IOFile: Make the move constructor and move assignment operator noexcept Certain parts of the standard library try to determine whether or not a transfer operation should either be a copy or a move. The prevalent notion of move constructors/assignment operators is that they should not throw, they simply move an already existing resource somewhere else. This is typically done with 'std::move_if_noexcept'. Like the name says, if a type's move constructor is noexcept, then the functions retrieves an r-value reference (for move semantics), or an l-value (for copy semantics) if it is not noexcept. As IOFile deletes the copy constructor and copy assignment operators, using IOFile with certain parts of the standard library can fail in unexcepted ways (especially when used with various container implementations). This prevents that. * fix various instances of -1 being assigned to unsigned types * do not assign in conditional statements * File/IOFile: Check _tfopen_s properly * common/file_util.cpp: address review comments Co-authored-by: Lioncash <mathew1800@gmail.com> Co-authored-by: Shawn Hoffman <godisgovernment@gmail.com> Co-authored-by: Sepalani <sepalani@hotmail.fr> | ||||
* | Merge pull request #3508 from FernandoS27/page-table | bunnei | 2020-03-14 | 2 | -3/+24 |
|\ | | | | | PageTable: move backing addresses to a children class as the CPU page table does not need them. | ||||
| * | PageTable: move backing addresses to a children class as the CPU page table does not need them. | Fernando Sahmkow | 2020-03-14 | 2 | -3/+24 |
| | | | | | | | | | | | | This PR aims to reduce the memory usage in the CPU page table by moving GPU specific parameters into a child class. This saves 1Gb of Memory for most games. | ||||
* | | shader/transform_feedback: Add host API friendly TFB builder | ReinUsesLisp | 2020-03-13 | 1 | -0/+2 |
| | | |||||
* | | video_core: Rename "const buffer locker" to "registry" | ReinUsesLisp | 2020-03-09 | 1 | -2/+2 |
| | | |||||
* | | gl_shader_cache: Rework shader cache and remove post-specializations | ReinUsesLisp | 2020-03-09 | 1 | -2/+0 |
|/ | | | | | Instead of pre-specializing shaders and then post-specializing them, drop the later and only "specialize" the shader while decoding it. | ||||
* | common/math_util: Support float type rectangles | ReinUsesLisp | 2020-02-28 | 1 | -2/+14 |
| | |||||
* | Merge pull request #3326 from FearlessTobi/port-5039 | bunnei | 2020-01-25 | 4 | -36/+23 |
|\ | | | | | Port citra-emu/citra#5039: "common/logging: don't use regex for path trimming" | ||||
| * | common/logging: don't use regex for path trimming | BreadFish64 | 2020-01-23 | 4 | -36/+23 |
| | | |||||
* | | Address second part of review comments | FearlessTobi | 2020-01-23 | 1 | -1/+1 |
| | | |||||
* | | Input: UDP Client to provide motion and touch controls | fearlessTobi | 2020-01-23 | 1 | -0/+9 |
|/ | | | | | | | | An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com> | ||||
* | Remove unused CPU Vendor string and telemtry field | James Rowe | 2020-01-18 | 3 | -114/+0 |
| | | | | The information is duplicated in the brand string and the telemetry field is unused | ||||
* | Fix git version in scm_rev.cpp | James Rowe | 2020-01-16 | 1 | -0/+5 |
| | |||||
* | common: SPSCQueue: Notify after incrementing queue size. | bunnei | 2019-12-17 | 1 | -2/+9 |
| | |||||
* | fix clang-format and lambda capture | Weiyi Wang | 2019-11-23 | 1 | -1/+2 |
| | |||||
* | unfold UNREACHABLE implementation for dumb compilers | Weiyi Wang | 2019-11-23 | 1 | -2/+2 |
| | | | We relies on UNREACHABLE's noreturn attribute to eliminate parent's "no return value" warning. However, this was wrapped in a `if(!false)` block, which compilers may not unfold to recognize the noreturn nature. | ||||
* | common/logging: Silence no return value warnings | ReinUsesLisp | 2019-11-15 | 1 | -2/+6 |
| | |||||
* | common_funcs: Remove semicolons from INSERT_PADDING_* macros | Lioncash | 2019-11-14 | 1 | -4/+6 |
| | | | | | Makes code that uses the macros consistent by requiring the lines to be terminated with a semicolon. | ||||
* | common/hash: Remove unused HashableStruct | Lioncash | 2019-11-13 | 1 | -35/+0 |
| | | | | | This is unused, so it can be removed. There's better ways of ensuring zeroed out padding bits, like using zero-initialization, anyhow. | ||||
* | common_funcs: silence sign-conversion warnings in MakeMagic() | Lioncash | 2019-11-13 | 1 | -1/+1 |
| | | | | | We can trivially resolve these by casting the characters to unsigned values and then shifting the bits. | ||||
* | ci: Populate build repository from Azure environment | Zach Hilman | 2019-11-06 | 1 | -11/+2 |
| | |||||
* | common_func: Use std::array for INSERT_PADDING_* macros. | bunnei | 2019-11-04 | 2 | -12/+17 |
| | | | | - Zero initialization here is useful for determinism. | ||||
* | common/bit_field: Remove FORCE_INLINE calls | Tobias | 2019-11-03 | 1 | -2/+2 |
| | | | | See bunneis comment here https://github.com/citra-emu/citra/pull/4629#discussion_r258533167. They were supposed to be removed by him, but he missed them. | ||||
* | Merge pull request #2971 from FernandoS27/new-scheduler-v2 | David | 2019-10-28 | 1 | -0/+7 |
|\ | | | | | Kernel: Implement a New Thread Scheduler V2 | ||||
| * | Kernel Scheduler: Make sure the global scheduler shutdowns correctly. | Fernando Sahmkow | 2019-10-15 | 1 | -0/+7 |
| | | |||||
* | | Shader_IR: Address Feedback. | Fernando Sahmkow | 2019-10-26 | 1 | -1/+1 |
| | | |||||
* | | VideoCore: Unify const buffer accessing along engines and provide ConstBufferLocker class to shaders. | Fernando Sahmkow | 2019-10-25 | 2 | -2/+15 |
| | | |||||
* | | common/algorithm: Add description comment indicating intended algorithms | Lioncash | 2019-10-15 | 1 | -0/+5 |
| | | | | | | | | | | Makes it explicit that the header is intended for iterator-based algorithms that can ideally operate on any type. | ||||
* | | common: Rename binary_find.h to algorithm.h | Lioncash | 2019-10-15 | 2 | -1/+2 |
|/ | | | | | | Makes the header more general for other potential algorithms in the future. While we're at it, include a missing <functional> include to satisfy the use of std::less. | ||||
* | alignment: Resolve allocator construction issues on debug | Lioncash | 2019-10-07 | 1 | -0/+5 |
| | | | | | | | | | | | This was related to the source allocator being passed into the constructor potentially having a different type than allocator being constructed. We simply need to provide a constructor to handle this case. This resolves issues related to the allocator causing debug builds on MSVC to fail. | ||||
* | alignment: Specify trait definitions within the allocator | Lioncash | 2019-10-07 | 1 | -0/+5 |
| | | | | | Allows containers and other data structures to consider optimizations based off of them. We satisfy all of these requirements anyways. | ||||
* | Merge pull request #2942 from ReinUsesLisp/clang-warnings | bunnei | 2019-10-06 | 1 | -1/+2 |
|\ | | | | | Silence miscellaneous warnings | ||||
| * | common/file_util: Silence -Wswitch | ReinUsesLisp | 2019-10-05 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #2943 from DarkLordZach/azure-titlebars-v2 | bunnei | 2019-10-06 | 3 | -0/+21 |
|\ \ | | | | | | | ci: Add custom titlebars for mainline and patreon | ||||
| * | | common: Add additional SCM revision fields | Zach Hilman | 2019-10-05 | 3 | -0/+21 |
| |/ | |||||
* | | Shader_Ir: Refactor Decompilation process and allow multiple decompilation modes. | Fernando Sahmkow | 2019-10-05 | 1 | -0/+2 |
| | | |||||
* | | shader_ir: Corrections to outward movements and misc stuffs | Fernando Sahmkow | 2019-10-05 | 1 | -0/+4 |
|/ | |||||
* | cmake: Add SCM detection for Azure | Zach Hilman | 2019-09-22 | 1 | -0/+3 |
| | |||||
* | log: Add logging class for Cheat Engine | Zach Hilman | 2019-09-22 | 2 | -0/+2 |
| | | | This is better than just using something like Common.Filesystem or Common.Memory | ||||
* | shader_ir: Implement VOTE | ReinUsesLisp | 2019-08-21 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement VOTE using Nvidia's intrinsics. Documentation about these can be found here https://developer.nvidia.com/reading-between-threads-shader-intrinsics Instead of using portable ARB instructions I opted to use Nvidia intrinsics because these are the closest we have to how Tegra X1 hardware renders. To stub VOTE on non-Nvidia drivers (including nouveau) this commit simulates a GPU with a warp size of one, returning what is meaningful for the instruction being emulated: * anyThreadNV(value) -> value * allThreadsNV(value) -> value * allThreadsEqualNV(value) -> true ballotARB, also known as "uint64_t(activeThreadsNV())", emits VOTE.ANY Rd, PT, PT; on nouveau's compiler. This doesn't match exactly to Nvidia's code VOTE.ALL Rd, PT, PT; Which is emulated with activeThreadsNV() by this commit. In theory this shouldn't really matter since .ANY, .ALL and .EQ affect the predicates (set to PT on those cases) and not the registers. | ||||
* | Common/Alignment: Add noexcept where required. | Fernando Sahmkow | 2019-07-20 | 1 | -5/+5 |
| | |||||
* | Kernel: Address Feedback | Fernando Sahmkow | 2019-07-19 | 1 | -3/+2 |
| | |||||
* | Common: Correct alignment allocator to work on C++14 or higher. | Fernando Sahmkow | 2019-07-19 | 1 | -37/+19 |
| | |||||
* | VM_Manager: Align allocated memory to 256bytes | Fernando Sahmkow | 2019-07-19 | 1 | -0/+79 |
| | | | | | | This commit ensures that all backing memory allocated for the Guest CPU is aligned to 256 bytes. This due to how gpu memory works and the heavy constraints it has in the alignment of physical memory. | ||||
* | shader_ir: Implement a new shader scanner | Fernando Sahmkow | 2019-07-09 | 1 | -0/+2 |
| | |||||
* | texture_cache: Address Feedback | Fernando Sahmkow | 2019-07-05 | 3 | -10/+22 |
| | |||||
* | common/alignment: Address feedback | ReinUsesLisp | 2019-06-24 | 1 | -2/+3 |
| | |||||
* | shader: Decode SUST and implement backing image functionality | ReinUsesLisp | 2019-06-21 | 1 | -0/+1 |
| | |||||
* | texture_cache: Optimize GetMipBlockHeight and GetMipBlockDepth | Fernando Sahmkow | 2019-06-21 | 1 | -0/+44 |
| | |||||
* | video_core: Use un-shifted block sizes to avoid integer divisions | ReinUsesLisp | 2019-06-21 | 1 | -0/+5 |
| | | | | | | | | | | | | Instead of storing all block width, height and depths in their shifted form: block_width = 1U << block_shift; Store them like they are provided by the emulated hardware (their block_shift form). This way we can avoid doing the costly Common::AlignUp operation to align texture sizes and drop CPU integer divisions with bitwise logic (defined in Common::AlignBits). | ||||
* | Reduce amount of size calculations. | Fernando Sahmkow | 2019-06-21 | 1 | -0/+11 |
| | |||||
* | common/hex_util: Reserve std::string memory ahead of time | Lioncash | 2019-06-12 | 1 | -0/+5 |
| | | | | | | | | Avoids potentially performing multiple reallocations (depending on the size of the input data) by reserving the necessary amount of memory ahead of time. This is trivially doable, so there's no harm in it. | ||||
* | common/hex_util: Combine HexVectorToString() and HexArrayToString() | Lioncash | 2019-06-12 | 2 | -11/+7 |
| | | | | | | These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays. | ||||
* | cmake: Add missing shader hash file entries | ReinUsesLisp | 2019-06-07 | 1 | -0/+3 |
| | |||||
* | common/math_util: Provide a template deduction guide for Common::Rectangle | Lioncash | 2019-05-31 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type. | ||||
* | Merge pull request #1931 from DarkLordZach/mii-database-1 | bunnei | 2019-05-30 | 3 | -0/+83 |
|\ | | | | | mii: Implement MiiManager backend and several mii service commands | ||||
| * | mii: Implement Delete and Destroy file | Zach Hilman | 2019-04-25 | 1 | -5/+6 |
| | | |||||
| * | mii_manager: Cleanup and optimization | Zach Hilman | 2019-04-25 | 2 | -3/+5 |
| | | |||||
| * | common: Extract UUID to its own class | Zach Hilman | 2019-04-25 | 3 | -0/+80 |
| | | | | | | Since the Mii database uses UUIDs very similar to the Accounts database, it makes no sense to not share code between them. | ||||
* | | common/file_util: Remove unnecessary return at end of void StripTailDirSlashes() | Lioncash | 2019-05-23 | 1 | -6/+8 |
| | | | | | | | | While we're at it, also invert the conditional into a guard clause. | ||||
* | | common/file_util: Make GetCurrentDir() return a std::optional | Lioncash | 2019-05-23 | 2 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | | nullptr was being returned in the error case, which, at a glance may seem perfectly OK... until you realize that std::string has the invariant that it may not be constructed from a null pointer. This means that if this error case was ever hit, then the application would most likely crash from a thrown exception in std::string's constructor. Instead, we can change the function to return an optional value, indicating if a failure occurred. | ||||
* | | common/file_util: Remove duplicated documentation comments | Lioncash | 2019-05-23 | 1 | -25/+0 |
| | | | | | | | | | | These are already present within the header, so they don't need to be repeated in the cpp file. | ||||
* | | common/file_util: Make ReadFileToString and WriteStringToFile consistent | Lioncash | 2019-05-23 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Makes the parameter ordering consistent, and also makes the filename parameter a std::string. A std::string would be constructed anyways with the previous code, as IOFile's only constructor with a filepath is one taking a std::string. We can also make WriteStringToFile's string parameter utilize a std::string_view for the string, making use of our previous changes to IOFile. | ||||
* | | common/file_util: Remove unnecessary c_str() calls | Lioncash | 2019-05-23 | 1 | -2/+2 |
| | | | | | | | | | | | | The file stream open functions have supported std::string overloads since C++11, so we don't need to use c_str() here. Same behavior, less code. | ||||
* | | common/file_util: Make IOFile's WriteString take a std::string_view | Lioncash | 2019-05-23 | 1 | -2/+2 |
| | | | | | | | | | | | | We don't need to force the usage of a std::string here, and can instead use a std::string_view, which allows writing out other forms of strings (e.g. C-style strings) without any unnecessary heap allocations. | ||||
* | | common/zstd_compression: Remove #pragma once directive from source file | Lioncash | 2019-05-04 | 1 | -2/+0 |
|/ | | | | | Introduced in 72477731ed20c56a4d6f18a22f43224fab667cef. This is only necessary within header files. | ||||
* | common/{lz4_compression, zstd_compression}: Add missing header guards | Lioncash | 2019-04-15 | 2 | -0/+4 |
| | | | | These two files were missing the #pragma once directive. | ||||
* | Merge pull request #2391 from lioncash/scope | bunnei | 2019-04-13 | 1 | -1/+1 |
|\ | | | | | common/scope_exit: Replace std::move with std::forward in ScopeExit() | ||||
| * | common/scope_exit: Replace std::move with std::forward in ScopeExit() | Lioncash | 2019-04-12 | 1 | -1/+1 |
| | | | | | | | | | | | | The template type here is actually a forwarding reference, not an rvalue reference in this case, so it's more appropriate to use std::forward to preserve the value category of the type being moved. | ||||
* | | common/swap: Improve codegen of the default swap fallbacks | Lioncash | 2019-04-12 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses arithmetic that can be identified more trivially by compilers for optimizations. e.g. Rather than shifting the halves of the value and then swapping and combining them, we can swap them in place. e.g. for the original swap32 code on x86-64, clang 8.0 would generate: mov ecx, edi rol cx, 8 shl ecx, 16 shr edi, 16 rol di, 8 movzx eax, di or eax, ecx ret while GCC 8.3 would generate the ideal: mov eax, edi bswap eax ret now both generate the same optimal output. MSVC used to generate the following with the old code: mov eax, ecx rol cx, 8 shr eax, 16 rol ax, 8 movzx ecx, cx movzx eax, ax shl ecx, 16 or eax, ecx ret 0 Now MSVC also generates a similar, but equally optimal result as clang/GCC: bswap ecx mov eax, ecx ret 0 ==== In the swap64 case, for the original code, clang 8.0 would generate: mov eax, edi bswap eax shl rax, 32 shr rdi, 32 bswap edi or rax, rdi ret (almost there, but still missing the mark) while, again, GCC 8.3 would generate the more ideal: mov rax, rdi bswap rax ret now clang also generates the optimal sequence for this fallback as well. This is a case where MSVC unfortunately falls short, despite the new code, this one still generates a doozy of an output. mov r8, rcx mov r9, rcx mov rax, 71776119061217280 mov rdx, r8 and r9, rax and edx, 65280 mov rax, rcx shr rax, 16 or r9, rax mov rax, rcx shr r9, 16 mov rcx, 280375465082880 and rax, rcx mov rcx, 1095216660480 or r9, rax mov rax, r8 and rax, rcx shr r9, 16 or r9, rax mov rcx, r8 mov rax, r8 shr r9, 8 shl rax, 16 and ecx, 16711680 or rdx, rax mov eax, -16777216 and rax, r8 shl rdx, 16 or rdx, rcx shl rdx, 16 or rax, rdx shl rax, 8 or rax, r9 ret 0 which is pretty unfortunate. | ||||
* | | common/swap: Mark byte swapping free functions with [[nodiscard]] and noexcept | Lioncash | 2019-04-12 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | Allows the compiler to inform when the result of a swap function is being ignored (which is 100% a bug in all usage scenarios). We also mark them noexcept to allow other functions using them to be able to be marked as noexcept and play nicely with things that potentially inspect "nothrowability". | ||||
* | | common/swap: Simplify swap function ifdefs | Lioncash | 2019-04-12 | 1 | -48/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Including every OS' own built-in byte swapping functions is kind of undesirable, since it adds yet another build path to ensure compilation succeeds on. Given we only support clang, GCC, and MSVC for the time being, we can utilize their built-in functions directly instead of going through the OS's API functions. This shrinks the overall code down to just if (msvc) use msvc's functions else if (clang or gcc) use clang/gcc's builtins else use the slow path | ||||
* | | common/swap: Remove 32-bit ARM path | Lioncash | 2019-04-12 | 1 | -13/+0 |
|/ | | | | | We don't plan to support host 32-bit ARM execution environments, so this is essentially dead code. | ||||
* | Merge pull request #2300 from FernandoS27/null-shader | bunnei | 2019-04-07 | 1 | -0/+18 |
|\ | | | | | shader_cache: Permit a Null Shader in case of a bad host_ptr. | ||||
| * | Permit a Null Shader in case of a bad host_ptr. | Fernando Sahmkow | 2019-04-07 | 1 | -0/+18 |
| | | |||||
* | | Merge pull request #2098 from FreddyFunk/disk-cache-zstd | bunnei | 2019-04-07 | 3 | -1/+98 |
|\ \ | | | | | | | gl_shader_disk_cache: Use Zstandard for compression | ||||
| * | | common/zstd_compression: simplify decompression interface | unknown | 2019-03-29 | 2 | -10/+9 |
| | | | |||||
| * | | common/zstd_compression: Add Zstandard wrapper | unknown | 2019-03-29 | 3 | -0/+98 |
| | | | |||||
| * | | common: Link libzstd_static | unknown | 2019-03-29 | 1 | -1/+1 |
| | | | |||||
* | | | common/multi_level_queue: Silence truncation warning in iterator operator++ | Lioncash | 2019-04-05 | 1 | -1/+1 |
| | | | |||||
* | | | common/bit_util: Make CountLeading/CountTrailing functions have the same return types | Lioncash | 2019-04-05 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | Makes the return type consistently uniform (like the intrinsics we're wrapping). This also conveniently silences a truncation warning within the kernel multi_level_queue. | ||||
* | | | common/lz4_compression: Remove #pragma once directive from the cpp file | Lioncash | 2019-04-04 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | Introduced within 798d76f4c7018174e58702fb06a042dc8c84f0be, this only really has an effect within header files. Silences a -Wpragma-once-outside-header warning with clang. | ||||
* | | | Merge pull request #2093 from FreddyFunk/disk-cache-better-compression | bunnei | 2019-04-04 | 3 | -0/+136 |
|\| | | | | | | | | Better LZ4 compression utilization for the disk based shader cache and the yuzu build system | ||||
| * | | Addressed feedback | unknown | 2019-03-29 | 5 | -81/+135 |
| | | | |||||
| * | | gl_shader_disk_cache: Use better compression for transferable and precompiled shader disk chache files | unknown | 2019-03-29 | 2 | -8/+24 |
| | | | |||||
| * | | data_compression: Move LZ4 compression from video_core/gl_shader_disk_cache to common/data_compression | unknown | 2019-03-29 | 3 | -0/+66 |
| | | | |||||
* | | | general: Use deducation guides for std::lock_guard and std::unique_lock | Lioncash | 2019-04-01 | 4 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | | Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future. | ||||
* | | | Merge pull request #2303 from lioncash/thread | bunnei | 2019-03-31 | 2 | -41/+0 |
|\ \ \ | |/ / |/| | | common/thread: Remove unused functions | ||||
| * | | common/thread: Remove unused functions | Lioncash | 2019-03-29 | 2 | -41/+0 |
| |/ | | | | | | | | | | | | | | | | | | | Many of these functions are carried over from Dolphin (where they aren't used anymore). Given these have no use (and we really shouldn't be screwing around with OS-specific thread scheduler handling from the emulator, these can be removed. The function for setting the thread name is left, however, since it can have debugging utility usages. | ||||
* | | Fixes and corrections on formatting. | Fernando Sahmkow | 2019-03-27 | 2 | -5/+10 |
| | | |||||
* | | Fixes to multilevelqueue's iterator. | Fernando Sahmkow | 2019-03-27 | 1 | -1/+5 |
| | | |||||
* | | Use MultiLevelQueue instead of old ThreadQueueList | Fernando Sahmkow | 2019-03-27 | 1 | -12/+10 |
| | | |||||
* | | Implement intrinsics CountTrailingZeroes and test it. | Fernando Sahmkow | 2019-03-27 | 1 | -12/+33 |
| | | |||||
* | | Implement a MultiLevelQueue | Fernando Sahmkow | 2019-03-27 | 3 | -0/+349 |
|/ | |||||
* | Merge pull request #2256 from bunnei/gpu-vmm | bunnei | 2019-03-22 | 3 | -5/+10 |
|\ | | | | | gpu: Rewrite MemoryManager based on the VMManager implementation. | ||||
| * | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 2019-03-21 | 2 | -1/+7 |
| | | |||||
| * | gpu: Move GPUVAddr definition to common_types. | bunnei | 2019-03-21 | 1 | -4/+3 |
| | | |||||
* | | common/bit_util: Fix bad merge duplicating the copy constructor | Lioncash | 2019-03-21 | 1 | -2/+0 |
| | | | | | | | | | | Introduced as a result of #2090, we already define the copy constructor further down below, so this isn't needed. | ||||
* | | Merge pull request #2090 from FearlessTobi/port-4599 | bunnei | 2019-03-21 | 2 | -38/+150 |
|\ \ | | | | | | | Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField | ||||
| * | | Make bitfield assignment operator public | fearlessTobi | 2019-02-13 | 1 | -6/+2 |
| | | | | | | | | | | | | | | | | | | This change needs to be made to get the code compiling again. It was suggested after a conversation with Lioncash. The conversation can be seen here: https://user-images.githubusercontent.com/20753089/45064197-b6107800-b0b2-11e8-9db8-f696299fb86a.PNG | ||||
| * | | common/bitfield: make it endianness-aware | Weiyi Wang | 2019-02-06 | 1 | -3/+9 |
| | | | |||||
| * | | common/swap: remove default value for swap type internal storage | Weiyi Wang | 2019-02-06 | 1 | -1/+1 |
| | | | | | | | | | | | | This is compromise for swap type being used in union. A union has deleted default constructor if it has at least one variant member with non-trivial default constructor, and no variant member of T has a default member initializer. In the use case of Bitfield, all variant members will be the swap type on endianness mismatch, which would all have non-trivial default constructor if default value is specified, and non of them can have member initializer | ||||
| * | | common/swap: use template and tag for LE/BE specification | Weiyi Wang | 2019-02-06 | 1 | -39/+91 |
| | | | | | | | | | | | | The tag can be useful for other type-generic templates like BitFields to forward the endianness specification | ||||
| * | | common/swap: add swap template for enum | Weiyi Wang | 2019-02-06 | 1 | -0/+52 |
| | | | |||||
* | | | common/uint128: Add missing header guard | Lioncash | 2019-03-21 | 1 | -0/+2 |
| | | | |||||
* | | | common/uint128: Add missing top-file source text | Lioncash | 2019-03-21 | 2 | -0/+7 |
| |/ |/| | |||||
* | | common/CMakeLists: Amend boost dependency | Lioncash | 2019-03-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | When #2247 was created, thread_queue_list.h was the only user of boost-related code, however #2252 moved the page table struct into common, which makes use of Boost.ICL, so we need to add the dependency to the common library's link interface again. | ||||
* | | Merge pull request #2247 from lioncash/include | bunnei | 2019-03-21 | 2 | -4/+4 |
|\ \ | | | | | | | common/thread_queue_list: Remove unnecessary dependency on boost | ||||
| * | | common/thread_queue_list: Remove unnecessary dependency on boost | Lioncash | 2019-03-16 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We really don't need to pull in several headers of boost related machinery just to perform the erase-remove idiom (particularly with C++20 around the corner, which adds universal container std::erase and std::erase_if, which we can just use instead). With this, we don't need to link in anything boost-related into common. | ||||
* | | | core: Move PageTable struct into Common. | bunnei | 2019-03-17 | 5 | -0/+171 |
| | | | |||||
* | | | Merge pull request #2129 from FernandoS27/cntpct | bunnei | 2019-03-17 | 3 | -0/+57 |
|\ \ \ | |/ / |/| | | Correct CNTPCT from using CPU Cycles to using Clock Cycles | ||||
| * | | Corrections, documenting and fixes. | Fernando Sahmkow | 2019-02-16 | 2 | -9/+11 |
| | | | |||||
| * | | Use u128 on Clock Cycles calculation. | Fernando Sahmkow | 2019-02-16 | 2 | -21/+26 |
| | | | |||||
| * | | Implement 128 bits Unsigned Integer Multiplication and Division. | Fernando Sahmkow | 2019-02-16 | 3 | -0/+50 |
| | | | |||||
* | | | Merge pull request #2147 from ReinUsesLisp/texture-clean | bunnei | 2019-03-10 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | shader_ir: Remove "extras" from the MetaTexture | ||||
| * | | | shader/decode: Split memory and texture instructions decoding | ReinUsesLisp | 2019-02-26 | 1 | -0/+1 |
| | | | | |||||
* | | | | common/bit_field: Make BitField trivially copyable | Lioncash | 2019-03-07 | 1 | -9/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the class much more flexible and doesn't make performing copies with classes that contain a bitfield member a pain. Given BitField instances are only intended to be used within unions, the fact the full storage value would be copied isn't a big concern (only sizeof(union_type) would be copied anyways). While we're at it, provide defaulted move constructors for consistency. | ||||
* | | | | logging/backend: Make time_origin a class variable instead of a local static | Lioncash | 2019-03-02 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves local global state into the Impl class itself and initializes it at the creation of the instance instead of in the function. This makes it nicer for weakly-ordered architectures, given the CreateEntry() class won't need to have atomic loads executed for each individual call to the CreateEntry class. | ||||
* | | | | logging/backend: Move CreateEntry into the Impl class | Lioncash | 2019-03-02 | 2 | -29/+26 |
| | | | | | | | | | | | | | | | | | | | | This function is only ever used within this source file and makes it easier to remove static state in the following change. | ||||
* | | | | common/math_util: Move contents into the Common namespace | Lioncash | 2019-02-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | These types are within the common library, so they should be within the Common namespace. | ||||
* | | | | common/vector_math: Move Vec[x] types into the Common namespace | Lioncash | 2019-02-27 | 3 | -25/+25 |
| | | | | | | | | | | | | | | | | | | | | These types are within the common library, so they should be using the Common namespace. | ||||
* | | | | common/quaternion: Move Quaternion into the Common namespace | Lioncash | 2019-02-27 | 1 | -2/+2 |
|/ / / | | | | | | | | | | | | | Quaternion is within the common library, so it should be using the Common namespace. | ||||
* | | | Remove GCC version checks | tgsm | 2019-02-24 | 1 | -3/+3 |
| | | | | | | | | | | | | Citra can't be compiled using GCC <7 because of required C++17 support, so these version checks don't need to exist anymore. | ||||
* | | | Adressed review comments | B3n30 | 2019-02-15 | 2 | -7/+9 |
| | | | |||||
* | | | threadsafe_queue: Add WaitIfEmpty and use it in logging | B3n30 | 2019-02-15 | 3 | -14/+26 |
|/ / | |||||
* | | Merge pull request #2113 from ReinUsesLisp/vulkan-base | bunnei | 2019-02-14 | 2 | -0/+2 |
|\ \ | | | | | | | vulkan: Add dependencies and device abstraction | ||||
| * | | logging: Add Vulkan backend logging class type | ReinUsesLisp | 2019-02-12 | 2 | -0/+2 |
| | | | |||||
* | | | threadsafe_queue: Use std::size_t for representing size | Lioncash | 2019-02-13 | 1 | -7/+6 |
| | | | | | | | | | | | | | | | | | | Makes it consistent with the regular standard containers in terms of size representation. This also gets rid of dependence on our own type aliases, removing the need for an include. | ||||
* | | | threadsafe_queue: Remove NeedSize template parameter | Lioncash | 2019-02-13 | 1 | -13/+11 |
|/ / | | | | | | | | | | | The necessity of this parameter is dubious at best, and in 2019 probably offers completely negligible savings as opposed to just leaving this enabled. This removes it and simplifies the overall interface. | ||||
* | | cmake: Fix title bar issue | ReinUsesLisp | 2019-02-07 | 1 | -1/+14 |
| | | |||||
* | | cmake: Use CMAKE_COMMAND instead of "cmake" | Frederic L | 2019-02-07 | 1 | -1/+1 |
| | | | | | | Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc> | ||||
* | | gl_shader_disk_cache: Invalidate shader cache changes with CMake hash | ReinUsesLisp | 2019-02-07 | 3 | -39/+56 |
| | | |||||
* | | file_util: Add shader directory | ReinUsesLisp | 2019-02-07 | 3 | -0/+3 |
|/ | |||||
* | Merge pull request #1928 from lioncash/caps | bunnei | 2018-12-27 | 2 | -0/+62 |
|\ | | | | | kernel: Handle kernel capability descriptors | ||||
| * | common: Add basic bit manipulation utility function to Common | Lioncash | 2018-12-21 | 2 | -0/+62 |
| | | |||||
* | | common/quaternion: Ensure that w is always initialized | Lioncash | 2018-12-21 | 1 | -1/+1 |
|/ | | | | | Previously xyz was always being zero initialized due to its constructor, but w wasn't. Ensures that we always have a deterministic initial state. | ||||
* | Merge pull request #1732 from DarkLordZach/yield-types | bunnei | 2018-12-15 | 1 | -0/+16 |
|\ | | | | | svc: Implement yield types 0 and -1 | ||||
| * | scheduler: Add explanations for YieldWith and WithoutLoadBalancing | Zach Hilman | 2018-11-22 | 1 | -2/+2 |
| | | |||||
| * | svc: Implement yield types 0 and -1 | Zach Hilman | 2018-11-19 | 1 | -0/+16 |
| | | |||||
* | | Backport review comment from citra-emu/citra#4418 | Tobias | 2018-12-07 | 1 | -2/+2 |
| | | | | | | | | Original reason: As Windows multi-byte character codec is unspecified while we always assume std::string uses UTF-8 in our code base, this can output gibberish when the string contains non-ASCII characters. ::OutputDebugStringW combined with Common::UTF8ToUTF16W is preferred here. | ||||
* | | Merge pull request #1773 from lioncash/thread | bunnei | 2018-11-23 | 2 | -41/+14 |
|\ \ | | | | | | | common/thread: Minor cleanup | ||||
| * | | common/thread: Drop Hungarian notation on SetCurrentThreadName's parameter | Lioncash | 2018-11-22 | 1 | -7/+7 |
| | | | | | | | | | | | | This is inconsistent with our coding style. | ||||
| * | | common/thread: Make Barrier's 'count' member non-const | Lioncash | 2018-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While admirable as a means to ensure immutability, this has the unfortunate downside of making the class non-movable. std::move cannot actually perform a move operation if the provided operand has const data members (std::move acts as an operation to "slide" resources out of an object instance). Given Barrier contains move-only types such as std::mutex, this can lead to confusing error messages if an object ever contained a Barrier instance and said object was attempted to be moved. | ||||
| * | | common/thread: Initialize class member variables where applicable | Lioncash | 2018-11-22 | 1 | -6/+4 |
| | | | | | | | | | | | | Simplifies the constructor interfaces for Barrier and Event classes. | ||||
| * | | common/thread: Group non-member functions together | Lioncash | 2018-11-22 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | Keeps the non-member interface in one spot instead of split into two places, making it nicer to locate functions. | ||||
| * | | common/thread: Remove SleepCurrentThread() | Lioncash | 2018-11-22 | 2 | -12/+0 |
| | | | | | | | | | | | | | | | | | | | | | This is also unused and superceded by standard functionality. The standard library provides std::this_thread::sleep_for(), which provides a much more flexible interface, as different time units can be used with it. | ||||
| * | | common/thread: Remove unused CurrentThreadId() | Lioncash | 2018-11-22 | 2 | -12/+0 |
| | | | | | | | | | | | | | | | | | | This is an old function that's no longer necessary. C++11 introduced proper threading support to the language and a thread ID can be retrieved via std::this_thread::get_id() if it's ever needed. | ||||
* | | | common: Remove bit_set.h | Lioncash | 2018-11-22 | 2 | -245/+0 |
|/ / | | | | | | | | | | | | | This is an analog of BitSet from Dolphin that was introduced to allow iterating over a set of bits. Given it's currently unused, and given that std::bitset exists, we can remove this. If it's ever needed in the future it can be brought back. | ||||
* | | Merge pull request #1758 from lioncash/rect | bunnei | 2018-11-21 | 1 | -11/+5 |
|\ \ | | | | | | | common/math_util: Minor cleanup | ||||
| * | | common/math_util: Simplify std::make_signed usages to std::make_signed_t | Lioncash | 2018-11-21 | 1 | -2/+2 |
| | | | | | | | | | | | | Gets rid of the need to use typename to access the ::type alias. | ||||
| * | | common/math_util: Make Rectangle's constructors constexpr | Lioncash | 2018-11-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Allows objects that contain rectangle instances to be constexpr constructible as well. | ||||
| * | | common/math_util: Remove unnecessary static from PI | Lioncash | 2018-11-21 | 1 | -1/+1 |
| | | | | | | | | | | | | const/constexpr variables have internal linkage by default. | ||||
| * | | common/math_util: Remove unused IntervalsIntersect() function | Lioncash | 2018-11-21 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | This hasn't been used since the project started, so we may as well get rid of it to keep it from bit rotting. | ||||
* | | | common: Remove dependency on xbyak | Lioncash | 2018-11-21 | 3 | -274/+0 |
|/ / | | | | | | | | | | | | | Xbyak is currently entirely unused. Rather than carting it along, remove it and get rid of a dependency. If it's ever needed in the future, then it can be re-added (and likely be more up to date at that point in time). | ||||
* | | common/assert: Add UNIMPLEMENTED_IF and UNIMPLEMENTED_IF_MSG for conditional assertions | Lioncash | 2018-11-21 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, there's no way to specify if an assertion should conditionally occur due to unimplemented behavior. This is useful when something is only partially implemented (e.g. due to ongoing RE work). In particular, this would be useful within the graphics code. The rationale behind this is it allows a dev to disable unimplemented feature assertions (which can occur in an unrelated work area), while still enabling regular assertions, which act as behavior guards for conditions or states which must not occur. Previously, the only way a dev could temporarily disable asserts, was to disable the regular assertion macros, which has the downside of also disabling, well, the regular assertions which hold more sanitizing value, as opposed to unimplemented feature assertions. | ||||
* | | common/assert: Make the UNIMPLEMENTED macro properly assert | Lioncash | 2018-11-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Currently, this was only performing a logging call, which doesn't actually invoke any assertion behavior. This is unlike UNIMPLEMENTED_MSG, which *does* assert. This makes the expected behavior uniform across both macros. | ||||
* | | am: Deglobalize software keyboard applet | Zach Hilman | 2018-11-18 | 2 | -4/+4 |
| | | |||||
* | | string_util: Implement buffer to UTF-16 string helper function | Zach Hilman | 2018-11-18 | 2 | -0/+17 |
|/ | | | Needed as most all software keyboard functions use fixed-length UTF16 string buffers. | ||||
* | Common/Bitfield: store value as unsigned type | Weiyi Wang | 2018-11-16 | 1 | -9/+10 |
| | | | | Storing signed type causes the following behaviour: extractValue can do overflow/negative left shift. Now it only relies on two implementation-defined behaviours (which are almost always defined as we want): unsigned->signed conversion and signed right shift | ||||
* | string_util: Remove ArrayToString() | Lioncash | 2018-11-14 | 2 | -21/+0 |
| | | | | | | | | An old function from Dolphin. This is also unused, and pretty inflexible when it comes to printing out different data types (for example, one might not want to print out an array of u8s but a different type instead. Given we use fmt, there's no need to keep this implementation of the function around. | ||||
* | string_util: Remove TryParse() | Lioncash | 2018-11-14 | 2 | -54/+3 |
| | | | | | | This is an unused hold-over from Dolphin that was primarily used to parse values out of the .ini files. Given we already have libraries that do this for us, we don't need to keep this around. | ||||
* | string_util: Remove ThousandSeparate() | Lioncash | 2018-11-13 | 1 | -14/+0 |
| | | | | | This is currently unused and doesn't really provide much value to keep around either. | ||||
* | Merge pull request #1441 from CarlKenner/DebuggerLog | bunnei | 2018-11-05 | 2 | -2/+23 |
|\ | | | | | logging: Add DebuggerBackend for logging to Visual Studio | ||||
| * | logging: Add DebuggerBackend for logging to Visual Studio | Carl Kenner | 2018-10-07 | 2 | -2/+23 |
| | | |||||
* | | compatdb: Use a seperate endpoint for testcase submission | fearlessTobi | 2018-10-28 | 1 | -0/+4 |
| | | |||||
* | | logging/backend: Add missing services to the log filters | Lioncash | 2018-10-24 | 2 | -0/+5 |
| | | | | | | | | Just a few overlooked services. | ||||
* | | common: Remove memory_util.cpp/.h | Lioncash | 2018-10-23 | 3 | -200/+0 |
| | | | | | | | | | | | | | | | | Everything from here is completely unused and also written with the notion of supporting 32-bit architecture variants in mind. Given the Switch itself is on a 64-bit architecture, we won't be supporting 32-bit architectures. If we need specific allocation functions in the future, it's likely more worthwhile to new functions for that purpose. | ||||
* | | only redefine 64 bit file operation for MSVC | Weiyi Wang | 2018-10-23 | 1 | -5/+8 |
| | | | | | | | | MinGW provides POSIX functions | ||||
* | | service: Add skeleton for psm service | Zach Hilman | 2018-10-21 | 1 | -0/+1 |
| | | | | | | | | Seems to be the power controller. Listed in switchbrew under the category PTM services. | ||||
* | | common: Add function for checking word alignment to alignment.h | Lioncash | 2018-10-18 | 1 | -0/+6 |
| | | | | | | | | | | This will be used in a following change to svcArbitrateLock() and svcArbitrateUnlock() | ||||
* | | common: Move Is4KBAligned() to alignment.h | Lioncash | 2018-10-18 | 1 | -0/+6 |
| | | | | | | | | | | Aligning on 4KB pages isn't a Switch-specific thing, so this can be moved to common so it can be used with other things as well. | ||||
* | | web_backend: Make Client use the PImpl idiom | Lioncash | 2018-10-11 | 1 | -0/+1 |
| | | | | | | | | | | | | Like with TelemetryJson, we can make the implementation details private and avoid the need to expose httplib to external libraries that need to use the Client class. | ||||
* | | Merge pull request #1424 from DarkLordZach/ips-witch | bunnei | 2018-10-08 | 2 | -0/+24 |
|\ \ | | | | | | | ips_layer: Add support for IPSwitch executable patches | ||||
| * | | ips_layer: Deduplicate resource usage | Zach Hilman | 2018-10-04 | 2 | -2/+2 |
| | | | |||||
| * | | hex_util: Add HexVectorToString and HexStringToVector | Zach Hilman | 2018-10-04 | 2 | -0/+24 |
| | | | | | | | | | | | | Converts between bytes and strings when the size is not known at compile time. | ||||
* | | | Merge pull request #1453 from FearlessTobi/port-4311 | bunnei | 2018-10-07 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Port citra-emu/citra#4311: "Remove "#" in the version number" | ||||
| * | | | Remove "#" in the version number | fearlessTobi | 2018-10-06 | 1 | -1/+1 |
| | |/ | |/| | | | | | | | So that people can stop using it in issue/pr comments and randomly link some other issue/pr unintentionally. | ||||
* / | | citra_qt/configuration: misc input tab improvements | zhupengfei | 2018-10-06 | 2 | -1/+19 |
|/ / | | | | | | | | | | | | | | | * Added a context menu on the buttons including Clear & Restore Default * Allow clearing (unsetting) inputs. Added a Clear All button * Allow restoring a single input to default (instead of all) | ||||
* | | Merge pull request #1332 from FearlessTobi/port-web-backend | bunnei | 2018-10-06 | 4 | -0/+108 |
|\ \ | | | | | | | Port web_service from Citra | ||||
| * | | Review comments - part 5 | fearlessTobi | 2018-10-02 | 1 | -0/+1 |
| | | | |||||
| * | | Address a bunch of review comments | fearlessTobi | 2018-10-02 | 1 | -1/+1 |
| | | | |||||
| * | | Port web_service from Citra | fearlessTobi | 2018-10-02 | 4 | -0/+107 |
| | | | |||||
* | | | Merge pull request #1442 from lioncash/format | bunnei | 2018-10-05 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | text_formatter: Avoid unnecessary string temporary creation in PrintMessage() | ||||
| * | | text_formatter: Avoid unnecessary string temporary creation in PrintMessage() | Lioncash | 2018-10-05 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | | | | | operator+ for std::string creates an entirely new string, which is kind of unnecessary here if we just want to append a null terminator to the existing one. Reduces the total amount of potential allocations that need to be done in the logging path. | ||||
* | | string_util: unify UTF8<->UTF16 conversion to codecvt | Weiyi Wang | 2018-10-02 | 1 | -109/+6 |
| | | |||||
* | | string_util: remove TString conversion for windows | Weiyi Wang | 2018-10-02 | 2 | -19/+1 |
| | | | | | | | | First of all they are foundamentally broken. As our convention is that std::string is always UTF-8, these functions assume that the multi-byte character version of TString (std::string) from windows is also in UTF-8, which is almost always wrong. We are not going to build multi-byte character build, and even if we do, this dirty work should be handled by frontend framework early. | ||||
* | | string_util: remove ShiftJIS/CP1252 conversion function | Weiyi Wang | 2018-10-02 | 2 | -22/+0 |
|/ | | | | We always use unicode internally. Any dirty work of conversion with other codec should be handled by frontend framework (Qt). Further more, ShiftJIS/CP1252 are not special (they are not code set used by 3ds, or any guest/host dependencies we have), so there is no reason to specifically include them | ||||
* | Merge pull request #1365 from DarkLordZach/lfs | bunnei | 2018-09-25 | 3 | -0/+6 |
|\ | | | | | file_sys: Add support for LayeredFS mods | ||||
| * | common_paths: Add Load and Dump dirs | Zach Hilman | 2018-09-22 | 3 | -0/+6 |
| | | |||||
* | | Stubbed IRS (#1349) | David | 2018-09-24 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | * Stubbed IRS Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly. * Added IRS to logging backend * Forward declared shared memory for irs | ||||
* | | common/thread: remove YieldCPU() | Weiyi Wang | 2018-09-22 | 1 | -8/+0 |
|/ | | | | simply use the standard library yield() | ||||
* | ring_buffer: Use std::atomic_size_t in a static assert | Lioncash | 2018-09-19 | 1 | -1/+1 |
| | | | | Avoids the need to repeat "std::" twice | ||||
* | ring_buffer: Use std::hardware_destructive_interference_size to determine alignment size for avoiding false sharing | Lioncash | 2018-09-19 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | MSVC 19.11 (A.K.A. VS 15.3)'s C++ standard library implements P0154R1 (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0154r1.html) which defines two new constants within the <new> header, std::hardware_destructive_interference_size and std::hardware_constructive_interference_size. std::hardware_destructive_interference_size defines the minimum recommended offset between two concurrently-accessed objects to avoid performance degradation due to contention introduced by the implementation (with the lower-bound being at least alignof(max_align_t)). In other words, the minimum offset between objects necessary to avoid false-sharing. std::hardware_constructive_interference_size on the other hand defines the maximum recommended size of contiguous memory occupied by two objects accessed wth temporal locality by concurrent threads (also defined to be at least alignof(max_align_t)). In other words the maximum size to promote true-sharing. So we can simply use this facility to determine the ideal alignment size. Unfortunately, only MSVC supports this right now, so we need to enclose it within an ifdef for the time being. | ||||
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 23 | -135/+140 |
| | |||||
* | common: Implement a ring buffer | MerryMage | 2018-09-08 | 2 | -0/+112 |
| | |||||
* | Better Title Bar Display | CaptV0rt3x | 2018-09-07 | 3 | -5/+25 |
| | |||||
* | common/logging: Amend documentation comments | Lioncash | 2018-09-04 | 2 | -6/+6 |
| | | | | | | | Multi-line doc comments still need the '<' after the ///, otherwise it's treated as a regular comment and makes the original doc comment broken in viewers, IDEs, etc. While we're at it, also fix some typos in the comments. | ||||
* | common/logging/filter: Replace C-style case with C++ static_cast | Lioncash | 2018-09-04 | 1 | -1/+1 |
| | |||||
* | common/logging/filter: Make constructor explicit | Lioncash | 2018-09-04 | 1 | -1/+1 |
| | | | | Implicit conversions aren't desirable here. | ||||
* | Merge pull request #1170 from lioncash/ret | bunnei | 2018-08-28 | 1 | -1/+1 |
|\ | | | | | file_util: Correct return value in early exit of ReadFileToString() | ||||
| * | file_util: Correct return value in early exit of ReadFileToString() | Lioncash | 2018-08-24 | 1 | -1/+1 |
| | | | | | | | | | | While still essentially being zero, we should be returning a numeric value here, not a boolean typed value. | ||||
* | | hex_util: Replace logic_errors with LOG_CRITICAL | Zach Hilman | 2018-08-23 | 1 | -5/+17 |
|/ | | | | Makes it so malformed hex strings do not crash the entire program. | ||||
* | logging/text_formatter: Use empty braces for initializing CONSOLE_SCREEN_BUFFER_INFO instance | Lioncash | 2018-08-21 | 1 | -1/+1 |
| | | | | | | | The previous form of initializing done here is a C-ism, an empty set of braces is sufficient for initializing (and doesn't potentially cause missing brace warnings, given the first member of the struct is a COORD struct). | ||||
* | bit_field: Convert ToBool() into explicit operator bool | Lioncash | 2018-08-21 | 1 | -2/+1 |
| | | | | Gets rid of a TODO that is long overdue. | ||||
* | Merge pull request #1064 from lioncash/telemetry | bunnei | 2018-08-21 | 2 | -0/+77 |
|\ | | | | | common/telemetry: Migrate core-independent info gathering to common | ||||
| * | common/telemetry: Migrate core-independent info gathering to common | Lioncash | 2018-08-15 | 2 | -0/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously core itself was the library containing the code to gather common information (build info, CPU info, and OS info), however all of this isn't core-dependent and can be moved to the common code and use the common interfaces. We can then just call those functions from the core instead. This will allow replacing our CPU detection with Xbyak's which has better detection facilities than ours. It also keeps more architecture-dependent code in common instead of core. | ||||
* | | common: Namespace hex_util.h/.cpp | Lioncash | 2018-08-16 | 2 | -0/+8 |
| | | | | | | | | | | It's in the common code, so it should be under the Common namespace like everything else. | ||||
* | | Merge pull request #1005 from DarkLordZach/registered-fmt | bunnei | 2018-08-16 | 5 | -0/+74 |
|\ \ | | | | | | | file_sys: Add support for registration format | ||||
| * | | file_sys: Comply to style guidelines | Zach Hilman | 2018-08-12 | 1 | -0/+2 |
| | | | |||||
| * | | file_util: Add getter for NAND registration directory | Zach Hilman | 2018-08-12 | 2 | -0/+8 |
| | | | |||||
| * | | common: Move hex string processing to separate file | Zach Hilman | 2018-08-12 | 3 | -0/+64 |
| | | | |||||
* | | | Merge pull request #1063 from lioncash/inline | bunnei | 2018-08-15 | 2 | -15/+11 |
|\ \ \ | | | | | | | | | common/xbyak_abi: Mark defined functions in header as inline | ||||
| * | | | common/xbyak_abi: Mark defined functions in header as inline | Lioncash | 2018-08-15 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | Avoids potential One Definition Rule violations when these are used in the future. | ||||
| * | | | common/xbyak: Use nested namespace specifiers where applicable | Lioncash | 2018-08-15 | 2 | -8/+4 |
| | |/ | |/| | |||||
* | | | Merge pull request #1054 from zhaowenlan1779/misc-fixup | bunnei | 2018-08-15 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | common/misc: use windows.h | ||||
| * | | | common/misc: use windows.h | Zhu PengFei | 2018-08-13 | 1 | -1/+1 |
| | | | | | | | | | | | | linux-mingw does not really like this. | ||||
* | | | | common: Remove unused old breakpoint source files | Lioncash | 2018-08-15 | 3 | -141/+0 |
| |/ / |/| | | | | | | | | | | | | | | | | | These currently aren't used and contain commented out source code that corresponds to Dolphin's JIT. Given our CPU code is organized quite differently, we shouldn't be keeping this around (at the moment it just adds to compile times marginally). | ||||
* | | | logging/backend: Use const reference to refer to log filter | Lioncash | 2018-08-14 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | The filter is returned via const reference, so this was making a pointless copy of the entire filter every time a message was being pushed into the logger instance. | ||||
* | | | thread_queue_list: Make contains() and get_first() const member functions | Lioncash | 2018-08-12 | 1 | -4/+4 |
| | | | | | | | | | | | | These don't directly modify the contained data. | ||||
* | | | thread_queue_list: Convert typedef to a type alias | Lioncash | 2018-08-12 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Merge pull request #989 from lioncash/log | bunnei | 2018-08-10 | 2 | -0/+16 |
|\ \ | | | | | | | common/logging: Add missing service log categories | ||||
| * | | common/logging: Add missing service log categories | Lioncash | 2018-08-08 | 2 | -0/+16 |
| | | | | | | | | | | | | These weren't added when the services were introduced. | ||||
* | | | Merge pull request #897 from DarkLordZach/vfs-accuracy-2 | bunnei | 2018-08-10 | 2 | -5/+19 |
|\ \ \ | | | | | | | | | vfs: Add VfsFilesystem and fix RealVfs* implementations | ||||
| * | | | file_util: Use enum instead of bool for specifing path behavior | Zach Hilman | 2018-08-09 | 2 | -6/+9 |
| | | | | |||||
| * | | | file_util: Add platform-specific slash option to SanitizePath | Zach Hilman | 2018-08-09 | 2 | -5/+16 |
| |/ / | |||||
* | | | Merge pull request #988 from lioncash/color | bunnei | 2018-08-09 | 1 | -19/+31 |
|\ \ \ | | | | | | | | | common/color: Minor cleanup | ||||
| * | | | common/color: Remove unnecessary const qualifiers on return types | Lioncash | 2018-08-08 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | These are just superfluous and not necessesary | ||||
| * | | | common/color: Get rid of undefined behavior | Lioncash | 2018-08-08 | 1 | -12/+24 |
| |/ / | | | | | | | | | | | | | Gets rid of type punning via reinterpret_cast within functions. Instead, we use memcpy to transfer the contents across types. | ||||
* / / | vector_math: Use variable template version of is_signed in Vec classes | Lioncash | 2018-08-08 | 1 | -3/+3 |
|/ / | | | | | | | Same behavior, less code | ||||
* | | Merge pull request #966 from lioncash/modernize | bunnei | 2018-08-08 | 5 | -11/+11 |
|\ \ | | | | | | | common: Convert type traits templates over to variable template versions where applicable | ||||
| * | | common: Convert type traits templates over to variable template versions where applicable | Lioncash | 2018-08-08 | 5 | -11/+11 |
| | | | | | | | | | | | | Uses the C++17 inline variable variants | ||||
* | | | Merge pull request #968 from lioncash/vec | bunnei | 2018-08-08 | 1 | -180/+182 |
|\ \ \ | | | | | | | | | vector_math: Minor cleanups | ||||
| * | | | vector_math: Remove unimplemented function prototypes | Lioncash | 2018-08-08 | 1 | -23/+0 |
| | | | | |||||
| * | | | vector_math: Make functions constexpr where applicable | Lioncash | 2018-08-08 | 1 | -154/+179 |
| | | | | |||||
| * | | | vector_math: Convert typedefs to type aliases | Lioncash | 2018-08-08 | 1 | -3/+3 |
| |/ / | |||||
* / / | file_util: Avoid sign-conversions in WriteArray() and ReadArray() | Lioncash | 2018-08-07 | 1 | -4/+8 |
|/ / | | | | | | | Prevents compiler warnings. | ||||
* / | service: Add usb services | Lioncash | 2018-08-07 | 2 | -0/+2 |
|/ | | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew. | ||||
* | service: Add arp services | Lioncash | 2018-08-05 | 2 | -0/+2 |
| | | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew. | ||||
* | Merge pull request #849 from DarkLordZach/xci | bunnei | 2018-08-04 | 5 | -0/+20 |
|\ | | | | | XCI and Encrypted NCA Support | ||||
| * | Allow key loading from %YUZU_DIR%/keys in addition to ~/.switch | Zach Hilman | 2018-08-01 | 3 | -0/+3 |
| | | |||||
| * | Use SHGetKnownFolderPath instead of SHGetFolderPathA | Zach Hilman | 2018-08-01 | 1 | -3/+4 |
| | | |||||
| * | Extract mbedtls to cpp file | Zach Hilman | 2018-08-01 | 1 | -1/+1 |
| | | |||||
| * | Remove files that are not used | Zach Hilman | 2018-08-01 | 4 | -0/+16 |
| | | |||||
* | | Merge pull request #898 from lioncash/mig | bunnei | 2018-08-03 | 2 | -0/+2 |
|\ \ | | | | | | | service: Add migration services | ||||
| * | | service: Add migration services | Lioncash | 2018-08-02 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew. | ||||
* | | | Merge pull request #900 from lioncash/init | bunnei | 2018-08-03 | 1 | -5/+5 |
|\ \ \ | | | | | | | | | math_util: Always initialize members of Rectangle | ||||
| * | | | math_util: Always initialize members of Rectangle | Lioncash | 2018-08-02 | 1 | -5/+5 |
| |/ / | | | | | | | | | | Prevents potentially using the members uninitialized. | ||||
* | | | logging/log: Remove incorrect description in PCV doc comment | Lioncash | 2018-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | PCV isn't the parental control service. | ||||
* | | | service: Add psc services | Lioncash | 2018-08-02 | 2 | -0/+2 |
|/ / | | | | | | | | | Adds the basic skeleton for the psc services based off the information provided by Switch Brew. | ||||
* | | Merge pull request #888 from lioncash/caps | bunnei | 2018-08-02 | 2 | -0/+2 |
|\ \ | | | | | | | service: Add capture services | ||||
| * | | service: Add capture services | Lioncash | 2018-08-01 | 2 | -0/+2 |
| |/ | | | | | | | | | Adds the basic skeleton for the capture services based off information provided by Switch Brew. | ||||
* / | service: Add bpc and pcv services | Lioncash | 2018-08-01 | 2 | -0/+4 |
|/ | | | | | Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew. | ||||
* | Merge pull request #864 from FearlessTobi/port-3973 | bunnei | 2018-07-31 | 1 | -2/+30 |
|\ | | | | | Port #3973 from Citra: "Remove polymorphism issue" | ||||
| * | remove polymorphism issue | B3n30 | 2018-07-29 | 1 | -2/+30 |
| | | |||||
* | | Merge pull request #875 from lioncash/fgm | bunnei | 2018-07-31 | 2 | -0/+2 |
|\ \ | | | | | | | service: Add fgm services | ||||
| * | | service: Add fgm services | Lioncash | 2018-07-31 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | Adds the basic skeleton for the fgm services based off the information provided by Switch Brew. | ||||
* | | | service: Add the pcie service | Lioncash | 2018-07-31 | 2 | -0/+2 |
|/ / | | | | | | | | | Adds the basic skeleton of the pcie service based off information on Switch Brew. | ||||
* | | Port #3758 from Citra (#852): Add missing std::string import in text_formatter | Tobias | 2018-07-31 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #861 from FearlessTobi/port-3972 | bunnei | 2018-07-30 | 2 | -81/+31 |
|\ \ | | | | | | | Port #3972 from Citra: "common/timer: use std::chrono, avoid platform-dependent code" | ||||
| * | | Port #3972 from Citra: "common/timer: use std::chrono, avoid platform-dependent code" | zhupengfei | 2018-07-29 | 2 | -81/+31 |
| |/ | |||||
* | | Merge pull request #862 from FearlessTobi/port-3997 | bunnei | 2018-07-30 | 1 | -3/+5 |
|\ \ | | | | | | | Port #3997 from Citra: "common/string_utils: replace boost::transform with std counterpart" | ||||
| * | | common/string_utils: replace boost::transform with std counterpart | zhupengfei | 2018-07-29 | 1 | -3/+5 |
| |/ | | | | | | | Note: according to cppreference it is necessary to convert char to unsigned char when using std::tolower and std::toupper, otherwise the behaviour would be undefined. | ||||
* | | Merge pull request #865 from FearlessTobi/port-3732 | bunnei | 2018-07-30 | 2 | -4/+2 |
|\ \ | | | | | | | Port #3732 from Citra: "common: Fix compilation on ARM" | ||||
| * | | Port #3732 from Citra: "common: Fix compilation on ARM" | Cameron Cawley | 2018-07-29 | 2 | -4/+2 |
| |/ | |||||
* | | Merge pull request #857 from lioncash/wlan | bunnei | 2018-07-30 | 2 | -0/+2 |
|\ \ | | | | | | | service: Add wlan services | ||||
| * | | service: Add wlan services | Lioncash | 2018-07-29 | 2 | -0/+2 |
| |/ | | | | | | | | | Adds the basic skeleton for the wlan services based off the information on Switch Brew. | ||||
* / | service: Add btm services | Lioncash | 2018-07-29 | 2 | -0/+2 |
|/ | | | | | Adds the skeleton for the btm services based off the information on Switch Brew. | ||||
* | Merge pull request #847 from lioncash/ncm | bunnei | 2018-07-28 | 2 | -0/+2 |
|\ | | | | | service: Add ncm services | ||||
| * | service: Add ncm services | Lioncash | 2018-07-27 | 2 | -0/+2 |
| | | | | | | | | | | Adds the basic skeleton for the ncm services based off information on Switch Brew. | ||||
* | | Merge pull request #846 from lioncash/mii | bunnei | 2018-07-28 | 2 | -0/+2 |
|\ \ | |/ |/| | service: Add mii services | ||||
| * | service: Add mii services | Lioncash | 2018-07-27 | 2 | -0/+2 |
| | | | | | | | | | | Adds the skeleton for the mii services based off information provided by Switch Brew | ||||
* | | Merge pull request #845 from lioncash/nfc | bunnei | 2018-07-27 | 2 | -0/+2 |
|\ \ | | | | | | | service: Add nfc services | ||||
| * | | service: Add nfc services | Lioncash | 2018-07-27 | 2 | -0/+2 |
| |/ | | | | | | | | | Adds the skeleton of the nfc service based off the information provided on Switch Brew. | ||||
* / | service/lbl: Implement EnableVrMode, DisableVrMode and GetVrMode | Lioncash | 2018-07-27 | 2 | -0/+2 |
|/ | | | | | Implements these functions according to the information available on Switch Brew. | ||||
* | service: Add ldn services | Lioncash | 2018-07-26 | 2 | -0/+2 |
| | | | | Adds ldn services based off information provided by Switch Brew. | ||||
* | VFS Regression and Accuracy Fixes (#776) | Zach Hilman | 2018-07-24 | 2 | -1/+13 |
| | | | | | | | | | | | | | | | | * Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator& | ||||
* | string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16() | Lioncash | 2018-07-22 | 1 | -20/+22 |
| | | | | | | | | There's no need to perform the resize separately here, since the constructor allows presizing the buffer. Also move the empty string check before the construction of the string to make the early out more straightforward. | ||||
* | string_util: Use emplace_back() in SplitString() instead of push_back() | Lioncash | 2018-07-22 | 1 | -2/+3 |
| | | | | | | | | | | | | | This is equivalent to doing: push_back(std::string("")); which is likely not to cause issues, assuming a decent std::string implementation with small-string optimizations implemented in its design, however it's still a little unnecessary to copy that buffer regardless. Instead, we can use emplace_back() to directly construct the empty string within the std::vector instance, eliminating any possible overhead from the copy. | ||||
* | string_util: Remove unnecessary std::string instance in TabsToSpaces() | Lioncash | 2018-07-22 | 2 | -8/+7 |
| | | | | | | We can just use the variant of std::string's replace() function that can replace an occurrence with N copies of the same character, eliminating the need to allocate a std::string containing a buffer of spaces. | ||||
* | Merge pull request #768 from lioncash/string-view | bunnei | 2018-07-22 | 2 | -40/+55 |
|\ | | | | | file_util, vfs: Use std::string_view where applicable | ||||
| * | file_util, vfs: Use std::string_view where applicable | Lioncash | 2018-07-22 | 2 | -40/+55 |
| | | | | | | | | | | Avoids unnecessary construction of std::string instances where applicable. | ||||
* | | Merge pull request #765 from lioncash/file | bunnei | 2018-07-22 | 1 | -24/+14 |
|\ \ | |/ |/| | file_util: Remove goto usages from Copy() | ||||
| * | file_util: Remove goto usages from Copy() | Lioncash | 2018-07-22 | 1 | -24/+14 |
| | | | | | | | | | | | | We can just leverage std::unique_ptr to automatically close these for us in error cases instead of jumping to the end of the function to call fclose on them. | ||||
* | | file_util: Use a u64 to represent number of entries | Lioncash | 2018-07-22 | 2 | -13/+13 |
| | | | | | | | | | | This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away. | ||||
* | | file_util: std::move FST entries in ScanDirectoryTree() | Lioncash | 2018-07-22 | 1 | -1/+1 |
|/ | | | | Avoids unnecessary copies when building up the FST entries. | ||||
* | Merge pull request #759 from lioncash/redundant | bunnei | 2018-07-22 | 1 | -2/+1 |
|\ | | | | | file_util: Remove redundant duplicate return in GetPathWithoutTop() | ||||
| * | file_util: Remove explicit type from std::min() in GetPathWithoutTop() | Lioncash | 2018-07-21 | 1 | -1/+1 |
| | | | | | | | | | | Given both operands are the same type, there won't be an issue with overload selection that requires making this explicit. | ||||
| * | file_util: Remove redundant duplicate return in GetPathWithoutTop() | Lioncash | 2018-07-21 | 1 | -1/+0 |
| | | |||||
* | | Merge pull request #758 from lioncash/sync | bunnei | 2018-07-22 | 2 | -86/+0 |
|\ \ | | | | | | | common: Remove synchronized_wrapper.h | ||||
| * | | common: Remove synchronized_wrapper.h | Lioncash | 2018-07-21 | 2 | -86/+0 |
| |/ | | | | | | | This is entirely unused in the codebase. | ||||
* / | file_util: Use an enum class for GetUserPath() | Lioncash | 2018-07-21 | 3 | -50/+51 |
|/ | | | | | | | | | | | | | Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case. | ||||
* | Merge pull request #743 from lioncash/view | bunnei | 2018-07-21 | 4 | -57/+56 |
|\ | | | | | logging: Use std::string_view where applicable | ||||
| * | logging/filter: Use std::string_view in ParseFilterString() | Lioncash | 2018-07-20 | 2 | -41/+40 |
| | | | | | | | | | | | | | | | | Allows avoiding constructing std::string instances, since this only reads an arbitrary sequence of characters. We can also make ParseFilterRule() internal, since it doesn't depend on any private instance state of Filter | ||||
| * | logging/backend: Add missing standard includes | Lioncash | 2018-07-20 | 2 | -4/+3 |
| | | | | | | | | | | A few inclusions were being satisfied indirectly. To prevent breakages in the future, include these directly. | ||||
| * | logging/backend: Use std::string_view in RemoveBackend() and GetBackend() | Lioncash | 2018-07-20 | 2 | -12/+13 |
| | | | | | | | | | | | | These can just use a view to a string since its only comparing against two names in both cases for matches. This avoids constructing std::string instances where they aren't necessary. | ||||
* | | param_package: Take std::string by value in string-based Set() function | Lioncash | 2018-07-20 | 2 | -4/+6 |
| | | | | | | | | | | Allows avoiding string copies by letting the strings be moved into the function calls. | ||||
* | | param_package: Use std::unordered_map's insert_or_assign instead of map indexing | Lioncash | 2018-07-20 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | This avoids a redundant std::string construction if a key doesn't exist in the map already. e.g. data[key] requires constructing a new default instance of the value in the map (but this is wasteful, since we're already setting something into the map over top of it). | ||||
* | | param_package: Get rid of file-static std::string construction | Lioncash | 2018-07-20 | 1 | -3/+4 |
|/ | | | | Avoids potential dynamic allocation occuring during program launch | ||||
* | Merge pull request #711 from lioncash/swap | bunnei | 2018-07-19 | 1 | -50/+50 |
|\ | | | | | common/swap: Minor changes | ||||
| * | common/swap: Remove unnecessary const on return value of swap() | Lioncash | 2018-07-19 | 1 | -1/+1 |
| | | |||||
| * | common/swap: Use static_cast where applicable | Lioncash | 2018-07-19 | 1 | -16/+16 |
| | | |||||
| * | common/swap: Use using aliases where applicable | Lioncash | 2018-07-19 | 1 | -33/+33 |
| | | |||||
* | | Merge pull request #710 from lioncash/unused | bunnei | 2018-07-19 | 1 | -38/+0 |
|\ \ | | | | | | | common/common_funcs: Remove unused rotation functions | ||||
| * | | common/common_funcs: Remove unused rotation functions | Lioncash | 2018-07-19 | 1 | -38/+0 |
| |/ | | | | | | | | | | | | | These are unused and essentially don't provide much benefit either. If we ever need rotation functions, these can be introduced in a way that they don't sit in a common_* header and require a bunch of ifdefing to simply be available | ||||
* | | Merge pull request #709 from lioncash/thread-local | bunnei | 2018-07-19 | 2 | -12/+8 |
|\ \ | | | | | | | common/misc: Deduplicate code in GetLastErrorMsg() | ||||
| * | | common/misc: Deduplicate code in GetLastErrorMsg() | Lioncash | 2018-07-19 | 2 | -12/+8 |
| |/ | | | | | | | | | | | | | Android and macOS have supported thread_local for quite a while, but most importantly is that we don't even really need it. Instead of using a thread-local buffer, we can just return a non-static buffer as a std::string, avoiding the need for that quality entirely. | ||||
* | | Merge pull request #705 from lioncash/string-ref | bunnei | 2018-07-19 | 2 | -2/+2 |
|\ \ | | | | | | | file_util: return string by const reference for GetExeDirectory() | ||||
| * | | file_util: return string by const reference for GetExeDirectory() | Lioncash | 2018-07-19 | 2 | -2/+2 |
| |/ | | | | | | | | | This disallows modifying the internal string buffer (which shouldn't be modified anyhow). | ||||
* / | string_util: Remove AsciiToHex() | Lioncash | 2018-07-19 | 2 | -15/+0 |
|/ | | | | Easy TODO | ||||
* | Merge pull request #686 from lioncash/fmt | bunnei | 2018-07-19 | 1 | -1/+1 |
|\ | | | | | externals: update fmt to version 5.1.0 | ||||
| * | externals: update fmt to version 5.1.0 | Lioncash | 2018-07-18 | 1 | -1/+1 |
| | | | | | | | | Previously, we were on 4.1.0, which was a major version behind. | ||||
* | | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 2018-07-19 | 2 | -57/+116 |
|/ | | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | ||||
* | telemetry: Remove unnecessary Field constructor | Lioncash | 2018-07-18 | 1 | -4/+1 |
| | | | | | We can just take the value parameter by value which allows both moving into it, and copies at the same time, depending on the calling code. | ||||
* | telemetry: Make operator== and operator!= const member functions of Field | Lioncash | 2018-07-18 | 1 | -2/+2 |
| | | | | | | | These operators don't modify internal class state, so they can be made const member functions. While we're at it, drop the unnecessary inline keywords. Member functions that are defined in the class declaration are already inline by default. | ||||
* | telemetry: Default copy/move constructors and assignment operators | Lioncash | 2018-07-18 | 1 | -14/+4 |
| | | | | | | This provides the equivalent behavior, but without as much boilerplate. While we're at it, explicitly default the move constructor, since we have a move-assignment operator defined. | ||||
* | Merge pull request #664 from jroweboy/logging-stuff | bunnei | 2018-07-15 | 3 | -4/+17 |
|\ | | | | | Minor logging improvements | ||||
| * | Logging: Dump all logs in the queue on close in debug mode | James Rowe | 2018-07-15 | 3 | -1/+12 |
| | | |||||
| * | Logging: Don't lock the queue for the duration of the write | James Rowe | 2018-07-14 | 1 | -3/+5 |
| | | |||||
* | | More improvements to GDBStub (#653) | Hedges | 2018-07-13 | 1 | -1/+1 |
|/ | | | | | | | | | | | * More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback | ||||
* | Merge pull request #633 from FearlessTobi/port-defines | bunnei | 2018-07-10 | 3 | -7/+7 |
|\ | | | | | Port #3579 from Citra: Clean up architecture-specific defines | ||||
| * | Port #3579 from Citra | fearlessTobi | 2018-07-07 | 3 | -7/+7 |
| | | |||||
* | | Merge pull request #635 from FearlessTobi/port-crashfix | bunnei | 2018-07-10 | 1 | -1/+1 |
|\ \ | | | | | | | Port #3474 from Citra: Do not crash on unimplemented code in debug build | ||||
| * | | Port #3474 from Citra | fearlessTobi | 2018-07-07 | 1 | -1/+1 |
| |/ | |||||
* / | Revert "Virtual Filesystem (#597)" | bunnei | 2018-07-08 | 2 | -99/+57 |
|/ | | | | This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | ||||
* | Merge pull request #630 from FearlessTobi/remove-citra-references | bunnei | 2018-07-06 | 2 | -2/+2 |
|\ | | | | | Remove some references to Citra | ||||
| * | Remove some references to Citra | fearlessTobi | 2018-07-06 | 2 | -2/+2 |
| | | |||||
* | | Virtual Filesystem (#597) | Zach Hilman | 2018-07-06 | 2 | -57/+99 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename | ||||
* | Fix build and address review feedback | bunnei | 2018-07-03 | 1 | -4/+4 |
| | |||||
* | Add configurable logging backends | James Rowe | 2018-07-03 | 5 | -18/+257 |
| | |||||
* | Update clang format | James Rowe | 2018-07-03 | 3 | -14/+11 |
| | |||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 7 | -70/+70 |
| | |||||
* | Common/string_util: add StringFromBuffer function | mailwl | 2018-06-07 | 2 | -0/+6 |
| | | | | convert input buffer (std::vector<u8>) to string, stripping zero chars | ||||
* | Service/MM: add service and stub some functions | mailwl | 2018-06-05 | 2 | -0/+2 |
| | |||||
* | Service/BCAT: add module and services | mailwl | 2018-05-28 | 2 | -0/+2 |
| | |||||
* | vector_math: Ensure members are always initialized | Lioncash | 2018-05-02 | 1 | -9/+9 |
| | | | | Ensures that values are always in a well-defined state. | ||||
* | Merge pull request #424 from lioncash/string | bunnei | 2018-04-30 | 4 | -91/+9 |
|\ | | | | | string_util: Remove StringFromFormat() and related functions | ||||
| * | string_util: Remove StringFromFormat() and related functions | Lioncash | 2018-04-30 | 4 | -91/+9 |
| | | | | | | | | Given we utilize fmt, we don't need to provide our own functions for formatting anymore | ||||
* | | file_util: Make move constructor/assignment operator and related functions noexcept | Lioncash | 2018-04-30 | 2 | -6/+6 |
| | | | | | | | | | | | | | | Without this, it's possible to get compilation failures in the (rare) scenario where a container is used to store a bunch of live IOFile instances, as they may be using std::move_if_noexcept under the hood. Given these definitely don't throw exceptions this is also not incorrect to add either. | ||||
* | | file_util: Add static assertions to ReadBytes() and WriteBytes() | Lioncash | 2018-04-30 | 1 | -2/+6 |
|/ | | | | | | Ensure that the actual types being passed in are trivially copyable. The internal call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char* which is always trivially copyable. | ||||
* | file_util: Remove compiler version checks around is_trivially_copyable() | Lioncash | 2018-04-28 | 1 | -8/+0 |
| | | | | | | The minimum clang/GCC versions we support already support this. We can also remove is_standard_layout(), as fread and fwrite only require the type to be trivially copyable. | ||||
* | log: Remove old logging macros and functions | Lioncash | 2018-04-27 | 2 | -54/+1 |
| | | | | Now that the old macros are no longer used, we can remove all functionality related to them. | ||||
* | general: Convert assertion macros over to be fmt-compatible | Lioncash | 2018-04-27 | 2 | -5/+6 |
| | |||||
* | Merge pull request #380 from ogniK5377/service-impl | bunnei | 2018-04-27 | 2 | -0/+2 |
|\ | | | | | Implemented some useful interfaces needed for games. | ||||
| * | Switched to NGLOG_WARNING | David Marcec | 2018-04-27 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-impl | David Marcec | 2018-04-26 | 3 | -792/+0 |
| |\ | |||||
| * | | Added PREPO to logging backend, Removed comments from SaveReportWithUser | David Marcec | 2018-04-26 | 1 | -0/+1 |
| | | | |||||
| * | | GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport. | David Marcec | 2018-04-23 | 1 | -0/+1 |
| | | | |||||
* | | | common: Move logging macros over to new fmt-capable macros where applicable | Lioncash | 2018-04-27 | 4 | -67/+67 |
| |/ |/| | |||||
* | | common: Remove chunk_file.h and linear_disk_cache.h | Lioncash | 2018-04-26 | 3 | -792/+0 |
|/ | | | | These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used). | ||||
* | Merge pull request #367 from lioncash/clamp | bunnei | 2018-04-20 | 1 | -5/+0 |
|\ | | | | | math_util: Remove the Clamp() function | ||||
| * | math_util: Remove the Clamp() function | Lioncash | 2018-04-20 | 1 | -5/+0 |
| | | | | | | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it. | ||||
* | | Merge pull request #361 from lioncash/common | bunnei | 2018-04-20 | 1 | -18/+12 |
|\ \ | | | | | | | common_types: Minor changes | ||||
| * | | common_types: Convert typedefs to using aliases | Lioncash | 2018-04-20 | 1 | -12/+12 |
| | | | | | | | | | | | | May as well while we're making changes to this file. | ||||
| * | | common_types: Remove unnecessary check for whether or not__func__ is defined | Lioncash | 2018-04-20 | 1 | -6/+0 |
| |/ | | | | | | | VS has supported this for quite a while. | ||||
* | | Merge pull request #364 from lioncash/thread-local | bunnei | 2018-04-20 | 1 | -19/+0 |
|\ \ | | | | | | | common/thread: Remove unnecessary feature checking for thread_local | ||||
| * | | common/thread: Remove unnecessary feature checking for thread_local | Lioncash | 2018-04-20 | 1 | -19/+0 |
| |/ | | | | | | | Every compiler we require already supports it. | ||||
* | | Merge pull request #362 from lioncash/snprintf | bunnei | 2018-04-20 | 1 | -5/+0 |
|\ \ | | | | | | | common_funcs: Remove check for VS versions that we don't even support | ||||
| * | | common_funcs: Remove check for VS versions that we don't even support | Lioncash | 2018-04-20 | 1 | -5/+0 |
| |/ | | | | | | | | | We don't support any VS versions that don't already have snprintf in the standard library implementation. | ||||
* | | Merge pull request #363 from lioncash/array-size | bunnei | 2018-04-20 | 1 | -2/+0 |
|\ \ | | | | | | | common_funcs: Remove ARRAY_SIZE macro | ||||
| * | | common_funcs: Remove ARRAY_SIZE macro | Lioncash | 2018-04-20 | 1 | -2/+0 |
| |/ | | | | | | | C++17 has non-member size() which we can just call where necessary. | ||||
* | | Merge pull request #366 from lioncash/vec | bunnei | 2018-04-20 | 1 | -30/+0 |
|\ \ | | | | | | | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4] | ||||
| * | | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4] | Lioncash | 2018-04-20 | 1 | -30/+0 |
| |/ | | | | | | | These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators). | ||||
* / | common: Remove code_block.h | Lioncash | 2018-04-20 | 2 | -86/+0 |
|/ | | | | | We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more. | ||||
* | bit_field: Remove is_pod check, add is_trivially_copyable_v. | bunnei | 2018-04-18 | 1 | -6/+1 |
| | |||||
* | common: Port cityhash code from Citra. | bunnei | 2018-04-14 | 5 | -147/+502 |
| | |||||
* | bit_field: Make all methods constexpr. | bunnei | 2018-04-14 | 1 | -5/+5 |
| | |||||
* | Update fmtlib to fix msvc warnings | James Rowe | 2018-04-06 | 2 | -5/+8 |
| | | | | | | Additionally, when updating fmtlib, there was a change in fmtlib broke how the old logging macro was overloaded, so this works around that by just naming the fmtlib macro impl something different | ||||
* | logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADIC | Daniel Lim Wee Soong | 2018-04-03 | 2 | -5/+11 |
| | | | | Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it. | ||||
* | Merge pull request #262 from daniellimws/fmtlib-macros | bunnei | 2018-04-03 | 10 | -67/+111 |
|\ | | | | | Logging: Add fmtlib-based macros | ||||
| * | Remove dependency chrono | Daniel Lim Wee Soong | 2018-03-22 | 1 | -1/+0 |
| | | | | | | | | | | | | Earlier chrono was included but after some code changed it was no longer needed Forgot to remove it so I'm removing it now | ||||
| * | Logging: Create logging macros based on fmtlib | Daniel Lim Wee Soong | 2018-03-22 | 10 | -67/+112 |
| | | | | | | | | | | | | | | | | | | Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used. | ||||
* | | Merge pull request #276 from N00byKing/acctoyuzu | bunnei | 2018-04-03 | 1 | -1/+1 |
|\ \ | | | | | | | Change Telemetry Names to yuzu and remove links to citra | ||||
| * | | telemetry.h: Reword comment from citra to yuzu | N00byKing | 2018-03-27 | 1 | -1/+1 |
| | | | |||||
* | | | common: fix swap functions on Bitrig and OpenBSD | Daniel Lim Wee Soong | 2018-04-02 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | swap{16,32,64} are defined as macros on the two, but client code tries to invoke them as Common::swap{16,32,64}, which naturally doesn't work. This hack redefines the macros as inline functions in the Common namespace: the bodies of the functions are the same as the original macros, but relying on OS-specific implementation details like this is of course brittle. | ||||
* | | | service: Add NFP module interface. | bunnei | 2018-03-30 | 2 | -0/+2 |
|/ / | | | | | | | | | | | service: Initialize NFP service. Log: Add NFP service as a log subtype. | ||||
* | | log.h: Change comment from citra to yuzu | N00byKing | 2018-03-26 | 1 | -1/+1 |
| | | |||||
* | | file_util.h: Update Comment from citra to yuzu | N00byKing | 2018-03-26 | 1 | -1/+1 |
| | | |||||
* | | cpu_detect.cpp: Change comment from citra to yuzu | N00byKing | 2018-03-26 | 1 | -1/+1 |
| | | |||||
* | | Service/SSL: add ssl service | mailwl | 2018-03-23 | 2 | -0/+2 |
| | | |||||
* | | Service/spl: add module and services | mailwl | 2018-03-22 | 2 | -0/+2 |
| | | |||||
* | | CMake: Set EMU_ARCH_BITS in CMakeLists.txt | N00byKing | 2018-03-21 | 2 | -35/+0 |
| | | |||||
* | | Service: add fatal:u, fatal:p services | mailwl | 2018-03-20 | 2 | -0/+2 |
|/ | |||||
* | Merge pull request #206 from mailwl/aoc-listaddoncontent | bunnei | 2018-02-20 | 2 | -0/+2 |
|\ | | | | | Service/AOC: stub ListAddOnContent function | ||||
| * | Service/AOC: stub ListAddOnContent function | mailwl | 2018-02-20 | 2 | -0/+2 |
| | | |||||
* | | logging: Add category for Friend service. | bunnei | 2018-02-19 | 2 | -0/+2 |
|/ | |||||
* | log: Add logging category for NS services. | bunnei | 2018-02-15 | 2 | -0/+2 |
| | |||||
* | logger: Add Time service logging category. | bunnei | 2018-02-05 | 2 | -0/+2 |
| | |||||
* | logger: Add SET service logging category. | bunnei | 2018-02-05 | 2 | -15/+11 |
| | |||||
* | logger: Add PCTL service logging category. | bunnei | 2018-02-05 | 2 | -0/+2 |
| | |||||
* | logger: Add LM service logging category. | bunnei | 2018-02-05 | 2 | -0/+2 |
| | |||||
* | logger: Add APM service logging category. | bunnei | 2018-02-05 | 2 | -0/+2 |
| | |||||
* | logger: Add NIFM service logging category. | bunnei | 2018-02-05 | 2 | -0/+2 |
| | |||||
* | logger: Add VI service logging category. | bunnei | 2018-02-05 | 2 | -0/+2 |
| | |||||
* | logger: Add AM service logging category. | bunnei | 2018-02-04 | 2 | -0/+2 |
| | |||||
* | logger: Add "account" service logging category. | bunnei | 2018-02-04 | 2 | -0/+2 |
| | |||||
* | audout:u OpenAudioOut and IAudioOut (#138) | st4rk | 2018-01-25 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * Updated the audout:u and IAudioOut, now it might work with RetroArch without trigger an assert, however it's not the ideal implementation * audout:u OpenAudioOut implementation and IAudioOut cmd 1,2,3,4,5 implementation * using an enum for audio_out_state as well as changing its initialize to member initializer list * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * Minor fixes, added Service_Audio for LOG_*, changed PcmFormat enum to EnumClass * added missing Audio loggin subclass, minor fixes, clang comment breakline * Solving backend logging conflict * minor fix * Fixed duplicated Service NVDRV in backend.cpp, my bad | ||||
* | logging: add missing NVDRV subclass to macro list | Rozlette | 2018-01-24 | 1 | -0/+1 |
| | |||||
* | Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid (#114) | David | 2018-01-21 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Added nvmemp, Added /dev/nvhost-ctrl, SetClientPID now stores pid * used clang-format-3.9 instead * lowercase pid * Moved nvmemp handlers to cpp * Removed unnecessary logging for NvOsGetConfigU32. Cleaned up log and changed to LOG_DEBUG * using std::arrays instead of c arrays * nvhost get config now uses std::array completely * added pid logging back * updated cmakelist * missing includes * added array, removed memcpy * clang-format6.0 | ||||
* | Fix spelling error in CMakeLists | Matthew Brener | 2018-01-21 | 1 | -1/+1 |
| | | | Minor spelling error of its --> it's | ||||
* | Format: Run the new clang format on everything | James Rowe | 2018-01-21 | 19 | -43/+87 |
| | |||||
* | Merge pull request #84 from lioncash/cmake | bunnei | 2018-01-18 | 1 | -63/+57 |
|\ | | | | | CMakeLists: Derive the source directory grouping from targets themselves | ||||
| * | CMakeLists: Derive the source directory grouping from targets themselves | Lioncash | 2018-01-18 | 1 | -63/+57 |
| | | | | | | | | | | Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases. | ||||
* | | telemetry: Silence initialization order warnings | Lioncash | 2018-01-18 | 1 | -2/+2 |
|/ | |||||
* | loggin: Add IPC logging category. | bunnei | 2018-01-17 | 2 | -1/+3 |
| | |||||
* | Minor cleanup | MerryMage | 2018-01-14 | 1 | -1/+1 |
| | |||||
* | Removing unused settings and yuzu rebranding | James Rowe | 2018-01-13 | 1 | -5/+1 |
| | |||||
* | fix macos build | MerryMage | 2018-01-09 | 1 | -1/+1 |
| | |||||
* | CoreTiming: Reworked CoreTiming (cherry-picked from Citra #3119) | B3n30 | 2018-01-09 | 2 | -0/+123 |
| | | | | * CoreTiming: New CoreTiming; Add Test for CoreTiming | ||||
* | logging: Rename category "Core_ARM11" to "Core_ARM". | bunnei | 2017-10-23 | 2 | -2/+2 |
| | |||||
* | core: Refactor MakeMagic usage and remove dead code. | bunnei | 2017-10-15 | 1 | -0/+8 |
| | |||||
* | hle: Initial implementation of NX service framework and IPC. | bunnei | 2017-10-15 | 2 | -2/+2 |
| | |||||
* | hle: Remove a large amount of 3ds-specific service code. | bunnei | 2017-10-10 | 2 | -42/+0 |
| | |||||
* | Merge remote-tracking branch 'upstream/master' into nx | bunnei | 2017-10-10 | 7 | -18/+27 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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 | ||||
| * | Fixed type conversion ambiguity | Huw Pascoe | 2017-09-30 | 3 | -11/+5 |
| | | |||||
| * | Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types. | Subv | 2017-09-27 | 1 | -4/+8 |
| | | | | | | | | | | It is unlikely we will ever use this without first doing a Cast to a signed type. Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3 | ||||
| * | Merge pull request #2822 from wwylele/sw_lighting-2 | Weiyi Wang | 2017-08-09 | 2 | -4/+8 |
| |\ | | | | | | | Implement fragment lighting in the sw renderer (take 2) | ||||
| | * | vector_math: remove dead template parameter | wwylele | 2017-07-11 | 1 | -1/+1 |
| | | | |||||
| | * | vector_math: remove broken SFINAE stuff | wwylele | 2017-07-11 | 1 | -3/+2 |
| | | | | | | | | | | | | this was originally added to eliminate warnings on MSVC, but it doesn't work for custom types. | ||||
| | * | SwRasterizer: Flip the vertex quaternions before clipping (if necessary). | Subv | 2017-07-11 | 1 | -1/+1 |
| | | | |||||
| | * | SwRasterizer: Corrected the light LUT lookups. | Subv | 2017-07-11 | 1 | -0/+5 |
| | | | |||||
| * | | common: Add build timestamp to scm_rev. | bunnei | 2017-08-04 | 2 | -0/+3 |
| | | | |||||
* | | | arm: Use 64-bit addressing in a bunch of places. | bunnei | 2017-09-30 | 1 | -2/+2 |
|/ / | |||||
* / | logging: Add WebService as a log cateogry. | bunnei | 2017-07-10 | 2 | -1/+3 |
|/ | |||||
* | Implement basic virtual Room support based on enet (#2803) | B3n30 | 2017-07-07 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added support for network with ENet lib, connecting is possible, but data can't be sent, yet. * fixup! Added support for network with ENet lib, * fixup! CLang * fixup! Added support for network with ENet lib, * fixup! Added support for network with ENet lib, * fixup! Clang format * More fixups! * Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Clang again * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes * fixup! Moved ENetHost* and ENetPeer* into pimpl classes | ||||
* | Remove unnecessary WIN32_LEAN_AND_MEAN macro definition | Kloen | 2017-06-30 | 1 | -1/+0 |
| | |||||
* | Remove unused import in break_points.cpp (#2763) | Kloen Lansfiel | 2017-06-09 | 1 | -1/+0 |
| | |||||
* | CMake: Create INTERFACE targets for microprofile and nihstro | Yuri Kunde Schlesner | 2017-05-28 | 1 | -1/+1 |
| | |||||
* | CMake: Use IMPORTED target for Boost | Yuri Kunde Schlesner | 2017-05-28 | 1 | -0/+1 |
| | |||||
* | CMake: Correct inter-module dependencies and library visibility | Yuri Kunde Schlesner | 2017-05-28 | 1 | -1/+1 |
| | | | | | | | | | | 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: Fix some out-of-style includes | Yuri Kunde Schlesner | 2017-05-28 | 3 | -5/+5 |
| | |||||
* | Move framebuffer_layout from Common to Core | Yuri Kunde Schlesner | 2017-05-28 | 3 | -214/+0 |
| | | | | | | This removes a dependency inversion between core and common. It's also the proper place for the file since it makes screen layout decisions specific to the 3DS. | ||||
* | Merge pull request #2716 from yuriks/decentralized-result | bunnei | 2017-05-26 | 1 | -23/+42 |
|\ | | | | | Decentralize ResultCode | ||||
| * | Common: Clean up meta-template logic in BitField | Yuri Kunde Schlesner | 2017-05-25 | 1 | -3/+3 |
| | | |||||
| * | Make BitField and ResultCode constexpr-initializable | Yuri Kunde Schlesner | 2017-05-25 | 1 | -23/+42 |
| | | |||||
* | | Merge pull request #2697 from wwylele/proctex | Yuri Kunde Schlesner | 2017-05-25 | 1 | -0/+10 |
|\ \ | | | | | | | Implemented Procedural Texture (Texture Unit 3) | ||||
| * | | pica/swrasterizer: implement procedural texture | wwylele | 2017-05-20 | 1 | -0/+10 |
| |/ | |||||
* / | common: Add a generic interface for logging telemetry fields. | bunnei | 2017-05-25 | 3 | -0/+238 |
|/ | |||||
* | Remove unused symbols code | Yuri Kunde Schlesner | 2017-05-08 | 3 | -78/+0 |
| | |||||
* | Merge pull request #2512 from SonofUgly/custom-layout | bunnei | 2017-03-22 | 2 | -0/+27 |
|\ | | | | | Add custom layout settings. | ||||
| * | Add custom layout settings. | SonofUgly | 2017-02-23 | 2 | -0/+27 |
| | | |||||
* | | Merge pull request #2497 from wwylele/input-2 | bunnei | 2017-03-17 | 5 | -0/+164 |
|\ \ | | | | | | | Refactor input emulation & add SDL gamepad support | ||||
| * | | Input: add device and factory template | wwylele | 2017-03-01 | 2 | -0/+2 |
| | | | |||||
| * | | Common: add ParamPackage | wwylele | 2017-03-01 | 3 | -0/+162 |
| | | | |||||
* | | | Merge pull request #2618 from wwylele/log-less-filename | bunnei | 2017-03-17 | 1 | -9/+9 |
|\ \ \ | | | | | | | | | Reduce host file name and path logging | ||||
| * | | | file_util: Log when using local user directory | wwylele | 2017-03-11 | 1 | -0/+2 |
| | | | | |||||
| * | | | file_util: lower logging level for harmless cases | wwylele | 2017-03-08 | 1 | -9/+7 |
| |/ / | |||||
* / / | common/cpu_detect: Add missing include and fix namespace scope | Yuri Kunde Schlesner | 2017-03-13 | 1 | -5/+7 |
|/ / | |||||
* | | Merge pull request #2587 from yuriks/status-bar | Yuri Kunde Schlesner | 2017-02-27 | 4 | -204/+25 |
|\ \ | | | | | | | Replace built-in Profiler with indicators in status bar | ||||
| * | | Remove built-in (non-Microprofile) profiler | Yuri Kunde Schlesner | 2017-02-27 | 3 | -186/+0 |
| | | | |||||
| * | | SynchronizedWrapper: Add Lock convenience method | Yuri Kunde Schlesner | 2017-02-27 | 1 | -18/+25 |
| | | | |||||
* | | | Merge pull request #2569 from wwylele/wrap-unwrap | bunnei | 2017-02-25 | 3 | -0/+3 |
|\ \ \ | | | | | | | | | APT: implemented Wrap and Unwrap | ||||
| * | | | HW: add AES engine & implement AES-CCM | wwylele | 2017-02-21 | 3 | -0/+3 |
| | | | | |||||
* | | | | Gui: Change title bar to include build name | James Rowe | 2017-02-23 | 3 | -0/+26 |
| |/ / |/| | | | | | | | | | | | Nightly builds now have "Citra Nightly" in the titlebar Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar | ||||
* | | | applied the change suggested by @wwylele | noah the goodra | 2017-02-14 | 1 | -0/+1 |
| | | | |||||
* | | | added http service enum to the log.h file | noah the goodra | 2017-02-14 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #2476 from yuriks/shader-refactor3 | Yuri Kunde Schlesner | 2017-02-04 | 1 | -14/+19 |
|\ \ | | | | | | | Oh No! More shader changes! | ||||
| * | | Common: Optimize BitSet iterator | Yuri Kunde Schlesner | 2017-01-30 | 1 | -14/+19 |
| |/ | |||||
* | | Common/x64: remove legacy emitter and abi (#2504) | Weiyi Wang | 2017-01-31 | 5 | -4201/+1 |
| | | | | | | These are not used any more since we moved shader JIT to xbyak. | ||||
* | | file_util: Fixed implicit type conversion warning (#2503) | noah the goodra | 2017-01-31 | 1 | -2/+2 |
|/ | |||||
* | common: add <cstddef> to hash.h | Kloen | 2017-01-28 | 1 | -0/+1 |
| | |||||
* | common: switch ComputeHash64 len param to size_t instead of int, fix warning on MSVC on dsp_dsp.cpp | Kloen | 2017-01-28 | 2 | -6/+6 |
| | |||||
* | Merge pull request #1951 from wwylele/motion-sensor | bunnei | 2017-01-07 | 5 | -0/+76 |
|\ | | | | | Emulate motion sensor in frontend | ||||
| * | Common: add Quaternion | wwylele | 2016-12-26 | 2 | -0/+45 |
| | | |||||
| * | vector math: add implementation of Length and Normalize | wwylele | 2016-12-26 | 1 | -0/+19 |
| | | |||||
| * | MathUtil: add PI constant | wwylele | 2016-12-26 | 1 | -0/+2 |
| | | |||||
| * | Common::Event: add WaitUntil | wwylele | 2016-12-26 | 1 | -0/+10 |
| | | |||||
* | | Service/NFC: stub GetTagInRangeEvent | mailwl | 2016-12-30 | 2 | -0/+2 |
|/ | | | | Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge | ||||
* | Merge pull request #2369 from MerryMage/core-frontend | bunnei | 2016-12-23 | 5 | -646/+0 |
|\ | | | | | core: Move emu_window and key_map into core | ||||
| * | core: Move emu_window and key_map into core | MerryMage | 2016-12-23 | 5 | -646/+0 |
| | | | | | | | | * Removes circular dependences (common should not depend on core) | ||||
* | | file_util: fix missing sysdata path | wwylele | 2016-12-23 | 1 | -3/+1 |
|/ | |||||
* | Merge pull request #2343 from bunnei/core-cleanup | bunnei | 2016-12-22 | 3 | -87/+3 |
|\ | | | | | Core: Top-level consolidate & misc cleanup | ||||
| * | file_util: Remove unused paths. | bunnei | 2016-12-22 | 3 | -87/+3 |
| | | |||||
* | | Merge pull request #2285 from mailwl/csnd-format | bunnei | 2016-12-22 | 2 | -0/+2 |
|\ \ | |/ |/| | csnd:SND: Reformat source code | ||||
| * | csnd:SND reformat source code | mailwl | 2016-12-12 | 2 | -0/+2 |
| | | |||||
* | | Fixed GPLv2 license text in the start. | Vamsi Krishna | 2016-12-18 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2316 from endrift/macos-gcc | bunnei | 2016-12-16 | 1 | -0/+11 |
|\ \ | | | | | | | Common: Fix gcc build on macOS | ||||
| * | | Common: Fix gcc build on macOS | Jeffrey Pfau | 2016-12-13 | 1 | -0/+11 |
| |/ | |||||
* / | VideoCore: Convert x64 shader JIT to use Xbyak for assembly | Yuri Kunde Schlesner | 2016-12-15 | 3 | -1/+234 |
|/ | |||||
* | Support mingw cross-compile | Jannik Vogel | 2016-12-05 | 5 | -5/+6 |
| | |||||
* | Merge pull request #2228 from freiro/winver_fix | Yuri Kunde Schlesner | 2016-12-01 | 1 | -3/+0 |
|\ | | | | | Move WINVER definition to cmake and a bit of cleanup | ||||
| * | WINVER definition moved to CMake and cleanup | freiro | 2016-11-30 | 1 | -3/+0 |
| | | |||||
* | | Set client SDK version to Service APIs | mailwl | 2016-11-30 | 1 | -3/+2 |
|/ | |||||
* | Build: Fixed a few warnings. | Subv | 2016-11-29 | 1 | -4/+4 |
| | |||||
* | Merge pull request #2168 from mailwl/mic | Sebastian Valle | 2016-11-27 | 2 | -0/+2 |
|\ | | | | | MIC_U: Stub service funcions | ||||
| * | MIC_U: Stub service funcions | mailwl | 2016-11-25 | 2 | -0/+2 |
| | | |||||
* | | Move to AppData/Roaming/Citra/ | freiro | 2016-11-26 | 1 | -1/+1 |
| | | |||||
* | | Removed /user/ from path | freiro | 2016-11-26 | 1 | -2/+1 |
| | | |||||
* | | Switch to AppData/Roaming | freiro | 2016-11-24 | 2 | -4/+4 |
| | | |||||
* | | Return by value and other fixes | freiro | 2016-11-19 | 2 | -14/+8 |
| | | |||||
* | | Win32 move default user folder location to AppData | freiro | 2016-11-19 | 2 | -0/+24 |
|/ | |||||
* | Merge pull request #2172 from jroweboy/fix-mingw | bunnei | 2016-11-16 | 1 | -2/+3 |
|\ | | | | | Fix mingw compilation support | ||||
| * | Add mingw compile support | James Rowe | 2016-11-14 | 1 | -2/+3 |
| | | |||||
* | | Round the rectangle size to prevent float to int casting issues | James Rowe | 2016-11-12 | 3 | -8/+9 |
| | | | | | | | | And other minor style changes | ||||
* | | Add default hotkey to swap primary screens. | James Rowe | 2016-11-05 | 4 | -7/+10 |
| | | | | | | | | Also minor style changes | ||||
* | | Rework frame layouts to use a max rectangle instead of hardcoded calculations | James Rowe | 2016-11-05 | 2 | -250/+100 |
| | | |||||
* | | LargeFrameLayout + Swapped | SonofUgly | 2016-11-05 | 1 | -50/+36 |
| | | | | | | Make small screen stay at 1x, and large screen maintain its aspect ratio. | ||||
* | | Support additional screen layouts. | James Rowe | 2016-11-05 | 5 | -73/+382 |
|/ | | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen. | ||||
* | common: use system bswap* functions on more BSDs | Jan Beich | 2016-10-28 | 1 | -2/+5 |
| | |||||
* | common: use system CPUID routine on DragonFly as well | Jan Beich | 2016-10-28 | 1 | -2/+2 |
| | |||||
* | common: some FreeBSD headers are incomplete to avoid namespace pollution | Jan Beich | 2016-10-28 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | In file included from src/common/x64/cpu_detect.cpp:16: /usr/include/machine/cpufunc.h:66:17: error: unknown type name 'u_int' static __inline u_int ^ /usr/include/machine/cpufunc.h:67:6: error: unknown type name 'u_int' bsfl(u_int mask) ^ /usr/include/machine/cpufunc.h:69:2: error: unknown type name 'u_int' u_int result; ^ /usr/include/machine/cpufunc.h:75:17: error: unknown type name 'u_long'; did you mean 'long'? static __inline u_long ^ /usr/include/machine/cpufunc.h:76:6: error: unknown type name 'u_long'; did you mean 'long'? bsfq(u_long mask) ^ /usr/include/machine/cpufunc.h:78:2: error: use of undeclared identifier 'u_long'; did you mean 'long'? u_long result; ^ [...] | ||||
* | common: convert to standard stat()/fstat() interfaces | Anthony J. Bentley | 2016-10-28 | 1 | -15/+10 |
| | | | | | | | | | | | | | Most modern Unix environments use 64-bit off_t by default: OpenBSD, FreeBSD, OS X, and Linux libc implementations such as Musl. glibc is the lone exception; it can default to 32 bits but this is configurable by setting _FILE_OFFSET_BITS. Avoiding the stat64()/fstat64() interfaces is desirable because they are nonstandard and not implemented on many systems (including OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either the default or trivial to set up. | ||||
* | common: stat64 is non-standard, hide on a random Unix | Jan Beich | 2016-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/common/file_util.cpp:79:19: error: variable has incomplete type 'struct stat64' struct stat64 file_info; ^ src/common/file_util.cpp:79:12: note: forward declaration of 'stat64' struct stat64 file_info; ^ src/common/file_util.cpp:99:19: error: variable has incomplete type 'struct stat64' struct stat64 file_info; ^ src/common/file_util.cpp:99:12: note: forward declaration of 'stat64' struct stat64 file_info; ^ src/common/file_util.cpp:342:19: error: variable has incomplete type 'struct stat64' struct stat64 buf; ^ src/common/file_util.cpp:342:12: note: forward declaration of 'stat64' struct stat64 buf; ^ src/common/file_util.cpp:359:19: error: variable has incomplete type 'struct stat64' struct stat64 buf; ^ src/common/file_util.cpp:359:12: note: forward declaration of 'stat64' struct stat64 buf; ^ 4 errors generated. | ||||
* | common: only FreeBSD has thread affinity compatible with Linux | Jan Beich | 2016-10-28 | 1 | -1/+5 |
| | | | | | | | | | | | src/common/thread.cpp:90:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:48:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ 1 error generated. | ||||
* | common: define routines to set thread name on more BSDs | Jan Beich | 2016-10-28 | 1 | -2/+4 |
| | | | | | | | src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np' pthread_setname_np(pthread_self(), szThreadName); ^ 1 error generated. | ||||
* | Fix typos | Ricardo de Almeida Gonzaga | 2016-10-20 | 2 | -2/+2 |
| | |||||
* | Merge pull request #2024 from JamePeng/update-boss-code | bunnei | 2016-10-08 | 2 | -0/+2 |
|\ | | | | | Update the stub code of BOSS | ||||
| * | Update the stub code of BOSS | JamePeng | 2016-10-02 | 2 | -0/+2 |
| | | |||||
* | | Common: Remove dangerous Vec[234] array constructors | Yuri Kunde Schlesner | 2016-09-30 | 1 | -3/+0 |
|/ | | | | | They're not currently used, and it's easy to accidentally pass a single pointer argument to them, causing an out-of-bounds read. | ||||
* | Remove special rules for Windows.h and library includes | Yuri Kunde Schlesner | 2016-09-21 | 3 | -1/+3 |
| | |||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 10 | -11/+11 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 32 | -54/+13 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 15 | -61/+32 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 51 | -3389/+4172 |
| | |||||
* | microprofile: Double buffer size to 16MB. | bunnei | 2016-09-15 | 1 | -1/+1 |
| | |||||
* | Common: readdir_r() is deprecated, switch to readdir(). | Emmanuel Gil Peyrot | 2016-09-13 | 1 | -6/+2 |
| | |||||
* | Protection against a resize of size 0 | Alexandre LittleWhite Laurent | 2016-07-23 | 1 | -4/+3 |
| | |||||
* | Remove superfluous std::move in return std::move(local_var) | scurest | 2016-06-25 | 1 | -1/+1 |
| | |||||
* | Fix recursive scanning of directories | Yuri Kunde Schlesner | 2016-06-19 | 2 | -17/+12 |
| | | | | | | ForeachDirectoryEntry didn't actually do anything with the `recursive` parameter, and the corresponding callback parameter was shadowing the actual recursion counters in the user functions. | ||||
* | Merge pull request #1789 from wwylele/input-refactor | bunnei | 2016-06-11 | 4 | -23/+232 |
|\ | | | | | Refactor input mapping & implement circle pad modifier | ||||
| * | fixup! fixup! Refactor input system | wwylele | 2016-05-15 | 2 | -7/+7 |
| | | |||||
| * | fixup! Refactor input system | wwylele | 2016-05-15 | 2 | -20/+24 |
| | | |||||
| * | implement circle pad modifier | wwylele | 2016-05-15 | 2 | -4/+22 |
| | | |||||
| * | Refactor input subsystem | wwylele | 2016-05-15 | 4 | -23/+210 |
| | | |||||
* | | Merge pull request #1751 from linkmauve/no-recursive-readdir | bunnei | 2016-05-31 | 2 | -24/+36 |
|\ \ | | | | | | | Make recursive FileUtil functions take a maximum recursion | ||||
| * | | Common: Make recursive FileUtil functions take a maximum recursion | Emmanuel Gil Peyrot | 2016-05-21 | 2 | -24/+36 |
| |/ | | | | | | | | | | | | | | | | | | | Fixes #1115. Also improves the performances of DiskArchive’s directory implementation a lot, simply by not going through the entire tree instead of just listing the first level files. Thanks to JayRoxFox for rebasing this on current master! | ||||
* / | common_funcs: Provide rotr and rotl for MSVC | MerryMage | 2016-05-27 | 1 | -12/+18 |
|/ | |||||
* | swap: Get rid of pointer casting for swapping structs | Lioncash | 2016-05-09 | 1 | -5/+5 |
| | | | | These shouldn't haphazardly convert types | ||||
* | swap: Get rid of undefined behavior in swapf and swapd | Lioncash | 2016-05-09 | 1 | -14/+18 |
| | | | | This isn't well-defined in C++. | ||||
* | swap: Remove unused methods | Lioncash | 2016-05-09 | 1 | -28/+0 |
| | | | | | | | Also gets rid of pointer data variants as this prevents the use of the regular swapping routines as unary predicates in std lib functions. They also cast to stricter alignment types, which is undefined behavior. | ||||
* | Merge pull request #1736 from MerryMage/sdl2-sink | bunnei | 2016-05-07 | 2 | -1/+3 |
|\ | | | | | AudioCore: SDL2 Sink | ||||
| * | AudioCore: SDL2 Sink | MerryMage | 2016-05-07 | 2 | -1/+3 |
| | | |||||
* | | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 6 | -5/+14 |
|/ | |||||
* | Common: Remove section measurement from profiler (#1731) | Yuri Kunde Schlesner | 2016-04-29 | 5 | -259/+6 |
| | | | | This has been entirely superseded by MicroProfile. The rest of the code can go when a simpler frametime/FPS meter is added to the GUI. | ||||
* | Make Citra build with MICROPROFILE_ENABLED set to 0 (#1709) | Henrik Rydgård | 2016-04-29 | 1 | -0/+4 |
| | | | | | | | | | | | | * Make Citra build with MICROPROFILE_ENABLED set to 0 * Buildfix with microprofile kept on * moc did not like a dialog to conditionally exist. * Cleanup * Fix end of line | ||||
* | assert: Allow UNREACHABLE_MSG to have just one argument | Sam Spilsbury | 2016-04-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1576 from smspillaz/fix-build-errors-03272016 | bunnei | 2016-04-24 | 1 | -0/+2 |
|\ | | | | | Fix various build errors encountered on Clang 3.9 on OS X | ||||
| * | assert: Add _MSG variations for UNREACHABLE and UNIMPLEMENTED | Sam Spilsbury | 2016-04-23 | 1 | -0/+2 |
| | | |||||
* | | Protect use of std::is_trivially_copyable to compile with GCC 4.9 | LittleWhite | 2016-04-23 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #1672 from wwylele/win-driver-fix | bunnei | 2016-04-19 | 1 | -3/+12 |
|\ | | | | | Fix driver root identification on Windows | ||||
| * | fix driver root identification on Windows | wwylele | 2016-04-15 | 1 | -3/+12 |
| | | |||||
* | | Merge pull request #1666 from MerryMage/barrier | bunnei | 2016-04-15 | 1 | -24/+22 |
|\ \ | | | | | | | Thread: Correct Common::Barrier implementation | ||||
| * | | Thread: Make Barrier reusable | MerryMage | 2016-04-14 | 1 | -5/+5 |
| | | | |||||
| * | | common/thread: Correct code style | MerryMage | 2016-04-14 | 1 | -21/+19 |
| |/ | |||||
* | | Merge pull request #1665 from lioncash/file | bunnei | 2016-04-14 | 2 | -47/+22 |
|\ \ | | | | | | | IOFile: Minor API changes | ||||
| * | | file_util: In-class initialize data members | Lioncash | 2016-04-14 | 2 | -6/+4 |
| | | | |||||
| * | | file_util: const qualify IOFile's Tell and GetSize functions | Lioncash | 2016-04-14 | 2 | -8/+8 |
| | | | |||||
| * | | file_util: Don't expose IOFile internals through the API | Lioncash | 2016-04-14 | 2 | -30/+4 |
| | | | |||||
| * | | file_util: Check for is_trivially_copyable | Lioncash | 2016-04-14 | 1 | -3/+5 |
| | | | | | | | | | | | | Also applies the template checks to ReadArray as well. | ||||
| * | | file_util: Make IOFile data members private | Lioncash | 2016-04-14 | 1 | -0/+1 |
| |/ | |||||
* | | emitter: Add CALL that can be fixed up. | bunnei | 2016-04-14 | 2 | -0/+13 |
| | | |||||
* | | emitter: Support arbitrary FixupBranch targets. | bunnei | 2016-04-14 | 2 | -0/+17 |
|/ | |||||
* | FileUtil: Missing #include, Add const to IOFile methods | MerryMage | 2016-04-12 | 1 | -6/+7 |
| | |||||
* | cecd:u: stub GetCecStateAbbreviated (#1648) | mailwl | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1435 from mailwl/frd_u | bunnei | 2016-04-06 | 2 | -0/+2 |
|\ | | | | | frd:u: Initial stub some functions | ||||
| * | frd:u: Initial stub some functions | mailwl | 2016-03-27 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #1643 from MerryMage/make_unique | Mathew Maidment | 2016-04-06 | 2 | -18/+0 |
|\ \ | | | | | | | Common: Remove Common::make_unique, use std::make_unique | ||||
| * | | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 2016-04-05 | 2 | -18/+0 |
| | | | |||||
* | | | Merge pull request #1620 from LFsWang/path | bunnei | 2016-04-05 | 3 | -26/+43 |
|\ \ \ | | | | | | | | | Fix filename&path encode problem on Windows | ||||
| * | | | remove debug code | LFsWang | 2016-03-31 | 1 | -1/+1 |
| | | | | |||||
| * | | | fix unicode url problem on windows | LFsWang | 2016-03-31 | 1 | -6/+18 |
| | | | | |||||
| * | | | Fix encode problem On Windows | LFsWang | 2016-03-31 | 3 | -21/+26 |
| | |/ | |/| | |||||
* | | | Merge pull request #1616 from exhalatio/dlp_dummy | bunnei | 2016-04-03 | 2 | -0/+2 |
|\ \ \ | | | | | | | | | Dummy implementation dlp:SRVR Service. | ||||
| * | | | Dummy implementation dlp:SRVR Service. | exhalatio | 2016-04-02 | 2 | -0/+2 |
| | |/ | |/| | |||||
* | | | cecd:u: stub GetCecInfoEventHandle, GetChangeStateEventHandle | mailwl | 2016-03-31 | 2 | -0/+2 |
| |/ |/| | |||||
* | | remove unnecessary const | wwylele | 2016-03-26 | 1 | -2/+2 |
| | | |||||
* | | implement accel and gyro backend | wwylele | 2016-03-22 | 1 | -0/+48 |
|/ | |||||
* | vector_math: Add missing member in Vec4's SetZero function | Lioncash | 2016-03-18 | 1 | -1/+4 |
| | |||||
* | Reorganize the ndm service path for dummy implement function | JamePeng | 2016-03-14 | 2 | -0/+2 |
| | | | | | | SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now! | ||||
* | Merge pull request #1509 from lioncash/noncopy | bunnei | 2016-03-13 | 1 | -3/+3 |
|\ | | | | | common: Minor changes to NonCopyable | ||||
| * | common_types: Make NonCopyable constructor constexpr | Lioncash | 2016-03-13 | 1 | -1/+1 |
| | | |||||
| * | common_types: Specify const in deleted copy constructor/assignment operator | Lioncash | 2016-03-13 | 1 | -2/+2 |
| | | |||||
* | | PICA: Align vertex attributes | Jannik Vogel | 2016-03-13 | 2 | -0/+23 |
|/ | |||||
* | Merge pull request #1476 from lioncash/emit | bunnei | 2016-03-10 | 1 | -59/+54 |
|\ | | | | | emitter: constexpr/misc changes | ||||
| * | emitter: templatize ImmPtr | Lioncash | 2016-03-09 | 1 | -2/+6 |
| | | |||||
| * | emitter: constexpr-ify helper functions | Lioncash | 2016-03-09 | 1 | -19/+17 |
| | | |||||
| * | emitter: Get rid of CanDoOpWith | Lioncash | 2016-03-09 | 1 | -7/+0 |
| | | | | | | | | | | This was removed in Dolphin as there were no particular uses for it. I'm sure the same will apply to citra. | ||||
| * | emitter: constexpr-ify OpArg | Lioncash | 2016-03-09 | 1 | -30/+30 |
| | | |||||
| * | emitter: friend class OpArg with XEmitter | Lioncash | 2016-03-09 | 1 | -3/+4 |
| | | |||||
| * | emitter: Remove unimplemented prototype | Lioncash | 2016-03-09 | 1 | -1/+0 |
| | | |||||
* | | Common: Get rid of alignment macros | Lioncash | 2016-03-09 | 1 | -9/+1 |
|/ | | | | | The gl rasterizer already uses alignas, so we may as well move everything over. | ||||
* | Merge pull request #1297 from Subv/saves | bunnei | 2016-03-01 | 1 | -1/+1 |
|\ | | | | | DiskDirectory: Initialize the directory member with valid info. | ||||
| * | DiskDirectory: Initialize the directory member with valid info. | Subv | 2016-01-16 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1427 from MerryMage/emit-lbit | Yuri Kunde Schlesner | 2016-02-28 | 1 | -2/+2 |
|\ \ | | | | | | | x64 Emitter: Fix L bit in VEX prefix | ||||
| * | | x64 Emitter: Fix L bit in VEX prefix | MerryMage | 2016-02-27 | 1 | -2/+2 |
| | | | |||||
* | | | Initial implementation ir:user | mailwl | 2016-02-26 | 2 | -0/+2 |
|/ / | |||||
* | | AudioCore: Skeleton Implementation | MerryMage | 2016-02-21 | 3 | -1/+5 |
| | | | | | | | | | | | | | | | | | | This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation. | ||||
* | | BitField: Make trivially copyable and remove assignment operator | MerryMage | 2016-02-12 | 2 | -26/+22 |
| | | |||||
* | | backend: defaulted move constructor/assignment | Lioncash | 2016-02-05 | 1 | -18/+2 |
| | | |||||
* | | color: Make trivial helpers constexpr | Lioncash | 2016-01-28 | 1 | -8/+8 |
| | | |||||
* | | key_map: Use std::tie for comparisons | Lioncash | 2016-01-25 | 1 | -7/+7 |
|/ | |||||
* | Add missing return values in ForeachDirectoryEntry | LFsWang | 2015-12-23 | 1 | -4/+14 |
| | | | | | ForeachDirectoryEntry is changed by #1256 ,but return value at last line was missing. | ||||
* | Merge pull request #1252 from Subv/cam | bunnei | 2015-12-04 | 2 | -0/+2 |
|\ | | | | | Services/Cam: Added new log type and camera enums from 3dbrew. | ||||
| * | Services/Cam: Added new log type and camera enums from 3dbrew. | Subv | 2015-11-23 | 2 | -0/+2 |
| | | | | | | | | | | Followup to #1102 Original author @mailwl | ||||
* | | Refactor ScanDirectoryTreeAndCallback to separate errors and retvals | archshift | 2015-11-27 | 2 | -50/+53 |
|/ | | | | | | | | | ScanDirectoryTreeAndCallback, before this change, coupled error/return codes and actual return values (number of entries found). This caused confusion and difficulty interpreting the precise way the function worked. Supersedes, and closes #1255. | ||||
* | fix failure on gcc and clang | wwylele | 2015-11-12 | 1 | -3/+3 |
| | |||||
* | disable unary minus when the type is not signed | wwylele | 2015-11-12 | 1 | -0/+4 |
| | | | | silent warning C4146 on msvc | ||||
* | Implement gdbstub | polaris- | 2015-10-04 | 2 | -0/+2 |
| | |||||
* | Merge pull request #1176 from lioncash/vs2015-code-junking-day | bunnei | 2015-10-03 | 1 | -11/+0 |
|\ | | | | | Obligatory "Throw out workarounds VS2013 once limited us to" PR | ||||
| * | bit_field: Re-enable code on MSVC | Lioncash | 2015-10-01 | 1 | -11/+0 |
| | | |||||
* | | Merge pull request #1095 from archshift/game-list | bunnei | 2015-10-02 | 2 | -103/+83 |
|\ \ | | | | | | | Initial implementation of a game list | ||||
| * | | Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behavior | archshift | 2015-10-01 | 2 | -103/+83 |
| | | | | | | | | | | | | | | | Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally. | ||||
* | | | symbols: Replace an insert call with emplace | Lioncash | 2015-09-30 | 1 | -1/+1 |
| | | | |||||
* | | | symbols: Get rid of initial underscores in variable names | Lioncash | 2015-09-30 | 2 | -20/+20 |
| | | | |||||
* | | | symbols: Directly initialize TSymbol members | Lioncash | 2015-09-30 | 1 | -8/+3 |
| | | | |||||
* | | | symbols: Simplify GetSymbol | Lioncash | 2015-09-30 | 1 | -8/+5 |
| |/ |/| | |||||
* | | hash: Get rid of unused functions | Lioncash | 2015-09-16 | 1 | -16/+0 |
| | | |||||
* | | general: Silence some warnings when using clang | Lioncash | 2015-09-16 | 1 | -2/+2 |
|/ | |||||
* | memory_util: Remove unnecessary assignment in FreeMemoryPages | Lioncash | 2015-09-12 | 1 | -3/+0 |
| | |||||
* | memory_util: Remove commented out printf statements | Lioncash | 2015-09-12 | 1 | -10/+0 |
| | |||||
* | general: Replace 0 literals with nullptr where applicable | Lioncash | 2015-09-12 | 2 | -6/+6 |
| | |||||
* | synchronized_wrapper: Add missing return in SynchronizedRef move assignment operator | Lioncash | 2015-09-12 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1144 from lioncash/remove | bunnei | 2015-09-11 | 4 | -176/+0 |
|\ | | | | | common: Get rid of debug_interface.h | ||||
| * | common: Get rid of debug_interface.h | Lioncash | 2015-09-11 | 4 | -176/+0 |
| | | | | | | | | | | | | This is technically unused. Also removes TMemChecks because it relies on this. Whenever memory breakpoints are implemented for real, it should be designed to match the codebase debugging mechanisms. | ||||
* | | common: Get rid of a cast in swap.h | Lioncash | 2015-09-11 | 1 | -2/+2 |
|/ | |||||
* | x64: Proper stack alignment in shader JIT function calls | aroulin | 2015-09-01 | 3 | -424/+90 |
| | | | | | Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files | ||||
* | Common: Import BitSet from Dolphin | aroulin | 2015-09-01 | 2 | -0/+190 |
| | |||||
* | Common: Fix MicroProfile compilation in MSVC2015 | Yuri Kunde Schlesner | 2015-08-28 | 1 | -0/+5 |
| | |||||
* | Integrate the MicroProfile profiling library | Yuri Kunde Schlesner | 2015-08-25 | 4 | -0/+51 |
| | | | | | This brings goodies such as a configurable user interface and multi-threaded timeline view. | ||||
* | x64-emitter: add RCPSS SSE instruction | aroulin | 2015-08-23 | 2 | -0/+2 |
| | |||||
* | Merge pull request #1058 from lioncash/ptr | Lioncash | 2015-08-23 | 2 | -4/+27 |
|\ | | | | | emitter: Remove pointer casts | ||||
| * | emitter: Remove pointer casts | Lioncash | 2015-08-21 | 2 | -4/+27 |
| | | | | | | | | This should also technically silence quite a few ubsan warnings. | ||||
* | | Merge pull request #1025 from yuriks/heap-management | Yuri Kunde Schlesner | 2015-08-22 | 1 | -8/+7 |
|\ \ | |/ |/| | Kernel: Correct(er) handling of Heap and Linear Heap allocations | ||||
| * | VMManager: Make LogLayout log level configurable as a parameter | Yuri Kunde Schlesner | 2015-08-16 | 1 | -8/+7 |
| | | |||||
* | | emitter: Remove unnecessary defines | Lioncash | 2015-08-20 | 1 | -5/+1 |
| | | |||||
* | | emitter: Remove unnecessary else keywords | Lioncash | 2015-08-20 | 1 | -7/+7 |
| | | |||||
* | | emitter: Remove unused code | Lioncash | 2015-08-20 | 2 | -44/+0 |
| | | |||||
* | | emitter: Remove unimplemented JMP prototype | Lioncash | 2015-08-20 | 1 | -1/+0 |
| | | |||||
* | | emitter: Pass OpArg by reference where possible | Lioncash | 2015-08-20 | 2 | -763/+763 |
| | | |||||
* | | emitter: Remove unnecessary inline specifiers | Lioncash | 2015-08-20 | 1 | -33/+33 |
| | | | | | | | | Functions implemented in a class definition are already implicitly inline. | ||||
* | | Merge pull request #1035 from darkf/mingw-fix | bunnei | 2015-08-20 | 2 | -4/+10 |
|\ \ | | | | | | | Fix building under MinGW | ||||
| * | | Fix building under MinGW | darkf | 2015-08-18 | 2 | -4/+10 |
| |/ | |||||
* / | videocore: Added RG8 texture support | Patrick Martin | 2015-08-16 | 1 | -0/+18 |
|/ | |||||
* | Merge pull request #1031 from bbarenblat/master | Yuri Kunde Schlesner | 2015-08-16 | 1 | -1/+2 |
|\ | | | | | Handle invalid `Log::Class` | ||||
| * | Handle invalid `Log::Class` | Benjamin Barenblat | 2015-08-15 | 1 | -1/+2 |
| | | | | | | | | | | | | Add a case of `Log::Class::Count` to the switch statement that dispatches on `Log::Class`. The case simply calls the `UNREACHABLE` macro. | ||||
* | | Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64. | bunnei | 2015-08-16 | 8 | -14/+14 |
| | | |||||
* | | Common: Cleanup CPU capability detection code. | bunnei | 2015-08-16 | 4 | -198/+141 |
| | | |||||
* | | Common: Move cpu_detect to x64 directory. | bunnei | 2015-08-16 | 4 | -5/+5 |
| | | |||||
* | | x64: Refactor to remove fake interfaces and general cleanups. | bunnei | 2015-08-16 | 10 | -516/+26 |
| | | |||||
* | | Common: Added MurmurHash3 hash function for general-purpose use. | bunnei | 2015-08-15 | 5 | -2/+158 |
| | | |||||
* | | Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP. | bunnei | 2015-08-15 | 9 | -4/+4380 |
| | | |||||
* | | Common: Ported over Dolphin's code for x86 CPU capability detection. | bunnei | 2015-08-15 | 4 | -17/+273 |
|/ | |||||
* | Stop defining GCC always_inline attributes as __forceinline | archshift | 2015-08-12 | 2 | -7/+8 |
| | | | | | __forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved. | ||||
* | Merge pull request #1018 from bbarenblat/master | bunnei | 2015-08-05 | 2 | -1/+8 |
|\ | | | | | Handle invalid `Log::Level::Count` | ||||
| * | Use UNREACHABLE macro for impossible cases in previous commit | Benjamin Barenblat | 2015-08-03 | 2 | -4/+3 |
| | | | | | | | | Use the UNREACHABLE macro instead of `ASSERT(false, ...);`. | ||||
| * | Handle invalid `Log::Level::Count` | Benjamin Barenblat | 2015-08-02 | 2 | -1/+9 |
| | | | | | | | | | | | | Add a case of `Log::Level::Count` to all switch statements that dispatch on `Log::Level`. The case simply asserts `false` and notes the invalid log level. | ||||
* | | Common: Work around bug in MSVC2015 standard library | Yuri Kunde Schlesner | 2015-08-03 | 1 | -0/+14 |
|/ | | | | | | The char16_t/char32_t implementations aren't present in the library and cause linker errors. This is a known issue that wasn't fixed in VS2015 RTM. | ||||
* | Common : Fix Conversion Warnings | zawata | 2015-07-19 | 1 | -1/+1 |
| | |||||
* | Common: Remove the unused and commented GetThemeDir prototype from FileUtil. | Emmanuel Gil Peyrot | 2015-07-18 | 1 | -3/+0 |
| | |||||
* | Pica: Implement stencil testing. | Tony Wasserka | 2015-07-13 | 1 | -1/+26 |
| | |||||
* | FileUtil: Add a WriteObject method for writing a single, POD-type object. | Tony Wasserka | 2015-07-13 | 1 | -0/+10 |
| | |||||
* | don´t define snprintf on Visual Studio 2015 | Apology11 | 2015-07-12 | 1 | -2/+4 |
| | | | Visual Studio 2015 defines this in stdio now | ||||
* | Merge pull request #914 from yuriks/bitfield-mask | Yuri Kunde Schlesner | 2015-07-12 | 1 | -2/+2 |
|\ | | | | | Common: Fix mask generation in BitField | ||||
| * | Common: Remove redundant masking in BitField | Yuri Kunde Schlesner | 2015-07-10 | 1 | -1/+1 |
| | | | | | | | | | | For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant. | ||||
| * | Common: Fix mask generation in BitField | Yuri Kunde Schlesner | 2015-07-10 | 1 | -1/+1 |
| | | | | | | | | Fixes #913 | ||||
* | | Common: Remove thunk.h | Lioncash | 2015-07-11 | 2 | -43/+0 |
| | | | | | | | | This isn't used, and there's no implementations of the member functions. | ||||
* | | Merge pull request #876 from linkmauve/include-cleanups | Yuri Kunde Schlesner | 2015-07-11 | 26 | -236/+86 |
|\ \ | |/ |/| | Cleanup includes, mostly in common | ||||
| * | Core: Cleanup file_sys includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | | |||||
| * | Core: Cleanup core includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -1/+2 |
| | | |||||
| * | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 2 | -1/+1 |
| | | |||||
| * | Common: Cleanup emu_window includes. | Emmanuel Gil Peyrot | 2015-06-28 | 2 | -3/+15 |
| | | |||||
| * | Common: Remove unused ROUND_UP_POW2 macro. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -7/+0 |
| | | |||||
| * | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | | |||||
| * | Common: Cleanup memory and misc includes. | Emmanuel Gil Peyrot | 2015-06-28 | 7 | -22/+18 |
| | | |||||
| * | Common: Cleanup profiler includes. | Emmanuel Gil Peyrot | 2015-06-28 | 4 | -7/+10 |
| | | |||||
| * | Common: Cleanup thread includes. | Emmanuel Gil Peyrot | 2015-06-28 | 2 | -18/+15 |
| | | |||||
| * | Common: Fix string_util includes. | Emmanuel Gil Peyrot | 2015-06-28 | 2 | -3/+9 |
| | | |||||
| * | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 2015-06-28 | 3 | -7/+14 |
| | | |||||
| * | Common: Remove now-unused EMU_PLATFORM define, fixes issue #373. | Emmanuel Gil Peyrot | 2015-06-27 | 1 | -30/+0 |
| | | |||||
| * | Common: Remove unused SSE version checking and a GCC macro. | Emmanuel Gil Peyrot | 2015-06-27 | 1 | -25/+0 |
| | | |||||
| * | Common: Remove unused fifo_queue.h. | Emmanuel Gil Peyrot | 2015-06-27 | 2 | -112/+0 |
| | | |||||
* | | Common: Remove unused type unions breaking aliasing rules in horrible ways. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -26/+0 |
|/ | |||||
* | Merge pull request #855 from purpasmart96/service_rearrangment | bunnei | 2015-06-21 | 2 | -2/+4 |
|\ | | | | | Services: Continue separation of services into their own folders | ||||
| * | Services: Continue separation of services into their own folders | purpasmart96 | 2015-06-12 | 2 | -2/+4 |
| | | |||||
* | | Render-to-texture flush, interval math fix | tfarley | 2015-06-09 | 1 | -1/+1 |
|/ | |||||
* | Move video_core/color.h to common/color.h | archshift | 2015-05-30 | 2 | -0/+215 |
| | |||||
* | Move video_core/math.h to common/vector_math.h | archshift | 2015-05-30 | 2 | -0/+641 |
| | | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. | ||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 3 | -3/+3 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -0/+4 |
| | |||||
* | Service::Y2R: Support for grayscale decoding of specific formats | Yuri Kunde Schlesner | 2015-05-22 | 2 | -0/+2 |
| | | | | | | | | | | | | Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R. Currently only the Y (luma) channel is used, so the results don't contain color. This will be added in a later PR at some point. This is enough to get all currently know Moflex videos to decode. (Some don't display on-screen due to seemingly unrelated reasons.) Thanks to @archshift for doing the initial implementation which I cleaned up and then fixed the 8x8 block mode. | ||||
* | Merge pull request #758 from yuriks/sync-logging | Yuri Kunde Schlesner | 2015-05-16 | 10 | -381/+35 |
|\ | | | | | Common: Remove async logging | ||||
| * | Remove unused concurrent_ring_buffer.h | Yuri Kunde Schlesner | 2015-05-16 | 2 | -164/+0 |
| | | |||||
| * | Common: Use the log system to print assert messages | Yuri Kunde Schlesner | 2015-05-12 | 1 | -7/+3 |
| | | |||||
| * | Common: Remove async logging | Yuri Kunde Schlesner | 2015-05-12 | 7 | -210/+32 |
| | | | | | | | | | | | | | | | | | | | | | | It provided a large increase in complexity of the logging system while having a negligible performance impact: the usage patterns of the ring buffer meant that each log contended with the logging thread, causing it to effectively act as a synchronous extra buffering. Also removed some broken code related to filtering of subclasses which was broken since it was introduced. (Which means no one ever used that feature anyway, since, 8 months later, no one ever complained.) | ||||
* | | Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types. | Emmanuel Gil Peyrot | 2015-05-14 | 4 | -409/+3 |
|/ | |||||
* | Common: Remove the BIT macro | Yuri Kunde Schlesner | 2015-05-09 | 1 | -2/+0 |
| | | | | | | | When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro. | ||||
* | Common: Add BIT macro | Yuri Kunde Schlesner | 2015-05-09 | 1 | -0/+2 |
| | |||||
* | Common: Add StringFromFixedZeroTerminatedBuffer | Yuri Kunde Schlesner | 2015-05-08 | 2 | -0/+14 |
| | |||||
* | Merge pull request #725 from yuriks/remove-common-crap | Yuri Kunde Schlesner | 2015-05-08 | 5 | -1009/+0 |
|\ | | | | | Remove unused hash and mem_arena from common | ||||
| * | Common: Remove mem_arena.cpp/h | Yuri Kunde Schlesner | 2015-05-08 | 3 | -466/+0 |
| | | | | | | | | | | | | It is superfluous for Citra. (It's only really necessary if you're doing JIT. We were using it but not taking any advantage from it.) This should make 32-bit builds work again. | ||||
| * | Common: Remove hash.cpp/h | Yuri Kunde Schlesner | 2015-05-07 | 3 | -543/+0 |
| | | | | | | | | Currently unused and the code quality is pretty questionable. | ||||
* | | Merge pull request #723 from lioncash/commonstr | bunnei | 2015-05-08 | 2 | -127/+0 |
|\ \ | | | | | | | string_util: Get rid of UriDecode/UriEncode | ||||
| * | | string_util: Get rid of UriDecode/UriEncode | Lioncash | 2015-05-07 | 2 | -127/+0 |
| | | | |||||
* | | | Profiler: Fix off-by-one error when computing average. | Yuri Kunde Schlesner | 2015-05-08 | 1 | -2/+1 |
| |/ |/| | |||||
* | | Common: Add proper macros to test for architecture pointer size | Yuri Kunde Schlesner | 2015-05-07 | 5 | -17/+11 |
|/ | | | | | | | The old system of just defining macros available in some other platform was susceptible to silently using the wrong code if you forgot to include a particular header. This fixes a crash on non-Windows platforms introduced by e1fbac3ca13d37d2625c11d30cfdece4327b446b. | ||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 29 | -56/+43 |
| | |||||
* | Common: Move alignment macros to common_funcs.h | Yuri Kunde Schlesner | 2015-05-07 | 2 | -21/+21 |
| | |||||
* | Common: Move SSE detection ifdefs to platform.h | Yuri Kunde Schlesner | 2015-05-07 | 3 | -16/+21 |
| | |||||
* | Common: Remove more unused compatibility defines | Yuri Kunde Schlesner | 2015-05-07 | 1 | -45/+0 |
| | |||||
* | Common: Move IO-specific compatibility macros to file_util.cpp | Yuri Kunde Schlesner | 2015-05-07 | 2 | -26/+26 |
| | |||||
* | Common: Remove many unnecessary cross-platform compatibility macros | Yuri Kunde Schlesner | 2015-05-07 | 5 | -88/+10 |
| | |||||
* | Clean-up includes | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+1 |
| | |||||
* | Move typedefs from kernel.h to more appropriate places | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+5 |
| | |||||
* | Common: Move NonCopyable to common_types.h | Yuri Kunde Schlesner | 2015-05-07 | 2 | -10/+10 |
| | |||||
* | Common: Use C++11 deleted functions for NonCopyable | Yuri Kunde Schlesner | 2015-05-07 | 1 | -8/+6 |
| | |||||
* | Common: Remove unused enums | Yuri Kunde Schlesner | 2015-05-07 | 1 | -17/+0 |
| | |||||
* | EmuWindow: Clip mouse input coordinates to emulated screen dimensions. | Zaneo | 2015-05-02 | 2 | -6/+21 |
| | | | | | | | If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero. | ||||
* | Common: thread.h cleanups | Yuri Kunde Schlesner | 2015-04-16 | 1 | -65/+16 |
| | | | | | The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style. | ||||
* | Thread: Implement priority boost for starved threads. | bunnei | 2015-04-10 | 1 | -0/+18 |
| | | | | | | SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority. | ||||
* | Merge pull request #641 from purpasmart96/service_stubs | bunnei | 2015-04-04 | 2 | -0/+4 |
|\ | | | | | Services: Stubs and minor changes | ||||
| * | Services: Stubs and minor changes | purpasmart96 | 2015-04-03 | 2 | -0/+4 |
| | | |||||
* | | disassembler: Get rid of a const_cast | Lioncash | 2015-03-30 | 2 | -4/+4 |
|/ | |||||
* | Common: Fix logic for setting EMU_DATA_DIR. | Emmanuel Gil Peyrot | 2015-03-16 | 1 | -6/+5 |
| | |||||
* | Common: Make a #else more apparent. | Emmanuel Gil Peyrot | 2015-03-16 | 1 | -5/+1 |
| | |||||
* | EmuWindow: Fixed a reference to a temporary variable | Subv | 2015-03-14 | 1 | -1/+1 |
| | | | | in GetTouchState() | ||||
* | Merge pull request #642 from bunnei/touchpad | bunnei | 2015-03-12 | 2 | -19/+101 |
|\ | | | | | Touchpad support | ||||
| * | HID: Complete refactor of pad/touch input to fix threading issues. | bunnei | 2015-03-11 | 2 | -68/+63 |
| | | |||||
| * | EmuWindow: Made pad/touch functions non-static. | bunnei | 2015-03-10 | 2 | -11/+6 |
| | | |||||
| * | EmuWindow: Added infrastructure code to enable touchpad support. | bunnei | 2015-03-10 | 2 | -1/+93 |
| | | |||||
* | | Merge pull request #629 from archshift/lcdfb | bunnei | 2015-03-10 | 2 | -0/+2 |
|\ \ | |/ |/| | Implement SetLcdForceBlack and add implementation for color filling in the GPU code | ||||
| * | Added LCD registers, and implementation for color filling in OGL code. | archshift | 2015-03-09 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #634 from linkmauve/logging-performances | bunnei | 2015-03-09 | 5 | -7/+17 |
|\ \ | | | | | | | Apply the logging filter before sending the message to the queue | ||||
| * | | Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread. | Emmanuel Gil Peyrot | 2015-03-06 | 5 | -7/+17 |
| | | | |||||
* | | | Merge pull request #584 from yuriks/outline-asserts | bunnei | 2015-03-09 | 1 | -6/+25 |
|\ \ \ | | | | | | | | | Asserts: Use lambdas to keep assertion code away from the main code path | ||||
| * | | | Asserts: Use lambdas to keep assertion code away from the main code path | Yuri Kunde Schlesner | 2015-02-18 | 1 | -6/+25 |
| | | | | |||||
* | | | | Fixed EmuWindow typo (fixes OSX build) | bunnei | 2015-03-08 | 2 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #636 from bunnei/refactor-screen-win | bunnei | 2015-03-08 | 2 | -7/+75 |
|\ \ \ \ | | | | | | | | | | | Set framebuffer layout from EmuWindow. | ||||
| * | | | | Set framebuffer layout from EmuWindow. | bunnei | 2015-03-07 | 2 | -7/+75 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #538 from yuriks/perf-stat | Tony Wasserka | 2015-03-07 | 6 | -0/+534 |
|\ \ \ \ | |_|_|/ |/| | | | Add profiling infrastructure and widget | ||||
| * | | | Profiler: Implement QPCClock to get better precision on Win32 | Yuri Kunde Schlesner | 2015-03-02 | 2 | -1/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | MSVC 2013 (at least) doesn't use QueryPerformanceCounter to implement std::chrono::high_resolution_clock, so it has bad precision. Manually implementing our own clock type using it works around this for now. | ||||
| * | | | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 2015-03-02 | 6 | -0/+493 |
| |/ / | |||||
* / / | Removed swap code redundancy and moved common swap code to swap.h | archshift | 2015-03-06 | 3 | -127/+97 |
|/ / | |||||
* | | Common: Switch to the XDG Base Directory Specification for directory selection. | Emmanuel Gil Peyrot | 2015-02-25 | 2 | -10/+69 |
| | | | | | | | | This allows for easily movable and independent configuration and data directories, using standardized paths. | ||||
* | | Merge pull request #581 from archshift/tfe | bunnei | 2015-02-23 | 3 | -2/+2 |
|\ \ | | | | | | | Added information reporting from ThrowFatalError | ||||
| * | | Added information reporting from ThrowFatalError | archshift | 2015-02-22 | 3 | -2/+2 |
| | | | | | | | | | | | | This was RE'd from the errdisp applet. | ||||
* | | | Common: Change names containing “Dolphin” or “PPSSPP” to something more generic. | Emmanuel Gil Peyrot | 2015-02-20 | 2 | -8/+8 |
| | | | |||||
* | | | Misc cleanup of common and related functions | archshift | 2015-02-20 | 3 | -79/+28 |
| | | | |||||
* | | | Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h | archshift | 2015-02-20 | 2 | -3/+3 |
| | | | |||||
* | | | Remove "super lame/broken" file_search compilation unit that was leftover from Dolphin | archshift | 2015-02-19 | 3 | -128/+0 |
| | | | |||||
* | | | Remove redundant utf8 compilation unit that was leftover from Dolphin | archshift | 2015-02-19 | 3 | -528/+0 |
| | | | |||||
* | | | Remove useless extended_trace compilation unit that was leftover from Dolphin | archshift | 2015-02-19 | 3 | -480/+0 |
| | | | |||||
* | | | Remove the useless msg_handler compilation unit that was left over from Dolphin | archshift | 2015-02-19 | 7 | -178/+11 |
|/ / | |||||
* | | Merge pull request #570 from purpasmart96/config_mem | bunnei | 2015-02-18 | 1 | -0/+7 |
|\ \ | |/ |/| | ConfigMem: Clean up the Config memory to be more like the shared page | ||||
| * | ConfigMem: Clean up the Config memory to be more like the shared page and moved | purpasmart96 | 2015-02-17 | 1 | -0/+7 |
| | | | | | | | | the helper macro for padding to common_funcs.h | ||||
* | | Merge pull request #529 from Subv/master | bunnei | 2015-02-14 | 1 | -3/+3 |
|\ \ | |/ |/| | Build: Fixed some warnings | ||||
| * | Build: Fixed some warnings | Subv | 2015-02-12 | 1 | -3/+3 |
| | | |||||
* | | backend: Add logging subentry for ldr | Lioncash | 2015-02-13 | 1 | -0/+1 |
|/ | | | | Fixes an assertion upon executing citra in debug mode. | ||||
* | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 2015-02-11 | 15 | -105/+73 |
| | | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | ||||
* | Merge pull request #526 from purpasmart96/citra_stubs | bunnei | 2015-02-11 | 1 | -0/+1 |
|\ | | | | | Services: Stub some functions | ||||
| * | Services: Stub some functions | purpasmart96 | 2015-02-08 | 1 | -0/+1 |
| | | |||||
* | | Fix a wrong file name in a comment | chinhodado | 2015-02-07 | 1 | -1/+1 |
|/ | |||||
* | Common: Fix SCOPE_EXIT to actually create unique identifiers. | Yuri Kunde Schlesner | 2015-01-30 | 2 | -1/+7 |
| | |||||
* | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx | archshift | 2015-01-21 | 3 | -10/+10 |
| | |||||
* | Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance. | archshift | 2015-01-10 | 3 | -24/+8 |
| | |||||
* | Merge pull request #431 from yuriks/thread-queue-cleanup | bunnei | 2015-01-07 | 1 | -144/+74 |
|\ | | | | | Common: Clean up ThreadQueueList | ||||
| * | Common: Clean up ThreadQueueList | Yuri Kunde Schlesner | 2015-01-07 | 1 | -144/+74 |
| | | | | | | | | | | | | | | | | Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style. | ||||
* | | Merge pull request #425 from Subv/coretiming | bunnei | 2015-01-07 | 2 | -0/+2 |
|\ \ | |/ |/| | Ported the CoreTiming namespace from PPSSPP | ||||
| * | CoreTiming: Ported the CoreTiming namespace from PPSSPP | Subv | 2015-01-07 | 2 | -0/+2 |
| | | | | | | | | | | | | Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing. | ||||
* | | Merge pull request #421 from linkmauve/remove-dead-platforms | bunnei | 2015-01-07 | 5 | -101/+2 |
|\ \ | | | | | | | Remove dead platform #ifdefs to make the code more readable. | ||||
| * | | Common: Remove dead platform #ifdefs to make the code more readable. | Emmanuel Gil Peyrot | 2015-01-06 | 5 | -101/+2 |
| | | | | | | | | | | | | | | | | | | Symbian, Xbox, Blackberry and iOS got removed. FreeBSD and Android kept due to them potentially being able to run Citra in the future. The iOS specific part also got removed from PPSSPP in order to fix a bug there. | ||||
* | | | Merge pull request #376 from Subv/arc_reorder | bunnei | 2015-01-07 | 3 | -32/+20 |
|\ \ \ | |/ / |/| | | Archives: Change the folder layout of some archives. | ||||
| * | | Archives: Changed the way paths are built for the archives. | Subv | 2015-01-04 | 3 | -20/+4 |
| | | | | | | | | | | | | Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout | ||||
| * | | SaveDataCheck: Move the files to nand/title | Subv | 2015-01-04 | 1 | -1/+1 |
| | | | | | | | | | | | | under /nand/title/high/low/content/00000000.app.romfs | ||||
| * | | Archives: Change the folder layout of some archives. | Subv | 2015-01-03 | 3 | -20/+24 |
| |/ | | | | | | | This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW | ||||
* | | Common: Use std::abs instead of abs, using abs with cmath fails on some systems. | Emmanuel Gil Peyrot | 2015-01-05 | 1 | -2/+3 |
| | | |||||
* | | Common: Remove the unused x86-specific 128-bit float type. | Emmanuel Gil Peyrot | 2015-01-05 | 1 | -11/+0 |
|/ | |||||
* | Archives: Reduced duplicate code in RomFS and SaveCheck. | Subv | 2015-01-03 | 3 | -0/+4 |
| | | | | Fixed a few warnings and cleaned up the code | ||||
* | SOC_U: Preliminary implementation of sockets. | Subv | 2014-12-31 | 2 | -0/+2 |
| | | | | | | | | | | | | | Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU | ||||
* | Merge pull request #369 from darkf/mingw_ | bunnei | 2014-12-31 | 7 | -21/+38 |
|\ | | | | | Fix MinGW build (2) | ||||
| * | Fix MSVC-related #defines and add CMakeLists comment | darkf | 2014-12-30 | 5 | -10/+10 |
| | | |||||
| * | Fix merge conflicts | darkf | 2014-12-30 | 59 | -1092/+1296 |
| |\ | |||||
| * | | Fix MinGW build | darkf | 2014-11-29 | 7 | -21/+34 |
| | | | |||||
* | | | Archives: Implemented ExtSaveData and SharedExtSaveData | Subv | 2014-12-30 | 3 | -0/+4 |
| |/ |/| | | | | | | | | | | | | | They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded. | ||||
* | | Merge pull request #322 from chinhodado/master | bunnei | 2014-12-22 | 1 | -0/+6 |
|\ \ | | | | | | | More warning cleanups | ||||
| * | | More warning cleanups | Chin | 2014-12-21 | 1 | -0/+6 |
| | | | |||||
* | | | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 46 | -74/+74 |
|\ \ \ | |/ / |/| | | License change | ||||
| * | | License change | purpasmart96 | 2014-12-21 | 46 | -74/+74 |
| | | | |||||
* | | | BitField: Add an explicit Assign method. | Tony Wasserka | 2014-12-20 | 1 | -1/+5 |
| | | | | | | | | | | | | This is useful when doing crazy stuff like inheriting from BitField. | ||||
* | | | Common: Add a clone of std::make_unique | Yuri Kunde Schlesner | 2014-12-20 | 2 | -0/+17 |
|/ / | |||||
* | | SaveData: Implemented the SystemSaveData archive. | Subv | 2014-12-18 | 3 | -0/+4 |
| | | | | | | | | It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service. | ||||
* | | Filesystem/Archives: Implemented the SaveData archive | Subv | 2014-12-18 | 3 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found | ||||
* | | Restore the original console color after logging a message. | Yuri Kunde Schlesner | 2014-12-14 | 2 | -13/+25 |
| | | | | | | | | Fixes #277 | ||||
* | | Remove old logging system | Yuri Kunde Schlesner | 2014-12-13 | 6 | -850/+2 |
| | | |||||
* | | Add configurable per-class log filtering | Yuri Kunde Schlesner | 2014-12-13 | 5 | -3/+205 |
| | | |||||
* | | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 8 | -71/+94 |
| | | |||||
* | | Implement text path trimming for shorter paths. | Yuri Kunde Schlesner | 2014-12-13 | 3 | -1/+53 |
| | | |||||
* | | Re-add coloring to the console logging output. | Yuri Kunde Schlesner | 2014-12-13 | 1 | -0/+50 |
| | | |||||
* | | New logging system | Yuri Kunde Schlesner | 2014-12-13 | 11 | -66/+716 |
| | | |||||
* | | Add SCOPE_EXIT macro to conveniently execute cleanup actions | Yuri Kunde Schlesner | 2014-12-13 | 2 | -0/+38 |
| | | |||||
* | | Added missing include in common_funcs.h | Yuri Kunde Schlesner | 2014-12-13 | 1 | -0/+1 |
| | | |||||
* | | Remove redundant include from common_funcs.h | Yuri Kunde Schlesner | 2014-12-13 | 1 | -2/+0 |
| | | |||||
* | | Merge pull request #267 from bunnei/apt-shared-font | bunnei | 2014-12-13 | 3 | -26/+6 |
|\ \ | | | | | | | APT shared font loading | ||||
| * | | APT_U: Added GetSharedFont service function. | bunnei | 2014-12-13 | 1 | -0/+3 |
| | | | |||||
| * | | Common: Add "sysdata" to GetUserPath and cleanup. | bunnei | 2014-12-12 | 3 | -26/+3 |
| | | | |||||
* | | | Merge pull request #261 from neobrain/boost | Tony Wasserka | 2014-12-12 | 1 | -3/+3 |
|\ \ \ | |/ / |/| | | Add Boost as a submodule and add some minor cleanups using Boost.Range | ||||
| * | | StringUtil: Perform some minimal cleanup. | Tony Wasserka | 2014-12-07 | 1 | -3/+3 |
| | | | |||||
* | | | Explicitly specify LE strings to iconv, fixes paths in Steel Diver | archshift | 2014-12-10 | 1 | -2/+2 |
| | | | |||||
* | | | Remove unused NDMA module | Yuri Kunde Schlesner | 2014-12-09 | 2 | -2/+0 |
| | | | |||||
* | | | Some code cleanup. | Tony Wasserka | 2014-12-09 | 1 | -0/+2 |
| | | | |||||
* | | | Fix some headers to include their dependencies properly. | Tony Wasserka | 2014-12-09 | 2 | -0/+7 |
|/ / | |||||
* / | Change NULLs to nullptrs. | Rohit Nirmal | 2014-12-03 | 17 | -92/+92 |
|/ | |||||
* | Remove unused includes to common/thread.h | Emmanuel Gil Peyrot | 2014-11-25 | 1 | -1/+0 |
| | |||||
* | Remove tabs in all files except in skyeye imports and in generated GL code | Emmanuel Gil Peyrot | 2014-11-19 | 3 | -100/+100 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 23 | -160/+160 |
| | |||||
* | Merge pull request #165 from neobrain/viewport-scaling | bunnei | 2014-11-19 | 4 | -38/+101 |
|\ | | | | | Stretch emulation output to render window and be display density independent | ||||
| * | EmuWindow: Add some explicit documentation and set proper minimal client area size. | Tony Wasserka | 2014-11-18 | 1 | -2/+4 |
| | | |||||
| * | EmuWindow: Add a TODO. | Tony Wasserka | 2014-11-18 | 1 | -0/+1 |
| | | | | | | | | | | | | Implementing this function currently is not critical, as we don't perform any configuration changes, yet. However, the interface is a good starting point for adding this functionality. | ||||
| * | MathUtil: Make Rectangle work with unsigned types. | Tony Wasserka | 2014-11-18 | 1 | -4/+5 |
| | | |||||
| * | EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest. | Tony Wasserka | 2014-11-18 | 1 | -0/+7 |
| | | |||||
| * | EmuWindow: Remove window title getters/setters. | Tony Wasserka | 2014-11-18 | 1 | -16/+1 |
| | | | | | | | | | | The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway. | ||||
| * | EmuWindow: Add documentation. | Tony Wasserka | 2014-11-18 | 1 | -18/+57 |
| | | |||||
| * | EmuWindow: Add support for specifying minimal client area sizes. | Tony Wasserka | 2014-11-18 | 1 | -8/+26 |
| | | |||||
| * | Fixup EmuWindow interface and implementations thereof. | Tony Wasserka | 2014-11-18 | 1 | -28/+33 |
| | | |||||
| * | Viewport scaling and display density independence | Kevin Hartman | 2014-11-18 | 1 | -2/+5 |
| | | | | | | | | | | The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly. | ||||
| * | Add a GUI logging channel. | Tony Wasserka | 2014-11-18 | 2 | -0/+2 |
| | | | | | | | | Replace asserts with _dbg_assert_. | ||||
* | | Remove extraneous semicolons | Lioncash | 2014-11-18 | 2 | -2/+2 |
|/ | |||||
* | emu_window: Fix initializer list order. | Lioncash | 2014-11-17 | 1 | -2/+2 |
| | | | | Gets rid of a warning on OSX. | ||||
* | Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions | archshift | 2014-11-13 | 2 | -51/+115 |
| | |||||
* | Renamed souce files of services to match port names | Gareth Poole | 2014-10-29 | 1 | -1/+1 |
| | |||||
* | Add `override` keyword through the code. | Yuri Kunde Schlesner | 2014-10-26 | 2 | -3/+3 |
| | | | | This was automated using `clang-modernize`. | ||||
* | Fix compile errors in Clang | Yuri Kunde Schlesner | 2014-10-26 | 1 | -1/+0 |
| | |||||
* | Merge pull request #150 from lioncash/typo | Tony Wasserka | 2014-10-25 | 1 | -1/+1 |
|\ | | | | | bit_field: Fix a typo in the sample usage. | ||||
| * | bit_field: Fix a typo in the sample usage. | Lioncash | 2014-10-25 | 1 | -1/+1 |
| | | |||||
* | | Removed uses of raw c-string manipulation functions. | archshift | 2014-10-24 | 4 | -21/+10 |
|/ | |||||
* | Merge pull request #133 from archshift/sdmc-enabled | bunnei | 2014-10-24 | 1 | -2/+4 |
|\ | | | | | Use config files to store whether SDMC is enabled or not, auto-create SDMC dir. | ||||
| * | Common: Return from CreateFullPath early if the directory creation fails | archshift | 2014-10-23 | 1 | -2/+4 |
| | | |||||
* | | Use std sized types instead of platform specific typedefs | Yuri Kunde Schlesner | 2014-10-23 | 2 | -32/+12 |
|/ | |||||
* | Merge pull request #108 from archshift/config | bunnei | 2014-10-08 | 6 | -69/+73 |
|\ | | | | | Configuration files | ||||
| * | Added configuration file system. | archshift | 2014-10-08 | 6 | -69/+73 |
| | | | | | | | | Uses QSettings on citra-qt, and inih on citra-cli. | ||||
* | | Common: Add a helper function to generate a 8.3 filename from a long one. | Emmanuel Gil Peyrot | 2014-10-06 | 2 | -0/+53 |
| | | | | | | | | Core: Fix the SDMC Directory implementation to make blargSnes work. | ||||
* | | Fix warnings in core and common | Lioncash | 2014-09-28 | 3 | -15/+5 |
|/ | |||||
* | Merge pull request #118 from lioncash/chunk-file | bunnei | 2014-09-23 | 1 | -244/+0 |
|\ | | | | | chunk_file: General cleanup | ||||
| * | chunk_file: General cleanup | Lioncash | 2014-09-22 | 1 | -244/+0 |
| | | | | | | | | | | - Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed. | ||||
* | | Use the citra user path for the sdmc directory | archshift | 2014-09-21 | 3 | -0/+4 |
|/ | |||||
* | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 2014-09-17 | 4 | -25/+25 |
| | |||||
* | Common: Return the number of items read/written in IOFile’s methods instead of a boolean. | Emmanuel Gil Peyrot | 2014-09-17 | 1 | -8/+20 |
| | |||||
* | Added support for multiple input device types for KeyMap and connected Qt. | Kevin Hartman | 2014-09-12 | 5 | -40/+61 |
| | |||||
* | Initial HID PAD work, with GLFW only. | Kevin Hartman | 2014-09-12 | 4 | -0/+77 |
| | |||||
* | Merge pull request #99 from archshift/ext-check | bunnei | 2014-09-11 | 12 | -40/+44 |
|\ | | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace | ||||
| * | Moved common_types::Rect from common to Common namespace | archshift | 2014-09-09 | 1 | -1/+1 |
| | | |||||
| * | Added string_util to common, small changes in loader.cpp | archshift | 2014-09-09 | 11 | -32/+39 |
| | | |||||
| * | loader.cpp: improved file extension checking, made Upper/LowerStr useful | archshift | 2014-09-09 | 2 | -12/+9 |
| | | | | | | | | Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location. | ||||
* | | Merge pull request #103 from archshift/prune | bunnei | 2014-09-11 | 10 | -34/+3 |
|\ \ | | | | | | | Prune redundant includes | ||||
| * | | common: Prune all redundant includes | archshift | 2014-09-09 | 10 | -34/+3 |
| |/ | |||||
* | | Merge pull request #104 from archshift/removal | bunnei | 2014-09-10 | 2 | -71/+0 |
|\ \ | | | | | | | Removed fixed_size_queue.h | ||||
| * | | Removed fixed_size_queue.h | archshift | 2014-09-09 | 2 | -71/+0 |
| |/ | | | | | | | It's unused and doesn't look like it compiles anyway :/ | ||||
* | | Merge pull request #101 from lioncash/inf-loop | bunnei | 2014-09-10 | 1 | -3/+8 |
|\ \ | | | | | | | Common: Fix a potential infinite loop in StringUtil's ReplaceAll | ||||
| * | | Common: Fix a potential infinite loop in StringUtil's ReplaceAll | Lioncash | 2014-09-08 | 1 | -3/+8 |
| |/ | |||||
* / | Common: Remove HAVE_CXX11_SYNTAX define from Common.h | Lioncash | 2014-09-08 | 1 | -6/+0 |
|/ | |||||
* | Removed common/std_xyz, instead using the std header | archshift | 2014-09-07 | 7 | -856/+6 |
| | |||||
* | Removed common/atomic, instead using std::atomic | archshift | 2014-09-03 | 4 | -198/+0 |
| | |||||
* | Remove hand-crafted Visual Studio solution. | Yuri Kunde Schlesner | 2014-09-01 | 4 | -453/+0 |
| | |||||
* | Avoid LOGGING redefinition warnings. | Yuri Kunde Schlesner | 2014-09-01 | 1 | -0/+2 |
| | |||||
* | CMake cleanup | Yuri Kunde Schlesner | 2014-09-01 | 1 | -7/+16 |
| | | | | | | | | Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers. | ||||
* | Merge pull request #58 from lioncash/clamp | bunnei | 2014-08-21 | 1 | -0/+7 |
|\ | | | | | Common: Add a clamp function to math_utils.h | ||||
| * | Common: Add a clamp function to math_utils.h | Lioncash | 2014-08-19 | 1 | -0/+7 |
| | | |||||
* | | Common: Get rid of an unnecessary forward declaration in symbols.h | Lioncash | 2014-08-18 | 1 | -2/+0 |
|/ | |||||
* | Common: Don't return a reference to a string when calling GetName in symbols.cpp | Lioncash | 2014-08-18 | 2 | -2/+2 |
| | | | | Returning a copy of the string is what was likely meant to be done. | ||||
* | Merge pull request #52 from lioncash/memory | bunnei | 2014-08-18 | 1 | -5/+8 |
|\ | | | | | Common: Correctly set ptr to null if mmap fails in memory_util | ||||
| * | Common: Correctly set ptr to null if mmap fails in memory_util | Lioncash | 2014-08-17 | 1 | -5/+8 |
| | | | | | | | | On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer. | ||||
* | | Merge pull request #48 from linkmauve/master | bunnei | 2014-08-18 | 1 | -24/+23 |
|\ \ | | | | | | | Replace insecure temporary file creation with devshm. | ||||
| * | | mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code. | Emmanuel Gil Peyrot | 2014-08-16 | 1 | -24/+23 |
| |/ | |||||
* | | Common: Move remaining C header includes over to their C++ equivalent | Lioncash | 2014-08-17 | 8 | -21/+20 |
| | | |||||
* | | Common: Move header guards over to pragma once | Lioncash | 2014-08-17 | 33 | -146/+41 |
|/ | | | | Also replaced C headers with the C++ equivalent ones | ||||
* | Simplified if-tree in extended_trace.cpp | archshift | 2014-08-12 | 1 | -13/+9 |
| | |||||
* | Merge pull request #41 from archshift/itr | bunnei | 2014-08-12 | 2 | -78/+67 |
|\ | | | | | Changed iterators to use auto, many of which using range-based loops | ||||
| * | break_points.cpp: return directly from conditionals | archshift | 2014-08-12 | 1 | -6/+2 |
| | | |||||
| * | break_points: cleaned up, added `find_if`s | archshift | 2014-08-12 | 2 | -59/+51 |
| | | |||||
| * | Changed iterators to use auto, some of which using range-based loops | archshift | 2014-08-12 | 1 | -27/+28 |
| | | |||||
* | | Remove the fancy RegisterSet class introduced in 4c2bff61e. | Tony Wasserka | 2014-08-12 | 3 | -165/+0 |
|/ | | | | | While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use. | ||||
* | Use pthread_set_name_np() on OpenBSD. | Anthony J. Bentley | 2014-08-08 | 1 | -1/+3 |
| | |||||
* | RegisterSet: Simplify code by using structs for register definition instead of unions. | Tony Wasserka | 2014-07-23 | 1 | -6/+8 |
| | |||||
* | [build] Search for the git binary in the default msysgit install dir | Yuri Kunde Schlesner | 2014-07-19 | 1 | -1/+8 |
| | | | | | | | | | The Git for Windows installer doesn't add the Git binaries to the path by default. (Due to risk of conflicts with built-in windows commands.) Unless you have configured your system specially this causes the scm_rev_gen.js script to fail to find Git. Added more paths to the script so that it searches in the default msysgit installation directory, eliminating the need to set the PATH for most environments. | ||||
* | BitField: Cast enum values to proper integer type. | Tony Wasserka | 2014-07-16 | 1 | -1/+1 |
| | |||||
* | BitField: Add a static_assert. | Tony Wasserka | 2014-07-16 | 1 | -0/+1 |
| | | | | Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout. | ||||
* | BitField: Delete copy assignment to prevent obscure bugs. | Tony Wasserka | 2014-07-16 | 1 | -0/+16 |
| | | | | Cf. https://github.com/dolphin-emu/dolphin/pull/483 | ||||
* | BitField: Add an explicit evaluation method. | Tony Wasserka | 2014-07-16 | 1 | -0/+5 |
| | | | | Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case. | ||||
* | Merge branch 'threading' of https://github.com/bunnei/citra | bunnei | 2014-06-14 | 4 | -43/+48 |
|\ | | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp | ||||
| * | log: updated MAX_LOGLEVEL to use correct log level enum type | bunnei | 2014-06-01 | 3 | -5/+5 |
| | | |||||
| * | log: updated GenericLog __attribute__ for newly added parameter | bunnei | 2014-06-01 | 1 | -1/+1 |
| | | |||||
| * | log: fixed to not print twice, enabled coloring, added OS print logging as its own type | bunnei | 2014-05-30 | 4 | -37/+42 |
| | | |||||
* | | Removed definition of MAX_PATH, this is already defined in common_paths.h. | bunnei | 2014-06-12 | 1 | -2/+0 |
| | | |||||
* | | Preprocessor: #if's out OSX-specific GL changes on other platforms | archshift | 2014-06-12 | 1 | -1/+1 |
| | | |||||
* | | Common: Removed duplicate "LONG" and "MAX_PATH" definitions. | bunnei | 2014-06-12 | 1 | -2/+0 |
| | | |||||
* | | Pica: Use some template magic to define register structures efficiently. | Tony Wasserka | 2014-06-12 | 3 | -3/+166 |
| | | |||||
* | | Rename LCD to GPU. | Tony Wasserka | 2014-06-12 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'threading' | bunnei | 2014-05-23 | 6 | -3/+228 |
|\| | |||||
| * | added MIN, MAX, and CLAMP macros to common_funcs | bunnei | 2014-05-17 | 1 | -0/+5 |
| | | |||||
| * | added ThreadQueueList class to common (taken from PPSSPP) | bunnei | 2014-05-16 | 3 | -0/+218 |
| | | |||||
| * | added kernel logger to common | bunnei | 2014-05-10 | 2 | -3/+5 |
| | | |||||
* | | common_types: Changed BasicRect back to Rect, in the common namespace | archshift | 2014-05-20 | 1 | -4/+6 |
| | | | | | | | | Only Rect is in the namespace for now; the rest of common should be added in the future | ||||
* | | Improved clarity and whitespace | archshift | 2014-05-20 | 1 | -0/+1 |
| | | | | | | | | Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5. | ||||
* | | CMakeLists: rename HEADS, improved comments | archshift | 2014-05-20 | 1 | -2/+2 |
| | | | | | | | | Changes for clarity of comments, removed redundant compiler flags. | ||||
* | | Updated cmakelists | archshift | 2014-05-17 | 1 | -0/+1 |
| | | |||||
* | | Merge remote-tracking branch 'upstream/master' into issue-7-fix | archshift | 2014-05-17 | 5 | -5/+179 |
|\| | |||||
| * | removed incorrect dolphin copyright line | bunnei | 2014-05-08 | 1 | -1/+0 |
| | | |||||
| * | fixed include of common in bit_field.h | bunnei | 2014-05-08 | 1 | -1/+1 |
| | | |||||
| * | logger fix for linux | bunnei | 2014-05-08 | 2 | -3/+3 |
| | | |||||
| * | added GSP to loggers | bunnei | 2014-05-08 | 2 | -2/+2 |
| | | |||||
| * | added BitField to common | bunnei | 2014-05-08 | 3 | -0/+175 |
| | | |||||
| * | - added better SVC logging | bunnei | 2014-05-06 | 2 | -5/+5 |
| | | | | | | | | - added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs | ||||
* | | Support for C++11 on OSX | archshift | 2014-05-01 | 1 | -2/+2 |
| | | |||||
* | | Fixed indents | archshift | 2014-05-01 | 1 | -1/+1 |
| | | |||||
* | | Some more experimentation | archshift | 2014-04-30 | 1 | -3/+3 |
| | | |||||
* | | IT'S ALIVE! | archshift | 2014-04-29 | 1 | -1/+39 |
| | | |||||
* | | Fix complaints about functions that could not be found | archshift | 2014-04-28 | 1 | -1/+1 |
| | | |||||
* | | Problematic class with no current implementation | archshift | 2014-04-28 | 1 | -2/+2 |
| | | |||||
* | | Rect to BasicRect | archshift | 2014-04-28 | 1 | -4/+4 |
| | | | | | | | | Somewhere along the line an OSX header had already taken the name Rect. | ||||
* | | add missing bswap functions | bunnei | 2014-04-28 | 1 | -0/+44 |
|/ | |||||
* | fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of it | bunnei | 2014-04-28 | 1 | -13/+0 |
| | |||||
* | Merge branch 'hle-interface-updates' | bunnei | 2014-04-28 | 1 | -5/+0 |
|\ | |||||
| * | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2014-04-28 | 1 | -5/+0 |
| | | |||||
* | | Resolved undefined Common::g_scm_branch error. | Thomas Edvalson | 2014-04-25 | 1 | -1/+1 |
|/ | |||||
* | made qt window title consistent | bunnei | 2014-04-24 | 1 | -1/+1 |
| | |||||
* | fixes to scm_rev generation to make it conistent with windows build | bunnei | 2014-04-24 | 2 | -5/+5 |
| | |||||
* | updated windows scm_rev code to use new style | ShizZy | 2014-04-24 | 5 | -66/+53 |
| | |||||
* | added scm rev generation on Linux/cmake | bunnei | 2014-04-24 | 6 | -51/+37 |
| | |||||
* | fixes to build on linux | bunnei | 2014-04-23 | 2 | -14/+14 |
| | |||||
* | removed duplicate rotl/rotr functions | ShizZy | 2014-04-23 | 1 | -26/+0 |
| | |||||
* | updated CMakeLists for missing files | ShizZy | 2014-04-23 | 1 | -0/+1 |
| | |||||
* | Merge branch 'hle-interface' | bunnei | 2014-04-18 | 4 | -5/+27 |
|\ | |||||
| * | added NDMA hardware interface | bunnei | 2014-04-18 | 2 | -2/+2 |
| | | |||||
| * | added helper functions for upper/lowercase strings | bunnei | 2014-04-15 | 2 | -0/+22 |
| | | |||||
| * | added logger for generic HLE | bunnei | 2014-04-11 | 2 | -3/+3 |
| | | |||||
* | | Add symbols map | Mathieu Vaillancourt | 2014-04-13 | 4 | -0/+100 |
|/ | |||||
* | removed scm_rev.h from version control | bunnei | 2014-04-11 | 1 | -4/+0 |
| | |||||
* | added missing const to GetWindowTitle | bunnei | 2014-04-11 | 1 | -1/+1 |
| | |||||
* | updated CMakeLists | bunnei | 2014-04-10 | 1 | -16/+17 |
| | |||||
* | - removed deprecated version.h | bunnei | 2014-04-09 | 4 | -72/+52 |
| | | | | | - cleaned up window title - cleaned up emu_window_glfw/emu_window | ||||
* | fixed scm_rev_gen | bunnei | 2014-04-09 | 2 | -5/+5 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 44 | -211/+201 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 54 | -0/+0 |
| | |||||
* | added "citra" instead of "emu" to title bar | bunnei | 2014-04-07 | 1 | -1/+1 |
| | |||||
* | added logger option specifically for the renderer | bunnei | 2014-04-06 | 2 | -2/+2 |
| | |||||
* | added missing includes to common_types.h | bunnei | 2014-04-05 | 1 | -0/+3 |
| | |||||
* | Updated common_types.h to use Gekko's version w/ Rect and some useful unions | bunnei | 2014-04-05 | 1 | -30/+102 |
| | |||||
* | added DISALLOW_COPY_AND_ASSIGN macro | bunnei | 2014-04-05 | 1 | -0/+5 |
| | |||||
* | added LCD logger | bunnei | 2014-04-05 | 2 | -2/+2 |
| | |||||
* | added a HW option to logging | bunnei | 2014-04-05 | 2 | -48/+48 |
| | |||||
* | convert tabs to spaces | bunnei | 2014-04-02 | 47 | -5298/+5298 |
| | |||||
* | grabbed ppsspp's MemArena | bunnei | 2014-04-01 | 2 | -221/+428 |
| | |||||
* | added TIME logger for core timing | ShizZy | 2013-10-02 | 2 | -2/+2 |
| | |||||
* | renamed GC_ALIGNED* macros to MEMORY_ALIGNED* | ShizZy | 2013-10-02 | 1 | -12/+12 |
| | |||||
* | upgraded proj files to vs 2013 | ShizZy | 2013-09-27 | 2 | -2/+16 |
| | |||||
* | renamed from citrus to citra | ShizZy | 2013-09-26 | 4 | -5/+5 |
| | |||||
* | moved file_sys back to core | ShizZy | 2013-09-26 | 5 | -973/+0 |
| | |||||
* | removed <windows.h> include from common.h and added it only where needed | ShizZy | 2013-09-24 | 2 | -5/+1 |
| | |||||
* | moved file_sys to common | ShizZy | 2013-09-24 | 5 | -0/+973 |
| | |||||
* | added localtime_r for use on windows | ShizZy | 2013-09-24 | 1 | -0/+8 |
| | |||||
* | added utf8 to common module, utils for dealing with utf8 | ShizZy | 2013-09-24 | 4 | -0/+534 |
| | |||||
* | updated to chunk_file module from ppsspp | ShizZy | 2013-09-20 | 1 | -133/+623 |
| | |||||
* | added a module for loading bootable binaries | ShizZy | 2013-09-20 | 2 | -4/+4 |
| | |||||
* | added swap types to common | ShizZy | 2013-09-19 | 4 | -0/+549 |
| | |||||
* | removed CORE and LOADER from LogTypes | ShizZy | 2013-09-19 | 1 | -2/+0 |
| | |||||
* | added CORE and LOADER to LogTypes | ShizZy | 2013-09-19 | 1 | -0/+2 |
| | |||||
* | changed log CPU from PPC to ARM11 | ShizZy | 2013-09-18 | 2 | -2/+3 |
| | |||||
* | added default windows include | ShizZy | 2013-09-18 | 1 | -0/+4 |
| | |||||
* | added file platform.h | ShizZy | 2013-09-16 | 4 | -0/+137 |
| | |||||
* | renamed project to 'citrus' | ShizZy | 2013-09-14 | 3 | -3/+3 |
| | |||||
* | added scm_rev_gen project to automatically create a header with the git revision on build | ShizZy | 2013-09-13 | 4 | -3/+162 |
| | |||||
* | cleaned up VS project files | ShizZy | 2013-09-09 | 1 | -11/+9 |
| | |||||
* | fixed some code warnings | ShizZy | 2013-09-09 | 1 | -1/+1 |
| | |||||
* | removed unneeded dolphin paths code, fixed linker problems with common.lib | ShizZy | 2013-09-09 | 3 | -132/+118 |
| | |||||
* | re-enabled GetLastErrorMsg | ShizZy | 2013-09-09 | 1 | -19/+23 |
| | |||||
* | updated common paths | ShizZy | 2013-09-08 | 2 | -4/+7 |
| | |||||
* | start of 3DS memory map | ShizZy | 2013-09-06 | 3 | -12/+3 |
| | |||||
* | various fixes to be able to build project | ShizZy | 2013-09-05 | 1 | -17/+13 |
| | |||||
* | added emu_window.h to define interface to drawing to a window | ShizZy | 2013-09-05 | 3 | -0/+108 |
| | |||||
* | updated CMakeLists.txt file for new common files | ShizZy | 2013-09-05 | 1 | -9/+16 |
| | |||||
* | replaced common code with dolphin common | ShizZy | 2013-09-05 | 51 | -107/+8640 |
| | |||||
* | deleted gekko's common files | ShizZy | 2013-09-04 | 28 | -4543/+0 |
| | |||||
* | adding initial project layout | ShizZy | 2013-08-30 | 31 | -0/+4777 |