aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle
AgeCommit message (Collapse)Author
2018-06-10Rename Ryujinx.Core to Ryujinx.HLE and add a separate project for a future ↵gdkchan
LLE implementation
2018-06-10Add stubs for Nfp and Acc + SvcGetThreadCoreMask implementation (#133)Tobias
* Stubs for NFP * Stubs for ACC * Implement SvcGetThreadCoreMask * Fixup * Fixup 2 * Fixup 3 * Address Cyuubi's feedback
2018-06-10Fix a small size related issue on MapBufferEx and add the BC7U texture formatgdkchan
2018-06-09Fix a thread sync bug as is the usual...gdkchan
2018-06-09Somewhat better implementation of thread yieldgdkchan
2018-06-09Move WriteBytes to AMemory, implement it with a Marshal copy like ReadBytes, ↵gdkchan
fix regression on address range checking
2018-06-08Small cleanup in AMemory and removed some unused usingsgdkchan
2018-06-08Texture/Vertex/Index data cache (#132)gdkchan
* Initial implementation of the texture cache * Cache vertex and index data aswell, some cleanup * Improve handling of the cache by storing cached ranges on a list for each page * Delete old data from the caches automatically, ensure that the cache is cleaned when the mapping/size changes, and some general cleanup
2018-06-08ReadBytes function in AMemory, with cleaner range check. (#136)riperiperi
2018-06-08Add & Correct ErrorModules (#137)greggameplayer
* Add & Correct ErrorModules * Remove LibNX specific ErrorModules * Remove Homebrew Specific ErrorModules
2018-06-04Fix ILibraryAppletCreator CreateStorage, implement Write on IStorageAccessorgdkchan
2018-06-02Use GetBufferType0x21 on TransactParcelAuto aswellgdkchan
2018-06-02SMO stubs and implementations (#129)Starlet
* WIP SMO stubs and implementations * fixes? * Add StorageHelper * Whoops * Compliant with review. * Remove unnecessary usings
2018-05-26Initial work to support AArch32 with a interpreter, plus nvmm stubs (not ↵gdkchan
used for now)
2018-05-25[IApplicationFunctions/INvDrvServices] Stub GetPseudoDeviceId, ↵Starlet
FinishInitialize and add more pctl service names. (#127) * [INvDrvServices] Stub FinishInitialize * [IApplicationFunctions] Stub GetPseudoDeviceId * I need to proofread my shit... * Also add more pctl service names
2018-05-22[SvcSystem/SvcMemory] Implement SvcGetInfo 16, SvcMapPhysicalMemory & ↵Starlet
SvcUnmapPhysicalMemory (#126) * [SvcSystem] Implement SvcGetInfo 16 SvcGetInfo 16 always should be 1(?) * Implement SvcMapPhysicalMemory & SvcUnmapPhysicalMemory * Adjusted to review.
2018-05-22Add a C++ demangler (#119)Thomas Guillemard
* Add a C++ demangler for PrintStackTrace This is a simple C++ demangler (only supporting name demangling) that will probably be enough for any stacktrace cases. * Create Ryujinx.Core.OsHle.Diagnostics.Demangler and move DemangleName * Rename Demangler -> Demangle + Fix coding style * Starting a real parsing for demangler (still simple and no compression support yet) * Partially implement decompression * Improve compression support (still need to fix errored compression indexing) * Some cleanup * Fix Demangle.Parse call in PrintStackTrace * Trim parameters result to get more clear prototypes * Rename Demangle -> Demangler and fix access level * Fix substitution possible issues also improve code readability * Redo compression indexing to be more accurate * Add support of not nested function name
2018-05-17Added more shader instructions, including BFE, BRA (partial), FMNMX, ISCADD, ↵gdkchan
SHL, LD_C, some shader related fixes, added support for texture component selection
2018-05-15Only use higher priority on yield, change reschedule to be per-thread ↵gdkchan
instead of using SchedulerThread to store the reschedule flag
2018-05-15Fix some races in SvcThreadSync and change the way how yield worksgdkchan
2018-05-14Fix typo and update priority/avoid duplicates on UpdateMutexOwnergdkchan
2018-05-14Some improvements to SetThreadCoreMask, simplified implementation of wait listsgdkchan
2018-05-13Implement GetTpcMasks on nvservicesgdkchan
2018-05-13Better implementation of SetThreadCoreMask that allows changing the Core ↵gdkchan
Mask (untested, no clue if it actually works)
2018-05-13Initial work to support changing thread core on the scheduler, also some ↵gdkchan
cond var priority fixes
2018-05-11Allow using self thread id on some svcs (fixes #117)gdkchan
2018-05-11Fix NV stubs (#124)Starlet
* Fix NV stubs * Compliant with feedback * Oops, Compliant with feedback #2
2018-05-10Implement ISystemDisplayService::GetDisplayMode & Add ↵Thomas Guillemard
IManagerDisplayService::SetLayerVisibility stub (#118) * Add ISystemDisplayService::GetDisplayMode & IManagerDisplayService::SetLayerVisibility Also add some missing PrintStub calls * Fix import ordering & Fix incorrect value for the third word in GetDisplayMode
2018-05-07Fix regression caused by wrong endian on GetAudioRendererWorkBufferSize ↵gdkchan
version check
2018-05-07NvServices refactoring (#120)gdkchan
* Initial implementation of NvMap/NvHostCtrl * More work on NvHostCtrl * Refactoring of nvservices, move GPU Vmm, make Vmm per-process, refactor most gpu devices, move Gpu to Core, fix CbBind * Implement GetGpuTime, support CancelSynchronization, fix issue on InsertWaitingMutex, proper double buffering support (again, not working properly for commercial games, only hb) * Try to fix perf regression reading/writing textures, moved syncpts and events to a UserCtx class, delete global state when the process exits, other minor tweaks * Remove now unused code, add comment about probably wrong result codes
2018-05-04Update IAudioRendererManager.csAc_K
2018-05-01A REAL fix for some games. (#116)Ac_K
* Update IAudioRendererManager.cs * Update IAudioRendererManager.cs * Update IAudioRendererManager.cs
2018-04-29Fix GetDesiredLanguage and expose a way to set the desired language, default ↵gdkchan
to english
2018-04-29Properly support multiple vertex buffers, stub 2 ioctls, fix a shader issue, ↵gdkchan
change the way how the vertex buffer size is calculated for the buffers with limit = 0
2018-04-26Remove unnecessary casts from NxSettingsgdkchan
2018-04-26Add null terminator to audio device names when writing to the output buffergdkchan
2018-04-26Remove thread from the threads list when it finishes, remove debug codegdkchan
2018-04-25Some small sync primitive fixes, logging fixes, started to implement the 2D ↵gdkchan
engine on the GPU, fixed DrawArrays, implemented a few more shader instructions, made a start on nvdrv refactor, etc...
2018-04-25 Update ISystemSettingsServer.cs (#107)Ac_K
* Update ISystemSettingsServer.cs Implement `GetSettingsItemValue`. * Add NxSettings.cs Generated automatically from a Switch 3.0 config file (Tid: 0100000000000818). * Update ISystemSettingsServer.cs * Update ISystemSettingsServer.cs * Update ISystemSettingsServer.cs
2018-04-24[HLE/Audio] Use correct audio device namesgdkchan
2018-04-24Improved logging (#103)gdkchan
2018-04-23Update IAudioController.csAc_K
2018-04-22Print guest stack trace on a few points that can throw exceptionsgdkchan
2018-04-22Stub a few services, add support for generating call stacks on the CPUgdkchan
2018-04-21Some implementations (#99)Ac_K
* Some implementations - ICommonStateGetter * GetBootMode - ISelfController * SetHandlesRequestToDisplay - IServiceGetterInterface - ISystemUpdateInterface - IVulnerabilityManagerInterface - IPrepoService - ISettingsServer * GetLanguageCode - ISystemSettingsServer * GetFirmwareVersion2 - IHOSBinderDriver * TransactParcelAuto * Fix Implementations * Fix Implementations 2
2018-04-21Update am service (#98)Ac_K
* am services implementations Implement: - IAllSystemAppletProxiesService - IApplicationCreator - IGlobalStateController - IHomeMenuFunctions * RequestToGetForeground stub. * GetPopFromGeneralChannelEvent stub event. - ISystemAppletProxy * GetCommonStateGetter * GetSelfController * GetWindowController * GetAudioController * GetDisplayController * GetLibraryAppletCreator * GetHomeMenuFunctions * GetGlobalStateController * GetApplicationCreator * GetDebugFunctions * Update ServiceFactory.cs * Update IHomeMenuFunctions.cs * Update IHomeMenuFunctions.cs * Update ServiceFactory.cs
2018-04-21Implement the synchronization primitives like the Horizon kernel does (#97)gdkchan
* Started to work in improving the sync primitives * Some fixes * Check that the mutex address matches before waking a waiting thread * Add MutexOwner field to keep track of the thread owning the mutex, update wait list when priority changes, other tweaks * Add new priority information to the log * SvcSetThreadPriority should update just the WantedPriority
2018-04-19Add SvcSetThreadActivity, tweak SignalProcessWideKey, add fmul32i shader ↵gdkchan
instructions and other small fixes
2018-04-19[HLE/Kernel] Fix SetThreadPriority, allow nano seconds values > ↵gdkchan
int.MaxValue, fix on WaitProcessWideKeyAtomic (althrough looks like it still doesn't work properly
2018-04-19[HLE/Kernel] Dispose the thread wait even on exitgdkchan