Permalink
Switch branches/tags
Commits on Dec 11, 2018
  1. Misc. CPU improvements (#519)

    gdkchan committed Dec 11, 2018
    * Fix and simplify TranslatorCache
    
    * Fix some assignment alignments, remove some unused usings
    
    * Changes to ILEmitter, separate it from ILEmitterCtx
    
    * Rename ILEmitter to ILMethodBuilder
    
    * Rename LdrLit and *_Fix opcodes
    
    * Revert TranslatorCache impl to the more performant one, fix a few issues with it
    
    * Allow EmitOpCode to be called even after everything has been emitted
    
    * Make Emit and AdvanceOpCode private, simplify it a bit now that it starts emiting from the entry point
    
    * Remove unneeded temp use
    
    * Add missing exit call on TestExclusive
    
    * Use better hash
    
    * Implement the == and != operators
Commits on Dec 7, 2018
  1. Fix homebrew input (#528)

    emmauss committed Dec 7, 2018
    * fix homebrew input
  2. Fix InitializeOld & add FinalizeOld, SetAndWaitOld, GetOld on mm:u (#521

    HorrorTroll authored and gdkchan committed Dec 7, 2018
    )
    
    * Fix mm:u
    
    * Align some missing
    
    * Fix some uncorrect code
Commits on Dec 6, 2018
  1. Adjust naming conventions and general refactoring in HLE Project (#527)

    Thealexbarney authored and gdkchan committed Dec 6, 2018
    * Rename enum fields
    
    * Naming conventions
    
    * Remove unneeded ".this"
    
    * Remove unneeded semicolons
    
    * Remove unused Usings
    
    * Don't use var
    
    * Remove unneeded enum underlying types
    
    * Explicitly label class visibility
    
    * Remove unneeded @ prefixes
    
    * Remove unneeded commas
    
    * Remove unneeded if expressions
    
    * Method doesn't use unsafe code
    
    * Remove unneeded casts
    
    * Initialized objects don't need an empty constructor
    
    * Remove settings from DotSettings
    
    * Revert "Explicitly label class visibility"
    
    This reverts commit ad5eb57.
    
    * Small changes
    
    * Revert external enum renaming
    
    * Changes from feedback
    
    * Apply previous refactorings to the merged code
Commits on Dec 5, 2018
  1. Revert "Adjust naming conventions and general refactoring in HLE Proj…

    gdkchan committed Dec 5, 2018
    …ect (#490)" (#526)
    
    This reverts commit 85dbb95.
Commits on Dec 4, 2018
  1. Adjust naming conventions and general refactoring in HLE Project (#490)

    Thealexbarney authored and gdkchan committed Dec 4, 2018
    * Rename enum fields
    
    * Naming conventions
    
    * Remove unneeded ".this"
    
    * Remove unneeded semicolons
    
    * Remove unused Usings
    
    * Don't use var
    
    * Remove unneeded enum underlying types
    
    * Explicitly label class visibility
    
    * Remove unneeded @ prefixes
    
    * Remove unneeded commas
    
    * Remove unneeded if expressions
    
    * Method doesn't use unsafe code
    
    * Remove unneeded casts
    
    * Initialized objects don't need an empty constructor
    
    * Remove settings from DotSettings
    
    * Revert "Explicitly label class visibility"
    
    This reverts commit ad5eb57.
    
    * Small changes
    
    * Revert external enum renaming
    
    * Changes from feedback
    
    * Remove unneeded property setters
Commits on Dec 3, 2018
  1. NVDEC implementation using FFmpeg (#443)

    gdkchan committed Dec 3, 2018
    * Initial nvdec implementation using FFmpeg
    
    * Fix swapped channels on the video decoder and the G8R8 texture format
    
    * Fix texture samplers not being set properly (regression)
    
    * Rebased
    
    * Remove unused code introduced on the rebase
    
    * Add support for RGBA8 output format on the video image composer
    
    * Correct spacing
    
    * Some fixes for rebase and other tweaks
    
    * Allow size mismatch on frame copy
    
    * Get rid of GetHostAddress calls on VDec
Commits on Dec 2, 2018
  1. Fix Sshl_V; Add S/Uqrshl_V, S/Uqshl_V, S/Urshl_V; Add Tests. (#516)

    LDj3SNuD authored and gdkchan committed Dec 2, 2018
    * Update OpCodeTable.cs
    
    * Update InstEmitSimdShift.cs
    
    * Update SoftFallback.cs
    
    * Update CpuTestSimdReg.cs
    
    * Nit.
    
    * Update SoftFallback.cs
    
    * Update Optimizations.cs
    
    * Update InstEmitSimdLogical.cs
    
    * Update InstEmitSimdArithmetic.cs
Commits on Nov 29, 2018
  1. Normalize all the line endings (#518)

    jduncanator authored and gdkchan committed Nov 29, 2018
Commits on Nov 28, 2018
  1. Add support for bigger UBOs, fix sRGB regression, small improvement t… (

    gdkchan committed Nov 28, 2018
    #503)
    
    * Add support for bigger UBOs, fix sRGB regression, small improvement to the 2D copy engine
    
    * Break into multiple lines
    
    * Read fractions for source/step values on the 2d copy engine aswell
    
    * Use fixed point math for more speed
    
    * Fix reinterpret when texture sizes are different
  2. Better process implementation (#491)

    gdkchan committed Nov 28, 2018
    * Initial implementation of KProcess
    
    * Some improvements to the memory manager, implement back guest stack trace printing
    
    * Better GetInfo implementation, improve checking in some places with information from process capabilities
    
    * Allow the cpu to read/write from the correct memory locations for accesses crossing a page boundary
    
    * Change long -> ulong for address/size on memory related methods to avoid unnecessary casts
    
    * Attempt at implementing ldr:ro with new KProcess
    
    * Allow BSS with size 0 on ldr:ro
    
    * Add checking for memory block slab heap usage, return errors if full, exit gracefully
    
    * Use KMemoryBlockSize const from KMemoryManager
    
    * Allow all methods to read from non-contiguous locations
    
    * Fix for TransactParcelAuto
    
    * Address PR feedback, additionally fix some small issues related to the KIP loader and implement SVCs GetProcessId, GetProcessList, GetSystemInfo, CreatePort and ManageNamedPort
    
    * Fix wrong check for source pages count from page list on MapPhysicalMemory
    
    * Fix some issues with UnloadNro on ldr:ro
Commits on Nov 23, 2018
  1. Add RGBA16 Unorm (#513)

    HorrorTroll authored and gdkchan committed Nov 23, 2018
Commits on Nov 21, 2018
  1. GPU: Allow depth textures to be loaded (#511)

    jduncanator authored and gdkchan committed Nov 21, 2018
    Allow depth textures to be loaded when their component types do not match.
  2. Clean LM string (#512)

    AcK77 authored and gdkchan committed Nov 21, 2018
    * Update ILogger.cs
    
    * Update ILogger.cs
    
    remove optionnal args
    
    * Change to interpolated strings
Commits on Nov 20, 2018
  1. Support other switch controller types (#487)

    emmauss authored and AcK77 committed Nov 20, 2018
    * Make controllers modular, support changing controller type
    
    * return readable events
    
    * signal hid events
    
    * fix style
Commits on Nov 19, 2018
  1. fix typo (#509)

    emmauss authored and AcK77 committed Nov 19, 2018
  2. Add BGRA8 Srgb (#505)

    HorrorTroll authored and gdkchan committed Nov 19, 2018
  3. Audio: Track and Call ReleaseCallbacks in the Dummy Audio Output (#508)

    jduncanator authored and AcK77 committed Nov 19, 2018
    We need to signal the guest process when buffers are released to avoid a softlock.
  4. ContentServices: Handle null LocationEntry Path in VerifyContentType (#…

    jduncanator authored and AcK77 committed Nov 19, 2018
    …506)
    
    When `LocationEntry.ContentPath` is `null`, we can always return `false` as it can't possibly be a valid `ContentType`
Commits on Nov 18, 2018
  1. Implement ContentManager and related services (#438)

    emmauss authored and gdkchan committed Nov 18, 2018
    * Implement contentmanager and related services
    
    * small changes
    
    * read system firmware version from nand
    
    * add pfs support, write directoryentry info for romfs files
    
    * add file check in fsp-srv:8
    
    * add support for open fs of internal files
    
    * fix filename when accessing pfs
    
    * use switch style paths for contentpath
    
    * close nca after verifying type
    
    * removed publishing profiles, align directory entry
    
    * fix style
    
    * lots of style fixes
    
    * yasf(yet another style fix)
    
    * yasf(yet another style fix) plus symbols
    
    * enforce path check on every fs access
    
    * change enum type to default
    
    * fix typo
  2. Add Sse Opt. for S/Umax_V, S/Umin_V, S/Uaddw_V, S/Usubw_V, Fabs_S/V, …

    LDj3SNuD authored and gdkchan committed Nov 18, 2018
    …Fneg_S/V Inst.; for Fcvtl_V, Fcvtn_V Inst.; and for Fcmp_S Inst.. Add/Improve other Sse Opt.. Add Tests. (#496)
    
    * Update CpuTest.cs
    
    * Update CpuTestSimd.cs
    
    * Update CpuTestSimdReg.cs
    
    * Update InstEmitSimdCmp.cs
    
    * Update SoftFloat.cs
    
    * Update InstEmitAluHelper.cs
    
    * Update InstEmitSimdArithmetic.cs
    
    * Update InstEmitSimdHelper.cs
    
    * Update VectorHelper.cs
    
    * Update InstEmitSimdCvt.cs
    
    * Update InstEmitSimdArithmetic.cs
    
    * Update CpuTestSimd.cs
    
    * Update InstEmitSimdArithmetic.cs
    
    * Update OpCodeTable.cs
    
    * Update InstEmitSimdArithmetic.cs
    
    * Update InstEmitSimdCmp.cs
    
    * Update InstEmitSimdCvt.cs
    
    * Update CpuTestSimd.cs
    
    * Update CpuTestSimdReg.cs
    
    * Create CpuTestSimdFcond.cs
    
    * Update OpCodeTable.cs
    
    * Update InstEmitSimdMove.cs
    
    * Update CpuTestSimdIns.cs
    
    * Create CpuTestSimdExt.cs
    
    * Nit.
    
    * Update PackageReference.
Commits on Nov 17, 2018
  1. Enable SRGB framebuffers by default (#502)

    gdkchan authored and AcK77 committed Nov 17, 2018
  2. Improved GPU command lists decoding (#499)

    gdkchan authored and AcK77 committed Nov 17, 2018
    * Better implementation of the DMA pusher, misc fixes
    
    * Remove some debug code
    
    * Correct RGBX8 format
    
    * Add support for linked Texture Sampler Control
    
    * Attempt to fix upside down screen issue
  3. HwOpus service implementation (#201)

    gdkchan authored and AcK77 committed Nov 17, 2018
    * Started to implement the hwopus service
    
    * Write outputs on decode method, some basic error handling
    
    * Fix buffer size read from header and check
    
    * Fix order of values
  4. Audio: Properly implements audio fallback for SoundIO (#500)

    jduncanator authored and AcK77 committed Nov 17, 2018
    * Audio: Properly implements audio fallback for SoundIO
    
    Given some drivers have issues with SoundIO (for the time being), this attempts to detect if SoundIO can open the default audio device, and then return false in IsSupported if it can't.
    
    * Audio: Handle the backend disconnected event
    
    libsoundio panics by default when a backend disconnects, this catches that event and gracefully handles it.
    
    * Audio: Fix styling nits
    
    * Audio: Fix nits
    
    Because Ac_K. 😫
  5. Get rid of the link to Ryujinx-Settings (#501)

    GalladeGuy authored and AcK77 committed Nov 17, 2018
Commits on Nov 15, 2018
  1. Implement libsoundio as an alternative audio backend (#406)

    jduncanator authored and AcK77 committed Nov 15, 2018
    * Audio: Implement libsoundio as an alternative audio backend
    
    libsoundio will be preferred over OpenAL if it is available on the machine. If neither are available, it will fallback to a dummy audio renderer that outputs no sound.
    
    * Audio: Fix SoundIoRingBuffer documentation
    
    * Audio: Unroll and optimize the audio write callback
    
    Copying one sample at a time is slow, this unrolls the most common audio channel layouts and manually copies the bytes between source and destination. This is over 2x faster than calling CopyBlockUnaligned every sample.
    
    * Audio: Optimize the write callback further
    
    This dramatically reduces the audio buffer copy time. When the sample size is one of handled sample sizes the buffer copy operation is almost 10x faster than CopyBlockAligned.
    
    This works by copying full samples at a time, rather than the individual bytes that make up the sample. This allows for 2x or 4x faster copy operations depending on sample size.
    
    * Audio: Fix typo in Stereo write callback
    
    * Audio: Fix Surround (5.1) audio write callback
    
    * Audio: Update Documentation
    
    * Audio: Use built-in Unsafe.SizeOf<T>()
    
    Built-in `SizeOf<T>()` is 10x faster than our `TypeSize<T>` helper. This also helps reduce code surface area.
    
    * Audio: Keep fixed buffer style consistent
    
    * Audio: Address styling nits
    
    * Audio: More style nits
    
    * Audio: Add additional documentation
    
    * Audio: Move libsoundio bindings internal
    
    As per discussion, moving the libsoundio native bindings into Ryujinx.Audio
    
    * Audio: Bump Target Framework back up to .NET Core 2.1
    
    * Audio: Remove voice mixing optimizations.
    
    Leaves Saturation optimizations in place.
Commits on Nov 14, 2018
  1. Force cache to remove entries when memory usage exceeds a given thres…

    gdkchan authored and AcK77 committed Nov 14, 2018
    …hold (#492)
  2. Initialize blend registers with default values (#497)

    gdkchan authored and AcK77 committed Nov 14, 2018
Commits on Nov 11, 2018
  1. Add BGR5A1 Image Format (#495)

    AcK77 authored and gdkchan committed Nov 11, 2018
    * Add `BGR5A1` to ImageUtils.cs
    
    Add `BGR5A1` Image Format.
    
    * Add BGR5A1 to OGLEnumConverter.cs
Commits on Nov 9, 2018
  1. Update ImageUtils.cs (#494)

    AcK77 authored and gdkchan committed Nov 9, 2018
    Fix `GalImageFormat.D32S8` definition.
  2. Fix BLR when the source reg is X30 (#493)

    gdkchan committed Nov 9, 2018
Commits on Nov 1, 2018
  1. Implment common and independent blend properly (fixes #458) (#485)

    gdkchan committed Nov 1, 2018
    * Implment common and independent blend properly
    
    * Nits
  2. Add Flush-to-zero mode (input, output) to FP instructions (slow paths…

    LDj3SNuD authored and gdkchan committed Nov 1, 2018
    …); update FP Tests. Update Naming Conventions for Tests project. (#489)
    
    * Update SoftFloat.cs
    
    * Update SoftFallback.cs
    
    * Update InstEmitSimdShift.cs
    
    * Update InstEmitSimdCvt.cs
    
    * Update InstEmitSimdArithmetic.cs
    
    * Update CryptoHelper.cs
    
    * Update CpuTestSimd.cs
    
    * Update CpuTestSimdReg.cs
    
    * Update CpuThreadState.cs
    
    * Update OpCodeTable.cs
    
    * Add files via upload
    
    * Nit.
    
    * Remove unused using. Nit.
    
    * Remove unused using. FZ update.
    
    * Nit.
    
    * Remove unused using.
Commits on Oct 31, 2018
  1. Update libhac. Load tickets from XCI files (#476)

    Thealexbarney authored and gdkchan committed Oct 31, 2018