Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | android: Implement SAF support & migrate to SDK 31. (#4) | bunnei | 2023-06-03 | 6 | -9/+236 |
| | |||||
* | common: error: Fix for Android. | bunnei | 2023-06-03 | 1 | -1/+2 |
| | |||||
* | common: fs: Implement for Android. | bunnei | 2023-06-03 | 1 | -0/+7 |
| | |||||
* | common: logging: Implement Android logcat backend. | bunnei | 2023-06-03 | 3 | -0/+63 |
| | |||||
* | common: host_memory: Implement for Android. | bunnei | 2023-06-03 | 1 | -2/+10 |
| | |||||
* | externals: Update to fmt 10 and add format_as formatter for BitField | Morph | 2023-05-28 | 1 | -0/+5 |
| | | | | Implicit conversions are now disallowed in fmt 10. Use format_as to convert to the underlying type. | ||||
* | textures: add BC1 and BC3 compressors and recompression setting | Liam | 2023-05-23 | 2 | -0/+11 |
| | |||||
* | Merge pull request #10181 from lat9nq/intel-compute-toggle | liamwhite | 2023-05-15 | 2 | -0/+2 |
|\ | | | | | configure_graphics: Add option to enable compute pipelines for Intel proprietary | ||||
| * | settings: Add enable compute pipelines | lat9nq | 2023-05-07 | 2 | -0/+2 |
| | | | | | | | | | | | | For the Intel proprietary driver's deficiencies. settings: Restore compute option global state | ||||
* | | Merge pull request #10132 from Kelebek1/fermi_blit2 | liamwhite | 2023-05-11 | 1 | -0/+9 |
|\ \ | | | | | | | Allow Fermi blit accelerate to work without images in cache | ||||
| * | | Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path. | Kelebek1 | 2023-05-11 | 1 | -0/+9 |
| | | | |||||
* | | | service: nfp: Allow to load with a different amiibo id | german77 | 2023-05-10 | 1 | -0/+2 |
|/ / | |||||
* | | Settings: add option to enable / disable reactive flushing | Fernando Sahmkow | 2023-05-07 | 2 | -0/+3 |
| | | |||||
* | | Fix address space allocator slow path to avoid OOB | Kelebek1 | 2023-05-07 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #10125 from lat9nq/vsync-select | bunnei | 2023-05-07 | 2 | -3/+10 |
|\ | | | | | configuration: Expose separate swap present modes | ||||
| * | settings: Enable FIFO relaxed | lat9nq | 2023-05-03 | 1 | -5/+6 |
| | | | | | | | | | | | | | | Not entirely sure if we need this, but there's also no reason not to support it. settings: Give VSyncMode values | ||||
| * | configuration: Expose separate swap present modes | lat9nq | 2023-05-03 | 2 | -3/+9 |
| | | | | | | | | | | | | | | | | Previously, yuzu would try and guess which vsync mode to use given different scenarios, but apparently we didn't always get it right. This exposes the separate modes in a drop-down the user can select. If a mode isn't available in Vulkan, it defaults to FIFO. | ||||
* | | Merge pull request #10167 from german77/motion_preview | liamwhite | 2023-05-07 | 2 | -0/+16 |
|\ \ | | | | | | | yuzu: Add motion preview to controller input | ||||
| * | | input_common: Add property to invert an axis button | Narr the Reg | 2023-05-06 | 2 | -1/+3 |
| | | | |||||
| * | | yuzu: Add motion preview to controller input | Narr the Reg | 2023-05-05 | 1 | -0/+14 |
| | | | |||||
* | | | Fix read access violation | Roni Kirla | 2023-05-06 | 1 | -1/+1 |
|/ / | |||||
* | | settings: remove pessimistic flushing | Liam | 2023-05-04 | 2 | -2/+0 |
| | | |||||
* | | Merge pull request #10124 from liamwhite/pebkac | Morph | 2023-05-03 | 2 | -2/+4 |
|\ \ | |/ |/| | settings: rename extended memory layout to unsafe, move from general to system | ||||
| * | settings: rename extended memory layout to unsafe, move from general to system | Liam | 2023-04-30 | 2 | -2/+4 |
| | | |||||
* | | vk_present_manager: Add toggle for async presentation | GPUCode | 2023-05-01 | 2 | -0/+2 |
| | | |||||
* | | common: add intrusive list type | Liam | 2023-04-29 | 1 | -0/+631 |
|/ | |||||
* | general: fixes for gcc 13 | Liam | 2023-04-03 | 2 | -13/+0 |
| | |||||
* | Fixes 'Continous' typo | Max Dunbar | 2023-03-30 | 1 | -3/+3 |
| | |||||
* | telemetry: Add waitpkg instruction | Morph | 2023-03-27 | 1 | -0/+1 |
| | |||||
* | x64: Simplify RDTSC on non-MSVC compilers | Morph | 2023-03-27 | 2 | -16/+10 |
| | | | | Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com> | ||||
* | x64: Add MicroSleep | Morph | 2023-03-27 | 3 | -0/+84 |
| | | | | | | | MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision. This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield(). Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com> | ||||
* | x64: cpu_detect: Add detection of waitpkg instructions | Morph | 2023-03-27 | 2 | -0/+2 |
| | | | | waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE. | ||||
* | container_hash: use climits | Liam | 2023-03-26 | 1 | -0/+1 |
| | |||||
* | common: Port boost's hash_value implementation | Morph | 2023-03-26 | 2 | -0/+92 |
| | | | | Ports a small subset of boost's hash_value implementation (<= 1.80.0). | ||||
* | zstd: Use ZSTD_getFrameContentSize instead of ZSTD_getDecompressedSize | Morph | 2023-03-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #9971 from Morph1984/q | liamwhite | 2023-03-23 | 2 | -121/+211 |
|\ | | | | | bounded_threadsafe_queue: Use simplified impl of bounded queue | ||||
| * | bounded_threadsafe_queue: Refactor Pop | Morph | 2023-03-22 | 1 | -140/+62 |
| | | | | | | | | Introduces PopModes to bring waiting logic into Pop, similar to Push. | ||||
| * | bounded_threadsafe_queue: Add producer cv to avoid busy waiting | Morph | 2023-03-22 | 1 | -17/+29 |
| | | |||||
| * | bounded_threadsafe_queue: Deduplicate and add PushModes | Morph | 2023-03-22 | 2 | -87/+85 |
| | | | | | | | | | | | | | | Adds the PushModes Try and Wait to allow producers to specify how they want to push their data to the queue if the queue is full. If the queue is full: - Try will fail to push to the queue, returning false. Try only returns true if it successfully pushes to the queue. This may result in items not being pushed into the queue. - Wait will wait until a slot is available to push to the queue, resulting in potential for deadlock if a consumer is not running. | ||||
| * | bounded_threadsafe_queue: Add TryPush | Morph | 2023-03-22 | 1 | -0/+71 |
| | | |||||
| * | logging: Make use of bounded queue | Morph | 2023-03-22 | 1 | -8/+8 |
| | | |||||
| * | bounded_threadsafe_queue: Use simplified impl of bounded queue | Morph | 2023-03-22 | 1 | -112/+199 |
| | | | | | | | | Provides a simplified SPSC, MPSC, and MPMC bounded queue implementation using mutexes. | ||||
* | | Merge pull request #9964 from liamwhite/typed-address | liamwhite | 2023-03-23 | 2 | -0/+321 |
|\ \ | |/ |/| | kernel: use KTypedAddress for addresses | ||||
| * | kernel: use KTypedAddress for addresses | Liam | 2023-03-22 | 2 | -0/+321 |
| | | |||||
* | | common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W. | bunnei | 2023-03-19 | 2 | -11/+11 |
| | | |||||
* | | common: bounded_threadsafe_queue: Use polyfill_thread. | bunnei | 2023-03-18 | 1 | -2/+3 |
|/ | |||||
* | general: fix spelling mistakes | Liam | 2023-03-12 | 6 | -15/+15 |
| | |||||
* | Merge pull request #9917 from Morph1984/the-real-time | liamwhite | 2023-03-10 | 4 | -7/+72 |
|\ | | | | | native_clock: Re-adjust the RDTSC frequency to its real frequency | ||||
| * | native_clock: Wait for 10 seconds instead of 30 | Morph | 2023-03-08 | 1 | -3/+3 |
| | | | | | | | | It was experimentally determined to be sufficient. | ||||
| * | native_clock: Use RealTimeClock instead of SteadyClock | Morph | 2023-03-08 | 1 | -4/+4 |
| | | | | | | | | We want to synchronize RDTSC to real time. | ||||
| * | steady_clock: Introduce a real time clock | Morph | 2023-03-08 | 2 | -0/+36 |
| | | |||||
| * | native_clock: Re-adjust the RDTSC frequency | Morph | 2023-03-08 | 2 | -5/+34 |
| | | | | | | | | | | The RDTSC frequency reported by CPUID is not accurate to its true frequency. We will spawn a separate thread to calculate the true RDTSC frequency after a measurement period of 30 seconds has elapsed. | ||||
* | | Merge pull request #9906 from german77/metroid2 | bunnei | 2023-03-08 | 1 | -1/+1 |
|\ \ | | | | | | | input_common: Increase mouse sensitivity range | ||||
| * | | input_common: Increase mouse sensitivity range | german77 | 2023-03-08 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #9918 from liamwhite/fwrapv | Morph | 2023-03-08 | 2 | -0/+23 |
|\ \ \ | | | | | | | | | kernel: avoid signed overflow UB on MSVC | ||||
| * | | | kernel: avoid signed overflow UB on MSVC | Liam | 2023-03-08 | 2 | -0/+23 |
| | |/ | |/| | |||||
* | | | Merge pull request #9920 from liamwhite/constexpr-bit-cast | Morph | 2023-03-08 | 1 | -9/+11 |
|\ \ \ | | | | | | | | | common: make BitCast constexpr | ||||
| * | | | common: make BitCast constexpr | Liam | 2023-03-08 | 1 | -9/+11 |
| |/ / | |||||
* / / | input_common: Minor typo issues (#9922) | Narr the Reg | 2023-03-08 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #9889 from Morph1984/time-is-ticking | liamwhite | 2023-03-07 | 8 | -28/+267 |
|\ \ | | | | | | | core_timing: Reduce CPU usage on Windows | ||||
| * | | native_clock: Round RDTSC frequency to the nearest 1000 | Morph | 2023-03-05 | 1 | -5/+12 |
| | | | |||||
| * | | timer_resolution: Set current process to High QoS | Morph | 2023-03-05 | 1 | -0/+22 |
| | | | | | | | | | | | | Ensures that this process is treated as a high performance process by the Windows scheduler. | ||||
| * | | core_timing: Use higher precision sleeps on Windows | Morph | 2023-03-05 | 2 | -0/+8 |
| | | | | | | | | | | | | | | | | | | The precision of sleep_for and wait_for is limited to 1-1.5ms on Windows. Using SleepForOneTick() allows us to sleep for exactly one interval of the current timer resolution. This allows us to take advantage of systems that have a timer resolution of 0.5ms to reduce CPU overhead in the event loop. | ||||
| * | | wall_clock: Make use of SteadyClock | Morph | 2023-03-05 | 1 | -23/+11 |
| | | | |||||
| * | | common: Implement a method to change the Windows timer resolution | Morph | 2023-03-05 | 3 | -0/+133 |
| | | | | | | | | | | | | This utilizes undocumented NtDll functions to change the current timer resolution from the default of 1ms. | ||||
| * | | common: Implement a high resolution steady clock | Morph | 2023-03-05 | 3 | -0/+81 |
| |/ | | | | | | | This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision. | ||||
* / | fix typo in settings.h | Ikko Eltociear Ashimine | 2023-03-06 | 1 | -4/+4 |
|/ | | | Intial -> Initial | ||||
* | nvnflinger: fix name | Liam | 2023-03-01 | 2 | -102/+102 |
| | |||||
* | cmake: use correct boost imported targets | Alexandre Bouvier | 2023-02-28 | 1 | -1/+1 |
| | |||||
* | Revert "yuzu: config: Remove player 8 and 9 from config file" | Narr the Reg | 2023-02-26 | 1 | -1/+1 |
| | |||||
* | Merge pull request #9849 from ameerj/async-astc | liamwhite | 2023-02-26 | 3 | -0/+4 |
|\ | | | | | texture_cache: Add asynchronous ASTC texture decoding | ||||
| * | configuration: Add async ASTC decode setting | ameerj | 2023-02-23 | 2 | -0/+3 |
| | | |||||
| * | texture_cache: Add async texture decoding | ameerj | 2023-02-22 | 1 | -0/+1 |
| | | |||||
* | | yuzu: config: Remove player 8 and 9 from config file | Narr the Reg | 2023-02-26 | 1 | -1/+1 |
| | | |||||
* | | settings: Add more input settings to the log | Narr the Reg | 2023-02-22 | 1 | -0/+7 |
|/ | |||||
* | Update settings.cpp | m-HD | 2023-02-12 | 1 | -0/+4 |
| | | | added missing graphical settings to RestoreGlobalState() | ||||
* | input_common: Reintroduce custom pro controller support | Narr the Reg | 2023-02-10 | 1 | -0/+1 |
| | |||||
* | Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span" | ameerj | 2023-02-03 | 2 | -2/+3 |
| | | | | | This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363. | ||||
* | Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer" | liamwhite | 2023-02-02 | 2 | -3/+2 |
| | |||||
* | Merge pull request #9696 from german77/please_forgive_me_for_this_sin | bunnei | 2023-02-01 | 1 | -0/+2 |
|\ | | | | | input_common: Implement turbo buttons | ||||
| * | input_common: Implement turbo buttons | german77 | 2023-02-01 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #9508 from ameerj/hle-ipc-buffer-span | bunnei | 2023-01-30 | 2 | -2/+3 |
|\ \ | |/ |/| | hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer | ||||
| * | fsp_srv: Use ReadBufferSpan | ameerj | 2022-12-25 | 2 | -2/+3 |
| | | |||||
* | | Move to Clang Format 15 | Levi Behunin | 2023-01-30 | 14 | -121/+124 |
| | | | | | | | | | | | | Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run | ||||
* | | polyfill_thread: satisfy execution ordering requirements of stop_callback | Liam | 2023-01-28 | 1 | -37/+46 |
| | | |||||
* | | polyfill_thread: Implement StoppableTimedWait | Morph | 2023-01-25 | 1 | -0/+36 |
| | | | | | | | | | | | | | | StoppableTimedWait allows for a timed wait to be stopped immediately after a stop is requested. This is useful in cases where long duration thread sleeps are needed and allows for immediate joining of waiting threads after a stop is requested. Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com> | ||||
* | | Merge pull request #9662 from abouvier/cmake-llvm | bunnei | 2023-01-24 | 2 | -5/+3 |
|\ \ | | | | | | | cmake: prefer system llvm library | ||||
| * | | cmake: prefer system llvm library | Alexandre Bouvier | 2023-01-23 | 2 | -5/+3 |
| | | | |||||
* | | | Merge pull request #9492 from german77/joycon_release | liamwhite | 2023-01-24 | 2 | -27/+42 |
|\ \ \ | |/ / |/| | | Input_common: Implement custom joycon driver v2 | ||||
| * | | input_common: Use DriverResult on all engines | german77 | 2023-01-20 | 1 | -26/+20 |
| | | | |||||
| * | | input_common: Disable SDL driver with switch controllers | Narr the Reg | 2023-01-20 | 1 | -0/+1 |
| | | | |||||
| * | | input_common: Initial skeleton for custom joycon driver | Narr the Reg | 2023-01-20 | 1 | -3/+23 |
| | | | |||||
* | | | Merge pull request #9613 from Kelebek1/demangle | liamwhite | 2023-01-22 | 3 | -1/+52 |
|\ \ \ | |/ / |/| | | Add stacktrace symbol demangling | ||||
| * | | Be careful of mangled out of bounds read | Kelebek1 | 2023-01-14 | 1 | -5/+9 |
| | | | |||||
| * | | Move demangle impl to cpp | Kelebek1 | 2023-01-14 | 3 | -23/+36 |
| | | | |||||
| * | | Add stacktrace symbol demangling | Kelebek1 | 2023-01-14 | 2 | -1/+35 |
| | | | |||||
* | | | Update settings.h | Matías Locatti | 2023-01-13 | 1 | -0/+2 |
| | | | |||||
* | | | CPP | Matías Locatti | 2023-01-13 | 1 | -0/+8 |
| | | | |||||
* | | | 1.5X resolution scaler option | Matías Locatti | 2023-01-13 | 2 | -5/+10 |
|/ / | |||||
* | | renderer_vulkan: disable turbo by default | Liam | 2023-01-08 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #9563 from german77/crash_not_allowed | bunnei | 2023-01-07 | 1 | -3/+0 |
|\ \ | | | | | | | input_common: Create an update engine | ||||
| * | | input_common: Create an update engine | Narr the Reg | 2023-01-06 | 1 | -3/+0 |
| | | | |||||
* | | | Merge pull request #9552 from liamwhite/turbo | liamwhite | 2023-01-06 | 2 | -0/+2 |
|\ \ \ | | | | | | | | | vulkan: implement 'turbo mode' clock booster | ||||
| * | | | common: add setting for renderer clock workaround | Liam | 2023-01-05 | 2 | -0/+2 |
| | | | | |||||
* | | | | config: Set the Vulkan driver pipeline cache option to be global | Wollnashorn | 2023-01-05 | 1 | -0/+1 |
| | | | | |||||
* | | | | config: Better wording for VK pipeline cache option and enable by default | Wollnashorn | 2023-01-05 | 1 | -1/+1 |
| | | | | |||||
* | | | | video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelines | Wollnashorn | 2023-01-05 | 1 | -0/+2 |
|/ / / | | | | | | | | | | | | | | | | As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk. These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically. | ||||
* | | | yuzu-ui: Add setting for disabling macro HLE | Fernando Sahmkow | 2023-01-04 | 1 | -0/+1 |
| | | | |||||
* | | | Video_core: Address feedback | Fernando Sahmkow | 2023-01-04 | 1 | -3/+3 |
| | | | |||||
* | | | MacroHLE: Final cleanup and fixes. | Fernando Sahmkow | 2023-01-01 | 1 | -4/+4 |
| | | | |||||
* | | | MacroHLE: Reduce massive calculations on sizing estimation. | Fernando Sahmkow | 2023-01-01 | 2 | -0/+140 |
|/ / | |||||
* | | host_memory: Use transparent huge pages where available | Merry | 2023-01-01 | 1 | -0/+15 |
| | | |||||
* | | host_memory: Allocate virtual_base with MAP_NORESERVE | Merry | 2023-01-01 | 1 | -2/+2 |
|/ | | | | | Specify that we do not require swap to be reserved for this address range; allow overcommitting. | ||||
* | scratch_buffer: Explicitly defing resize and resize_destructive functions | ameerj | 2022-12-20 | 1 | -0/+17 |
| | | | | | resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows | ||||
* | tests: Add ScratchBuffer tests | ameerj | 2022-12-20 | 1 | -5/+9 |
| | |||||
* | common: Add ScratchBuffer class | ameerj | 2022-12-20 | 2 | -0/+75 |
| | | | | | This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize is redundant. | ||||
* | common: add make_unique_for_overwrite | ameerj | 2022-12-20 | 2 | -0/+26 |
| | |||||
* | Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442) | Matías Locatti | 2022-12-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | * Testing LTO (#4) * Testing LTO * clang * linux * Added the rest of Blinkhawk's optimizations * Unlikely asserts * Removing LTO from Linux builds - GCC * Removing LTO from Linux builds - Clang | ||||
* | Set: Allow setting device nickname | Chloe Marcec | 2022-12-14 | 2 | -0/+2 |
| | |||||
* | Merge pull request #9398 from liamwhite/fail | bunnei | 2022-12-12 | 1 | -4/+7 |
|\ | | | | | general: improve handling of system startup failure | ||||
| * | general: improve handling of system startup failure | Liam | 2022-12-06 | 1 | -4/+7 |
| | | |||||
* | | Merge pull request #9415 from liamwhite/dc | Mai | 2022-12-11 | 3 | -88/+0 |
|\ \ | | | | | | | memory: correct semantics of data cache management operations | ||||
| * | | memory: correct semantics of data cache management operations | Liam | 2022-12-11 | 3 | -88/+0 |
| | | | |||||
* | | | video_core: Integrate SMAA | Liam | 2022-12-08 | 1 | -1/+2 |
|/ / | | | | | | | | | Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com> Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com> | ||||
* | | Merge pull request #9370 from liamwhite/break-unmapped | merry | 2022-12-06 | 1 | -0/+1 |
|\ \ | |/ |/| | core: add option to break on unmapped access | ||||
| * | core: add option to break on unmapped access | Liam | 2022-12-02 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #6833 from abouvier/unbundle | liamwhite | 2022-12-05 | 1 | -12/+2 |
|\ \ | | | | | | | cmake: prefer system libraries | ||||
| * | | cmake: prefer system libraries | Alexandre Bouvier | 2022-12-04 | 1 | -12/+2 |
| | | | |||||
* | | | Merge pull request #9273 from ameerj/per-game-profile | liamwhite | 2022-12-04 | 1 | -0/+1 |
|\ \ \ | |/ / |/| | | Configuration: Add per-game input profiles | ||||
| * | | Configuration: Add per-game input profiles | ameerj | 2022-11-20 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #9344 from liamwhite/null | bunnei | 2022-12-03 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | video_core: add null backend | ||||
| * | | | video_core: add null backend | Liam | 2022-11-29 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #9300 from ameerj/pch | liamwhite | 2022-12-03 | 4 | -2/+28 |
|\ \ \ \ | | | | | | | | | | | CMake: Use precompiled headers to improve compile times | ||||
| * | | | | CMake: Consolidate common PCH headers | ameerj | 2022-12-01 | 3 | -8/+16 |
| | | | | | |||||
| * | | | | string_util: Fix Mingw compile error | ameerj | 2022-12-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com> | ||||
| * | | | | CMake: Use precompiled headers | ameerj | 2022-11-30 | 2 | -0/+18 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #9289 from liamwhite/fruit-company | liamwhite | 2022-12-03 | 9 | -4/+865 |
|\ \ \ \ | |/ / / |/| | | | general: fix compile for Apple Clang | ||||
| * | | | general: fix compile for Apple Clang | Liam | 2022-11-23 | 9 | -4/+865 |
| | | | | |||||
* | | | | Merge pull request #9339 from lioncash/cacheheader | Morph | 2022-11-28 | 2 | -4/+3 |
|\ \ \ \ | | | | | | | | | | | common/cache_management: Amend header includes | ||||
| * | | | | common/cache_management: Amend header includes | Lioncash | 2022-11-28 | 2 | -4/+3 |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | Narrows the include in the header to <cstddef>, since that's what houses size_t's definition, meanwhile the <cstdint> include can be moved into the cpp file. | ||||
* | | | | common/input: Add helpers functions for creating input and output devices | Lioncash | 2022-11-28 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | | | | | Avoids the redundancy of needing to explictly specify the common namespace and the type. | ||||
* | | | | common/input: Pass ParamPackage by const reference in CreateDevice | Lioncash | 2022-11-28 | 1 | -3/+3 |
|/ / / | | | | | | | | | | | | | This was previously being passed by value, which was unnecessary and created more allocations than necessary. | ||||
* | | | Merge pull request #9276 from goldenx86/fsrSlider | bunnei | 2022-11-27 | 2 | -0/+3 |
|\ \ \ | | | | | | | | | FSR Sharpening Slider | ||||
| * | | | settings: Reset FSR sharpening global state with the others | lat9nq | 2022-11-26 | 1 | -0/+1 |
| | | | | |||||
| * | | | FSR Sharpening Slider part 1 - only a global slider | Matías Locatti | 2022-11-24 | 2 | -0/+2 |
| |/ / | |||||
* | | | Oops | Matías Locatti | 2022-11-26 | 1 | -1/+1 |
| | | | |||||
* | | | Replace GLSL as the default OpenGL shader backend | Matías Locatti | 2022-11-26 | 1 | -1/+1 |
|/ / | | | | | GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support. | ||||
* | | Merge pull request #9234 from liamwhite/data-cash-money | bunnei | 2022-11-18 | 3 | -0/+89 |
|\ \ | | | | | | | kernel: implement data cache management operations | ||||
| * | | common: add cache management functions | Liam | 2022-11-12 | 3 | -0/+89 |
| | | | |||||
* | | | Merge pull request #9229 from Docteh/achy_breaky_heart | Morph | 2022-11-18 | 1 | -0/+1 |
|\ \ \ | |_|/ |/| | | Add break for default cases | ||||
| * | | Add break for default cases | Kyle Kienapfel | 2022-11-14 | 1 | -0/+1 |
| |/ | | | | | | | | | | | | | | | | | | | | | Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return | ||||
* / | Add CPU core count to log files | Matías Locatti | 2022-11-12 | 2 | -3/+60 |
|/ | |||||
* | Merge pull request #9198 from liamwhite/arm64 | bunnei | 2022-11-11 | 2 | -1/+9 |
|\ | | | | | Initial ARM64 support | ||||
| * | Initial ARM64 support | Liam | 2022-11-09 | 2 | -1/+9 |
| | | |||||
* | | Add break statement in default cases | Enrico Mancuso | 2022-11-09 | 1 | -0/+1 |
|/ | | | | | | | According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing) the default cases should have a break statement default: // Yes, even break for the last case break; | ||||
* | concepts: Use the std::contiguous_iterator concept | Morph | 2022-10-26 | 2 | -19/+9 |
| | | | | | | This also covers std::span, which does not have a const iterator. Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics. | ||||
* | Merge pull request #9107 from german77/gidoly_rules | liamwhite | 2022-10-25 | 1 | -1/+4 |
|\ | | | | | input_common: cache vibration tests | ||||
| * | input_common: cache vibration tests | german77 | 2022-10-21 | 1 | -1/+4 |
| | | |||||
* | | CMakeLists: Disable C4100 and C4324 | Morph | 2022-10-22 | 1 | -9/+0 |
| | | | | | | | | Disabling C4100 is similar to -Wno-unused-parameter | ||||
* | | CMakeLists: Remove redundant warnings | Morph | 2022-10-22 | 1 | -2/+0 |
| | | | | | | | | These warnings are already included in /W3. | ||||
* | | CMakeLists: Treat MSVC warnings as errors | Morph | 2022-10-22 | 1 | -1/+0 |
| | | |||||
* | | general: Enforce C4800 everywhere except in video_core | Morph | 2022-10-22 | 2 | -4/+17 |
| | | |||||
* | | CMakeLists: Remove all redundant warnings | Morph | 2022-10-22 | 1 | -2/+0 |
|/ | | | | These are already explicitly or implicitly set in src/CMakeLists.txt | ||||
* | fixed_point: Mark default constructor as constexpr | Lioncash | 2022-10-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Ensures that a fixed-point value is always initialized This likely also fixes several cases of uninitialized values being operated on, since we have multiple areas in the codebase where the default constructor is being used like: Common::FixedPoint<50, 14> current_sample{}; and is then followed up with an arithmetic operation like += or something else, which operates directly on FixedPoint's internal data member, which would previously be uninitialized. | ||||
* | fixed_point: Mark copy/move assignment operators and constructors as constexpr | Lioncash | 2022-10-18 | 1 | -3/+6 |
| | | | | | Given these are just moving a raw value around, these can sensibly be made constexpr to make the interface more useful. | ||||
* | fixed_point: Mark std::swap and move constructor as noexcept | Lioncash | 2022-10-18 | 1 | -2/+2 |
| | | | | | These shouldn't throw and can influence how some standard algorithms will work. | ||||
* | fixed_point: Mark relevant member function [[nodiscard]] | Lioncash | 2022-10-18 | 1 | -14/+14 |
| | | | | | Marks member functions as discard, where ignoring the return value would be indicative of a bug or dead code. | ||||
* | fixed_point: Make to_uint() non-const | Lioncash | 2022-10-18 | 1 | -2/+2 |
| | | | | | | | | | | | This calls round_up(), which is a non-const member function, so if a fixed-point instantiation ever calls to_uint(), it'll result in a compiler error. This allows the member function to work. While we're at it, we can actually mark to_long_floor() as const, since it's not modifying any member state. | ||||
* | fixed_point: Use defaulted comparisons | Lioncash | 2022-10-18 | 1 | -23/+1 |
| | | | | Collapses all of the comparison functions down to a single line. | ||||
* | fixed_point: Use variable templates and concepts where applicable | Lioncash | 2022-10-18 | 2 | -72/+56 |
| | | | | | Makes a few things a little less noisy and removes the need for SFINAE in quite a few functions. | ||||
* | Merge pull request #9054 from Docteh/just_lz4 | bunnei | 2022-10-18 | 1 | -1/+5 |
|\ | | | | | CMake: Try add_library "lz4" if "lz4::lz4" is unavailable | ||||
| * | CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailable | Kyle Kienapfel | 2022-10-14 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | Right now this looks like a distro specific problem, but we'll have to see. Over on Gentoo: with lz4 1.9.3 there is a lz4::lz4 library target, with 1.9.4 it's no longer mentioned in the cmake files provided by the package. (/usr/lib64/cmake/lz4) arch and openSUSE have lz4 1.9.4 available so I checked there, they only have .pc files for pkg-config, so asking for "lz4::lz4" works as usual MSVC does require "lz4::lz4" to be asked for | ||||
* | | fixed_point: Replace CONSTEXPR14 with constexpr | Morph | 2022-10-17 | 1 | -50/+42 |
| | | | | | | | | As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed. | ||||
* | | general: Add missing pragma once | Morph | 2022-10-17 | 1 | -4/+1 |
|/ | |||||
* | settings: Update aspect_ratio range | Morph | 2022-10-13 | 1 | -1/+1 |
| | | | | Since 16:10 was added, the maximum value is now 4. | ||||
* | input_common: have an unique vector in callback status | german77 | 2022-10-09 | 1 | -2/+3 |
| | |||||
* | General: address feedback | Fernando Sahmkow | 2022-10-06 | 1 | -4/+4 |
| | |||||
* | general: rework usages of UNREACHABLE macro | Liam | 2022-10-06 | 1 | -15/+16 |
| | |||||
* | address_space: Rename va_start to virt_start | Morph | 2022-10-06 | 2 | -5/+5 |
| | | | | Avoids conflicting with the va_start macro | ||||
* | address_space: Address feedback | Morph | 2022-10-06 | 2 | -191/+233 |
| | |||||
* | general: Format licenses as per SPDX guidelines | Morph | 2022-10-06 | 6 | -14/+13 |
| | |||||
* | General: Fix clang format. | Fernando Sahmkow | 2022-10-06 | 1 | -2/+2 |
| | |||||
* | Common: Fix variable shadowing. | Fernando Sahmkow | 2022-10-06 | 1 | -5/+5 |
| | |||||
* | General: Fix compilation for GCC | Liam White | 2022-10-06 | 5 | -17/+14 |
| | |||||
* | DMA & InlineToMemory Engines Rework. | bunnei | 2022-10-06 | 1 | -0/+8 |
| | |||||
* | MemoryManager: initial multi paging system implementation. | Fernando Sahmkow | 2022-10-06 | 1 | -0/+3 |
| | |||||
* | Refactor VideoCore to use AS sepparate from Channel. | Fernando Sahmkow | 2022-10-06 | 1 | -0/+7 |
| | |||||
* | NVDRV: Remake ASGPU | Fernando Sahmkow | 2022-10-06 | 4 | -0/+485 |
| | |||||
* | VideoCore: Update MemoryManager | Fernando Sahmkow | 2022-10-06 | 2 | -4/+4 |
| | |||||
* | Common: implement MultiLevelPageTable. | Fernando Sahmkow | 2022-10-06 | 4 | -0/+171 |
| | |||||
* | NVDRV: Refactor and add new NvMap. | Fernando Sahmkow | 2022-10-06 | 1 | -5/+8 |
| | |||||
* | common: remove "yuzu:" prefix from thread names | Liam | 2022-10-04 | 1 | -1/+1 |
| | |||||
* | service: nfp: address comments | german77 | 2022-10-02 | 1 | -1/+1 |
| | |||||
* | input_common: Create virtual amiibo driver | german77 | 2022-10-02 | 1 | -0/+27 |
| | |||||
* | Merge pull request #8920 from abouvier/cmake-git | bunnei | 2022-09-25 | 1 | -27/+2 |
|\ | | | | | cmake: fix git detection | ||||
| * | cmake: fix git detection | Alexandre Bouvier | 2022-09-18 | 1 | -27/+2 |
| | | |||||
* | | yuzu qt: Add option to disable startup Vulkan check | lat9nq | 2022-09-19 | 1 | -0/+1 |
|/ | | | | | | | The startup check apparently confuses other programs when yuzu launches 2 processes and then quickly closes one of them. Though this isn't really our issues it's also not a big deal for me to add an option to work around that issue. | ||||
* | Merge pull request #8650 from Kelebek1/vsync | bunnei | 2022-09-17 | 1 | -0/+4 |
|\ | | | | | [Coretiming/NVNFlinger] Improve multi-core vsync timing, and core timing accuracy | ||||
| * | Make coretiming waiting more accurate | Kelebek1 | 2022-08-02 | 1 | -0/+4 |
| | | |||||
* | | Merge pull request #8649 from lat9nq/common-position-independent | Morph | 2022-09-16 | 1 | -3/+3 |
|\ \ | | | | | | | common: Use PROJECT_SOURCE_DIR to find CMakeModules | ||||
| * | | common: Use PROJECT_SOURCE_DIR to find CMakeModules | lat9nq | 2022-08-02 | 1 | -3/+3 |
| | | | | | | | | | | | | Fixes CMake configuration when yuzu is a submodule of another project. | ||||
* | | | Merge pull request #8682 from lat9nq/dumpy | Morph | 2022-09-16 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | yuzu qt: Add option to create Windows crash dumps | ||||
| * | | | yuzu: Use a debugger to generate minidumps | lat9nq | 2022-09-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | yuzu: Move mini_dump out of core startup_checks: Better exception handling | ||||
* | | | | common: do not link to xbyak on non-amd64 architectures | liushuyu | 2022-09-14 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #8864 from german77/toggle_analog | bunnei | 2022-09-10 | 1 | -0/+5 |
|\ \ \ \ | | | | | | | | | | | input_common: Add support for analog toggle | ||||
| * | | | | input_common: Add support for analog toggle | Narr the Reg | 2022-09-06 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | Merge pull request #8819 from liamwhite/cash-money | lat9nq | 2022-09-09 | 2 | -0/+2 |
|\ \ \ \ \ | |_|/ / / |/| | | | | video_core: add option for pessimistic flushing | ||||
| * | | | | video_core: add option for pessimistic flushing | Liam | 2022-08-25 | 2 | -0/+2 |
| | | | | | |||||
* | | | | | Merge pull request #8822 from FearlessTobi/multiplayer-fixes | bunnei | 2022-09-02 | 1 | -0/+1 |
|\ \ \ \ \ | |_|/ / / |/| | | | | network: Fixes and improvements to the room feature | ||||
| * | | | | yuzu: Display current game version in multiplayer room | FearlessTobi | 2022-08-27 | 1 | -0/+1 |
| |/ / / | | | | | | | | | | | | | Makes it easier for users to recognize connection errors caused by different game versions. | ||||
* / / / | Silence std::aligned_storage warnings as it's deprecated in C++23, | Kelebek1 | 2022-09-01 | 1 | -1/+1 |
|/ / / | | | | | | | | | | replace it with alignas() and a C array | ||||
* | | | Merge pull request #8784 from Docteh/nosnek | liamwhite | 2022-08-21 | 1 | -9/+0 |
|\ \ \ | | | | | | | | | code: dodge PAGE_SIZE #define | ||||
| * | | | code: dodge PAGE_SIZE #define | Kyle Kienapfel | 2022-08-20 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779 | ||||
* | | | | common: remove unneeded x86-specific header | liushuyu | 2022-08-16 | 1 | -1/+0 |
|/ / / | |||||
* | | | Make copyright headers SPDX-compliant | FearlessTobi | 2022-08-15 | 1 | -3/+2 |
| | | | |||||
* | | | core, network: Add ability to proxy socket packets | FearlessTobi | 2022-08-15 | 3 | -7/+56 |
| | | | |||||
* | | | Allow audio volume up to 200% | Kelebek1 | 2022-08-12 | 2 | -2/+2 |
| |/ |/| | |||||
* | | common: move forwarded value into SPSCQueue | Liam | 2022-07-29 | 1 | -1/+1 |
| | | |||||
* | | Revert Coretiming PRs 8531 and 7454 (#8591) | Maide | 2022-07-28 | 2 | -6/+1 |
| | | |||||
* | | chore: make yuzu REUSE compliant | Andrea Pappacoda | 2022-07-27 | 31 | -106/+68 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254 | ||||
* | network, yuzu: Make copyright headers SPDX-compliant | FearlessTobi | 2022-07-25 | 1 | -3/+2 |
| | |||||
* | network, yuzu: Improve variable naming and style consistency | FearlessTobi | 2022-07-25 | 1 | -1/+1 |
| | |||||
* | common: multiplayer: Use GameInfo type | german77 | 2022-07-25 | 1 | -19/+16 |
| | |||||
* | Address second part of review comments | FearlessTobi | 2022-07-25 | 1 | -21/+30 |
| | |||||
* | common, core: fix -Wmissing-field-initializers | FearlessTobi | 2022-07-25 | 1 | -2/+2 |
| | |||||
* | yuzu: Add ui files for multiplayer rooms | FearlessTobi | 2022-07-25 | 2 | -0/+139 |
| | |||||
* | yuzu: Add webcam support and rebase to latest master | Narr the Reg | 2022-07-24 | 1 | -2/+2 |
| | |||||
* | input_common: Add camera driver | german77 | 2022-07-24 | 2 | -1/+31 |
| | |||||
* | Merge pull request #8545 from Kelebek1/Audio | liamwhite | 2022-07-23 | 6 | -2/+2447 |
|\ | | | | | Project Andio | ||||
| * | Project Andio | Kelebek1 | 2022-07-22 | 6 | -2/+2447 |
| | | |||||
* | | ci,CMake: Drop Conan support for vcpkg | lat9nq | 2022-07-23 | 1 | -2/+3 |
|/ | | | | | | | | | | | | | | | | | | Between packages breaking, Conan always being a moving target for minimum required CMake support, and now their moves to Conan 2.0 causing existing packages to break, I suppose this was a long time coming. vcpkg isn't without its drawbacks, but at the moment it seems easier on the project to use for external packages. Mostly removes the logic for Conan from the root CMakeLists file, leaving basic find_package()'s in its place. Sets only the find_package()'s that require CONFIG mode as necessary. clang and linux CI now use the vcpkg toolchain file configured in the Docker container when possible. mingw CI turns off YUZU_TESTS because there's no way on the container to run Windows executables on a Linux host anyway, and it's not easy to get Catch2 there. | ||||
* | Merge pull request #8508 from yuzu-emu/mc-speed-limit | bunnei | 2022-07-17 | 2 | -3/+0 |
|\ | | | | | hle: service: nvflinger: Factor speed limit into frame time calculation. | ||||
| * | yuzu: settings: Remove framerate cap and merge unlocked framerate setting. | bunnei | 2022-07-17 | 2 | -3/+0 |
| | | | | | | | | - These were all somewhat redundant. | ||||
* | | Merge pull request #8543 from BreadFish64/use_tsc_from_caps | bunnei | 2022-07-17 | 3 | -1/+22 |
|\ \ | |/ |/| | common/x64: Use TSC clock rate from CPUID when available | ||||
| * | guard against div-by-zero | Marshall Mohror | 2022-07-06 | 1 | -2/+5 |
| | | |||||
| * | common/x64: Use TSC clock rate from CPUID when available | Marshall Mohror | 2022-07-06 | 3 | -1/+19 |
| | | | | | | | | The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available. | ||||
* | | Merge pull request #8593 from merryhime/ranged-setting-T | bunnei | 2022-07-17 | 1 | -34/+33 |
|\ \ | | | | | | | common/setting: Make ranged a property of the type | ||||
| * | | common/setting: Make ranged a property of the type | merry | 2022-07-15 | 1 | -34/+33 |
| | | | | | | | | | | | | | | | - Avoids new GCC 12 warnings when Type is of form std::optional<T> - Makes more sense this way, because ranged is not a property which would change over time | ||||
* | | | Merge pull request #8511 from german77/hbmenu | bunnei | 2022-07-16 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | service: ptm: Add TS, nifm: Stub GetInternetConnectionStatus | ||||
| * | | | service: ptm: Rewrite PSM and add TS | german77 | 2022-06-29 | 2 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #8560 from liamwhite/bitfield-may-alias | bunnei | 2022-07-16 | 1 | -0/+9 |
|\ \ \ \ | |_|/ / |/| | | | common: fix bitfield aliasing on GCC/Clang | ||||
| * | | | common: fix bitfield aliasing on GCC/Clang | Liam | 2022-07-10 | 1 | -0/+9 |
| | | | | |||||
* | | | | common_funcs: Mark padding as [[maybe_unused]] | Merry | 2022-07-15 | 1 | -4/+6 |
|/ / / | |||||
* | | | Merge pull request #8522 from lat9nq/consolidate-settings | Morph | 2022-07-07 | 1 | -270/+182 |
|\ \ \ | |_|/ |/| | | settings: Consolidate RangedSetting's with regular ones | ||||
| * | | settings: Consolidate RangedSetting's with regular ones | lat9nq | 2022-06-30 | 1 | -270/+182 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | The latest git version of GCC has issues with my diamond inheritance shenanigans. Since that's now two compilers that don't like it I thought it'd be best to just axe all of it and just have the two templates like before. This rolls the features of BasicRangedSetting into BasicSetting, and likewise RangedSetting into Setting. It also renames them from BasicSetting and Setting to Setting and SwitchableSetting respectively. Now longer name corresponds to more complex thing. | ||||
* | | common/fiber: make fibers easier to use | Liam | 2022-07-02 | 2 | -20/+8 |
| | | |||||
* | | Adress Feedback. | Fernando Sahmkow | 2022-06-30 | 1 | -1/+0 |
| | | |||||
* | | Native clock: Use atomic ops as before. | Fernando Sahmkow | 2022-06-28 | 2 | -24/+29 |
| | | |||||
* | | Native Clock: remove inaccuracy mask. | Fernando Sahmkow | 2022-06-28 | 2 | -6/+1 |
| | | |||||
* | | Core: Fix tests. | Fernando Sahmkow | 2022-06-28 | 2 | -2/+2 |
| | | |||||
* | | Core/Common: Corrections to core timing and add critical priority. | Fernando Sahmkow | 2022-06-28 | 2 | -4/+10 |
| | | |||||
* | | Common: improve native clock. | Fernando Sahmkow | 2022-06-28 | 3 | -29/+29 |
|/ | |||||
* | Merge pull request #8432 from liamwhite/watchpoint | bunnei | 2022-06-22 | 1 | -0/+3 |
|\ | | | | | core/debugger: memory breakpoint support | ||||
| * | core/debugger: memory breakpoint support | Liam | 2022-06-16 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #8472 from german77/tace | Morph | 2022-06-16 | 1 | -3/+3 |
|\ \ | |/ |/| | common: param_package: Demote DEBUG to TRACE for getters | ||||
| * | common: param_package: Demote DEBUG to TRACE for getters | Narr the Reg | 2022-06-16 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #8460 from Morph1984/bounded-q | liamwhite | 2022-06-16 | 1 | -86/+73 |
|\ \ | | | | | | | bounded_threadsafe_queue: Use constexpr capacity and mask | ||||
| * | | bounded_threadsafe_queue: Use constexpr capacity and mask | Morph | 2022-06-15 | 1 | -86/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | While this is the primary change, we also: - Remove the mpsc namespace and rename Queue to MPSCQueue - Make Slot a private struct within MPSCQueue - Remove the AlignedAllocator template argument, as we use std::allocator - Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1 | ||||
* | | | Merge pull request #8383 from Morph1984/shadow-of-the-past | Mai | 2022-06-15 | 1 | -2/+2 |
|\ \ \ | |_|/ |/| | | yuzu: Make variable shadowing a compile-time error | ||||
| * | | common: Eliminate variable shadowing | Morph | 2022-06-14 | 1 | -2/+2 |
| |/ | | | | | | | GCC/Clang treats variables within lambdas as potentially shadowing those outside the lambda, despite them not being captured inside the lambda's capture list. | ||||
* | | common/assert: rework ASSERT handling to avoid std::function usage | Liam | 2022-06-14 | 2 | -35/+20 |
| | | |||||
* | | common/assert: add unlikely | Liam | 2022-06-14 | 1 | -1/+1 |
| | | |||||
* | | common: Don't test ASSERT conditions inline | Liam | 2022-06-14 | 2 | -32/+36 |
| | | |||||
* | | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 2022-06-14 | 3 | -3/+18 |
|/ | |||||
* | Merge pull request #8413 from behunin/bounded-queue | bunnei | 2022-06-11 | 1 | -0/+180 |
|\ | | | | | gpu_thread: Move to bounded queue | ||||
| * | gpu_thread: Move to bounded queue | Levi Behunin | 2022-06-03 | 1 | -0/+180 |
| | | |||||
* | | Merge pull request #8393 from lat9nq/default-vulkan | bunnei | 2022-06-11 | 1 | -1/+1 |
|\ \ | | | | | | | general: Set renderer_backend's default to Vulkan | ||||
| * | | settings: Set Vulkan to the default renderer backend | lat9nq | 2022-05-30 | 1 | -1/+1 |
| | | | |||||
* | | | common: consolidate ELF structure definitions | Liam | 2022-06-05 | 2 | -0/+334 |
| |/ |/| | |||||
* | | core/debugger: Implement new GDB stub debugger | Liam | 2022-06-01 | 2 | -1/+2 |
|/ | |||||
* | Merge pull request #8374 from german77/asnycvibrations | bunnei | 2022-05-28 | 1 | -0/+1 |
|\ | | | | | input_common: Make vibration request async | ||||
| * | input_common: Make vibration request async | Narr the Reg | 2022-05-23 | 1 | -0/+1 |
| | | |||||
* | | path_util: Resolve `-Wpointer-bool-conversion` warning | lat9nq | 2022-05-27 | 1 | -3/+1 |
|/ | | | | | | | | | Clang (rightfully) warns that we are checking for the existence of pointer to something just allocated on the stack, which is always true. Instead, check whether GetModuleFileNameW failed. Co-authored-by: Mai M <mathew1800@gmail.com> | ||||
* | string_util: Add U16StringFromBuffer | lat9nq | 2022-05-16 | 2 | -0/+6 |
| | | | | | | Qt's QString::toStdU16String doesn't work when compiling against the latest libstdc++, at least when using Clang. This function effectively does the same thing as the aforementioned one. | ||||
* | VideoCore: Add option to dump the macros. | Fernando Sahmkow | 2022-05-09 | 1 | -0/+1 |
| | | | | Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com> | ||||
* | Merge pull request #8280 from Tachi107/spdx-fixup | Mai M | 2022-04-29 | 19 | -172/+59 |
|\ | | | | | chore: add missing SPDX tags | ||||
| * | chore: add missing SPDX tags | Andrea Pappacoda | 2022-04-28 | 19 | -172/+59 |
| | | | | | | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52 | ||||
* | | GCC 12 fixes | Liam | 2022-04-28 | 1 | -1/+1 |
|/ | |||||
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 67 | -211/+136 |
| | | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | ||||
* | yuzu: Add custom ringcon configuration | german77 | 2022-04-16 | 2 | -0/+4 |
| | |||||
* | hle: kernel: Use std::mutex instead of spin locks for most kernel locking. | bunnei | 2022-04-12 | 1 | -2/+3 |
| | |||||
* | common: Replace lock_guard with scoped_lock | Merry | 2022-04-07 | 3 | -5/+5 |
| | |||||
* | Merge pull request #8143 from merryhime/rdtsc | Fernando S | 2022-04-07 | 1 | -14/+35 |
|\ | | | | | native_clock: Use lfence with rdtsc | ||||
| * | native_clock: Internal linkage for FencedRDTSC | Merry | 2022-04-03 | 1 | -2/+4 |
| | | | | | | | | __forceinline required on MSVC for function to be inlined | ||||
| * | native_clock: Use lfence with rdtsc | merry | 2022-04-03 | 1 | -14/+33 |
| | | |||||
* | | service: jit: stub JIT service | Liam | 2022-04-07 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #8089 from merryhime/paranoia | bunnei | 2022-04-04 | 1 | -1/+2 |
|\ \ | |/ |/| | configuration: Add Paranoid CPU accuracy level | ||||
| * | configuration: Add Paranoid CPU accuracy level | merry | 2022-03-26 | 1 | -1/+2 |
| | | | | | | | | Disables most optimizations for the paranoid. | ||||
* | | native_clock: Use writeback from CAS to avoid double-loading | merry | 2022-04-02 | 1 | -4/+6 |
| | | |||||
* | | atomic_ops: Implement AtomicCompareAndSwap with writeback | merry | 2022-04-02 | 1 | -0/+73 |
| | | |||||
* | | native_clock: Use AtomicLoad128 | Merry | 2022-04-02 | 1 | -2/+2 |
| | | |||||
* | | atomic_ops: Implement AtomicLoad128 | Merry | 2022-04-02 | 1 | -0/+17 |
|/ | |||||
* | hle: nvflinger: Merge Rect with Common::Rectangle. | bunnei | 2022-03-25 | 1 | -5/+45 |
| | |||||
* | common: logging: Add a logger for NVFlinger. | bunnei | 2022-03-25 | 2 | -0/+2 |
| | |||||
* | general: Fix clang/gcc build errors | ameerj | 2022-03-20 | 7 | -0/+9 |
| | |||||
* | common: Reduce unused includes | ameerj | 2022-03-19 | 25 | -32/+1 |
| | |||||
* | common: Reduce unused includes | ameerj | 2022-03-19 | 8 | -12/+0 |
| | |||||
* | common: tree: Various updates. | bunnei | 2022-03-15 | 1 | -284/+341 |
| | |||||
* | common: intrusive_red_black_tree: Various updates. | bunnei | 2022-03-15 | 1 | -181/+210 |
| | |||||
* | cpu_detect: Add additional x86 flags and telemetry | Wunkolo | 2022-03-11 | 3 | -27/+84 |
| | | | | | | | | | | | Adds detection of additional CPU flags to cpu_detect and additions to telemetry output. This is not exhaustive but guided by features that [dynarmic utilizes](https://github.com/merryhime/dynarmic/blob/bcfe377aaa5138af740e90af5be7a7dff7b62a52/src/dynarmic/backend/x64/host_feature.h#L12-L33) as well as features that are currently utilized but not reported to telemetry(invariant_tsc). This is intended to guide future optimizations. AVX512 in particular is broken up into its individual subsets and some other processor features such as [sha](https://en.wikipedia.org/wiki/Intel_SHA_extensions) and [gfni](https://en.wikipedia.org/wiki/AVX-512#GFNI) are added to have some forward-facing data-points. What used to be a single `CPU_Extension_x64_AVX512` telemetry field is also broken up into individual `CPU_Extension_x64_AVX512{F,VL,CD,...}` fields. | ||||
* | common/telemetry: Update `AddField` name type to `string_view` | Wunkolo | 2022-03-11 | 1 | -3/+4 |
| | | | | | Non-owning `string_view` is flexable and avoids some of the many redundant copies made over `std::string` | ||||
* | backend: Ensure backend_thread is destructed before message_queue | Merry | 2022-03-10 | 1 | -1/+1 |
| | | | | Ensures that stop_token signals that stop has been requested before destruction of conditional_variable | ||||
* | cpu_detect: Revert `__cpuid{ex}` array-type argument | Wunkolo | 2022-03-10 | 1 | -6/+6 |
| | | | | Restores compatibility with MSVC's `__cpuid` intrinsic. | ||||
* | cpu_detect: Add missing `lzcnt` detection | Wunkolo | 2022-03-09 | 1 | -0/+1 |
| | |||||
* | cpu_detect: Refactor cpu/manufacturer identification | Wunkolo | 2022-03-09 | 2 | -24/+38 |
| | | | | | | | Set the zero-enum value to Unknown Move the Manufacterer enum into the CPUCaps structure namespace Add "ParseManufacturer" utility-function Fix cpu/brand string buffer sizes(!) | ||||
* | cpu_detect: Update array-types to `span` and `array` | Wunkolo | 2022-03-09 | 1 | -11/+13 |
| | | | | Update some uses of `int` into some more explicitly sized types as well | ||||
* | cpu_detect: Utilize `Bit<N>` utility function | Wunkolo | 2022-03-09 | 1 | -32/+20 |
| | |||||
* | cpu_detect: Compact capability fields | Wunkolo | 2022-03-09 | 1 | -20/+21 |
| | | | | | As this structure gets more explicit, bools can be bitfields and small enums can use smaller types for their span of values. | ||||
* | bit_util: Add `bit` utility function | Wunkolo | 2022-03-09 | 1 | -0/+7 |
| | | | | Extracts a singular bit, as a bool, from the specified compile-time index. | ||||
* | Merge pull request #7973 from Morph1984/debug-crash | Fernando S | 2022-03-06 | 1 | -2/+2 |
|\ | | | | | host_memory: Fix fastmem crashes in debug builds | ||||
| * | host_memory: Fix fastmem crashes in debug builds | Morph | 2022-03-03 | 1 | -2/+2 |
| | | | | | | | | | | | | It is possible for virtual_offset to not be 0 when the iterator is at the beginning, and thus, std::prev(it) may be evaluated, leading to a crash in debug mode. Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com> | ||||
* | | Merge pull request #7935 from Wunkolo/logging-join-fix | bunnei | 2022-03-03 | 1 | -13/+5 |
|\ \ | |/ |/| | logging: Convert `backend_thread` into an `std::jthread` | ||||
| * | logging: Convert `backend_thread` into an `std::jthread` | Wunkolo | 2022-02-28 | 1 | -13/+5 |
| | | | | | | | | | | | | Was getting an unhandled `invalid_argument` [exception](https://en.cppreference.com/w/cpp/thread/thread/join) during shutdown on my linux machine. This removes the need for a `StopBackendThread` function entirely since `jthread` [automatically handles both checking if the thread is joinable and stopping the token before attempting to join](https://en.cppreference.com/w/cpp/thread/jthread/~jthread) in the case that `StartBackendThread` was never called. | ||||
* | | dynarmic: Inline exclusive memory accesses | merry | 2022-02-27 | 2 | -0/+4 |
|/ | | | | | | | | | | | | | | | Inlines implementation of exclusive instructions into JITted code, improving performance of applications relying heavily on these instructions. We also fastmem these instructions for additional speed, with support for appropriate recompilation on fastmem failure. An unsafe optimization to disable the intercore global_monitor is also provided, should one wish to rely solely on cmpxchg semantics for safety. See also: merryhime/dynarmic#664 | ||||
* | settings: Add a new "use_extended_memory_layout" setting. | bunnei | 2022-02-21 | 2 | -0/+2 |
| | | | | - This will be used to enable emulation of a larger memory arrangement. | ||||
* | fixup! core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | bunnei | 2022-02-19 | 2 | -16/+16 |
| | |||||
* | core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory. | bunnei | 2022-02-19 | 2 | -6/+76 |
| | | | | - Improves the implementations of MapPhysicalMemory and UnmapPhysicalMemory to more closely reflect latest HOS. | ||||
* | common: Add NullVisitor default constructor | Wunkolo | 2022-02-17 | 1 | -0/+3 |
| | | | | | | | | Addresses https://github.com/yuzu-emu/yuzu/issues/7881 to fix linux builds. `YUZU_NON_COPYABLE` deletes the `T(const T&)` constructor which will cause the implicitly defined default ctor/dtor to no-longer generate. | ||||
* | Merge pull request #7878 from german77/mnpp | bunnei | 2022-02-17 | 2 | -0/+2 |
|\ | | | | | service/mnpp: Stub mnpp_app | ||||
| * | service/mnpp: Stub mnpp_app | Narr the Reg | 2022-02-11 | 2 | -0/+2 |
| | | | | | | | | Used in Super Nintendo Entertainment System™ - Nintendo Switch Online | ||||
* | | common: fs_util: Add buffer to string view utility functions | Morph | 2022-02-14 | 2 | -0/+26 |
| | | | | | | | | These functions allow to construct a string view from an input buffer, avoiding the copy done by the non string view counterparts. However, callers must be cognizant of the viewed buffer's lifetime to avoid a use-after-free. | ||||
* | | common: uuid: Use sizeof(u64) instead of 8 in Hash() | Morph | 2022-02-10 | 1 | -5/+5 |
| | | |||||
* | | common: uuid: Return an invalid UUID if conversion from string fails | Morph | 2022-02-05 | 1 | -14/+39 |
| | | | | | | | | | | The string constructor of UUID states: Should the input string not meet the above requirements, an assert will be triggered and an invalid UUID is set instead. | ||||
* | | general: Rename NewUUID to UUID, and remove the previous UUID impl | Morph | 2022-02-05 | 6 | -434/+256 |
| | | | | | | | | This completes the removal of the old UUID implementation. | ||||
* | | common: uuid: Add AsU128() | Morph | 2022-02-05 | 2 | -0/+9 |
| | | | | | | | | This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used. | ||||
* | | input/hid: Migrate to the new UUID implementation | Morph | 2022-02-05 | 1 | -4/+4 |
| | | |||||
* | | common: Implement NewUUID | Morph | 2022-02-05 | 3 | -0/+322 |
|/ | | | | | This is a fixed and revised implementation of UUID that uses an array of bytes as its internal representation of a UUID instead of a u128 (which was an array of 2 u64s). In addition to this, the generation of RFC 4122 Version 4 compliant UUIDs is also implemented. | ||||
* | common_types: Remove NonCopyable struct | Lioncash | 2022-02-02 | 1 | -10/+0 |
| | | | | | Now that we're moved over to the YUZU_ defines, we can get rid of this struct. | ||||
* | general: Replace NonCopyable struct with equivalents | Lioncash | 2022-02-02 | 1 | -9/+17 |
| | |||||
* | Merge pull request #7807 from german77/moar-buttons | bunnei | 2022-02-02 | 1 | -0/+2 |
|\ | | | | | input_common: Add home and hard touch press buttons to UDP controllers | ||||
| * | input_common: Add home and hard touch press buttons to UDP controllers | german77 | 2022-01-30 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #7809 from Morph1984/clock-constants | bunnei | 2022-02-02 | 3 | -11/+19 |
|\ \ | | | | | | | common: wall_clock: Utilize constants for ms, us, and ns ratios | ||||
| * | | common: wall_clock: Check precision against the emulated CPU and CNTFRQ | Morph | 2022-01-30 | 2 | -8/+12 |
| | | | | | | | | | | | | In addition to requiring nanosecond precision, using the native clock requires that the hardware TSC has a precision greater than the emulated CPU and its clock counter. | ||||
| * | | common: wall_clock: Utilize constants for ms, us, and ns ratios | Morph | 2022-01-30 | 3 | -5/+9 |
| |/ | |||||
* / | common/file: Remove [[nodiscard]] from Open() | Lioncash | 2022-02-01 | 1 | -3/+2 |
|/ | | | | | Since this has a void return value, there's nothing that can actually be used. | ||||
* | Merge pull request #7791 from german77/wall_clock | Morph | 2022-01-29 | 1 | -1/+3 |
|\ | | | | | wall_clock: Use standard wall clock if rtsc frequency is too low | ||||
| * | wall_clock: use standard wall clock if rtsc frequency is too low | german77 | 2022-01-28 | 1 | -1/+3 |
| | | |||||
* | | common/xbyak_api: Make BuildRegSet() constexpr | Lioncash | 2022-01-26 | 1 | -8/+8 |
| | | | | | | | | | | This allows us to eliminate any static constructors that would have been emitted due to the function not being constexpr. | ||||
* | | yuzu: Add setting to disable controller navigation | german77 | 2022-01-24 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #7695 from Morph1984/is-pow2 | bunnei | 2022-01-21 | 1 | -0/+6 |
|\ | | | | | common: bit_util: Add IsPow2 helper function | ||||
| * | common: bit_util: Add IsPow2 helper function | Morph | 2022-01-11 | 1 | -0/+6 |
| | | | | | | | | Makes use of std::has_single_bit() to check whether the value is a power of 2. | ||||
* | | Merge pull request #7725 from german77/mouse_in_motion | bunnei | 2022-01-19 | 1 | -0/+7 |
|\ \ | | | | | | | input_common: Reintroduce motion from mouse and use button names | ||||
| * | | input_common: Reintroduce motion from mouse and use button names | german77 | 2022-01-17 | 1 | -0/+7 |
| |/ | |||||
* / | common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber. | bunnei | 2022-01-15 | 1 | -1/+4 |
|/ | | | | - When the emulator crashes to desktop below, we don't even get this captured in a log, making such issues harder to debug. | ||||
* | logging/log.h: move enum class formatter to a separate file ... | liushuyu | 2022-01-10 | 3 | -15/+25 |
| | | | | ... to common/logging/formatter.h | ||||
* | logging/log: use `underlying_type` instead of hardcoding types | liushuyu | 2022-01-09 | 1 | -2/+4 |
| | |||||
* | logging: adapt to changes in fmt 8.1 | liushuyu | 2022-01-08 | 1 | -1/+14 |
| | |||||
* | ShaderDecompiler: Add a debug option to dump the game's shaders. | Fernando Sahmkow | 2022-01-04 | 1 | -0/+1 |
| | |||||
* | Allow overriding SCM version info | Andrew Udvare | 2021-12-21 | 1 | -0/+5 |
| | | | | | | If the build is from a non-repository, these functions will return empty. This patch allows using defines to CMake to set version info such as -DGIT_BRANCH=master. | ||||
* | Merge pull request #7558 from Morph1984/unused-cpu-family-model | Mai M | 2021-12-15 | 1 | -12/+0 |
|\ | | | | | common/cpu_detect: Remove CPU family and model | ||||
| * | common/cpu_detect: Remove CPU family and model | Morph | 2021-12-14 | 1 | -12/+0 |
| | | | | | | | | We currently do not make use of these fields, remove them for now. | ||||
* | | common/input: Avoid numerous large copies of CallbackStatus | Lioncash | 2021-12-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | CallbackStatus instances aren't the cheapest things to copy around (relative to everything else), given that they're currently 520 bytes in size and are currently copied numerous times when callbacks are invoked. Instead, we can pass the status by const reference to avoid all the copying. | ||||
* | | common/input: Remove unnecessary returns | Lioncash | 2021-12-14 | 1 | -6/+2 |
| | | | | | | | | Given these return void, these can be omitted. | ||||
* | | input_engine: Pass LedStatus by const reference | Lioncash | 2021-12-13 | 1 | -1/+1 |
| | | | | | | | | Avoids copies where reasonably applicable | ||||
* | | input_engine: Pass VibrationStatus by const reference in SetRumble() | Lioncash | 2021-12-13 | 1 | -4/+2 |
|/ | | | | Avoids creating copies of the struct where not necessary. | ||||
* | Merge pull request #7525 from german77/notifa | bunnei | 2021-12-08 | 2 | -0/+2 |
|\ | | | | | service/notif: Add notif:a and stub ListAlarmSettings, Initialize | ||||
| * | service/notif: Add notif:a and stub ListAlarmSettings,Initialize | german77 | 2021-12-06 | 2 | -0/+2 |
| | | | | | | | | Used by ring fit adventure 1.2.0 | ||||
* | | general: Add missing copyright notices | ameerj | 2021-12-05 | 1 | -0/+4 |
|/ | |||||
* | native_clock: Wait for less time in EstimateRDTSCFrequency | Morph | 2021-12-04 | 1 | -18/+18 |
| | | | | | In my testing, waiting for 200ms provided the same level of precision as the previous implementation when estimating the RDTSC frequency. This significantly improves the yuzu executable launch times since we reduced the wait time from 3 seconds to 200 milliseconds. | ||||
* | general: Replace high_resolution_clock with steady_clock | Morph | 2021-12-02 | 1 | -3/+3 |
| | | | | On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock. | ||||
* | settings: Add debug setting to enable all controllers | german77 | 2021-11-28 | 2 | -0/+6 |
| | |||||
* | config: Remove vibration configuration | german77 | 2021-11-27 | 1 | -2/+0 |
| | |||||
* | input_common: Fully implement UDP controllers | Narr the Reg | 2021-11-26 | 2 | -0/+15 |
| | |||||
* | input_common: Move button names to the frontend | german77 | 2021-11-25 | 1 | -0/+22 |
| | |||||
* | core/hid: Fully implement native mouse | german77 | 2021-11-25 | 2 | -5/+11 |
| | |||||
* | input_common: Allow keyboard to be backwards compatible | german77 | 2021-11-25 | 1 | -2/+0 |
| | |||||
* | core/hid: Improve accuracy of the keyboard implementation | german77 | 2021-11-25 | 1 | -12/+23 |
| | |||||
* | config: Cleanup and documentation | german77 | 2021-11-25 | 2 | -6/+31 |
| | |||||
* | core/hid: Prevent Emulated controller from flapping with multiple inputs devices | german77 | 2021-11-25 | 1 | -0/+4 |
| | |||||
* | core/hid: Fully emulate motion from button | german77 | 2021-11-25 | 1 | -0/+5 |
| | |||||
* | second commit lion review | german77 | 2021-11-25 | 1 | -1/+1 |
| | |||||
* | settings: Fix Debug controller type options | german77 | 2021-11-25 | 1 | -2/+2 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 2 | -3/+2 |
| | | | | start lion review | ||||
* | core/hid: Add TAS input | german77 | 2021-11-25 | 1 | -1/+0 |
| | |||||
* | input_common: Add manual update options to input devices | german77 | 2021-11-25 | 1 | -0/+10 |
| | |||||
* | core/hid: Fix rumble too strong at 1% | german77 | 2021-11-25 | 1 | -0/+7 |
| | |||||
* | core/hid: Only signal when needed | german77 | 2021-11-25 | 1 | -0/+1 |
| | |||||
* | core/hid: Add output devices | german77 | 2021-11-25 | 1 | -0/+39 |
| | |||||
* | settings: Cleanup settings | german77 | 2021-11-25 | 2 | -4/+12 |
| | |||||
* | common: Rewrite and move core/frontend/input.h to common | german77 | 2021-11-25 | 2 | -0/+243 |
| | |||||
* | configure_general: Allow framerate cap to be used in custom game configs | Kewlan | 2021-11-21 | 2 | -1/+2 |
| | |||||
* | TextureCache: Refactor and fix linux compiling. | Fernando Sahmkow | 2021-11-20 | 1 | -0/+7 |
| | |||||
* | TextureCache: Add automatic anisotropic filtering and refactor code. | Fernando Sahmkow | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | Yuzu UI: Add button for Anti Alias | Fernando Sahmkow | 2021-11-16 | 1 | -0/+1 |
| | |||||
* | Settings: Add anti-aliasing method setting | Marshall Mohror | 2021-11-16 | 2 | -0/+7 |
| | |||||
* | QtGUI: Add buttton to toggle the filter. | FernandoS27 | 2021-11-16 | 1 | -0/+1 |
| | |||||
* | VideoCore: Add gaussian filtering. | FernandoS27 | 2021-11-16 | 1 | -2/+3 |
| | |||||
* | VideoCore: Add more rescaling option. | FernandoS27 | 2021-11-16 | 2 | -4/+20 |
| | |||||
* | Video Core: fix building for GCC. | Fernando Sahmkow | 2021-11-16 | 1 | -2/+2 |
| | |||||
* | Presentation: add Nearest Neighbor filter. | Fernando Sahmkow | 2021-11-16 | 1 | -4/+5 |
| | |||||
* | vulkan: Implement FidelityFX Super Resolution | Marshall Mohror | 2021-11-16 | 1 | -0/+1 |
| | |||||
* | Texture Cahe: Fix downscaling on SMO. | Fernando Sahmkow | 2021-11-16 | 2 | -0/+3 |
| | |||||
* | video_core: Refactor resolution scale function | ameerj | 2021-11-16 | 1 | -0/+14 |
| | |||||
* | video_core: Misc resolution scaling related refactoring | ameerj | 2021-11-16 | 1 | -1/+1 |
| | |||||
* | Renderer: Implement Bicubic and ScaleForce filters. | Fernando Sahmkow | 2021-11-16 | 2 | -15/+12 |
| | |||||
* | common/settings: Remove unused scaling options | ReinUsesLisp | 2021-11-16 | 2 | -18/+7 |
| | |||||
* | Settings: eliminate rescaling_factor. | Fernando Sahmkow | 2021-11-16 | 2 | -2/+2 |
| | |||||
* | Settings: Add resolution scaling to settings. | Fernando Sahmkow | 2021-11-16 | 2 | -4/+60 |
| | |||||
* | VideoCore: Initial Setup for the Resolution Scaler. | Fernando Sahmkow | 2021-11-16 | 2 | -0/+19 |
| | |||||
* | Merge pull request #7272 from behunin/the-courteous-logger | bunnei | 2021-11-13 | 3 | -28/+39 |
|\ | | | | | Logging: Impl refactor | ||||
| * | Refactor Logging Impl | Levi Behunin | 2021-11-02 | 3 | -28/+39 |
| | | | | | | | | | | | | | | Loop on stop_token and remove final_entry in Entry. Move Backend thread out of Impl Constructor to its own function. Add Start function for backend thread. Use stop token in PopWait and check if entry filename is nullptr before logging. | ||||
* | | common: Implement a subset of P0323 (std::expected) | Morph | 2021-11-02 | 2 | -0/+988 |
|/ | | | | | This implementation is based on and is a subset of the proposed implementation of std::expected https://github.com/TartanLlama/expected/blob/master/include/tl/expected.hpp | ||||
* | common/alignment: Fix VS2022 compilation | ameerj | 2021-10-20 | 1 | -1/+6 |
| | | | | VS2022 seems to introduce an optimization when moving vectors to check for equality of the element values. AlignmentAllocator needed to overload the equality operator to fix compilation of its usage in vector moving. | ||||
* | settings: Remove std::chrono usage | ameerj | 2021-10-17 | 1 | -3/+2 |
| | | | | Alleviates the dependency on chrono for all files that include settings.h | ||||
* | string_util: Make use of std::string_view and add bounds checking | Morph | 2021-10-14 | 2 | -5/+5 |
| | | | | Makes use of std::string_view in StringFromFixedZeroTerminatedBuffer and add bounds checking | ||||
* | string_util: Prevent out of bounds access in u16string_view buffer | Morph | 2021-10-14 | 1 | -2/+2 |
| | |||||
* | common/fs/path_util: Slightly refactor PathManagerImpl's constructor | Creak | 2021-10-12 | 1 | -12/+15 |
| | | | This moves all GenerateYuzuPath calls outside of the platofrm-specific #ifdefs, replacing them with assignments to paths. | ||||
* | Merge pull request #7115 from ameerj/log-compile | bunnei | 2021-10-05 | 7 | -18/+39 |
|\ | | | | | common/logging: Reduce dependent header include overhead | ||||
| * | common/logging: Reduce scope of fmt include | ameerj | 2021-10-02 | 2 | -1/+2 |
| | | |||||
| * | common/logging: Move Log::Entry declaration to a separate header | ameerj | 2021-10-02 | 6 | -17/+37 |
| | | | | | | | | This reduces the load of requiring to include std::chrono in all files which include log.h | ||||
* | | Merge pull request #7102 from Morph1984/remove-boxcat | bunnei | 2021-10-02 | 2 | -4/+0 |
|\ \ | |/ |/| | Remove Boxcat BCAT backend | ||||
| * | settings: Remove BCAT settings | Morph | 2021-09-29 | 2 | -4/+0 |
| | | |||||
* | | Fixed invalid iterator usage | Andrew Strelsky | 2021-09-29 | 1 | -1/+1 |
|/ | |||||
* | general: Update style to clang-format-12 | ameerj | 2021-09-24 | 4 | -22/+28 |
| | |||||
* | common/uuid: Add validity checking functions to interface | Lioncash | 2021-09-22 | 1 | -0/+7 |
| | | | | | Given we have a function to invalidate, we should also have ones to query the validity. Also makes the code more straightforward to read. | ||||
* | Merge pull request #7019 from ameerj/videocore-jthread | bunnei | 2021-09-19 | 1 | -5/+22 |
|\ | | | | | videocore: Use std::jthread for worker threads | ||||
| * | threadsafe_queue: Add std::stop_token overload to PopWait | ameerj | 2021-09-16 | 1 | -5/+22 |
| | | | | | | | | Useful for jthreads which make use of the threadsafe queues. | ||||
* | | input_common/tas: Document the main class | german77 | 2021-09-18 | 1 | -7/+4 |
| | | |||||
* | | input_common/tas: Add swap controller | german77 | 2021-09-18 | 1 | -1/+1 |
| | | |||||
* | | input_common/tas: Fallback to simple update | MonsterDruide1 | 2021-09-18 | 1 | -4/+3 |
| | | |||||
* | | config: Move TAS options to it's own menu | german77 | 2021-09-18 | 3 | -4/+3 |
| | | |||||
* | | core: Hacky TAS syncing & load pausing | MonsterDruide1 | 2021-09-18 | 3 | -7/+6 |
| | | | | | | | | | | | | | | | | To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required. First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`. Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings. | ||||
* | | settings: File selector & other settings | MonsterDruide1 | 2021-09-18 | 3 | -0/+7 |
| | | | | | | | | | | | | First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit. Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script. | ||||
* | | input_common/tas: Base playback & recording system | MonsterDruide1 | 2021-09-18 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com> | ||||
* | | Merge pull request #7020 from Moonlacer/remove_audio_stretching | bunnei | 2021-09-18 | 2 | -3/+0 |
|\ \ | | | | | | | Remove audio stretching | ||||
| * | | fix_accidental_deletion | Moonlacer | 2021-09-16 | 1 | -1/+2 |
| | | | |||||
| * | | remove-audio-stretching-setting | Moonlacer | 2021-09-16 | 2 | -5/+1 |
| |/ | |||||
* | | Merge pull request #6950 from german77/multiplay | bunnei | 2021-09-18 | 2 | -3/+6 |
|\ \ | |/ |/| | input_common: Add advanced setting for 8 player support | ||||
| * | input_common: Enable steam controllers and 8 player support | german77 | 2021-09-10 | 2 | -3/+6 |
| | | |||||
* | | common_funcs: Add enum flag bitwise shift operator overloads | Morph | 2021-09-13 | 1 | -0/+16 |
| | | | | | | | | This adds bitwise shift operator overloads (<<, >>, <<=, >>=) in the macro DECLARE_ENUM_FLAG_OPERATORS(type) | ||||
* | | common_funcs: Replace <algorithm> with <iterator> | Morph | 2021-09-11 | 1 | -1/+1 |
| | | |||||
* | | common: Move error handling to error.cpp/h | Morph | 2021-09-11 | 5 | -16/+31 |
| | | | | | | | | This allows us to avoid implicitly including <string> every time common_funcs.h is included. | ||||
* | | Merge pull request #6846 from ameerj/nvdec-gpu-decode | Fernando S | 2021-09-11 | 2 | -3/+9 |
|\ \ | |/ |/| | nvdec: Add GPU video decoding for all capable drivers and platforms | ||||
| * | configure_graphics: Add GPU nvdec decoding as an option | ameerj | 2021-08-16 | 2 | -3/+9 |
| | | | | | | | | | | | | Some system configurations may see visual regressions or lower performance using GPU decoding compared to CPU decoding. This setting provides the option for users to specify their decoding preference. Co-Authored-By: yzct12345 <87620833+yzct12345@users.noreply.github.com> | ||||
* | | common/logging: Add missing include | german77 | 2021-09-02 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #6897 from FernandoS27/pineapple-does-not-belong-in-pizza | bunnei | 2021-08-31 | 3 | -3/+140 |
|\ \ | | | | | | | Project <tentative title>: Rework Garbage Collection. | ||||
| * | | Garbage Collection: Adress Feedback. | Fernando Sahmkow | 2021-08-29 | 1 | -12/+11 |
| | | | |||||
| * | | Garbage Collection: enable as default, eliminate option. | Fernando Sahmkow | 2021-08-28 | 2 | -3/+0 |
| | | | |||||
| * | | VideoCore: Rework Garbage Collection. | Fernando Sahmkow | 2021-08-28 | 1 | -0/+141 |
| | | | |||||
* | | | Merge pull request #6927 from german77/ngct | Morph | 2021-08-29 | 2 | -0/+2 |
|\ \ \ | |/ / |/| | | ngct: Stub NGCT:U service | ||||
| * | | ngct: Stub NGCT:U service | german77 | 2021-08-27 | 2 | -0/+2 |
| | | | |||||
* | | | Revert "logging: Display backtrace on crash" | Morph | 2021-08-27 | 2 | -114/+1 |
|/ / | |||||
* | | Merge pull request #6870 from yzct12345/trace-back-stack-back-stack-back | bunnei | 2021-08-27 | 2 | -1/+114 |
|\ \ | | | | | | | logging: Display backtrace on crash | ||||
| * | | logging: Display backtrace on crash | yzct12345 | 2021-08-13 | 2 | -1/+114 |
| | | | | | | | | | | | | | | | | | | | | | This implements backtraces so we don't have to tell users how to use gdb anymore. This prints a backtrace after abort or segfault is detected. It also fixes the log getting cut off with the last line containing only a bracket. This change lets us know what caused a crash not just what happened the few seconds before it. I only know how to add support for Linux with GCC. Also this doesn't work outside of C/C++ such as in dynarmic or certain parts of graphics drivers. The good thing is that it'll try and just crash again but the stack frames are still there so the core dump will work just like before. | ||||
* | | | logging: Fix log filter during initialization | ameerj | 2021-08-24 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | The log filter was being ignored on initialization due to the logging instance being initialized before the config instance, so the log filter was set to its default value. This fixes that oversight, along with using descriptive exceptions instead of abort() calls. | ||||
* | | | Merge pull request #6869 from yzct12345/shiny-logs-in-the-fireplace | bunnei | 2021-08-23 | 2 | -245/+218 |
|\| | | | | | | | | logging: Simplify and make thread-safe | ||||
| * | | logging: Simplify and make thread-safe | yzct12345 | 2021-08-13 | 2 | -245/+218 |
| |/ | | | | | | | | | | | | | | | | | This simplifies the logging system. This also fixes some lost messages on startup. The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation. With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things. | ||||
* | | settings: Amend language_index maximum setting range | Morph | 2021-08-21 | 1 | -1/+1 |
| | | | | | | | | The maximum is now 17 with the addition of Brazilian Portuguese | ||||
* | | Merge pull request #6877 from MerryMage/dyn-ignore-asserts | bunnei | 2021-08-20 | 2 | -2/+2 |
|\ \ | | | | | | | dynarmic: Update and enable DYNARMIC_IGNORE_ASSERTS | ||||
| * | | xbyak: Update include path | Merry | 2021-08-15 | 2 | -2/+2 |
| | | | |||||
* | | | Merge pull request #6863 from spholz/fix-lan-play | Fernando S | 2021-08-16 | 1 | -1/+2 |
|\ \ \ | |/ / |/| | | Fix LAN Play | ||||
| * | | Merge branch 'yuzu-emu:master' into fix-lan-play | spholz | 2021-08-12 | 2 | -28/+164 |
| |\| | |||||
| * | | configuration: add option to select network interface | spholz | 2021-08-12 | 1 | -1/+2 |
| | | | | | | | | | | | | This commit renames the "Services" tab to "Network" and adds a combobox that allows the user to select the network interface that yuzu should use. This new setting is now used to get the local IP address in Network::GetHostIPv4Address. This prevents yuzu from selecting the wrong network interface and thus using the wrong IP address. The return type of Network::GetHostIPv4Adress has also been changed. | ||||
* | | | threadsafe_queue: Fix deadlock | yzct12345 | 2021-08-13 | 1 | -6/+4 |
| |/ |/| | | | | | | | This fixes a lost wakeup in SPSCQueue. If the reader is in just the right position, the writer's notification will be lost and this will be a problem if the writer then does something to wait on the reader. This was discovered to affect my upcoming stacktrace PR. I don't think any performance decrease will be noticeable because an uncontended mutex is smart enough to skip the syscall. This PR might also resolve some rare deadlocks but I don't know of any examples. | ||||
* | | settings: Fix MSVC issues | lat9nq | 2021-08-11 | 1 | -7/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://stackoverflow.com/questions/469508, we run into a MSVC bug (since VS 2005) when using diamond inheritance for RangedSetting. This explicitly implements those functions in RangedSetting. GetValue is implemented as just calling the inherited version. The explicit converson operator is reimplemented. I opted for this over ignoring the warning with a pragma since this specifies the inherited behavior, and I have now less faith in MSVC to pick the right one. In addition, we mark destructors as virtual to silence what I believe is a fair MSVC compilation error. | ||||
* | | Merge pull request #6776 from lat9nq/ranged-settings | bunnei | 2021-08-11 | 1 | -26/+136 |
|\ \ | | | | | | | settings: Implement settings ranges | ||||
| * | | settings: Use std::clamp where possible | lat9nq | 2021-07-31 | 1 | -39/+9 |
| | | | | | | | | | | | | | | | | | | Addresses PR review Co-authored-by: PixelyIon <pixelyion@protonmail.com> | ||||
| * | | settings: Remove unnecessary std::move usages | lat9nq | 2021-07-31 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | Addresses review feedback. Co-authored-by: Mai M. <mathew1800@gmail.com> | ||||
| * | | settings: Fix function virtualization | lat9nq | 2021-07-30 | 1 | -12/+18 |
| | | | | | | | | | | | | | | | | | | | | | Fixes a theoretical scenario where a Setting is using the BasicSetting's GetValue function. In practice this probably only happens on yuzu-cmd, where there is no need for a Setting's additional features. Need to fix regardless. | ||||
| * | | settings: Implement setting ranges | lat9nq | 2021-07-30 | 1 | -18/+152 |
| | | | | | | | | | | | | | | | Clamps the setting's values against the specified minimum and maximum values. | ||||
* | | | Merge pull request #6827 from Morph1984/uuid-hash | bunnei | 2021-08-08 | 1 | -0/+11 |
|\ \ \ | |_|/ |/| | | common: uuid: Add hash function for UUID | ||||
| * | | common: uuid: Add hash function for UUID | Morph | 2021-08-06 | 1 | -0/+11 |
| | | | | | | | | | | | | Used when UUID is a key in an unordered_map. The hash is produced by XORing the high and low 64-bits of the UUID together. | ||||
* | | | Merge pull request #6822 from yzct12345/clion-assert | bunnei | 2021-08-06 | 1 | -2/+6 |
|\ \ \ | |/ / |/| | | assert: Avoid empty macros | ||||
| * | | assert: Verify formatting | yzct12345 | 2021-08-05 | 1 | -2/+6 |
| | | | |||||
| * | | assert: Avoid empty macros | yzct12345 | 2021-08-05 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #6813 from Morph1984/hex-string-to-uuid | bunnei | 2021-08-05 | 2 | -0/+73 |
|\ \ \ | |/ / |/| | | common: uuid: Add hex string to UUID constructor | ||||
| * | | common: uuid: Add hex string to UUID constructor | Morph | 2021-08-04 | 2 | -0/+73 |
| | | | | | | | | | | | | This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer. | ||||
* | | | hex_util: Fix incorrect array size in AsArray | Morph | 2021-08-05 | 1 | -1/+1 |
|/ / | | | | | | | Although this isn't used, this is a potential bug as HexStringToArray will perform an out-of-bounds read. | ||||
* | | Merge pull request #6759 from ReinUsesLisp/pipeline-statistics | bunnei | 2021-07-30 | 1 | -0/+1 |
|\ \ | |/ |/| | renderer_vulkan: Add setting to log pipeline statistics | ||||
| * | renderer_vulkan: Add setting to log pipeline statistics | ReinUsesLisp | 2021-07-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use VK_KHR_pipeline_executable_properties when enabled and available to log statistics about the pipeline cache in a game. For example, this is on Turing GPUs when generating a pipeline cache from Super Smash Bros. Ultimate: Average pipeline statistics ========================================== Code size: 6433.167 Register count: 32.939 More advanced results could be presented, at the moment it's just an average of all 3D and compute pipelines. | ||||
* | | Merge pull request #6742 from Morph1984/uuid | bunnei | 2021-07-29 | 1 | -1/+1 |
|\ \ | | | | | | | common: uuid: Return a lower-case hex string in Format | ||||
| * | | common: uuid: Return a lower-case hex string in Format | Morph | 2021-07-27 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #6758 from jbeich/fastmem | bunnei | 2021-07-28 | 1 | -2/+7 |
|\ \ \ | | | | | | | | | host_memory: enable fastmem on FreeBSD | ||||
| * | | | host_memory: Add workaround for FreeBSD 12 | Jan Beich | 2021-07-27 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/common/host_memory.cpp:360:14: error: use of undeclared identifier 'memfd_create' fd = memfd_create("HostMemory", 0); ^ | ||||
| * | | | host_memory: Enable Linux implementation on FreeBSD | Jan Beich | 2021-07-27 | 1 | -2/+2 |
| | |/ | |/| | | | | | | | HW.Memory <Critical> common/host_memory.cpp:HostMemory:492: Fastmem unavailable, falling back to VirtualBuffer for memory allocation | ||||
* | | | Merge pull request #6700 from lat9nq/fullscreen-enum | bunnei | 2021-07-28 | 1 | -3/+8 |
|\ \ \ | | | | | | | | | general: Implement FullscreenMode enumeration | ||||
| * \ \ | Merge branch 'master' into fullscreen-enum | lat9nq | 2021-07-25 | 7 | -70/+24 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | general: Implement FullscreenMode enumeration | lat9nq | 2021-07-23 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | Prevents us from using an unclear 0 or 1 to describe the fullscreen mode. | ||||
* | | | | common: fs: fs_util: Add BufferToUTF8String | Morph | 2021-07-27 | 2 | -0/+15 |
| |_|/ |/| | | | | | | | | Allows for direct conversion to std::string without having to convert std::u8string to std::string | ||||
* | | | Merge pull request #6696 from ameerj/speed-limit-rename | bunnei | 2021-07-27 | 2 | -6/+6 |
|\ \ \ | | | | | | | | | general: Rename "Frame Limit" references to "Speed Limit" | ||||
| * | | | general: Rename "Frame Limit" references to "Speed Limit" | ameerj | 2021-07-24 | 2 | -6/+6 |
| |/ / | | | | | | | | | | | | | This setting is best referred to as a speed limit, as it involves the limits of all timing based aspects of the emulator, not only framerate. This allows us to differentiate it from the fps unlocker setting. | ||||
* | | | Merge pull request #6697 from ameerj/fps-cap | bunnei | 2021-07-26 | 1 | -0/+1 |
|\ \ \ | |_|/ |/| | | config, nvflinger: Add FPS cap setting | ||||
| * | | config, nvflinger: Add FPS cap setting | ameerj | 2021-07-24 | 1 | -0/+1 |
| |/ | | | | | | | Allows finer tuning of the FPS limit. | ||||
* | | Merge pull request #6585 from ameerj/hades | bunnei | 2021-07-25 | 7 | -69/+23 |
|\ \ | | | | | | | Shader Decompiler Rewrite | ||||
| * | | cmake: Remove shader cache version | ReinUsesLisp | 2021-07-23 | 2 | -11/+1 |
| | | | |||||
| * | | general: Add setting shader_backend | lat9nq | 2021-07-23 | 2 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLASM is getting good enough that we can move it out of advanced graphics settings. This removes the setting `use_assembly_shaders`, opting for a enum class `shader_backend`. This comes with the benefits that it is extensible for additional shader backends besides GLSL and GLASM, and this will work better with a QComboBox. Qt removes the related assembly shader setting from the Advanced Graphics section and places it as a new QComboBox in the API Settings group. This will replace the Vulkan device selector when OpenGL is selected. Additionally, mark all of the custom anisotropic filtering settings as "WILL BREAK THINGS", as that is the case with a select few games. | ||||
| * | | shader: Add logging | ReinUsesLisp | 2021-07-23 | 2 | -0/+8 |
| | | | |||||
| * | | shader: Add shader loop safety check settings | lat9nq | 2021-07-23 | 1 | -0/+3 |
| | | | | | | | | | | | | Also add a setting for enable Nsight Aftermath. | ||||
| * | | shader_recompiler,video_core: Cleanup some GCC and Clang errors | lat9nq | 2021-07-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly fixing unused *, implicit conversion, braced scalar init, fpermissive, and some others. Some Clang errors likely remain in video_core, and std::ranges is still a pertinent issue in shader_recompiler shader_recompiler: cmake: Force bracket depth to 1024 on Clang Increases the maximum fold expression depth thread_worker: Include condition_variable Don't use list initializers in control flow Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc> | ||||
| * | | shader: Remove old shader management | ReinUsesLisp | 2021-07-23 | 1 | -55/+1 |
| | | | |||||
| * | | thread_worker: Fix compile time error | ameerj | 2021-07-23 | 1 | -1/+1 |
| |/ | | | | | | | state is unused in the branch where with_state is false | ||||
* / | common: Publically link to pthreads | lat9nq | 2021-07-23 | 1 | -1/+1 |
|/ | | | | | Common requires pthreads but does not refer to it when linking to other modules. Fix this by linking to Threads where necessary. | ||||
* | uuid: Directly compare UUID instead of checking per element | Chloe Marcec | 2021-07-20 | 1 | -3/+2 |
| | | | | We can now update this for C++20 | ||||
* | input_common: Fix mouse panning behaivour | german77 | 2021-07-17 | 1 | -1/+1 |
| | |||||
* | Merge pull request #6579 from ameerj/float-settings | bunnei | 2021-07-16 | 2 | -6/+6 |
|\ | | | | | settings: Eliminate usage of float-point setting values | ||||
| * | configure_input: Use u8 for mouse sensitivity | ameerj | 2021-07-09 | 1 | -1/+1 |
| | | |||||
| * | configure_graphics: Use u8 for bg_color values | ameerj | 2021-07-09 | 1 | -3/+3 |
| | | |||||
| * | configure_audio: Use u8 for volume value | ameerj | 2021-07-09 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #6576 from ameerj/unlock-fps-setting | Morph | 2021-07-11 | 1 | -1/+1 |
|\ \ | | | | | | | settings: Disable FPS unlimit setting between title launches | ||||
| * | | settings: Disable FPS unlimit setting between title launches | ameerj | 2021-07-10 | 1 | -1/+1 |
| |/ | | | | | | | | | | | Some titles crash if the FPS limit is disabled when launching. This change ensures that titles launch with the limit in-place to avoid issues. In order to simplify the change, the UI toggle was removed as it will always be overridden at launch to be disabled. The setting can still be toggled during gameplay with the hotkey, and indicated by the fps label in the status bar. | ||||
* | | Merge pull request #6573 from lat9nq/cpu-settings-cleanup-2 | Fernando S | 2021-07-09 | 2 | -5/+8 |
|\ \ | | | | | | | core,common,yuzu qt: Add CPU accuracy option 'Auto' | ||||
| * | | settings, arm_dynarmic, yuzu qt: Move CPU debugging option | lat9nq | 2021-07-08 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | Decouples the CPU debugging mode from the enumeration to its own boolean. After this, it moves the CPU Debugging tab over to a sub tab underneath the Debug tab in the configuration UI. | ||||
| * | | settings, yuzu qt: Add migration code for CPU accuracy | lat9nq | 2021-07-08 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | Old CPU Accuracy setting won't translate well into since we're adding one at the beginning of the list. On first boot with the new setting, just use the default setting. | ||||
| * | | core,common,yuzu qt: Add CPU accuracy option 'Auto' | lat9nq | 2021-07-08 | 1 | -4/+5 |
| |/ | | | | | | | | | | | | | The current CPU accuracy settings in yuzu are fairly polarized and require more than common knowledge to know what the optimal settings for yuzu would be. This adds a curated option called 'Auto' that applies a few at the moment known-good unsafe optimizations to Dynarmic. | ||||
* | | common/thread_worker: Stop workers on stop_token when waiting | ReinUsesLisp | 2021-07-09 | 1 | -18/+20 |
| | | |||||
* | | common/thread_worker: Add support for stateful threads | ReinUsesLisp | 2021-07-09 | 3 | -78/+86 |
| | | |||||
* | | common/thread_worker: Simplify logic | FernandoS27 | 2021-07-09 | 1 | -8/+1 |
| | | |||||
* | | common/thread_worker: Fix data race | FernandoS27 | 2021-07-09 | 2 | -1/+18 |
| | | |||||
* | | common/thread_worker: Use unique function | ReinUsesLisp | 2021-07-09 | 2 | -28/+24 |
| | | |||||
* | | common: Add unique function | ReinUsesLisp | 2021-07-09 | 2 | -0/+63 |
| | | |||||
* | | common/thread_worker: Add wait for requests method | ReinUsesLisp | 2021-07-09 | 2 | -0/+11 |
|/ | |||||
* | Merge pull request #6539 from lat9nq/default-setting | Ameer J | 2021-07-08 | 2 | -123/+303 |
|\ | | | | | general: Move most settings' defaults and labels into their definition | ||||
| * | general: Code formatting improvements | lat9nq | 2021-07-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Slight improvements to readability. Dropped suggestions for string_view (settings.h:101), pass by value (settings.h:82), reverting double to a float (config.cpp:316), and other smaller ones, some out of scope. Addresses review feedback. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com> | ||||
| * | settings: Set resolution_factor default to 1 | lat9nq | 2021-07-01 | 1 | -1/+1 |
| | | | | | | | | Fixes Disgaea 6 Demo issues. | ||||
| * | general: Make most settings a BasicSetting | lat9nq | 2021-06-28 | 2 | -127/+295 |
| | | | | | | | | | | | | | | | | | | | | | | Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting. | ||||
| * | common: Force defaults for Settings::Setting's | lat9nq | 2021-06-26 | 1 | -44/+57 |
| | | | | | | | | Requires a default value when creating each per-game setting. | ||||
* | | common: logging: backend: Close the file after exceeding the write limit | Morph | 2021-07-06 | 1 | -8/+11 |
| | | | | | | | | There's no point in keeping the file open after the write limit is exceeded. This allows the file to be committed to the disk shortly after it is closed and avoids redundantly checking whether or not the write limit is exceeded. | ||||
* | | common: fs: file: Revert Flush to its previous behavior and add Commit | Morph | 2021-07-06 | 2 | -3/+34 |
| | | | | | | | | | | | | It became apparent that logging can continuously spam errors that trigger file flushing. Since committing the files to disk is an expensive operation, this causes unnecessarily high disk usage. As such, we will revert Flush() to the previous behavior and add a Commit() member function in the event that this behavior is needed. | ||||
* | | common: fs: file: Flush the file in GetSize | Morph | 2021-07-06 | 1 | -0/+3 |
|/ | | | | This ensures that GetSize always retrieves the correct file size after a write operation. | ||||
* | Merge pull request #6519 from Wunkolo/mem-size-literal | bunnei | 2021-06-25 | 4 | -49/+39 |
|\ | | | | | common: Replace common_sizes into user-literals | ||||
| * | common: Replace common_sizes into user-literals | Wunkolo | 2021-06-24 | 4 | -49/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removes common_sizes.h in favor of having `_KiB`, `_MiB`, `_GiB`, etc user-literals within literals.h. To keep the global namespace clean, users will have to use: ``` using namespace Common::Literals; ``` to access these literals. | ||||
* | | general: Add missing #pragma once directives | Morph | 2021-06-24 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #6517 from lioncash/fmtlib | bunnei | 2021-06-24 | 1 | -1/+2 |
|\ \ | |/ |/| | externals: Update fmt to 8.0.0 | ||||
| * | General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable | Lioncash | 2021-06-23 | 1 | -1/+2 |
| | | | | | | | | Also removes some deprecated API usages. | ||||
* | | Merge pull request #6465 from FernandoS27/sex-on-the-beach | Mai M | 2021-06-23 | 3 | -0/+4 |
|\ \ | |/ |/| | GPU: Implement a garbage collector for GPU Caches (project Reaper+) | ||||
| * | Reaper: Address Feedback. | Fernando Sahmkow | 2021-06-16 | 1 | -0/+1 |
| | | |||||
| * | Reaper: Setup settings and final tuning. | Fernando Sahmkow | 2021-06-16 | 2 | -0/+3 |
| | | |||||
* | | Merge pull request #6512 from ReinUsesLisp/wait-detached-stasks | Mai M | 2021-06-23 | 1 | -0/+2 |
|\ \ | | | | | | | common/detached_tasks: Wait for tasks before shutting down | ||||
| * | | common/detached_tasks: Wait for tasks before shutting down | Rodrigo Locatti | 2021-06-22 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | If this is not waited on, the synchronization primitives are destroyed whe main exits and the detached task ends up signalling garbage and not properly finishing. | ||||
* | | | common: fs: Add a description of a regular file in IsFile | Morph | 2021-06-22 | 1 | -4/+6 |
| | | | | | | | | | | | | This provides a more concrete example of what a regular file is and isn't. | ||||
* | | | common: fs: Amend IsFile check in FileOpen / (Write/Append)StringToFile | Morph | 2021-06-22 | 4 | -9/+12 |
| | | | | | | | | | | | | | | | | | | | | | This check was preventing files with the Write or Append file access modes from being created, as per the documented behavior in FileAccessMode. This amends the check to test for the existence of a filesystem object prior to checking whether it is a regular file. Thanks to liushuyu for pointing out that removing the check altogether would not guard against attempting to open non-regular files such as directories, symlinks, FIFO (pipes), sockets, block devices, or character devices. The documentation has also been updated for these functions to clarify that a file refers to a regular file. | ||||
* | | | common: fs: file: Remove [[nodiscard]] attribute from Flush | Morph | 2021-06-22 | 2 | -3/+3 |
| | | | | | | | | | | | | Similarly, Flush() is typically called to attempt to flush a file into the disk. In the one case where this is used, we do not care whether the flush has succeeded or not, making [[nodiscard]] unnecessary. | ||||
* | | | common: fs: Remove [[nodiscard]] attribute on Remove* functions | Morph | 2021-06-22 | 2 | -9/+9 |
|/ / | | | | | | | | | | | There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal. As such, removing the [[nodiscard]] attribute is best for these functions. | ||||
* | | Merge pull request #6499 from FernandoS27/we-were-on-a-break | bunnei | 2021-06-21 | 2 | -0/+2 |
|\ \ | | | | | | | Update dynarmic and add new unsafe CPU option. | ||||
| * | | Update dynarmic and add new unsafe CPU option. | Fernando Sahmkow | 2021-06-20 | 2 | -0/+2 |
| | | | |||||
* | | | Merge pull request #6475 from ameerj/unlimit-fps | bunnei | 2021-06-21 | 1 | -0/+1 |
|\ \ \ | |/ / |/| | | nvflinger: Add experimental toggle to disable buffer swap interval limits | ||||
| * | | nvflinger: Add toggle to disable buffer swap interval limits | ameerj | 2021-06-17 | 1 | -0/+1 |
| |/ | | | | | | | | | Enabling this setting will allow some titles to present more frames to the screen as they become available in the nvflinger buffer queue. | ||||
* / | host_memory: Correct MEM_RESERVE_PLACEHOLDER | lat9nq | 2021-06-19 | 1 | -1/+1 |
|/ | | | | | Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our manually imported version of it drops the last zero. | ||||
* | Merge pull request #6464 from ameerj/disable-astc | bunnei | 2021-06-16 | 2 | -0/+3 |
|\ | | | | | textures: Add a toggle for GPU Accelerated ASTC decoder | ||||
| * | configure_graphics: Add Accelerate ASTC decoding setting | ameerj | 2021-06-16 | 2 | -0/+3 |
| | | |||||
* | | Merge pull request #6460 from Morph1984/fs-access-log-fix | Morph | 2021-06-16 | 3 | -6/+2 |
|\ \ | | | | | | | fsp_srv: Fix filesystem access logging | ||||
| * | | common: fs: file: Remove redundant call to WriteStringToFile | Morph | 2021-06-16 | 2 | -6/+1 |
| | | | | | | | | | | | | The Append open mode will create a new file if said file does not exist at a given path, making this call redundant. | ||||
| * | | fsp_srv: Fix filesystem access logging | Morph | 2021-06-16 | 1 | -0/+1 |
| |/ | | | | | | | | | | | | | | | This introduces a new setting Enable FS Access Log which saves the filesystem access log to sdmc:/FsAccessLog.txt If this setting is not enabled, this will indicate to FS to not call OutputAccessLogToSdCard. Fixes softlocks during loading in Xenoblade Chronicles 2 when certain DLC is enabled. | ||||
* | | Merge pull request #6462 from Morph1984/proper-flush | bunnei | 2021-06-16 | 1 | -1/+5 |
|\ \ | |/ |/| | common: fs: file: Flush the file to the disk when Flush() is called | ||||
| * | common: fs: file: Flush the file to the disk when Flush() is called | Morph | 2021-06-13 | 1 | -1/+5 |
| | | | | | | | | | | | | std::fflush does not guarantee that file buffers are flushed to the disk. Use _commit on Windows and fsync on all other OSes to ensure that the file is flushed to the disk. | ||||
* | | Merge pull request #6448 from Morph1984/recursive-dir-iterator | Fernando Sahmkow | 2021-06-14 | 1 | -2/+16 |
|\ \ | | | | | | | common: fs: Use the normal directory iterator in *Recursively functions | ||||
| * | | common: fs: Use the normal directory iterator in *Recursively functions | Morph | 2021-06-12 | 1 | -2/+16 |
| |/ | | | | | | | | | | | MSVC's implementation of recursive_directory_iterator throws an exception on an error despite a std::error_code being passed into its constructor. This is most likely a bug in MSVC's implementation since directory_iterator does not throw an exception on an error. We can replace the usage of recursive_directory_iterator for now until MSVC fixes their implementation of it. | ||||
* | | common: logging: Restructure backend code | Morph | 2021-06-13 | 8 | -278/+288 |
| | | |||||
* | | common: logging: backend: Wrap IOFile in a unique_ptr | Morph | 2021-06-13 | 2 | -6/+27 |
|/ | | | | Allows us to forward declare Common::FS::IOFile. | ||||
* | common/host_memory: Implement a fallback if fastmem fails. | Markus Wick | 2021-06-11 | 2 | -14/+49 |
| | | | | | | This falls back to the old approach of using a virtual buffer. Windows is untested, but this build should fix support for Windows < 10 v1803. However without fastmem support at all. | ||||
* | common/host_shader: Load Windows 10 functions dynamically | ReinUsesLisp | 2021-06-11 | 1 | -29/+88 |
| | | | | Workaround old headers and libraries shipped on MinGW. | ||||
* | host_memory: Support staged VirtualProtect calls | ReinUsesLisp | 2021-06-11 | 1 | -3/+12 |
| | |||||
* | General: Add settings for fastmem and disabling adress space check. | FernandoS27 | 2021-06-11 | 2 | -0/+12 |
| | |||||
* | common/host_memory: Optimize for huge tables. | Markus Wick | 2021-06-11 | 2 | -11/+24 |
| | | | | | In theory, if we have 2 MB continously mapped, this should save one layer of TLB. Let's make it at least more likely by aligning the memory. | ||||
* | core: Make use of fastmem | Markus Wick | 2021-06-11 | 1 | -0/+2 |
| | |||||
* | common/host_memory: Add Linux implementation | Markus Wick | 2021-06-11 | 1 | -10/+120 |
| | |||||
* | common/host_memory: Add interface and Windows implementation | ReinUsesLisp | 2021-06-11 | 3 | -0/+384 |
| | |||||
* | src/common/CMakeLists.txt: fix variable escaping | liushuyu | 2021-06-09 | 1 | -8/+9 |
| | |||||
* | common/fs/path_util: Remove [[nodiscard]] from function with void return | Lioncash | 2021-06-09 | 1 | -1/+1 |
| | | | | | We can't make use of the return value here, since we don't a return value to work with. | ||||
* | Merge pull request #6395 from lioncash/result-move | Morph | 2021-06-02 | 1 | -25/+0 |
|\ | | | | | common_funcs: Move R_ macros to result.h | ||||
| * | common_funcs: Move R_ macros to result.h | Lioncash | 2021-05-31 | 1 | -25/+0 |
| | | | | | | | | | | | | These macros all interact with the result code type, so they should ideally be within this file as well, so all the common_funcs machinery doesn't need to be pulled in just to use them. | ||||
* | | common: fs: fs_util: Move PathToUTF8String to fs_util | Morph | 2021-06-02 | 4 | -15/+14 |
| | | |||||
* | | common: fs: fs_util: Add more string conversion functions | Morph | 2021-06-02 | 2 | -0/+33 |
|/ | |||||
* | Merge pull request #6385 from degasus/save_memory_access | bunnei | 2021-05-31 | 2 | -0/+7 |
|\ | | | | | core/memory: Check our memory fallbacks for out-of-bound behavior. | ||||
| * | core/memory: Check our memory fallbacks for out-of-bound behavior. | Markus Wick | 2021-05-29 | 2 | -0/+7 |
| | | | | | | | | | | | | This makes it by far harder to crash yuzu. Also implement the 48bit masking of AARCH64 while touching this code. | ||||
* | | common: Extract point into a common struct | Lioncash | 2021-05-28 | 2 | -0/+58 |
|/ | | | | | This is generic enough that it can be moved into the Common class for reuse. | ||||
* | common/fs/file: Explicitly delete copy constructors | Lioncash | 2021-05-28 | 1 | -1/+4 |
| | | | | | Relocates them to the same place the move equivalents are at for consistent viewing. | ||||
* | common/fs/file: Devirtualize destructor | Lioncash | 2021-05-28 | 1 | -1/+1 |
| | | | | IOFile is a final class, so there's no need for a virtual destructor. | ||||
* | common/fs/file: Default initialize IOFile members | Lioncash | 2021-05-28 | 1 | -2/+2 |
| | | | | Prevents a potential uninitialized read vector in the move constructor. | ||||
* | common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) | Morph | 2021-05-26 | 20 | -1432/+2963 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only | ||||
* | Merge pull request #6357 from lioncash/compression | bunnei | 2021-05-25 | 4 | -7/+8 |
|\ | | | | | common/compression: Make use of std::span | ||||
| * | zstd_compression: Make use of std::span | Lioncash | 2021-05-24 | 2 | -3/+4 |
| | | | | | | | | Allows for the incoming data stream to be non-allocating. | ||||
| * | lz4_compression: Make use of std::span | Lioncash | 2021-05-24 | 2 | -4/+4 |
| | | | | | | | | Allows making the incoming data stream non-allocating. | ||||
* | | common: tree: Avoid a crash on nullptr dereference. | bunnei | 2021-05-21 | 1 | -0/+11 |
|/ | |||||
* | Merge pull request #6321 from lat9nq/per-game-cpu | bunnei | 2021-05-21 | 2 | -7/+12 |
|\ | | | | | configuration: Add CPU tab to game properties and slight per-game settings rework | ||||
| * | general: Demote custom_rtc to regular setting | lat9nq | 2021-05-17 | 2 | -2/+1 |
| | | |||||
| * | configuration: Add CPU tab to game properties | lat9nq | 2021-05-16 | 1 | -0/+6 |
| | | | | | | | | | | | | Allows setting CPU accuracy to Accurate or Unsafe per-game, as well as the accuracy options for Unsafe. Debug is not allowed here as a per-game CPU accuracy. | ||||
| * | general: Make CPU accuracy and related a Settings::Setting | lat9nq | 2021-05-16 | 2 | -5/+5 |
| | | | | | | | | | | Required to make CPU accuracy and unsafe settings available to use as a per-game setting. | ||||
* | | Merge pull request #6297 from lioncash/common-conv | bunnei | 2021-05-20 | 1 | -1/+2 |
|\ \ | | | | | | | parent_of_member: Make sign conversion explicit in OffsetOfImpl() | ||||
| * | | parent_of_member: Make sign conversion explicit in OffsetOfImpl() | Lioncash | 2021-05-10 | 1 | -1/+2 |
| |/ | | | | | | | | | Previously these conversions were implicit and causing quite a few warnings on clang. | ||||
* / | common: tree: Avoid a nullptr dereference. | bunnei | 2021-05-12 | 1 | -1/+1 |
|/ | |||||
* | fixup! common: bit_util: Add BIT macro. | bunnei | 2021-05-06 | 1 | -2/+0 |
| | |||||
* | common: parent_of_member: Fix build for OffsetOf(). | bunnei | 2021-05-06 | 1 | -4/+4 |
| | |||||
* | fixup! common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC. | bunnei | 2021-05-06 | 1 | -5/+0 |
| | |||||
* | common: Rename NON_COPYABLE/NON_MOVABLE with YUZU_ prefix. | bunnei | 2021-05-06 | 1 | -2/+2 |
| | |||||
* | common: common_funcs: Add Size helper function. | bunnei | 2021-05-06 | 1 | -0/+15 |
| | |||||
* | common: bit_util: Add BIT macro. | bunnei | 2021-05-06 | 1 | -0/+2 |
| | |||||
* | common: intrusive_red_black_tree: Disable static_assert that will not evaluate as constant on MSVC. | bunnei | 2021-05-06 | 1 | -0/+4 |
| | |||||
* | common: common_funcs: Add helper macros for non-copyable and non-moveable. | bunnei | 2021-05-06 | 1 | -0/+8 |
| | | | | - Useful for scenarios where we do not want to inherit from NonCopyable. | ||||
* | log/backend: Use in-class initializer for FileBackend | Lioncash | 2021-04-20 | 2 | -6/+8 |
| | | | | We can also avoid redundant constructions of the same string repeatedly. | ||||
* | log/backend: Make use of erase_if | Lioncash | 2021-04-20 | 1 | -4/+4 |
| | | | | Same behavior, but less verbose. | ||||
* | Merge pull request #6199 from lioncash/log-ns | bunnei | 2021-04-15 | 7 | -35/+44 |
|\ | | | | | common/log: Move Log namespace into the Common namespace | ||||
| * | log/backend: Correct order of const in copy constructor | Lioncash | 2021-04-15 | 1 | -2/+5 |
| | | | | | | | | | | Follows our predominant coding style. Also explicitly specifies the move constructor/assignment operator as well. | ||||
| * | common/log: Move Log namespace into the Common namespace | Lioncash | 2021-04-15 | 7 | -33/+39 |
| | | | | | | | | | | Forgot to move this over when I moved the rest of the source files with lacking namespaces over. | ||||
* | | common: Move settings to common from core. | bunnei | 2021-04-15 | 7 | -2/+830 |
| | | | | | | | | - Removes a dependency on core and input_common from common. | ||||
* | | core: settings: Add setting for debug assertions and disable by default. | bunnei | 2021-04-15 | 1 | -2/+5 |
| | | | | | | | | | | | | - This is a developer-only setting and no longer needs to be enabled by default. - Also adds "use_auto_stub" setting to SDL frontend while we are here. - Supersedes #1340. | ||||
* | | nvidia_flags: Add missing header guard | Lioncash | 2021-04-13 | 1 | -0/+2 |
|/ | | | | Prevents potential inclusion compilation errors. | ||||
* | Merge pull request #6099 from bunnei/derive-mem | bunnei | 2021-04-10 | 2 | -0/+44 |
|\ | | | | | Kernel Rework: Derive memory regions from board layout. | ||||
| * | common: common_sizes: Move sizes to the Common namespace. | bunnei | 2021-03-24 | 1 | -0/+4 |
| | | |||||
| * | common: common_sizes: Move Invalid to Size_* prefix and add missing values. | bunnei | 2021-03-21 | 1 | -1/+7 |
| | | |||||
| * | hle: kernel: board: k_system_control: Extend to include memory region sizes. | bunnei | 2021-03-21 | 1 | -0/+10 |
| | | |||||
| * | common: Move common sizes to their own header for code reuse. | bunnei | 2021-03-21 | 2 | -0/+24 |
| | | |||||
* | | Merge pull request #6162 from degasus/no_spin_loops | bunnei | 2021-04-09 | 1 | -1/+9 |
|\ \ | | | | | | | video_core: Avoid spin loops. | ||||
| * | | common/threadsafe_queue: Provide Wait() method. | Markus Wick | 2021-04-07 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | | It shall block until there is something to consume in the queue. And use it for the GPU emulation instead of the spin loop. This is only in booting the emulator, however in BOTW this is the case for about 1 second. | ||||
* | | | bgtc: Update to 12.x and implement OpenTaskService | Morph | 2021-04-09 | 2 | -0/+2 |
|/ / | |||||
* / | common: Move assert failure handling into a cpp file. | Markus Wick | 2021-04-04 | 3 | -6/+20 |
|/ | | | | | | | | | | Advantage: Altering the handler does not need a full recompilation. Disadvantage: noreturn is droped, so the caller is a bit slower. We quite often run yuzu with a YOLO assertion handler. In fact, only very few games run at all with asserts. This patch allows developers to patch the handler without recompiling everything. The overhead of the missing "noreturn" attribute shoul be negletable. | ||||
* | fiber: Double default stack size | MerryMage | 2021-03-10 | 1 | -1/+1 |
| | | | | Stack overflow occurs with some guest applications | ||||
* | common: Fiber: use a reference for YieldTo. | bunnei | 2021-03-07 | 2 | -8/+6 |
| | | | | - Fixes another small leak. | ||||
* | common: fiber: Use weak_ptr when yielding. | bunnei | 2021-03-06 | 2 | -8/+13 |
| | | | | | - Avoids a memory leak, as taking a strong reference of the fiber here causes a circular reference. - Supersedes #6006 with a more narrow fix. | ||||
* | Revert "core: Switch to unique_ptr for usage of Common::Fiber." | bunnei | 2021-03-06 | 2 | -9/+9 |
| | |||||
* | Merge pull request #6006 from bunnei/fiber-unique-ptr | bunnei | 2021-03-05 | 2 | -9/+9 |
|\ | | | | | core: Switch to unique_ptr for usage of Common::Fiber. | ||||
| * | core: Switch to unique_ptr for usage of Common::Fiber. | bunnei | 2021-02-27 | 2 | -9/+9 |
| | | | | | | | | | | - With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context. - Fixes a memory leak due to circular reference of the shared pointer. | ||||
* | | [network] Error handling reform | comex | 2021-02-28 | 2 | -16/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `network.cpp` has several error paths which either: - report "Unhandled host socket error=n" and return `SUCCESS`, or - switch on a few possible errors, log them, and translate them to Errno; the same switch statement is copied and pasted in multiple places in the code Convert these paths to use a helper function `GetAndLogLastError`, which is roughly the equivalent of one of the switch statements, but: - handling more cases (both ones that were already in `Errno`, and a few more I added), and - using OS functions to convert the error to a string when logging, so it'll describe the error even if it's not one of the ones in the switch statement. - To handle this, refactor the logic in `GetLastErrorMsg` to expose a new function `NativeErrorToString` which takes the error number explicitly as an argument. And improve the Windows version a bit. Also, add a test which exercises two random error paths. | ||||
* | | Merge pull request #5984 from jbeich/gcc-freebsd | bunnei | 2021-02-27 | 1 | -0/+1 |
|\ \ | |/ |/| | common,video-core: unbreak GCC 11 build on FreeBSD 13 | ||||
| * | common: add missing header after f3805376f726 | Jan Beich | 2021-02-23 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from src/video_core/dma_pusher.cpp:5: src/./common/cityhash.h:69:47: error: 'size_t' has not been declared 69 | [[nodiscard]] u64 CityHash64(const char* buf, size_t len); | ^~~~~~ src/./common/cityhash.h:73:55: error: 'size_t' has not been declared 73 | [[nodiscard]] u64 CityHash64WithSeed(const char* buf, size_t len, u64 seed); | ^~~~~~ src/./common/cityhash.h:77:56: error: 'size_t' has not been declared 77 | [[nodiscard]] u64 CityHash64WithSeeds(const char* buf, size_t len, u64 seed0, u64 seed1); | ^~~~~~ src/./common/cityhash.h:80:47: error: 'size_t' has not been declared 80 | [[nodiscard]] u128 CityHash128(const char* s, size_t len); | ^~~~~~ src/./common/cityhash.h:84:55: error: 'size_t' has not been declared 84 | [[nodiscard]] u128 CityHash128WithSeed(const char* s, size_t len, u128 seed); | ^~~~~~ | ||||
* | | Merge pull request #5953 from bunnei/memory-refactor-1 | bunnei | 2021-02-27 | 3 | -0/+256 |
|\ \ | |/ |/| | Kernel Rework: Memory updates and refactoring (Part 1) | ||||
| * | common: Add implementation of TinyMT (Mersenne Twister RNG). | bunnei | 2021-02-19 | 2 | -0/+251 |
| | | |||||
| * | common: alignment: Add DivideUp utility method. | bunnei | 2021-02-19 | 1 | -0/+5 |
| | | |||||
* | | common: wall_clock: Fix integer overflow with StandardWallClock. | bunnei | 2021-02-20 | 2 | -7/+28 |
|/ | | | | | - Previous optimized impl. resulted in an integer overflow, so revert. - This is our slow/fallback path that should never be really be used, so the optimization in unimportant. | ||||
* | common/cityhash: Use common types | ReinUsesLisp | 2021-02-18 | 2 | -114/+98 |
| | | | | | | | | Allow sharing return types with the rest of the code base. For example, we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses 'uint128 = std::pair<u64, u64>'. While we are at it, use size_t instead of std::size_t. | ||||
* | common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction. | bunnei | 2021-02-15 | 1 | -8/+9 |
| | |||||
* | common: Merge uint128 to a single header file with inlines. | bunnei | 2021-02-15 | 4 | -135/+84 |
| | |||||
* | common: Add -fsized-deallocation as a Clang flag | lat9nq | 2021-02-10 | 1 | -0/+2 |
| | | | | Prevents an operator delete error when compiling with Clang 11. | ||||
* | string_util: Remove MSVC workaround for converting between UTF8/UTF16 | Morph | 2021-02-08 | 1 | -14/+0 |
| | | | | This has been fixed as of Visual Studio 2019 Version 16.2 | ||||
* | Merge pull request #5885 from MerryMage/ring_buffer-granularity | bunnei | 2021-02-06 | 1 | -11/+10 |
|\ | | | | | ring_buffer: Remove granularity template argument | ||||
| * | ring_buffer: Remove granularity template argument | MerryMage | 2021-02-06 | 1 | -11/+10 |
| | | | | | | | | | | | | Non-obvious bug in RingBuffer::Push(std::vector<T>&) when granularity != 1 Just remove it altogether because we do not have a use for granularity != 1 | ||||
* | | hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement. | bunnei | 2021-02-05 | 1 | -8/+0 |
| | | |||||
* | | common: scope_exit: Add a cancellable ScopeExit macro. | bunnei | 2021-02-05 | 1 | -0/+6 |
| | | |||||
* | | common: common_funcs: Add R_UNLESS_NOLOG for scenarios that should not log. | bunnei | 2021-02-05 | 1 | -0/+8 |
|/ | |||||
* | common: common_funcs: Change R_UNLESS to LOG_ERROR. | bunnei | 2021-01-29 | 1 | -1/+1 |
| | |||||
* | common: common_funcs: Log error on R_UNLESS. | bunnei | 2021-01-29 | 1 | -0/+3 |
| | |||||
* | common: common_funcs: Add useful kernel macro R_SUCCEED_IF. | bunnei | 2021-01-29 | 1 | -0/+3 |
| | |||||
* | common: common_funcs: Add a few more useful macros for kernel code. | bunnei | 2021-01-29 | 1 | -0/+11 |
| | |||||
* | Merge pull request #5778 from ReinUsesLisp/shader-dir | bunnei | 2021-01-27 | 3 | -0/+39 |
|\ | | | | | renderer_opengl: Avoid precompiled cache and force NV GL cache directory | ||||
| * | renderer_opengl: Avoid precompiled cache and force NV GL cache directory | ReinUsesLisp | 2021-01-21 | 3 | -0/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting __GL_SHADER_DISK_CACHE_PATH we can force the cache directory to be in yuzu's user directory to stop commonly distributed malware from deleting our driver shader cache. And by setting __GL_SHADER_DISK_CACHE_SKIP_CLEANUP we can have an unbounded shader cache size. This has only been implemented on Windows, mostly because previous tests didn't seem to work on Linux. Disable the precompiled cache on Nvidia's driver. There's no need to hide information the driver already has in its own cache. | ||||
* | | common: Add missing include to bit_util.h | bunnei | 2021-01-22 | 1 | -0/+1 |
| | | |||||
* | | bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64 | Lioncash | 2021-01-21 | 1 | -35/+13 |
|/ | | | | | | We can use the standardized CLZ facilities to perform this. This also allows us to make utilizing functions constexpr and eliminate the inclusion of an intrinsics header. | ||||
* | Merge pull request #5360 from ReinUsesLisp/enforce-memclass-access | bunnei | 2021-01-17 | 1 | -2/+2 |
|\ | | | | | core: Silence Wclass-memaccess warnings and enforce it | ||||
| * | core: Silence Wclass-memaccess warnings | ReinUsesLisp | 2021-01-15 | 1 | -2/+2 |
| | | | | | | | | | | This requires making several types trivial and properly initialize them whenever they are called. | ||||
* | | Merge pull request #5275 from FernandoS27/fast-native-clock | bunnei | 2021-01-16 | 5 | -104/+174 |
|\ \ | | | | | | | X86/NativeClock: Improve performance of clock calculations on hot path. | ||||
| * | | X86/NativeClock: Reimplement RTDSC access to be lock free. | Fernando Sahmkow | 2021-01-02 | 5 | -103/+107 |
| | | | |||||
| * | | X86/NativeClock: Improve performance of clock calculations on hot path. | Fernando Sahmkow | 2021-01-02 | 2 | -5/+71 |
| | | | |||||
* | | | Merge pull request #5336 from lioncash/tree | bunnei | 2021-01-16 | 2 | -841/+668 |
|\ \ \ | | | | | | | | | common/tree: Convert defines over to templates | ||||
| * | | | common/tree: Convert defines over to templates | Lioncash | 2021-01-12 | 2 | -592/+666 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reworks the tree header to operate off of templates as opposed to a series of defines. This allows all tree facilities to obey namespacing rules, and also allows this code to be used within modules once compiler support is in place. This also gets rid to use a macro to define functions and structs for necessary data types. With templates, these will be generated when they're actually used, eliminating the need for the separate declaration. | ||||
| * | | | common/tree: Remove unused splay tree defines | Lioncash | 2021-01-12 | 1 | -249/+2 |
| | | | | | | | | | | | | | | | | Makes for less code to take care of. | ||||
* | | | | Merge pull request #5358 from ReinUsesLisp/rename-insert-padding | LC | 2021-01-15 | 1 | -4/+4 |
|\ \ \ \ | | |_|/ | |/| | | common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT | ||||
| * | | | common/common_funcs: Rename INSERT_UNION_PADDING_{BYTES,WORDS} to _NOINIT | ReinUsesLisp | 2021-01-15 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | INSERT_PADDING_BYTES_NOINIT is more descriptive of the underlying behavior. | ||||
* | | | | Merge pull request #5355 from lioncash/timer | bunnei | 2021-01-15 | 3 | -202/+0 |
|\ \ \ \ | | | | | | | | | | | common/timer: Remove | ||||
| * | | | | common/timer: Remove | Lioncash | 2021-01-15 | 3 | -202/+0 |
| |/ / / | | | | | | | | | | | | | | | | | This is a leftover from citra and dolphin that isn't used at all, particularly given the <chrono> header exists. | ||||
* | | | | Merge pull request #5357 from ReinUsesLisp/alignment-log2 | LC | 2021-01-15 | 1 | -17/+12 |
|\ \ \ \ | | | | | | | | | | | common/alignment: Rename AlignBits to AlignUpLog2 and use constraints | ||||
| * | | | | common/alignment: Upgrade to use constraints instead of static asserts | ReinUsesLisp | 2021-01-15 | 1 | -13/+9 |
| | | | | | |||||
| * | | | | common/alignment: Rename AlignBits to AlignUpLog2 | ReinUsesLisp | 2021-01-15 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | | | AlignUpLog2 describes what the function does better than AlignBits. | ||||
* | | | | | common/bit_util: Replace CLZ/CTZ operations with standardized ones | Lioncash | 2021-01-15 | 1 | -76/+0 |
| |/ / / |/| | | | | | | | | | | | Makes for less code that we need to maintain. | ||||
* | | | | common/color: Remove | ReinUsesLisp | 2021-01-15 | 2 | -272/+0 |
|/ / / | | | | | | | | | | This is a leftover from Citra we no longer use. | ||||
* | | | Merge pull request #5280 from FearlessTobi/port-5666 | bunnei | 2021-01-13 | 1 | -4/+12 |
|\ \ \ | |/ / |/| | | Port citra-emu/citra#5666: "Rotate previous log file to "citra_log.txt.old"" | ||||
| * | | Address review comments | FearlessTobi | 2021-01-04 | 1 | -5/+5 |
| | | | |||||
| * | | Delete the old log file before rotating (#5675) | xperia64 | 2021-01-04 | 1 | -0/+3 |
| | | | |||||
| * | | Fix the old log file to work with the log parser. | bunnei | 2021-01-03 | 1 | -1/+1 |
| | | | |||||
| * | | Rotate previous log file to '.old' if it exists | xperia64 | 2021-01-03 | 1 | -4/+9 |
| | | | |||||
* | | | common/parent_of_member: Replace TYPED_STORAGE define with template alias | Lioncash | 2021-01-12 | 2 | -8/+10 |
| | | | | | | | | | | | | Provides the same construct, but makes it obey namespacing. | ||||
* | | | common: common_funcs: Add R_UNLESS macro. | bunnei | 2021-01-11 | 1 | -0/+8 |
| | | | |||||
* | | | common: Introduce useful tree structures. | bunnei | 2021-01-11 | 4 | -0/+1641 |
| | | | |||||
* | | | common/div_ceil: Return numerator type | ReinUsesLisp | 2021-01-09 | 1 | -5/+5 |
|/ / | | | | | | | | | Fixes instances where DivCeil(u32, u64) would surprisingly return u64, instead of the more natural u32. | ||||
* / | general: Fix various spelling errors | Morph | 2021-01-02 | 2 | -3/+3 |
|/ | |||||
* | memory: Remove MemoryHook | MerryMage | 2021-01-01 | 4 | -78/+0 |
| | |||||
* | Merge pull request #5249 from ReinUsesLisp/lock-free-pages | bunnei | 2021-01-01 | 3 | -23/+65 |
|\ | | | | | core/memory: Read and write page table atomically | ||||
| * | core/memory: Read and write page table atomically | ReinUsesLisp | 2020-12-30 | 3 | -23/+65 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squash attributes into the pointer's integer, making them an uintptr_t pair containing 2 bits at the bottom and then the pointer. These bits are currently unused thanks to alignment requirements. Configure Dynarmic to mask out these bits on pointer reads. While we are at it, remove some unused attributes carried over from Citra. Read/Write and other hot functions use a two step unpacking process that is less readable to stop MSVC from emitting an extra AND instruction in the hot path: mov rdi,rcx shr rdx,0Ch mov r8,qword ptr [rax+8] mov rax,qword ptr [r8+rdx*8] mov rdx,rax -and al,3 and rdx,0FFFFFFFFFFFFFFFCh je Core::Memory::Memory::Impl::Read<unsigned char> mov rax,qword ptr [vaddr] movzx eax,byte ptr [rdx+rax] | ||||
* | | Merge pull request #5208 from bunnei/service-threads | bunnei | 2020-12-31 | 3 | -0/+90 |
|\ \ | | | | | | | Service threads | ||||
| * | | common: ThreadWorker: Add class to help do asynchronous work. | bunnei | 2020-12-30 | 3 | -0/+90 |
| |/ | |||||
* / | k_priority_queue: Fix concepts use | comex | 2020-12-29 | 1 | -0/+4 |
|/ | | | | | | | | | | | | - For `std::same_as`, add missing include of `<concepts>`. - For `std::convertible_to`, create a replacement in `common/concepts.h` and use that instead. This would also be found in `<concepts>`, but unlike `std::same_as`, `std::convertible_to` is not yet implemented in libc++, LLVM's STL implementation - not even in master. (In fact, `std::same_as` is the *only* concept currently implemented. For some reason.) | ||||
* | Merge pull request #5131 from bunnei/scheduler-rewrite | bunnei | 2020-12-21 | 3 | -346/+100 |
|\ | | | | | Rewrite Kernel scheduler based on Atmosphere | ||||
| * | common: BitSet: Various style fixes based on code review feedback. | bunnei | 2020-12-06 | 1 | -23/+22 |
| | | |||||
| * | hle: kernel: Separate KScheduler from GlobalSchedulerContext class. | bunnei | 2020-12-06 | 2 | -346/+0 |
| | | |||||
| * | common: Port BitSet from Mesosphere. | bunnei | 2020-12-06 | 2 | -0/+101 |
| | | |||||
* | | cmake: Fix generating CMake configs and linking with Boost | lat9nq | 2020-12-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes regression by 761206cf81b271f7f4dd6a167a120325b760dbf3, causing yuzu to not build on Linux with any version of Boost except a cached 1.73 Conan version from before about a day ago. Moves the Boost requirement out of the `REQUIRED_LIBS` psuedo-2D-array for Conan to instead be manually configured, using Conan as a fallback solution if the system does not meet our requirements. Requires any update from the linux-fresh container in order to build. **DO NOT MERGE** until someone with the MSVC toolchain can verify this works there, too. | ||||
* | | common: Update CMakeList to fix build issue with Boost. | bunnei | 2020-12-12 | 1 | -2/+1 |
| | | |||||
* | | Revert "Merge pull request #5173 from lioncash/common-fs" | Morph | 2020-12-12 | 2 | -112/+396 |
| | | | | | | | | | | This reverts commit ce5fcb6bb2c358b0251a2ce87945bda52789a76d, reversing changes made to 6f41763061082d5fa2ab039c554427152243cb46. | ||||
* | | Revert "Merge pull request #5174 from ReinUsesLisp/fs-fix" | Morph | 2020-12-12 | 2 | -36/+4 |
| | | | | | | | | | | This reverts commit 5fe55b16a11d9ec607fb8a3fdddc77a4393cd96a, reversing changes made to e94dd7e2c4fc3f7ca2c15c01bdc301be2b8a4c1b. | ||||
* | | Revert "Merge pull request #5179 from ReinUsesLisp/fs-path" | Morph | 2020-12-12 | 1 | -1/+1 |
| | | | | | | | | | | This reverts commit 4e94d0d53af2cdb7b03ef9de23cc29f3565df97a, reversing changes made to 6d6115475b4edccdf1bb4e96ecc3d3b1be319e76. | ||||
* | | Revert "Merge pull request #5181 from Morph1984/5174-review" | Morph | 2020-12-12 | 1 | -3/+9 |
| | | | | | | | | | | This reverts commit cdb36aef9ec9d30bdef1953f9ed46776ae2f12af, reversing changes made to 5e9b77129f2cf8c039a8d98033cae4ac0f93f515. | ||||
* | | common/file_util: Simplify the behavior of CreateFullPath | Morph | 2020-12-10 | 1 | -9/+3 |
| | | |||||
* | | common/file_util: Let std::filesystem cast from UTF16 to std::string | ReinUsesLisp | 2020-12-09 | 1 | -1/+1 |
| | | | | | | | | Fix invalid encoding paths when iterating over a directory on Windows. | ||||
* | | common/file_util: Fix and deprecate CreateFullPath, add CreateDirs | ReinUsesLisp | 2020-12-09 | 2 | -4/+31 |
| | | | | | | | | | | | | | | | | Fix CreateFullPath to have its intended previous behavior (whatever that was), and deprecate it in favor of the new CreateDirs function. Unlike CreateDir, CreateDirs is marked as [[nodiscard]] to avoid new code ignoring its result value. | ||||
* | | common/file_util: Succeed on CreateDir when the directory exists | ReinUsesLisp | 2020-12-09 | 1 | -0/+5 |
| | | |||||
* | | file_util: Migrate remaining file handling functions over to std::filesystem | Lioncash | 2020-12-09 | 2 | -340/+100 |
| | | | | | | | | | | | | | | Converts creation and deletion functions over to std::filesystem, simplifying our file-handling code. Notably with this, CopyDir will now function on Windows. | ||||
* | | file_util: Migrate Exists() and IsDirectory() over to std::filesystem | Lioncash | 2020-12-09 | 2 | -57/+13 |
| | | | | | | | | Greatly simplifies our file-handling code for these functions. | ||||
* | | Merge pull request #5136 from lioncash/video-shadow3 | LC | 2020-12-07 | 2 | -3/+3 |
|\ \ | | | | | | | video_core: Resolve more variable shadowing scenarios pt.3 | ||||
| * | | video_core: Resolve more variable shadowing scenarios pt.3 | Lioncash | 2020-12-05 | 2 | -3/+3 |
| |/ | | | | | | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors. | ||||
* | | xbyak_abi: Shorten std::size_t to size_t | Lioncash | 2020-12-05 | 1 | -8/+8 |
| | | | | | | | | Makes for less reading. | ||||
* | | xbyak_abi: Avoid implicit sign conversions | Lioncash | 2020-12-05 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #4996 from bunnei/use-4jits | bunnei | 2020-12-04 | 2 | -115/+11 |
|\ | | | | | Kernel: Refactor to use 4-instances of Dynarmic & various cleanups and improvements | ||||
| * | common: fiber: Use VirtualBuffer for stack memory. | bunnei | 2020-11-29 | 1 | -2/+5 |
| | | | | | | | | - This will be aligned by default, and helps memory usage. | ||||
| * | common: fiber: Use boost::context instead of native fibers on Windows. | bunnei | 2020-11-29 | 2 | -115/+8 |
| | | |||||
* | | Merge pull request #5000 from lioncash/audio-error | bunnei | 2020-12-03 | 4 | -10/+11 |
|\ \ | | | | | | | audio_core: Make shadowing and unused parameters errors | ||||
| * | | audio_core: Make shadowing and unused parameters errors | Lioncash | 2020-12-03 | 4 | -10/+11 |
| |/ | | | | | | | Moves the audio code closer to enabling warnings as errors in general. | ||||
* / | common: Add Common::DivCeil and Common::DivCeilLog2 | ReinUsesLisp | 2020-11-26 | 2 | -0/+27 |
|/ | | | | Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative. | ||||
* | Merge pull request #4451 from slashiee/extended-logging | bunnei | 2020-11-23 | 1 | -2/+12 |
|\ | | | | | logging/settings: Increase maximum log size to 100 MB and add extended logging option | ||||
| * | logging/settings: Increase maximum log size to 100 MB and add extended logging option | M&M | 2020-08-25 | 1 | -2/+12 |
| | | | | | | | | | | The extended logging option is automatically disabled on boot but can be enabled afterwards, allowing the log file to go up to 1 GB during that session. This commit also fixes a few errors that are present in the general debug menu. | ||||
* | | Merge pull request #4951 from bunnei/olsc-stub | bunnei | 2020-11-20 | 2 | -0/+2 |
|\ \ | | | | | | | hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions. | ||||
| * | | hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions. | bunnei | 2020-11-19 | 2 | -0/+2 |
| | | | | | | | | | | | | - Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working. | ||||
* | | | common/bit_cast: Add function matching std::bit_cast without constexpr | ReinUsesLisp | 2020-11-20 | 2 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add a std::bit_cast-like function archiving the same runtime results as the standard function, without compile time support. This allows us to use bit_cast while we wait for compiler support, it can be trivially replaced in the future. | ||||
* | | | virtual_buffer: Do nothing on resize() calls with same sizes | Lioncash | 2020-11-19 | 1 | -1/+6 |
|/ / | | | | | | | | | Prevents us from churning memory by freeing and reallocating a memory block that would have already been adequate as is. | ||||
* | | virtual_buffer: Add compile-time type-safety guarantees with VirtualBuffer | Lioncash | 2020-11-18 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | VirtualBuffer makes use of VirtualAlloc (on Windows) and mmap() (on other platforms). Neither of these ensure that non-trivial objects are properly constructed in the allocated memory. To prevent potential undefined behavior occurring due to that, we can add a static assert to loudly complain about cases where that is done. | ||||
* | | page_table: Allow page tables to be moved | Lioncash | 2020-11-18 | 4 | -9/+30 |
| | | | | | | | | | | | | | | | | Makes page tables and virtual buffers able to be moved, but not copied, making the interface more flexible. Previously, with the destructor specified, but no move assignment or constructor specified, they wouldn't be implicitly generated. | ||||
* | | page_table: Add missing doxygen parameters to Resize() | Lioncash | 2020-11-18 | 1 | -0/+2 |
| | | | | | | | | Resolves two -Wdocumentation warnings. | ||||
* | | page_table: Remove unnecessary header inclusions | Lioncash | 2020-11-18 | 1 | -4/+0 |
| | | | | | | | | Prevents indirect inclusions for these headers. | ||||
* | | common/fiber: Move all member variables into impl class | Lioncash | 2020-11-07 | 2 | -89/+86 |
| | | | | | | | | | | | | Hides all of the implementation details for users of the class. This has the benefit of reducing includes and also making the fiber classes movable again. | ||||
* | | General: Fix clang build | Lioncash | 2020-11-05 | 2 | -2/+10 |
| | | | | | | | | Allows building on clang to work again | ||||
* | | common: Enable warnings as errors | Lioncash | 2020-11-02 | 9 | -31/+49 |
| | | | | | | | | Cleans up common so that we can enable warnings as errors. | ||||
* | | Merge pull request #4868 from lioncash/discard-error | bunnei | 2020-10-30 | 2 | -5/+12 |
|\ \ | | | | | | | General: Make ignoring a discarded return value an error | ||||
| * | | General: Make ignoring a discarded return value an error | Lioncash | 2020-10-30 | 2 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | | Allows our CI to catch more potential bugs. This also removes the [[nodiscard]] attribute of IOFile's Open member function. There are cases where a file may want to be opened, but have the status of it checked at a later time. | ||||
* | | | common/stream: Be explicit with copy and move operators | Lioncash | 2020-10-30 | 1 | -3/+9 |
|/ / | |||||
* | | common/fiber: Take shared_ptr<Fiber> by copy in YieldTo | ReinUsesLisp | 2020-10-28 | 2 | -3/+3 |
| | | | | | | | | | | YieldTo does not intend to modify the passed shared_ptrs. Pass it by copy to keep a reference count while this function executes. | ||||
* | | video_core: NVDEC Implementation | ameerj | 2020-10-27 | 3 | -0/+99 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com> | ||||
* | | core: Fix clang build pt.3 | Lioncash | 2020-10-22 | 1 | -2/+2 |
| | | | | | | | | Should finally resolve building with clang. | ||||
* | | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 7 | -22/+13 |
| | | |||||
* | | Merge pull request #4796 from lioncash/clang | LC | 2020-10-21 | 7 | -13/+22 |
|\ \ | | | | | | | core: Fix clang build | ||||
| * | | core: Fix clang build | Lioncash | 2020-10-18 | 7 | -13/+22 |
| | | | | | | | | | | | | | | | | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | ||||
* | | | input_common/CMakeLists: Make some warnings errors | Lioncash | 2020-10-16 | 2 | -11/+68 |
|/ / | | | | | | | | | Makes the input_common code warnings consistent with the rest of the codebase. | ||||
* | | core/CMakeLists: Make some warnings errors | Lioncash | 2020-10-13 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors. | ||||
* | | Merge pull request #4731 from lat9nq/mingw-zstd-fix | bunnei | 2020-10-08 | 1 | -1/+6 |
|\ \ | | | | | | | common: Use system zstd on Linux | ||||
| * | | CMakeLists: use system zstd on Linux | lat9nq | 2020-09-29 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | From what I understand, this tells CMake to use the system, not conan, version of zstd. Required to build on the coming MinGW Docker container. | ||||
| * | | CMakeLists: fix for finding zstd on linux-mingw | lat9nq | 2020-09-29 | 1 | -1/+1 |
| | | | |||||
* | | | common/wall_clock: Add virtual destructors | ReinUsesLisp | 2020-09-30 | 3 | -2/+4 |
|/ / | | | | | | | | | | | | | | | From -fsanitize=address, this code wasn't calling the proper destructor. Adding virtual destructors for each inherited class and the base class fixes this bug. While we are at it, mark the functions as final. | ||||
* | | Merge pull request #4611 from lioncash/xbyak2 | bunnei | 2020-09-04 | 1 | -16/+16 |
|\ \ | | | | | | | externals: Update Xbyak to 5.96 | ||||
| * | | externals: Update Xbyak to 5.96 | Lioncash | 2020-08-30 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I made a request on the Xbyak issue tracker to allow some constructors to be constexpr in order to avoid static constructors from needing to execute for some of our register constants. This request was implemented, so this updates Xbyak so that we can make use of it. | ||||
* | | | Merge pull request #4578 from lioncash/xor | bunnei | 2020-09-03 | 1 | -4/+10 |
|\ \ \ | | | | | | | | | common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORS | ||||
| * | | | common_funcs: Add missing XOR operators to DECLARE_ENUM_FLAG_OPERATORS | Lioncash | 2020-08-24 | 1 | -4/+10 |
| | |/ | |/| | | | | | | | | | | Ensures that the full set of bitwise operators are available for types that make use of this macro. | ||||
* | | | input_common/motion_input: Make use of Common::PI constant | Morph | 2020-09-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Also amend the copyright notice to yuzu's instead of Dolphin's, which was mistakenly copy-pasted from another file. | ||||
* | | | Merge pull request #4570 from german77/motionInput | bunnei | 2020-09-02 | 1 | -0/+30 |
|\ \ \ | | | | | | | | | input_common: Add a basic class for motion devices | ||||
| * | | | Implement a basic class for motion devices | german | 2020-08-28 | 1 | -0/+30 |
| | |/ | |/| | |||||
* | | | Merge pull request #4588 from ReinUsesLisp/tsan-event | bunnei | 2020-09-01 | 1 | -4/+5 |
|\ \ \ | | | | | | | | | common/thread: Fix data race in is_set | ||||
| * | | | common/thread: Fix data race in is_set | ReinUsesLisp | 2020-08-26 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | As report by tsan, Event::Set can write is_set while WaitFor and friends are reading from it. To address this issue, make is_set an atomic. | ||||
* | | | | Merge pull request #4461 from comex/thread-names | LC | 2020-08-31 | 1 | -0/+12 |
|\ \ \ \ | |_|/ / |/| | | | Fix thread naming on Linux, which limits names to 15 bytes. | ||||
| * | | | Fix thread naming on Linux, which limits names to 15 bytes. | comex | 2020-08-06 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In `SetCurrentThreadName`, when on Linux, truncate to 15 bytes, as (at least on glibc) `pthread_set_name_np` will otherwise return `ERANGE` and do nothing. - Also, add logging in case `pthread_set_name_np` returns an error anyway. This is Linux-specific, as the Apple and BSD versions of `pthread_set_name_np return `void`. - Change the name for CPU threads in multi-core mode from "yuzu:CoreCPUThread_N" (19 bytes) to "yuzu:CPUCore_N" (14 bytes) so it fits into the Linux limit. Some other thread names are also cut off, but I didn't bother addressing them as you can guess them from the truncated versions. For a CPU thread, truncation means you can't see which core it is! | ||||
* | | | | Merge pull request #4530 from Morph1984/mjolnir-p1 | bunnei | 2020-08-27 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Project Mjölnir: Part 1 - Input Rewrite | ||||
| * | | | | Project Mjölnir: Part 1 | Morph | 2020-08-26 | 1 | -1/+1 |
| | |/ / | |/| | | | | | | | | | | | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | | | | Merge pull request #4577 from lioncash/asserts | bunnei | 2020-08-27 | 1 | -3/+4 |
|\ \ \ \ | |/ / / |/| | | | common/assert: Make use of C++ attribute syntax | ||||
| * | | | common/assert: Make use of C++ attribute syntax | Lioncash | 2020-08-24 | 1 | -3/+4 |
| | |/ | |/| | | | | | | | Normalizes the syntax used for attributes | ||||
* | | | Merge pull request #4548 from lioncash/color | bunnei | 2020-08-25 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | common/color: Migrate code over to the Common namespace | ||||
| * | | common/color: Migrate code over to the Common namespace | Lioncash | 2020-08-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | No external code makes use of this header, so we can freely change the namespace. | ||||
* | | | web_service: Move web_result.h into web_service | Lioncash | 2020-08-23 | 2 | -26/+0 |
| | | | | | | | | | | | | | | | | | | | | | This is the only place it's actively used. It's also more appropriate for web-related structures to be within the web service target. Especially given this one doesn't rely on anything in the common library. | ||||
* | | | Merge pull request #4546 from lioncash/telemetry | bunnei | 2020-08-20 | 2 | -4/+4 |
|\ \ \ | | | | | | | | | common/telemetry: Migrate namespace into the Common namespace | ||||
| * | | | common/telemetry: Migrate namespace into the Common namespace | Lioncash | 2020-08-18 | 2 | -4/+4 |
| |/ / | | | | | | | | | | | | | Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code. | ||||
* | | | Merge pull request #4547 from lioncash/header-concept | bunnei | 2020-08-20 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | common/concepts: Move <type_traits> include out of the Common namespace | ||||
| * | | | common/concepts: Move <type_traits> include out of the Common namespace | Lioncash | 2020-08-18 | 1 | -2/+2 |
| |/ / | | | | | | | | | | This is a compiler/linker error waiting to happen. | ||||
* | | | Revert "common/time_zone: Simplify GetOsTimeZoneOffset()" | bunnei | 2020-08-20 | 1 | -5/+9 |
| | | | |||||
* | | | Merge pull request #4539 from lioncash/disc | bunnei | 2020-08-19 | 2 | -3/+3 |
|\ \ \ | |/ / |/| | | common: Silence two discarded result warnings | ||||
| * | | common: Silence two discarded result warnings | Lioncash | 2020-08-16 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | These are intentionally discarded internally, since the rest of the public API allows querying success. We want all non-internal uses of these functions to be explicitly checked, so we can signify that we intentionally want to discard the return values here. | ||||
* | | | Merge pull request #4535 from lioncash/fileutil | bunnei | 2020-08-18 | 3 | -41/+49 |
|\ \ \ | | | | | | | | | common/fileutil: Convert namespace to Common::FS | ||||
| * | | | common/fileutil: Convert namespace to Common::FS | Lioncash | 2020-08-16 | 3 | -41/+49 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing. | ||||
* / / | common/time_zone: Simplify GetOsTimeZoneOffset() | Lioncash | 2020-08-16 | 1 | -9/+5 |
|/ / | | | | | | | | | | | | | We can simplify this function down into a single line with the use of fmt. A benefit with the fmt approach is that the fmt variant of localtime is thread-safe as well, making GetOsTimeZoneOffset() thread-safe as well. | ||||
* | | common/compression: Roll back std::span changes | Lioncash | 2020-08-15 | 4 | -37/+43 |
| | | | | | | | | Seems like all compilers don't support std::span yet. | ||||
* | | common: Make use of [[nodiscard]] where applicable | Lioncash | 2020-08-15 | 34 | -358/+343 |
| | | | | | | | | | | | | Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | ||||
* | | Merge pull request #4416 from lioncash/span | bunnei | 2020-08-15 | 4 | -28/+23 |
|\ \ | | | | | | | lz4_compression/zstd_compression: Make use of std::span in interfaces | ||||
| * | | lz4_compression: Make use of std::span in interfaces | Lioncash | 2020-07-25 | 2 | -17/+14 |
| | | | | | | | | | | | | Allows compressing the data and size parameters into one. | ||||
| * | | zstd_compression: Make use of std::span in interfaces | Lioncash | 2020-07-25 | 2 | -11/+9 |
| | | | | | | | | | | | | Allows condensing the data and size parameters into a single argument. | ||||
* | | | Merge pull request #4511 from lioncash/build2 | LC | 2020-08-13 | 3 | -4/+3 |
|\ \ \ | | | | | | | | | General: Tidy up clang-format warnings part 2 | ||||
| * | | | General: Tidy up clang-format warnings part 2 | Lioncash | 2020-08-13 | 3 | -4/+3 |
| | | | | |||||
* | | | | Merge pull request #4493 from jbeich/dragonfly | bunnei | 2020-08-11 | 1 | -9/+0 |
|\ \ \ \ | |/ / / |/| | | | common/virtual_buffer: drop unused includes | ||||
| * | | | common/virtual_buffer: drop unused includes | Jan Beich | 2020-08-05 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On DragonFly and NetBSD build fails with src/common/virtual_buffer.cpp src/common/virtual_buffer.cpp:16:10: fatal error: sys/sysinfo.h: No such file or directory #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~ | ||||
* | | | | General: Tidy up clang-format warnings | Lioncash | 2020-08-09 | 1 | -1/+1 |
| | | | | |||||
* | | | | common/concepts: Rename IsBaseOf to DerivedFrom | Lioncash | 2020-08-07 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it more inline with its currently unavailable standardized analogue std::derived_from. While we're at it, we can also make the template match the requirements of the standardized variant as well. | ||||
* | | | | Merge pull request #4483 from lioncash/constexpr-hex | bunnei | 2020-08-07 | 2 | -40/+23 |
|\ \ \ \ | |_|_|/ |/| | | | partition_data_manager: Make data arrays constexpr | ||||
| * | | | partition_data_manager: Make data arrays constexpr | Lioncash | 2020-08-06 | 2 | -40/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the constructor for all of these would run at program startup, consuming time before the application can enter main(). This is also particularly dangerous, given the logging system wouldn't have been initialized properly yet, yet the program would use the logs to signify an error. To rectify this, we can replace the literals with constexpr functions that perform the conversion at compile-time, completely eliminating the runtime cost of initializing these arrays. | ||||
* | | | | 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 |