1. 03 Oct, 2017 2 commits
  2. 02 Oct, 2017 2 commits
    • Subv's avatar
      Kernel/SharedMemory: Don't take over and unmap the source memory block when... · b18589ec
      Subv authored
      Kernel/SharedMemory: Don't take over and unmap the source memory block when creating a shared memory, just reference it.
      
      Also reference the right offset into the backing block for the requested address.
      b18589ec
    • MerryMage's avatar
      macOS: Build x86_64h slice · 29a6fbac
      MerryMage authored
      This commit produces a fat-binary with two slices. The x86_64 slice
      is for all x64 systems, and the x86_64h slice targets x64 systems
      starting with Haswell. The latter allows the compiler to use newer
      instructions that are not available on older microarchitectures.
      29a6fbac
  3. 01 Oct, 2017 5 commits
  4. 30 Sep, 2017 10 commits
  5. 29 Sep, 2017 1 commit
  6. 28 Sep, 2017 1 commit
    • Subv's avatar
      Kernel/Threads: When putting a thread to wait, specify a function to execute when it is awoken. · 8432749d
      Subv authored
      This change makes for a clearer (less confusing) path of execution in the scheduler, now the code to execute when a thread awakes is closer to the code that puts the thread to sleep (WaitSynch1, WaitSynchN). It also allows us to implement the special wake up behavior of ReplyAndReceive without hacking up WaitObject::WakeupAllWaitingThreads.
      
      If savestates are desired in the future, we can change this implementation to one similar to the CoreTiming event system, where we first register the callback functions at startup and assign their identifiers to the Thread callback variable instead of directly assigning a lambda to the wake up callback variable.
      8432749d
  7. 27 Sep, 2017 2 commits
  8. 26 Sep, 2017 8 commits
  9. 25 Sep, 2017 9 commits
    • Subv's avatar
      Audio: Use std::deque instead of std::vector for the audio buffer type (StereoBuffer16). · d7459354
      Subv authored
      The current code inserts and deletes elements from the beginning of the audio buffer, which is very inefficient in an std::vector.
      
      Profiling was done using VisualStudio2017's Performance Analyzer in Super Mario 3D Land.
      
      Before this change: AudioInterp::Linear had 14.14% of the runtime (inclusive) and most of that time was spent in std::vector's insert implementation.
      After this change: AudioInterp::Linear has 0.36% of the runtime (inclusive)
      d7459354
    • Sebastian Valle's avatar
      Merge pull request #2947 from Subv/selfncch_factory · fd30d48c
      Sebastian Valle authored
      HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently.
      fd30d48c
    • Subv's avatar
      HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently. · 774e7dea
      Subv authored
      The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session.
      
      When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc).
      
      3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time.
      774e7dea
    • B3n30's avatar
      Merge pull request #2952 from MerryMage/page-tables · d881dee8
      B3n30 authored
      Switchable Page Tables
      d881dee8
    • B3n30's avatar
      Merge pull request #2951 from huwpascoe/perf-4 · dc6a3653
      B3n30 authored
      Optimized Morton
      dc6a3653
    • B3n30's avatar
      Merge pull request #2949 from wwylele/fix-tr · 78022b5a
      B3n30 authored
      citra-qt: fix some untranslated strings
      78022b5a
    • B3n30's avatar
      Merge pull request #2948 from Subv/register_service · a21b9deb
      B3n30 authored
      HLE/SRV: Implemented RegisterService.
      a21b9deb
    • Max Thomas's avatar
      Loader/NCCH: Add support for loading application updates (#2927) · c91ccbd0
      Max Thomas authored
      * loader/ncch: split NCCH parsing into its own file
      
      * loader/ncch: add support for loading update NCCHs from the SD card
      
      * loader/ncch: fix formatting
      
      * file_sys/ncch_container: Return a value for OpenFile
      
      * loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch
      
      * file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked
      
      * file_sys/ncch_container: pass filepath as a const reference
      c91ccbd0
    • B3n30's avatar
      Services/UDS: Added a function to send EAPoL-Start packets (#2920) · d673d508
      B3n30 authored
      * Services/UDS: Added a function to generate the EAPoL-Start packet body.
      
      * Services/UDS: Added filter for beacons.
      
      * Services/UDS: Lock a mutex when accessing connection_status from both the emulation and network thread.
      
      * Services/UDS: Handle the Association Response frame and respond with the EAPoL-Start frame.
      
      * fixup: make use of current_node, changed received_beacons into a list, mutex and assert corrections
      
      * fixup: fix damn clang-format
      d673d508