aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-24Remember bound framebuffer to avoid glGetInteger use. (#1273)riperiperi
glGetInteger seems to sync with GPU which is less than ideal, and slowing down texture copies.
2020-05-23Implement CNTVCT_EL0 (#1268)mageven
* Implement CNTVCT_EL0 * Fix comment
2020-05-23Implement TMML and TMML.B (#1270)Thog
* Implement TMML and TMML.B This implement TMML and TMML.B instructions * Fix TmmlB declaration alignment * Address gdkchan's comments * Fix inverted encoding definitions
2020-05-23Spanify Graphics Abstraction Layer (#1226)gdkchan
* Spanify Graphics Abstraction Layer * Be explicit about BufferHandle size
2020-05-20time: Make sure to initialize the network system clock with a valid system ↵Thog
clock (#1259) This should fix AC:NH events and probably other games.
2020-05-16Update to LibHac 0.11.2 (#1240)Alex Barney
2020-05-15Unwinding Follow-up. Fix a bug in JitUnwindWindows where ... (#1238)LDj3SNuD
... in case of "Vector" unwind codes the remaining unwind codes could be corrupted. Nits.
2020-05-15surfaceflinger: FreeBufferLocked doesn't reset the graphic bufferThog
That's the job of the user on Horizon (via SetPreallocatedBuffer).
2020-05-15Refactor out Application details from Horizon (#1236)mageven
* Initial Application refactor * Misc typo and access modifier fixes * Clean unused namespaces * Address gdkchan's comments * Move ticket reading to common method * Change IParentalControlService to use ApplicationLoader.ControlData
2020-05-15am: Implement common web applets (#1188)Thog
* am: Implemnet common web applets This implement parsing of input and output of web applets while making those close directly. TODO for the future: Use and hook a web browser. * Address Ac_K's comments
2020-05-15Surface Flinger: Implement GetBufferHistory (#1232)Thog
* Surface Flinger: Implement GetBufferHistory Also fix some bugs on the Surface Flinger implementation * Address Ac_K's comment
2020-05-15pctl: refactoring IParentalControlServiceFactory and IParentalControl… (#1219)Ac_K
* pctl: refactoring IParentalControlServiceFactory and IParentalControlService call Our previous implementation was totally guessed. Now it's implemented according to RE, even if it's stubbed because we will not support Parental Control for now. * unknownFlag > permissionFlag
2020-05-14Fix RET Xn translation (#1242)Ficture Seven
2020-05-13Remove CpuId IR instruction (#1227)gdkchan
2020-05-13nvdrv: Partially implementation of GetStatus (#1215)Ac_K
* nvdrv: Partially implementation of GetStatus This implement GetStatus call according to RE. Since we don't handle tranfert memory on the initialize of the service, it's fine sets fields at 0 for now. Tested on Undertale. Fix #635 * Fix struct
2020-05-13Add missing error code to Time (#1237)VolcaEM
The error code was taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) Even if TimeServiceNotInitialized's "description" is 0, the result "value" of "(0 << ErrorCodeShift) | ModuleId" is 0x74 so it is not the same as "Success" (0)
2020-05-12am: Implement GetFriendInvitationStorageChannelEvent (#1220)Ac_K
* am: Implement GetFriendInvitationStorageChannelEvent This implement GetFriendInvitationStorageChannelEvent according to RE, needed by Streets of Rage 4 * Fix handle name * add GetNotificationStorageChannelEvent
2020-05-11Fix tailcall case in EmitterContext (#1235)Ficture Seven
2020-05-10Suppress CS0169 CS0649 warns from HID structs (#1222)mageven
Also fix typo in a pragma restore in Logger
2020-05-10Add various error codes to Settings (#1229)VolcaEM
The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)
2020-05-09Add two error codes to SDB PDM (#1230)VolcaEM
* Add two error codes to SDB PDM The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) * Remove empty line
2020-05-08Add two error codes to Mii (#1224)VolcaEM
* Add two error codes to Mii The two errors added are InvalidDatabaseSignatureValue and InvalidDatabaseEntryCount, which were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes) * Fix typo * Remove unnecessary empty line
2020-05-08Add various error codes to NCM LR (#1225)VolcaEM
The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)
2020-05-07Fix SystemInfo logging to file (#1217)Ac_K
We currently logs system informations before we load the configuration file. Since the logger use the configuration file (to sets if it should store the logs in a file, etc...), if we print something before the configuration init, the log file doesn't contains any system informations. Now it's fixed.
2020-05-06Fix block iteration on kernel MemoryManager InsertBlock function (#1184)gdkchan
2020-05-06Refactor shader GPU state and memory access (#1203)gdkchan
* Refactor shader GPU state and memory access * Fix NVDEC project build * Address PR feedback and add missing XML comments
2020-05-05set: Quick implementation of GetKeyCodeMap/GetKeyCodeMap2 (#1210)plutoo
* set: Quick implementation of GetKeyCodeMap/GetKeyCodeMap2 This fixed USB keyboard access in official titles. * hid: Stub SendKeyboardLockKeyEvent * Update Ryujinx.HLE/HOS/Services/Settings/ISettingsServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> * set: KeyboardLayout bringup * set: Small bugfix * Fix GetKeyCodeMapImpl * Revert SystemRegion > RegionCode in Configuration * Fix SendKeyboardLockKeyEvent Co-authored-by: Ac_K <Acoustik666@gmail.com>
2020-05-05Logging the current firmware version (#1199)SeraUX
* Logging the curent firmware version * fixed an error in cases when firmware is not installed
2020-05-05Add Docked/Handheld text on status bar (#1205)HorrorTroll
* Add Dock/Handheld on status bar * Simplified the code & move next to V-Sync * Nit.
2020-05-04Add error code for denied internet request in Friends (#1207)VolcaEM
* Add error code for denied internet request in Friends * Fix formatting from previous PR
2020-05-04Add various error codes to Loader (#1208)VolcaEM
* Add various result codes to Loader The error codes were taken from Switchbrew (switchbrew.org/wiki/Error_codes) For the last 9 errors, Switchbrew says: ACID/ACI0 don't match for descriptor (descriptor) * Fix typo
2020-05-04Move kernel state out of the Horizon class (#1107)gdkchan
* Move kernel state from Horizon to KernelContext * Merge syscalls partial classes, split 32 and 64-bit variants * Sort usings
2020-05-04Implement Counter Queue and Partial Host Conditional Rendering (#1167)riperiperi
* Implementation of query queue and host conditional rendering * Resolve some comments. * Use overloads instead of passing object. * Wake the consumer threads when incrementing syncpoints. Also, do a busy loop when awaiting the counter for a blocking flush, rather than potentially sleeping the thread. * Ensure there's a command between begin and end query.
2020-05-04Refactor SystemInfo and implement macOS system info backend (#1177)Mary
2020-05-04Upgrade projects to C#8 (#1193)Ac_K
Some parts of our code needs C# 8 who isn't set as default in Visual Studio. To fix this we have to set the C# version correctly in the csproj files and then we are be able to build the project using Visual Studio.
2020-05-04Remove travis configuration (#1181)Thog
2020-05-04Improve IRDumper (#1135)Ficture Seven
* Improve IRDumper * Make Symbols.Add(ulong, ulong, ulong, string) thread safe * Use a StringBuilder for MemoryOperand * Add #if M_DEBUG guards * Fix JMP_TABLE typo * Fix using in Symbols * Use Conditional("M_DEBUG") instead Address gdkchan's feedback * Use a struct instead of 4-tuple Address gdkchan's feedback * Place symbols in comments instead Address gdkchan's feedback * Use StringBuilder throughout * Handle offsetted symbols * Fix naming convention of Builder * Avoid ArgumentException * Remove unnecessary using * Use switch expression instead * Turn into a class * Clean up * Remove unnecessary using
2020-05-04Implement user-defined clipping on GL state pipeline (#1118)mageven
2020-05-04Update GLWidget to 1.0.2 (#1191)Thog
This should fix OpenGL context creation on OSX (using Cocoa). NOTE: As macOS doesn't support OpenGL 4.3, the emulator will probably not work but this fix the hardcrash when starting any games.
2020-05-04Implement a new physical memory manager and replace DeviceMemory (#856)gdkchan
* Implement a new physical memory manager and replace DeviceMemory * Proper generic constraints * Fix debug build * Add memory tests * New CPU memory manager and general code cleanup * Remove host memory management from CPU project, use Ryujinx.Memory instead * Fix tests * Document exceptions on MemoryBlock * Fix leak on unix memory allocation * Proper disposal of some objects on tests * Fix JitCache not being set as initialized * GetRef without checks for 8-bits and 16-bits CAS * Add MemoryBlock destructor * Throw in separate method to improve codegen * Address PR feedback * QueryModified improvements * Fix memory write tracking not marking all pages as modified in some cases * Simplify MarkRegionAsModified * Remove XML doc for ghost param * Add back optimization to avoid useless buffer updates * Add Ryujinx.Cpu project, move MemoryManager there and remove MemoryBlockWrapper * Some nits * Do not perform address translation when size is 0 * Address PR feedback and format NativeInterface class * Remove ghost parameter description * Update Ryujinx.Cpu to .NET Core 3.1 * Address PR feedback * Fix build * Return a well defined value for GetPhysicalAddress with invalid VA, and do not return unmapped ranges as modified * Typo
2020-05-03Use correct swizzle on depth-stencil textures (#1196)gdkchan
2020-05-03Remove buffer invalidation (#1194)gdkchan
2020-05-03Add various error codes to Audio (#1201)VolcaEM
The error codes were taken from Switchbrew (switchbrew.org/wiki/Error_codes)
2020-05-03Fix issues causing keyboard profiles to throw errors on load. (#1206)riperiperi
* Fix issues causing keyboard profiles to throw errors on load. * Re-add space before the using aliases
2020-05-03Add various error codes to BCAT (#1202)VolcaEM
* Add various error codes to BCAT The error codes were taken from Switchbrew (switchbrew.org/wiki/Error_codes) As for InternetRequestDenied, it seems that this error is common for multiple services like Account for example I already added this error code in Account in PR #1182 * Add some results codes from Libhac and keep names consistent
2020-05-03Revert package include condition (#1204)Xpl0itR
2020-05-03system: Make index 0 of keyboards in configuration 'all keyboards'Thog
2020-05-03ui: fix major regression on SaveConfigThog
2020-05-03Improvements to input and input configuration in the GUI. (#849)Xpl0itR
* Improvements to input and input configuration in the GUI * Requested changes * nits * more nits
2020-05-03catch key errors (#1157)Xpl0itR