summaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-25glue: load initial year setting as s32Liam1-3/+4
2024-02-24service: set: Fix GetSettingsItemValuegerman773-22/+19
2024-02-24service: set: Enable nfc and others by default and bump versiongerman772-1/+5
2024-02-24set: fix region code for system settingsLiam1-0/+3
2024-02-24service: audio: Add missing logging properties of SetHeadphoneOutputLevelModeNarr the Reg1-1/+1
2024-02-24service: btdrv: Add EnableRadio for QlaunchNarr the Reg1-13/+19
2024-02-24service: friend: Add GetFriendCount, GetNewlyFriendCount, GetReceivedFriendRequestCount, GetPlayHistoryStatistics, GetReceivedFriendInvitationCountCache for QLaunchNarr the Reg1-26/+65
2024-02-24service: hid: Add IsAnyCustomButtonConfigEnabled for QLaunchNarr the Reg2-1/+12
2024-02-24service: lbl: Add SaveCurrentSetting, LoadCurrentSetting and IsAutoBrightnessControlSupported for QLaunchNarr the Reg1-4/+27
2024-02-24service: nfc: Implement SetNfcEnabledNarr the Reg5-8/+39
2024-02-24service: npns: Add ListenTo and GetReceiveEvent for QLaunchNarr the Reg1-8/+34
2024-02-24service: set: Add default eula settingNarr the Reg2-2/+12
2024-02-24common/ring_buffer: Include <limits> headerwheremyfoodat1-0/+1
2024-02-23android: Play vibrations asynchronouslyt8954-17/+44
2024-02-23fs: fix argument orderLiam2-2/+2
2024-02-23fs: add ISaveDataTransferProhibiter, stub FindSaveDataWithFilterLiam6-2/+68
2024-02-23vi: workaround conductor includesLiam1-1/+2
2024-02-23oboe_sink: handle temporary stream creation failureLiam1-2/+6
2024-02-23audio: fix released buffer bounds checkLiam1-2/+6
2024-02-23aoc: Rename AOC_U to IAddOnContentManagerFearlessTobi5-36/+40
2024-02-23yuzu: Fix shortcut error messageNarr the Reg1-42/+42
2024-02-22audio: add NotifyHeadphoneVolumeWarningDisplayedEventLiam2-1/+7
2024-02-22pctl: rewrite IParentalControlServiceLiam2-199/+204
2024-02-22pctl: rewrite IParentalControlServiceFactoryLiam2-20/+26
2024-02-22pctl: move IParentalControlServiceFactoryLiam8-112/+87
2024-02-22pctl: move IParentalControlServiceLiam4-467/+518
2024-02-22pctl: move types and resultsLiam5-67/+88
2024-02-22psc: stub overlay notification channelLiam11-0/+230
2024-02-22psc: rewrite IPmServiceLiam2-8/+9
2024-02-22psc: move IPmControl, IPmModule, IPmServiceLiam9-69/+141
2024-02-22olsc: rewrite IOlscServiceForSystemServiceLiam3-10/+52
2024-02-22olsc: add IRemoteStorageControllerLiam2-0/+73
2024-02-22olsc: add IDaemonControllerLiam3-0/+62
2024-02-22olsc: rewrite ITransferTaskListControllerLiam2-36/+38
2024-02-22olsc: rewrite INativeHandleHolderLiam2-1/+16
2024-02-22olsc: rewrite IOlscServiceForApplicationLiam3-28/+29
2024-02-21olsc: move INativeHandleHolder, IOlscServiceForApplication, IOlscServiceForSystemService, ITransferTaskListControllerLiam10-207/+313
2024-02-21fs: add missing mutex header for member (#13106)liamwhite1-0/+1
2024-02-21android: Connect controllers with supported stylest8951-30/+46
If you tried to connect a controller that was previously configured with an unsupported style for your game, when you try to connect that controller, it will immediately disconnect. This ensures that the controller that is being connected will be changed to the first supported style index before being connected.
2024-02-21android: Add additional check for hasMappingt8951-3/+3
Controls can have no mapping if they are either "[empty]" or and empty string. This was causing an issue if you reset mapping on all controllers and then tried to play a game. The check to determine whether auto mapping was required would fail and leave you will no mapped controllers. This feels a bit like user error but it smooths things out if you forget so I see it as necessary.
2024-02-21android: Enable all controller styles on emulation shutdownt8951-0/+3
2024-02-21audio: formatLiam7-13/+16
2024-02-21audio: rewrite IHardwareOpusDecoderLiam2-218/+123
2024-02-21audio: rewrite IAudioDeviceLiam8-126/+127
2024-02-21audio: rewrite IHardwareOpusDecoderManagerLiam17-297/+230
2024-02-21audio: rewrite IAudioRendererLiam3-149/+86
2024-02-21audio: rewrite IAudioRendererManagerLiam12-136/+107
2024-02-21audio: split IHardwarweOpusDecoder, move IHardwareOpusDecoderManagerLiam7-509/+556
2024-02-21audio: split IAudioDevice, IAudioRenderer, move IAudioRendererManagerLiam9-562/+630
2024-02-21audio: move IFinalOutputRecorderManager{,ForApplet}Liam6-20/+25
2024-02-21audio: rewrite IAudioOutManagerLiam6-159/+151
2024-02-21audio: rewrite IAudioOutLiam7-216/+236
2024-02-21audio: rewrite IAudioInManagerLiam8-247/+191
2024-02-21audio: rewrite IAudioInLiam4-196/+182
2024-02-21android: Fix extra stick setting default valuest8951-7/+7
The default value was accidentally hardcoded for all extra stick settings
2024-02-21ns: fix alignment of uid typeLiam5-9/+13
2024-02-20android: Expose device name settingt8954-1/+7
2024-02-20android: Add StringInputSetting settings itemt8955-0/+104
2024-02-20vi: ignore shared buffer destruction failure on terminationLiam1-1/+1
2024-02-20vi: remove superfluous locking in shared buffer managerLiam1-8/+0
2024-02-20nvnflinger/vi: don't recreate buffer queue on open/closeLiam8-72/+88
2024-02-20Import keys from filesystem. (#13056)Andrew Pilley3-17/+101
* Import keys, re-initialize KeyManager, re-scan vfs, re-populate game list. * <.< spelling. * Update based on feedback on #13047 and this PR * Based on feedback: Don't delete existing files. There's legitimate reasons that someone may want to keep their retail keys and title key handling is resilient to mismatches. * Update src/yuzu/main.cpp Co-authored-by: Tobias <thm.frey@gmail.com> * Remove translation of literal filename/filter format. * clang-format. --------- Co-authored-by: Tobias <thm.frey@gmail.com>
2024-02-19android: Have input overlay follow player 1 style index (#13085)Charles Lombardo1-6/+5
2024-02-19android: Fix broken clear button checkt8955-16/+7
2024-02-19android: Fix overlay visibility reset (#13083)Charles Lombardo1-1/+1
2024-02-19android: Show done button when configuring input overlay (#13082)Charles Lombardo1-1/+1
2024-02-19Address review comments pt. 2FearlessTobi6-39/+34
2024-02-19Address review commentsFearlessTobi8-26/+35
2024-02-19fs: Refactor to use cmif serializationFearlessTobi7-295/+245
2024-02-19fs: Add FileSystemAccessor classesFearlessTobi14-130/+554
2024-02-19Address review commentsFearlessTobi9-21/+24
2024-02-19fs: Add and use fs_save_data_types.hFearlessTobi9-168/+231
2024-02-19fsp: Migrate remaining interfaces to cmif serializationFearlessTobi6-62/+48
2024-02-19fsp-srv: Migrate to use cmif serializationFearlessTobi2-263/+203
2024-02-19fsp: Move IMultiCommitManager to a seperate fileFearlessTobi4-29/+60
2024-02-19fsp: Move ISaveDataInfoReader to a seperate fileFearlessTobi4-165/+214
2024-02-19aoc: Migrate to use cmif serializationFearlessTobi4-157/+109
2024-02-19core/aoc: Move IPurchaseEventManager to separate fileFearlessTobi4-78/+110
2024-02-19scope_exit: Make constexprFearlessTobi58-226/+421
Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
2024-02-19core/CMakeLists: Sort alphabeticallyFearlessTobi1-60/+58
2024-02-19shader_recompiler: throw on missing geometry streams in geometry shadersLiam5-3/+16
2024-02-19ns: address review commentsLiam3-25/+35
2024-02-19vulkan_device: don't use fixed cap for memory limitsLiam4-5/+27
2024-02-18am: account for offset in transfer memory storageLiam1-2/+2
2024-02-18core: hid: Remove driver errors from loggerman771-1/+5
2024-02-18nvnflinger: check for layers before composeLiam5-7/+13
2024-02-18android: Flip AB/XY for xbox controllers during auto-mappingt8951-3/+4
2024-02-18ns: rewrite IQueryServiceLiam5-75/+69
2024-02-18ns: rewrite IServiceGetterInterfaceLiam7-109/+192
2024-02-18ns: rewrite IApplicationManagerInterfaceLiam11-489/+633
2024-02-18ns: move IDevelopInterfaceLiam4-32/+58
2024-02-18ns: rewrite ISystemUpdateInterfaceLiam5-39/+109
2024-02-18ns: move ISystemUpdateControlLiam4-36/+63
2024-02-18ns: rewrite IVulnerabilityManagerInterfaceLiam4-25/+57
2024-02-18ns: rewrite IReadOnlyApplicationControlDataInterfaceLiam6-55/+160
2024-02-18ns: rewrite IReadOnlyApplicationRecordInterfaceLiam5-45/+63
2024-02-18ns: add IDynamicRightsInterfaceLiam4-1/+88
2024-02-18ns: rewrite IDownloadTaskInterfaceLiam5-27/+62
2024-02-18ns: rewrite IDocumentInterfaceLiam6-51/+68
2024-02-18ns: rewrite IContentManagementInterfaceLiam6-52/+114
2024-02-18ns: move IFactoryResetInterfaceLiam5-25/+46
2024-02-18ns: move IECommerceInterfaceLiam5-25/+46
2024-02-18ns: move IApplicationVersionInterfaceLiam5-31/+52
2024-02-18ns: move IAccountProxyInterfaceLiam6-19/+103
2024-02-18ns: rewrite IPlatformServiceManagerLiam6-92/+81
2024-02-18ns: rename results headerLiam3-2/+2
2024-02-18android: Map touches to touchscreent8953-5/+23
I neglected to map touches to the touchscreen when refactoring in the input mapping PR. This fixes that regression.
2024-02-18android: Show cancel button for the content install noticet8951-1/+2
2024-02-18android: Only do first startup automapping if nothing has been mappedt8951-2/+8
2024-02-18service: Change unique_ptr to make_unique in GetCacheStorageMaxLeystryku1-1/+1
2024-02-18file_sys: Formatting changes and use unique_ptr in GetCacheStorageMaxLeystryku1-6/+6
2024-02-18file_sys: Fix nacp field cache_storage_max_index datatypeLeystryku2-10/+7
2024-02-18android: Create lifecycle utility to simplify common StateFlow operationst89520-630/+331
2024-02-18service: Add proper GetCacheStorageMax implementation to IApplicationFunctionsLeystryku3-7/+17
2024-02-18android: Use extension functions for view visibility and text marqueet89531-265/+166
2024-02-18android: Move CoreErrorDialogFragment to its own filet8952-42/+53
2024-02-18Add check for corrupted firmware files after install.Andrew Pilley2-3/+25
2024-02-18dmnt: cheats: Fix valid address rangegerman771-2/+2
2024-02-18fsp: Add FlushAccessLogOnSdCard stubLeystryku2-2/+10
2024-02-18service: Add GetCacheStorageMax stub to IApplicationFunctionsLeystryku2-1/+12
2024-02-18service: vi: Implement ListDisplayModegerman773-12/+41
2024-02-18vi: manage resources independently of nvnflinger and refactorLiam62-1490/+1756
2024-02-18vi: move shared buffer management from nvnflingerLiam20-101/+134
2024-02-18nvnflinger: convert to processLiam44-273/+241
2024-02-18am: unify display layer managementLiam12-261/+240
2024-02-17service: audio: Rewrite IAudioController to new IPCNarr the Reg6-255/+236
2024-02-17>.> spellingAndrew Pilley1-1/+1
2024-02-17cleanup by clang-format.Andrew Pilley1-15/+21
2024-02-17Improve behavior when one or more firmware files can't be deleted.Andrew Pilley1-6/+9
2024-02-17service: btm: Implement function needed by QLaunchNarr the Reg7-96/+148
2024-02-17android: Input mappingt89583-989/+5706
2024-02-17Close reference to TimeZoneBinary on game closeKelebek12-0/+5
2024-02-17Implement In-app firmware installation.Andrew Pilley3-2/+130
2024-02-17hid_core: Prevent crash if we try to iterate through empty color devices listt8951-0/+3
2024-02-17hid_core: Use dedicated "port" for android's input overlayt8952-1/+11
2024-02-17config: Reset per-game profile name on load if emptyt8953-0/+3
2024-02-17android: Allow SettingsItems to use String or StringRest89517-214/+278
2024-02-16service: erpt: Implement SubmitContextNarr the Reg1-1/+11
2024-02-16service: caps: Implement GetAlbumFIleListNarr the Reg2-1/+13
2024-02-16service: btm: Migrate service to new IPCNarr the Reg13-267/+469
2024-02-16service: am: Fix GetMainAppletAvailableUsers for user creationNarr the Reg3-7/+6
2024-02-16service: am: Add QLaunch launcherNarr the Reg1-0/+18
2024-02-16shader_recompiler: fix non-const offset for arrayed image typesLiam1-4/+10
2024-02-16Revert "shader_recompiler: use only ConstOffset for OpImageFetch"Liam2-7/+38
This reverts commit f296a9ce9a1a144d322d54d4628dba6f8a800cb7.
2024-02-14kernel: add and enable system suspend typeLiam4-32/+43
2024-02-14service: set: Migrate ISystemSettingsServer to new IPCNarr the Reg12-1048/+685
2024-02-14vi: rewrite IApplicationDisplayServiceLiam3-309/+228
2024-02-14vi: rewrite ISystemDisplayServiceLiam2-148/+92
2024-02-14vi: rewrite IManagerDisplayServiceLiam2-61/+28
2024-02-14vi: rewrite IHOSBinderDriverLiam5-49/+53
2024-02-14vi: rewrite IApplicationRootService, IManagerRootService, ISystemRootServiceLiam12-90/+145
2024-02-14vi: split into implementation filesLiam18-924/+1059
2024-02-14vi: extract typesLiam8-69/+79
2024-02-14service: set: Migrate ISettingsServer to new interfacegerman776-174/+1189
2024-02-13android: Prevent user from dismissing mod/cheat noticet8951-1/+4
Makes sure that a user can't miss this dialog by touching outside the window. They must press "OK" or "Close" to continue.
2024-02-13android: Show cancel option for delete addons dialogt8951-1/+2
2024-02-13android: Swap ok and close default strings for MessageDialogFragmentt8951-3/+3
2024-02-13android: Add screen vertical alignment settingt8958-1/+90
It's a bit of a hack since I'm moving the view instead of telling the Vulkan surface to bias itself to the top/bottom/center but it works fine for now.
2024-02-13android: Expose FSR sharpness slidert8954-1/+15
2024-02-13buffer_cache: use mapped range with large vertex buffer sizeLiam1-1/+1
2024-02-13device_memory_manager: skip unregistered interfaces on invalidateLiam1-4/+8
2024-02-12android: Swap confirmation buttons for delete save data dialogt8951-1/+3
2024-02-12android: Extend MessageDialogFragment to support a negative action and button titlest8952-22/+104
2024-02-12am: move out omm interfaces to new moduleLiam14-87/+124
2024-02-12am: rewrite IApplicationCreatorLiam4-8/+26
2024-02-12am: add IApplicationAccessorLiam3-0/+180
2024-02-12am: rewrite ILockAccessorLiam6-102/+110
2024-02-12am: rewrite IWindowControllerLiam8-118/+121
2024-02-12am: rewrite IStorageLiam19-81/+73
2024-02-12am: rewrite IStorageAccessor, ITransferStorageAccessorLiam5-103/+82
2024-02-12am: rewrite ISelfControllerLiam9-542/+479
2024-02-12am: rewrite IProcessWindingControllerLiam7-64/+66
2024-02-12am: rewrite ILibraryAppletSelfAccessorLiam8-387/+408
2024-02-12am: rewrite ILibraryAppletCreatorLiam7-121/+88
2024-02-12am: rewrite ILibraryAppletAccessorLiam7-249/+206
2024-02-12am: rewrite IHomeMenuFunctionsLiam7-88/+114
2024-02-12am: rewrite IGlobalStateController, add ICradleFirmwareUpdaterLiam9-54/+187
2024-02-12am: rewrite IDisplayControllerLiam8-170/+146
2024-02-12am: move IDebugFunctionsLiam6-7/+6
2024-02-12am: rewrite ICommonStateGetterLiam14-437/+385
2024-02-12am: rewrite IApplicationFunctionsLiam8-658/+590
2024-02-12am: rewrite IAppletCommonFunctionsLiam6-24/+26
2024-02-12am: rewrite IAudioControllerLiam8-132/+111
2024-02-12am: rewrite ISystemAppletProxyLiam6-177/+191
2024-02-12am: rewrite ILibraryAppletProxyLiam6-184/+193
2024-02-12am: rewrite IApplicationProxyLiam6-152/+159
2024-02-12am: rewrite appletAE, appletOELiam15-212/+220
2024-02-12service: news: Stub remaining functionsgerman777-13/+54
2024-02-11yuzu: Allow non npad hotkeys and disable controller navigation requirementgerman771-4/+2
2024-02-11service: ldn: Migrate and refractor service to new IPCNarr the Reg18-778/+910
2024-02-11texture_cache: tweak iteration tracking changeLiam1-1/+1
2024-02-11texture_cache: avoid overestimation of ASTC texture sizesLiam3-5/+15
2024-02-11caches: make critical reclamation less eager and possible in more casesLiam2-3/+3
2024-02-11config: Always delete control settings in ClearControlPlayerValuest8951-8/+2
2024-02-10am: use applet program loading for tested versionsLiam5-7/+33
2024-02-10host_shaders: add vendor workaround for adreno driversLiam1-6/+4
2024-02-10Texture Cache: Fix untracking on GPU remapFernando Sahmkow3-7/+10
2024-02-10service: bcat: Address review issuesNarr the Reg29-144/+153
2024-02-10service: bcat: Implement news interfacesNarr the Reg14-0/+425
2024-02-10service: bcat: Migrate and refractor service to new IPCNarr the Reg22-735/+850
2024-02-10Fix multiplayer player count color in dark themes | Temp fix until #12744: Add green color for counts > 0 and < max_players - 1 (#12930)Kevnkkm1-3/+10
* fix intended player count color in dark themes * Refactor * Change to green color for white and dark themes * Add const to the colors and extra name for green color
2024-02-09am: fix focus states and display of indirect keyboardLiam3-15/+10
2024-02-09am: stub SetMediaPlaybackState for self controllerLiam2-1/+16
2024-02-09general: add default configurations for applet modeLiam14-8/+334
2024-02-09gpu: dependency-inject scaling/antialiasing filter state for capture layersLiam12-31/+93
2024-02-09nvnflinger/gpu: implement applet captureLiam19-55/+288
2024-02-09nvnflinger/gpu: implement blendingLiam37-141/+383
2024-02-09nvservices: unmap only on last container freeLiam3-3/+13
2024-02-09video_core: defensively program around unmapped device pointersLiam2-7/+11
2024-02-09core: fix multiprocess with nceLiam1-1/+6
2024-02-09android: Use utility function for applying view marginst89515-163/+104
2024-02-09android: Add thermal throttling overlayt8956-5/+76
2024-02-09android: Remove foreground servicet89526-176/+0
2024-02-09service: Fix OutLargeData attributesNarr the Reg1-1/+1
2024-02-09service: hid: Free npad applet resourceNarr the Reg6-12/+17
2024-02-08android: Fix regex for git versiont8951-2/+9
2024-02-08android: Run OnEmulationStarted frontend callback in another threadt8951-1/+3
The JVM has problems with attaching to a Fiber so we start a new thread and wait for the result here.
2024-02-08common: fs: Expand android macrost8952-134/+91
2024-02-08android: Move JNI setup and helpers to commont89513-170/+224
2024-02-08shared_translation: Add tooltips for general settingsFearlessTobi1-18/+21
2024-02-08service: hid: Migrate hidbus to new interfaceNarr the Reg10-403/+262
2024-02-07SMMU: Ensure the backing address range matches the currentFernando Sahmkow1-0/+7
2024-02-07ipc: additional fixesLiam3-4/+16
2024-02-07glue: use multi wait APILiam1-82/+48
2024-02-07server_manager: use multi wait APILiam2-261/+234
2024-02-07service: add os types and multi wait APILiam13-9/+287
2024-02-06yuzu: Make controller keys easier to assigngerman773-20/+37
2024-02-06dmnt: cheat: Invalidate cache on memory writesNarr the Reg1-1/+4
2024-02-06shared_translation: Add tooltips for advanced graphics and system settingsFearlessTobi1-24/+40
2024-02-06shared_translation: Add tooltips for core and graphics settingsFearlessTobi1-21/+78
2024-02-06web_backend: Fix compilationFearlessTobi1-6/+6
2024-02-06service: hid: Migrate hid debug service to new interfacegerman772-119/+78
2024-02-06service: irs: Migrate service to new interfacegerman774-414/+267
2024-02-06service: hid: Add multiprocess support to six axis inputgerman771-124/+130
2024-02-06service: hid: Ensure aruid data is initializedgerman773-8/+8
2024-02-05Common: Rename SplitRangeSet to OverlapRangeSetFernando Sahmkow4-42/+45
2024-02-05dmnt: cheat: Add pause and resume supportgerman774-2/+22
2024-02-05yuzu: Fully hide linux tabgerman771-0/+3
2024-02-05typed_address: test values are unsignedLiam1-41/+41
2024-02-05dmnt: cheats: Silence memory errorsgerman774-20/+32
2024-02-05shader_recompiler: use only ConstOffset for OpImageFetchLiam2-38/+7
2024-02-05Buffer Cache: Refactor to use Range sets insteadFernando Sahmkow5-361/+206
2024-02-05gdb: fix load/save of fp values in a32Liam1-2/+2
2024-02-05dmnt: cheats: Update cheat vm to latest versiongerman775-29/+71
2024-02-04NVDRV: Refactor HeapMapper to use RangeSetsFernando Sahmkow1-144/+43
2024-02-04Common: Introduce Range SetsFernando Sahmkow3-0/+354
2024-02-04VideoCore: Move Slot Vector to CommonFernando Sahmkow12-33/+33
2024-02-04citra_qt/configure_ui: Show country of language in the comboboxTobias1-69/+9
This prevents an issue where we had seperate versions of the same language for different regions and they were not distinguishable (e.g. "Chinese (China)" and "Chinese (Taiwan)"). Also makes it so we do not need to hardcode specific languages anymore.
2024-02-04ci: android: Play store publishing setupt8951-15/+16
2024-02-04web_backend: Sync with Citra implementationFearlessTobi1-19/+22
While porting https://github.com/citra-emu/citra/pull/7347, I noticed the code of yuzu was not up-to-date with the implementation from Citra.
2024-02-03nvnflinger: release buffers before presentation sleepLiam3-28/+27
2024-02-03Fix firmware timezone boot load check.Kelebek11-0/+1
2024-02-02service: fs: Skip non user id foldersNarr the Reg2-0/+12
2024-02-02cmif_serialization: enforce const for referencesLiam2-2/+31
2024-02-02Clang FixMoonlacer1-2/+3
2024-02-02Add Samsung Proprietary Driver ID to Reorder PassMoonlacer2-1/+3
For RDNA-based Samsung Xclipse GPUs
2024-02-01service: use const references for input raw dataLiam31-91/+100
2024-02-01service: hid: Multiple fixesNarr the Reg8-66/+64
2024-02-01MemoryManager: Reduce the page table size based on last big page address.Fernando Sahmkow4-14/+19
2024-01-31SwBlitter: Fix Pitch linear reading/writtingFernando Sahmkow1-18/+19
2024-01-31hardware_composer: implement speed limit extensionsLiam5-22/+50
2024-01-31nvnflinger/gpu: implement layer stack compositionLiam28-252/+469
2024-01-31renderer_opengl: implement layer stack compositionLiam10-290/+402
2024-01-31renderer_vulkan: implement layer stack compositionLiam22-952/+662
2024-01-31renderer_opengl: split up blit screen resources into antialias and window adapt passesLiam13-229/+329
2024-01-31renderer_opengl: move out ownership of FSR resourcesLiam3-100/+74
2024-01-31renderer_vulkan: convert FSR to graphics pipelineLiam17-454/+302
2024-01-31renderer_opengl: move out FSR shader source constructionLiam3-26/+23
2024-01-31renderer_opengl: split out FXAALiam7-24/+79
2024-01-31renderer_opengl: split out SMAALiam10-96/+197
2024-01-31renderer_vulkan: split up blit screen resources into separate antialias and window adapt passesLiam11-913/+985
2024-01-31renderer_vulkan: isolate FXAA from blit screenLiam12-651/+590
2024-01-31renderer_opengl: isolate core presentation codeLiam6-577/+639
2024-01-31video_core: consistently account for resolution scaling when renderingLiam10-31/+40
2024-01-31video_core: simplify accelerated surface fetch and crop handling between APIsLiam18-316/+262
2024-01-31aoc: fix DLC listing (#12867)liamwhite1-1/+1
2024-01-31Device Memory Manager: ensure raster protection only within mapped device addresses.Fernando Sahmkow1-17/+23
2024-01-31DeviceMemory: Make counter types configurableFernando Sahmkow2-14/+19
2024-01-31NVDRV: Join the heaper optimization blocksFernando Sahmkow1-1/+3
2024-01-31smmu: use new range mutex construction for protecting countersLiam4-11/+97
2024-01-31Texture Cache: make sparse texture table per channelFernando Sahmkow2-40/+51
2024-01-31settings: Allow audio sink, input, and output to be set per gamet8953-26/+110
2024-01-31Remove a few hacks for clock setups, which seem to no longer be needed, but fix network clock to local clock on every boot. Also fix some logging strings.Kelebek19-84/+66
2024-01-31am: push storage from error applet with non-zero sizeLiam1-1/+1
2024-01-30cmif_serialization: fix LargeData typesLiam1-3/+3
2024-01-30service: hid: Implement GetPlayerLedPattern accuratelyNarr the Reg5-27/+41
2024-01-30Persist filters in multiplayer public lobby listHugo Locurcio2-1/+19
After connecting to a room, the chosen filter text, "Games I Own", "Hide Empty Rooms" and "Hide Full Rooms" values are persisted to configuration so they are preserved across restarts. This makes it easier to rejoin a room if you regularly play the same game, or after a crash.
2024-01-30Color player counts in the multiplayer public lobby listHugo Locurcio1-4/+21
- Full lobbies have their player count displayed in red. - Lobbies with one slot left have their player count displayed in orange. - Empty lobbies have their player count grayed out.
2024-01-30internal_network: only poll for accept on blocking socketsLiam2-14/+21
2024-01-30Update sockets.hLotP11-1/+1
forgot to realign the enum
2024-01-30Update src/core/hle/service/sockets/sockets.hLotP11-1/+1
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2024-01-30cmif_serialization: fix out layout calculationLiam1-12/+38
2024-01-30service: capsrv: Migrate to new IPCNarr the Reg13-388/+263
2024-01-30am: stop emulation when all applets are closedLiam1-0/+8
2024-01-30core: support offline web appletLiam32-58/+470
2024-01-30am: return AppletDataBroker and use for frontend appletsLiam31-508/+424
2024-01-30am: rework IStorage for transfer storageLiam6-109/+117
2024-01-30am: migrate global state to per-applet state structureLiam41-748/+687
2024-01-30am: retrieve main applet creation info from frontendLiam11-79/+143
2024-01-30Add hotkeys for multiplayer actionsHugo Locurcio2-1/+13
Default shortcuts were chosen as to be intuitive (use the first letter of the action, or the second word's first letter) and work on all types of keyboards. The hotkeys can be used while playing a game too, as they are application-wide.
2024-01-30am: re-namespace frontend applets to frontend directoryLiam48-473/+394
2024-01-30am: add new datatypes for per-applet stateLiam19-1/+1496
2024-01-30service: split am into componentsLiam61-3482/+4093
2024-01-30Update sockets_translate.cppLotP11-2/+2
Align the error case with it's index in the Errno enum
2024-01-30Update sockets.hLotP11-0/+1
Add the CONNREFUSED error to the Service::Sockets::Errno enum
2024-01-30Update sockets_translate.cppLotP11-0/+2
Add support for the CONNREFUSED Errno. Without this Connect() will return SUCCESS when a connection is refused, instead of an error code. This causes code, that relies on the result of Connect() being SUCCESS, to execute when it shouldn't.
2024-01-29service: mii: Set arguments as constNarr the Reg1-7/+8
2024-01-29notif: rewrite for new IPCLiam3-126/+324
2024-01-29android: Don't show delete button for system drivert8951-5/+2
2024-01-29fix build for gcc 11amazingfate1-1/+1
2024-01-29service: am: Focus state changed goes lastgerman771-1/+1
2024-01-29service: hid: Implement home, capture and sleep buttonsgerman7711-37/+104
2024-01-29service: hid: Restore active aruidgerman772-0/+12
2024-01-29service: hid: Fully implement touch resourceNarr the Reg30-739/+1882
2024-01-28configure_graphics: Avoid crash when vsync_mode_combobox is empty (occurs when renderer backend is Null)Merry1-0/+5
2024-01-28Use the input process handle to get the correct application's memoryKelebek110-21/+56
2024-01-28service: set: Increase settings versiongerman771-2/+2
2024-01-28service: set: Implement more Qlaunch Settingsgerman779-59/+351
2024-01-28android: Disable focus on loading cardt8951-1/+3
Additionally de-emphasize the ripple that I can't disable
2024-01-28android: Show system driver informationt8954-2/+46
2024-01-28kernel: clear pinned waiter list on unpinLiam1-1/+2
2024-01-28android: Multi-program app switchingt8958-34/+117
2024-01-27atomic_ops: Fix MSVCMerry1-15/+19
2024-01-27atomic_ops: Remove volatile qualifierMerry2-25/+21
2024-01-27atomic_ops: Reduce code duplication with templatesMerry1-45/+26
Also fixes builds on unusual toolchains where: - u32 is unsigned int - u64 is unsigned long long - uintptr_t is unsigned long
2024-01-27input: add a missing null pointer checkK9001-1/+1
There's a few other places where the result of GetAruidData is accessed without a null check, but I couldn't find a code path that hits those.
2024-01-27android: Reload global settings on closing emulationt8951-0/+1
UI like the driver manager expects the global settings to be loaded when in the MainActivity so we reload global config to properly reset state on exit.
2024-01-27Move time services to new IPC.Kelebek140-2060/+1225
Add some fixes/improvements to usage with the new IPC
2024-01-26service: mii: Migrate service to new interfaceNarr the Reg4-412/+171
2024-01-26vfs: Fix getting URI filenamet8951-0/+9
2024-01-26android: Add cancel condition to installed content checkt8951-1/+7
2024-01-26service: hid: Don't try to vibrate if device isn't initializedNarr the Reg3-0/+9
2024-01-26cmif_serialization: support non-domain sessions on domain serversLiam1-33/+32
2024-01-26cmif_types: improve ergonomics of typesLiam4-38/+97
2024-01-26android: Disable default focus highlight on views that shouldn't be selectedt89511-5/+19
2024-01-26android: Allow controller to focus on toolbar menu itemst89511-6/+28
Workaround for this https://issuetracker.google.com/issues/256948272
2024-01-26android: Add 600dp layout for GameInfoFragmentt8951-0/+155
2024-01-26android: Fix button click listener for build version namet8951-1/+1
Was set to the text instead of the parent view by mistake
2024-01-26android: Disable focus for the root of cards that contain buttonst8954-5/+5
2024-01-26android: Focus on the in game menu when openedt8954-7/+39
2024-01-26service: set: Implement more settings functions for QlaunchNarr the Reg16-88/+289
2024-01-25Address review comments and fix compilation problemsFearlessTobi16-269/+249
2024-01-25fs: Add path classFearlessTobi11-30/+2228
2024-01-25result: Make fully constexpr, add ON_RESULT_INCLUDEDFearlessTobi9-29/+57
2024-01-25fs/errors: Unify naming of result codesFearlessTobi7-42/+37
2024-01-25fs: Replace Mode enum by OpenMode enumFearlessTobi21-188/+195
2024-01-25vfs: Move vfs files to their own directoryFearlessTobi100-160/+183
2024-01-25fs: Move fsp_srv subclasses to separate filesFearlessTobi17-542/+687
fs: Move additional files to the fsp directory
2024-01-25service: add template serializer for method callsLiam8-353/+729
2024-01-25android: Fix waiting for driver install on startupt8953-13/+24
2024-01-25android: Add current driver vendor to FPS overlayt8953-2/+15
2024-01-25android: Add key checkt8956-2/+67
2024-01-25android: Add option to make MessageDialogFragments non-dismissiblet8951-8/+24
Additionally fixes an issue where its viewmodel could hold onto a stale positive action
2024-01-25frontend_common: Consistently use referencest8953-41/+41
Was swapping between references and pointers for no reason. Just unify them here since each of these utility functions will need their parameters to be alive.
2024-01-25frontend_common: Remove key rederivation and keep key checkt8954-121/+13
2024-01-25android: Only compare game contents for GameAdaptert8953-9/+22
2024-01-25Demote Mesa dozen to the bottom of the device listMatías Locatti1-0/+10
2024-01-24Rework time service to fix time passing offline.Kelebek1141-3972/+7014
2024-01-23core: hid: Skip duplicated vibrationsNarr the Reg3-3/+21
2024-01-23core: hid: Only set polling mode if neededNarr the Reg1-1/+5
2024-01-23service: properly convert buffers to stringsNarr the Reg3-8/+8
2024-01-23loader: also register fs process for raw exefs partitionLiam1-0/+8
2024-01-23nvservices: close map handles on session closeLiam3-0/+16
2024-01-23kernel: target invalidate to given processLiam1-4/+9
2024-01-22device_memory_manager: fix ScratchBuffer indexingLiam1-3/+2
2024-01-22android: Add to launcher buttont8957-52/+116
2024-01-22Simplify VkResult lookupMike Lothian4-109/+14
2024-01-22android: Provide debug.keystore for debug and relWithDebInfo buildst8952-4/+11
Allows devs to share debug builds with testers without uninstalling the previous build
2024-01-22android: Port "Lock drawer" feature from Citrat8956-4/+70
2024-01-22Add Vulkan-Utility-Libraries dependencyMike Lothian1-1/+1
2024-01-22frontend_common: Remove default value for installer callbackst8951-13/+13
We never used these without callbacks and these will break without them in their current state. I could write the default value to return false always but that's unnecessary for now.
2024-01-22android: Add options to verify installed contentt8958-4/+165
2024-01-21core: hid: Allow to disable vibrationNarr the Reg1-2/+7
2024-01-21frontend_common: Move integrity verification to content_managert8952-114/+161
2024-01-21service: hid: Implement EnableAppletForInputNarr the Reg3-2/+17
2024-01-21service: set: Don't allow invalid mii author idgerman771-0/+5
2024-01-21android: Sync translationst89520-338/+2062
2024-01-20android: Change "Clear" to "Use global setting" for per-game settingst8955-10/+8
2024-01-20fs/file: Explicitly convert std::u8string to std::filesystem::pathMerry1-1/+1
2024-01-20android: Use elevated card style for home setting cardt8951-3/+3
2024-01-20android: Sort recently added/played games by timet8951-2/+2
2024-01-20frontend_common: Add documentation for content_manangert8951-0/+53
2024-01-20android: Add addon delete buttont89517-82/+305
Required some refactoring of retrieving patches in order for the frontend to pass the right information to ContentManager for deletion.
2024-01-19android: Use callback to update progress bar dialogst89510-121/+236
2024-01-19frontend_common: Add content manager utility functionst89512-221/+318
Creates utility functions to remove/install DLC, updates, and base game content
2024-01-19Bump MoltenVK to v1.2.7shinra-electric1-1/+1
2024-01-19service: hid: Clear controller status when aruid is no longer usedNarr the Reg1-0/+7
2024-01-19device_memory_manager: use unique_lock for updateLiam1-14/+8
2024-01-19nvhost_vic: use map erase by keyLiam1-4/+1
2024-01-19nvdrv: clean up preallocationLiam1-3/+5
2024-01-19nvdrv: use correct names for interface factoryLiam1-3/+3
2024-01-19nvdrv: use static typing for SessionId, smmu Asid typesLiam33-87/+99
2024-01-19Core: Invert guest memory depandancyFernando Sahmkow2-6/+7
2024-01-19Core: Make sure GPU Dirty Managers ae shared by all processes.Fernando Sahmkow4-15/+19
2024-01-19Core: Eliminate core/memory dependancies.Fernando Sahmkow21-54/+46
2024-01-19SMMU: Fix Right Shift UB.Fernando Sahmkow2-4/+4
2024-01-19SMMU: Fix 8Gb layout.Fernando Sahmkow2-5/+8
2024-01-19Core: Clang format and other small issues.Fernando Sahmkow40-106/+152
2024-01-19SMMU: Fix software rendering and cleanupFernando Sahmkow7-30/+24
2024-01-19SMMU: Add continuity tracking optimization.Fernando Sahmkow4-13/+63
2024-01-19SMMU: Simplify and remove old code.Fernando Sahmkow3-71/+13
2024-01-19SMMU: Add Android compatibilityFernando Sahmkow9-50/+42
2024-01-19GPU-SMMU: Estimate game leak and preallocate device region.Fernando Sahmkow9-27/+329
2024-01-19GPU SMMU: Expand to 34 bitsFernando Sahmkow12-29/+86
2024-01-19SMMU: Fix Unregister on MultiAddressFernando Sahmkow1-1/+1
2024-01-19SMMU: Implement physical memory mirroringFernando Sahmkow8-40/+226
2024-01-19SMMU: Initial adaptation to video_core.Fernando Sahmkow79-1263/+1262
2024-01-19SMMU: Implement backing CPU page protect/unprotectFernando Sahmkow4-6/+141
2024-01-19NVDRV: Implement sessions and initial implementation of SMMUFernando Sahmkow37-100/+260
2024-01-19Core: Initial implementation of device memory mappingFernando Sahmkow6-0/+459
2024-01-18input_common: Add android input engineNarr the Reg6-0/+136
2024-01-18vi: check layer state before opening or closingLiam4-12/+27
2024-01-18Update based on feedbackAndrew Pilley1-2/+2
2024-01-18android: Save overlay data while using emulation fragmentt8952-7/+4
This should have been fully embraced before but the items within the popup menu and the adjust controls dialog fell through. This ensures that everything related to the overlay is saved during emulation and can't be lost during a crash.
2024-01-18nvnflinger: ensure display abandonment considers all layers and future layersLiam3-3/+15
2024-01-17Allow -u to accept a username string in addition to index, and suppress the User selector even if settings requires it to be shown for one instance only.Andrew Pilley4-4/+40
2024-01-16renderer_vulkan: recreate swapchain when frame size changesLiam1-1/+1
2024-01-16core: hid: Disable special features before disconnecting the controllersNarr the Reg1-0/+1
2024-01-16service: set: Implement stubbed functionsNarr the Reg8-64/+232
2024-01-16service: set: Refractor setting serviceNarr the Reg14-588/+619
2024-01-16service: hid: Fully implement abstract vibrationNarr the Reg31-448/+905
2024-01-16Fix typos in masterViktor Szépe2-5/+5
2024-01-16Fix typos in arrays.xmlViktor Szépe1-1/+1
2024-01-16Fix one more typoViktor Szépe1-1/+1
2024-01-16Fix more typosViktor Szépe36-86/+86
2024-01-15service: nfc: Create backup when none existNarr the Reg1-1/+4
2024-01-15android: Fix overlay toggle orderingt8951-2/+2
2024-01-14core: Support multiple modules per patcherGPUCode6-79/+154
2024-01-14android: Show version name instead of git hash in the about fragmentt8953-6/+6
2024-01-14android: Clean up git commands in build.gradlet8951-56/+18
2024-01-13android: Move ktlintCheck to yuzu-verifyt8951-1/+8
2024-01-13service: acc: Only save profiles when profiles have changedgerman773-3/+21
2024-01-13loader: fix homebrew nro registrationLiam1-6/+6
2024-01-13kernel: optimize page free on shutdownLiam3-63/+18
2024-01-13kernel: fix debugger and process list lifetimeLiam9-107/+160
2024-01-13kernel: fix page leak on process terminationLiam4-25/+91
2024-01-12audio: fetch process object from handle tableLiam8-35/+85
2024-01-12service: hid: Create abstracted pad structuregerman7751-43/+3333
2024-01-11shader_recompiler: emulate 8-bit and 16-bit storage writes with cas loopLiam3-8/+86
2024-01-11fsp-srv: use program registry for SetCurrentProcessLiam20-272/+362
2024-01-11shader_recompiler: fix Offset operand usage for non-OpImage*GatherLiam2-23/+55
2024-01-11android: Fix added driver patht8951-1/+1
While this didn't break anything, the extra separator was unnecessary
2024-01-11android: Add button to use global driver valuet8954-2/+65
2024-01-11android: Reload driver data on importing user datat8951-0/+3
2024-01-11android: Rework driver fragmentt8954-110/+84
Applies settings upon selection and uses a new Driver model to represent the information in-view. Also switches from an async diff list to a plain one.
2024-01-11android: Refactor DriverAdapter to use AbstractSingleSelectionListt8951-73/+23
2024-01-11android: Create generic single selection list adaptert8952-0/+114
2024-01-11android: Refactor recycler view adapters to use AbstractListAdaptert8957-236/+140
2024-01-11android: Create generic list adapter for basic listst8951-0/+98
Simplifies basic setup for lists
2024-01-11android: Refactor async diff adapters to use AbstractDiffAdaptert8953-172/+92
2024-01-11android: Create generic adapter and viewholdert8952-0/+51
Eliminates repeated code associated with every async differ list
2024-01-08Fix typos in src/core (#12625)Viktor Szépe28-116/+116
* Fix typos in src/core * Fix typo correction * Fix indentation of MemoryStateNames * Fix indent
2024-01-08Save profile name usedflodavid7-12/+55
- Save the profile name in global config - Read the profile name when reading the global config
2024-01-08vi: connect vsync event handle lifetime to application display service interfaceLiam4-24/+11
2024-01-08server_manager: respond to session close correctlyLiam1-2/+7
2024-01-08vi: fix name of nvnflingerLiam2-27/+27
2024-01-08Fix "Propietary" typo elsewhereViktor Szépe2-4/+4
2024-01-07Fix typos in video_coreViktor Szépe18-52/+52
2024-01-07service: hid: Delete shared memory handle when unusedgerman771-0/+1
2024-01-07service: hid: Make sure there's an active aruid handlegerman771-0/+5
2024-01-07service: hid: Implement GetLastActiveNpadgerman773-3/+14
2024-01-07service: hid: Implement AssigningSingleOnSlSrPressgerman773-2/+24
2024-01-07service: hid: Implement SetNpadSystemExtStateEnabledgerman775-8/+34
2024-01-07service: set: Rename filesgerman7714-21/+21
2024-01-07service: hid: Implement CaptureButtonAssignmentgerman775-8/+57
2024-01-07service: set: Use official namesgerman779-359/+373
2024-01-06service: hid: Add functions needed by QlaunchNarr the Reg2-6/+60
2024-01-06service: hid: Handle pending deleteNarr the Reg3-21/+18
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg141-438/+481
2024-01-04android: Re-add global save managert8956-0/+264
Reworked to correctly collect and import/export saves that could exist in either /nand/user/save/000...000/<user id> or /nand/user/save/account/<user id raw string>
2024-01-04android: Save global config synchronously in onCloseGameFoldersFragmentt8951-2/+3
Could cause multiple global saves at once that went untracked previously
2024-01-04frontend_common: config: Only write setting related to opened config filet8951-2/+3
If we tried to write a switchable setting to config that was not using global in the global config instance, we could write the per-game setting accidentally. This ensures that we always use the global setting for global config and the currently applied setting for custom config.
2024-01-04android: Don't save settings on config destructiont8952-7/+0
Android doesn't have a proper way of destroying its config object so it's best to stick to the built-in methods to control saving config
2024-01-04android: Update orientation on emulation fragment startt8951-0/+1
2024-01-04android: Expose all orientation locking optionst8954-14/+48
2024-01-04service: hid: Remove data races when handling shared memoryNarr the Reg17-29/+45
2024-01-04service: hid: Implement NpadResource and NpadDataNarr the Reg19-676/+1930
2024-01-04android: add basic support for google game dashboardEmma2-0/+10
2024-01-03frontend_common: config: Move WriteIntegerSetting definition to headert8952-16/+11
Fixes a compiler error where the compiler could not see the definition of the method in qt_config and others.
2024-01-03android: Add internal option to disable compression for zip exportst8953-3/+15
Disables compression for user data and save exports
2024-01-02KThread: Send termination interrupt to all cores a thread has affinity toMerry1-4/+4
KThread::RequestTerminate may run from a thread which is not the CurrentCore, and thus masking this out is erroneous.
2024-01-02yuzu: Add per-game linux gamemode configurationflodavid14-0/+197
2024-01-02fix linux config values not savedflodavid2-0/+32
2024-01-02yuzu: Use displayed port on direct connectNarr the Reg1-1/+1
2024-01-02android: Use case-insensitive check for addon directoryt8951-1/+1
2024-01-02android: Fix dpad position savingt8951-2/+1
Was using the wrong key previously
2023-12-31Vulkan: Only recreate swapchain if the frame is bigger than the swap image.Fernando Sahmkow2-2/+3
2023-12-31MaxwellDMA: Don't flush the outputs of a dma copy.Fernando Sahmkow2-3/+3
2023-12-31service: hid: Use applet resource to get latest shared memory handleNarr the Reg37-230/+711
2023-12-30android: Expose touchscreen togglet8953-0/+13
2023-12-30android: Don't apply material you below android 12t8951-1/+8
Since you can manually change the config file now, users can force the material you theme under Android 12 and that will result in crashing on startup. This swaps to the default theme if that happens.
2023-12-30frontend_common: config: Do not count "." as a special charactert8951-3/+2
It would break reading floating point settings
2023-12-30android: Migrate in-game overlay settings to init89527-847/+1209
2023-12-30frontend_common: config: Refactor WriteSetting to stricter typest8955-134/+188
Previously this could cause problems if a version of the template generated for WriteSetting didn't use the type you needed (e.g. floating point values). Now these are all ready without having to be used within frontend_common first.
2023-12-30android: Migrate theme settings to init8958-61/+127
2023-12-30android: Update Kotlin version to 1.9.20t8952-2/+2
2023-12-30yuzu_cmd: Report more SDL errorsNikita Strygin2-2/+3
2023-12-30Fix Wayland appIdReilly Brogan1-0/+4
On compliant Wayland compositors windows are matched to their .desktop files by comparing the appId window property to the name of the .desktop file without the .deskop extension. Qt5/6 by default set this property to the basename of the binary (IE `yuzu`) which does not match the expected value `org.yuzu_emu.yuzu`. We can fix this and fix window associations on compliant compositors (like Plasma) by using the `setDesktopFileName()` function which will set the appId window property. This is a no-op on X11 so is safe to be ran without guards.
2023-12-29android: Expose anisotropic filtering settingt8955-1/+37
2023-12-29android: Center switch setting title when no description is presentt8951-1/+1
2023-12-29android: Pair fastmem toggle to CPU Debug togglet8951-0/+1
Hides fastmem toggle when CPU Debugging is disabled
2023-12-29jit: use code memory handles correctlyLiam4-18/+146
2023-12-28k_capabilities: simplify KTrace map skip logicLiam1-2/+4
2023-12-28ips_layer: prevent out of bounds access with offset exceeding module sizeLiam1-0/+7
2023-12-27heap_tracker: use linear-time mapping evictionLiam2-9/+28
2023-12-27shader_recompiler: use default value for clip distances arrayLiam1-7/+13
2023-12-27shader_recompiler: respect clip distance limits in indexed storeLiam1-18/+28
2023-12-26video_core: Fix buffer_row_length computation for linear compressed texturesGPUCode3-33/+35
2023-12-26 assert/logging: Stop the logging thread and flush the backends before crashingFearlessTobi3-0/+23
Co-Authored-By: SachinVin <26602104+SachinVin@users.noreply.github.com>
2023-12-26core: track separate heap allocation for linuxLiam16-93/+597
2023-12-25ring_buffer: Use feature macroFearlessTobi1-1/+1
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
2023-12-25main: Remove unused enumFearlessTobi1-8/+0
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
2023-12-25am/jit: reference memory instance from contextLiam3-5/+7
2023-12-25kernel: remove unecessary process member from handle tableLiam2-6/+3
2023-12-25service: fetch objects from the client handle tableLiam12-66/+45
2023-12-23kernel: use simple mutex for object list containerLiam3-31/+10
2023-12-23core_timing: block advance thread while clearing and signal afterLiam1-1/+2
2023-12-23core_timing: handle concurrent unscheduling of looping eventsLiam2-4/+15
2023-12-23core_timing: use static typing for no-wait unscheduleLiam3-8/+12
2023-12-23core_timing: remove user data valueLiam15-104/+79
2023-12-23renderer_vulkan: skip SetObjectNameEXT on unsupported driverLiam1-1/+3
2023-12-23renderer_vulkan: demote format assert to error logLiam1-8/+8
2023-12-23kernel: fix resource limit imbalanceLiam3-8/+7
2023-12-23kernel: restrict nce to applicationsLiam3-6/+6
2023-12-23general: properly support multiple memory instancesLiam17-102/+102
2023-12-23k_server_session: remove scratch buffer usage in favor of direct copyLiam1-39/+124
2023-12-23k_server_session: process for guest serversLiam6-250/+1135
2023-12-23kernel: instantiate memory separately for each guest processLiam17-127/+82
2023-12-22Settings: Indicate AMD's compatibility with SPIR-V on OGLAmeer J1-1/+1
2023-12-22spirv_emit_context: Fix BaseInstance for OGL spirvAmeer J1-1/+1
2023-12-22shader_recompiler: ensure derivatives for textureGrad are f32Liam1-1/+11
2023-12-21shader_recompiler: use float image operations on load/store when requiredLiam10-39/+184
2023-12-21qt: settings: Fix per-game vsync comboboxt8952-30/+68
2023-12-21android: Fix "No games found" text appearing on loadt8951-6/+8
2023-12-21service: hid: Fix crash on InitializeVibrationDeviceNarr the Reg1-1/+1
2023-12-21emit_glsl_image: Use inlined texelFetch offsetsAmeer J2-7/+7
2023-12-21gl_device: Remove AMD blacklists that are no longer applicableAmeer J1-5/+6
2023-12-20gl_rasterizer: Less spammy log for unimplemented resetsAmeer J1-1/+1
2023-12-20nce: hide shadowing warnings from dynarmic headersLiam2-2/+6
2023-12-20gl_rasterizer: Implement DrawTransformFeedback macroAmeer J8-2/+90
2023-12-20vulkan_common: unbreak build with Vulkan-Headers 1.3.274Jan Beich1-0/+2
src/video_core/vulkan_common/vulkan_wrapper.cpp:293:13: error: enumeration value 'VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR' not handled in switch [-Werror,-Wswitch] switch (result) { ^~~~~~
2023-12-19OpenGL: Add GL_PRIMITIVES_GENERATED and GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queriesAmeer J6-49/+93
2023-12-19gl_rasterizer: Silence spammy logsAmeer J1-6/+8
2023-12-19gl_buffer_cache: Reintroduce NV_vertex_buffer_unified_memoryAmeer J5-8/+60
Workaround Nvidia drivers complaining when a buffer is bound as both a vertex buffer and transform feedback buffer
2023-12-19nce: increase handler stack sizeLiam1-1/+1
2023-12-19renderer_vulkan: don't pass null view when nullDescriptor is not supportedLiam2-8/+26
2023-12-19nce: fix read size in simd immediate emulationLiam1-1/+2
2023-12-19yuzu: Read/Save category PathsNarr the Reg1-0/+4
2023-12-19shader_recompiler: use minimal clip distance arrayLiam3-2/+9
2023-12-19shader_recompiler: ignore clip distances beyond driver support levelLiam6-1/+14
2023-12-19yuzu: Make language persistent and remove symbols_pathNarr the Reg4-12/+6
2023-12-18oboe_sink: specify additional required parametersLiam1-13/+27
2023-12-18vk_query_cache: Fix prefix sum max_accumulation_limit logicAmeer J1-3/+6
2023-12-18fs: implement OpenDirectoryModeLiam2-8/+17
2023-12-18oboe_sink: set low latency performance modeLiam1-0/+2
2023-12-18Revert "video_core: use interval map for page count tracking"liamwhite7-73/+79
2023-12-17renderer_vulkan: work around turnip binding bug in a610Liam2-13/+23
2023-12-17path_util: copy output for GetParentPathLiam2-4/+4
2023-12-17android: add oboe to audio configurationLiam2-0/+3
2023-12-17oboe_sink: implement channel count queryingLiam1-12/+35
2023-12-17android: add oboe audio sinkLiam5-4/+286
2023-12-17renderer_vulkan: allow up to 7 swapchain imagesLiam4-6/+6
2023-12-16nvnflinger: mark buffer as acquired when acquiredLiam3-3/+37
2023-12-16audio: skip coefficient normalization for downmixLiam1-4/+2
2023-12-16set: add cstddef for offsetof macroLiam2-0/+2
2023-12-16Have GetActiveChannelCount return the system channels instead of host device channelsKelebek15-20/+43
2023-12-16gl_buffer_cache: Fix tfb binding typoAmeer J1-1/+1
2023-12-16ssl: fix output byte buffer size issue (#12372)liamwhite1-3/+3
2023-12-16Make system settings persistent across bootsKelebek113-406/+1617
2023-12-15common: use memory holepunching when clearing memoryLiam4-17/+42
2023-12-15video_core: lock interval map updateLiam2-0/+4
2023-12-15video_core: use interval map for page count trackingLiam7-79/+69
2023-12-15core: Make sure npad is initializedNarr the Reg2-1/+4
2023-12-14renderer_vulkan: bound async presentation queue growthLiam2-3/+12
2023-12-14core: hid: Clean up headersNarr the Reg20-36/+16
2023-12-14service: hid: Allow to create multiple instances of shared memoryNarr the Reg40-842/+1065
2023-12-12android: Rework InstallableProperty view with icont8956-11/+191
2023-12-12android: Prevent editing non-savable settings in per-game settingst8954-0/+23
2023-12-12android: Pre-select custom config in game launch dialogt8951-2/+2
2023-12-12android: Use confirmation dialog when deleting shader cachet8953-15/+45
2023-12-12android: Always use custom settings when launched from intentt8951-2/+3
2023-12-12settings: Allow vsync to be changed per-gamet8951-1/+1
2023-12-12android: Adjust variable name format for native configt8951-6/+6
2023-12-12android: Add game dir entries to FilesystemProvidert8956-9/+80
Allows us to correctly parse update metadata
2023-12-12android: Fix games list loading thread safetyt8951-36/+38
Previously we relied on a stateflow for reloading state. Now we use an atomic boolean.
2023-12-12android: Collect latest information for games listt8952-2/+3
2023-12-12android: Remove global save import/exporter UIt8951-24/+0
The original implementation exposed here was fundamentally broken where it would not export or import all of your saves depending on your user profile configuration
2023-12-12android: Compare all properties between games in DiffCallbackt8952-1/+2
2023-12-12android: Expose MemoryUtil size formatting functiont8952-2/+3
2023-12-12android: Add JNI initialization information for Game classt8952-0/+64
Unused in this PR, but will be useful later
2023-12-12settings: Allow CPU Debug and Fastmem to be changed per-gamet8951-4/+4
2023-12-12android: Add per-game driverst89514-95/+218
2023-12-12android: Add per-game settingst89527-83/+303
2023-12-12android: Add Game propertiest89540-253/+2227
This commit has the UI for viewing a game's properties on long-press and some links to useful tools like - Game info - Shortcut to settings (global in this commit) - Addon manager with installer - Save data manager - Option to clear all save data - Option to clear shader cache
2023-12-12frontend_common: Fix settings reload bugt8951-0/+1
This clears the touch_from_button_maps array before we read new data into it because this read duplicate data on a reload otherwise.
2023-12-12android: Refactor settings to expose more optionst89534-353/+324
In AbstractSetting, this removes the category, androidDefault, and valueAsString properties as they are no longer needed and have replacements. isSwitchable, global, and getValueAsString are all exposed and give better options for working with global/per-game settings.
2023-12-12configure_debug: Fix small typoFearlessTobi1-1/+1
2023-12-12vi: fix confusion between closing and destroying layersLiam8-42/+74
2023-12-12nce: adjust initialization for repeated callsLiam1-8/+11
2023-12-11nce: implement instruction emulation for misaligned memory accessesLiam9-44/+3850
2023-12-10service: hid: Improve CreateAppletResource implementation and free resourcesgerman776-13/+149
2023-12-10core: Use single instance of profile managergerman7713-73/+94
2023-12-10sm:: fix tipc deserializationLiam2-7/+25
2023-12-09settings: Clearer NCE error messagesGPUCode1-2/+6
2023-12-09ro: add separate ro serviceLiam9-634/+1147
2023-12-09fbshare: set external format correctlyLiam1-0/+1
2023-12-09fs: don't enumerate hidden savedata size fileLiam3-5/+13
2023-12-09service: populate pid and handle table from clientLiam3-13/+19
2023-12-09service: use interface factory in server managerLiam5-23/+37
2023-12-09debug: fix reading of module namesLiam1-1/+4
2023-12-09android: Listen for directory selection in viewmodelt8954-8/+33
Fixes broken game directory selection setup flow
2023-12-09kernel: fix single coreLiam1-1/+1
2023-12-09settings: Enable NCE by default on capable systemst8951-4/+10
2023-12-07kernel: implement light IPCLiam18-20/+813
2023-12-07service: hid: Introduce proper AppletResource emulationNarr the Reg10-13/+526
2023-12-06kernel: implement remaining IPC syscallsLiam6-105/+244
2023-12-06Improve path splitting speedBreadFish645-28/+38
2023-12-06codec: Update to use av frame flagslat9nq1-1/+6
Resolves Clang -Wdeprecated-declarations warning from interlaced_frame
2023-12-05arm: fix context save of vector regsLiam1-6/+4
2023-12-05frontend_common: Use optional for language defaultt8951-1/+2
2023-12-04core: refactor emulated cpu core activationLiam46-3274/+2926
2023-12-04texture_cache: fix max_element comparison functionLiam1-1/+1
2023-12-03renderer_opengl: remove srgb conversion logicLiam3-9/+2
2023-12-03renderer_vulkan: do not recreate swapchain for srgbLiam11-74/+71
2023-12-03fsmitm_romfsbuild: optimize for data localityLiam5-85/+82
2023-12-03romfs: cache file and directory metadata tablesLiam1-28/+55
2023-12-02nce: fix pre-text patch for single modulesLiam1-0/+2
2023-12-02file_sys: handle null romfsLiam5-20/+16
2023-12-02texture_cache: use pedantic type namesLiam3-6/+6
2023-12-02android: Don't reload filesystem on update installt8951-3/+0
2023-12-02host_memory: move MAP_ALIGNED_SUPER attempt after 448d4815deceJan Beich1-13/+11
src/common/host_memory.cpp:410:14: error: unused function 'ChooseVirtualBase' [-Werror,-Wunused-function] 410 | static void* ChooseVirtualBase(size_t virtual_size) { | ^~~~~~~~~~~~~~~~~
2023-12-02host_memory: allow missing MAP_NORESERVE on FreeBSD after 448d4815deceJan Beich1-0/+4
src/common/host_memory.cpp:408:47: error: use of undeclared identifier 'MAP_NORESERVE' MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, -1, 0); ^
2023-12-01vk_blit_screen: Use correct format for fxaa renderpassGPUCode1-1/+1
2023-12-01service: nfc: Don't tag amiibos as corrupted if they are loaded as read onlyNarr the Reg1-5/+5
2023-11-30renderer_vulkan: adjust window origin and swizzle independentlyLiam1-4/+10
2023-11-30cmake: prefer system gamemode libraryAlexandre Bouvier2-2/+2
2023-11-30renderer_vulkan: exclude more qcom drivers from extensionsLiam2-19/+25
2023-11-30cmake: sync gamemode conditionals with code after 5eec980a2d71Jan Beich1-1/+1
FAILED: bin/yuzu ld: error: unable to find library -lgamemode FAILED: bin/yuzu-cmd ld: error: undefined symbol: Common::Linux::StartGamemode() >>> referenced by yuzu.cpp >>> src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/yuzu.cpp.o:(main) ld: error: undefined symbol: Common::Linux::StopGamemode() >>> referenced by yuzu.cpp >>> src/yuzu_cmd/CMakeFiles/yuzu-cmd.dir/yuzu.cpp.o:(main)
2023-11-29core: Rename patcher fileGPUCode7-7/+7
2023-11-29general: conditionally compile gamemode on linux onlyLiam2-1/+2
2023-11-29cmake: Move HAS_NCE to root cmakeGPUCode1-1/+1
* So we can use it in common
2023-11-28android: Save global settings in onStopt8956-63/+11
2023-11-28android: Multi directory UIt89527-59/+837
2023-11-27set: don't load version nca with null romfsLiam1-1/+3
2023-11-27Fixed controller applet crashing when on FW17+FrozenAra4-3/+30
2023-11-27GLSL: Prefer known used cbuf sizesAmeer J1-1/+4
2023-11-27qt: add cpu_backend configurationamazingfate8-6/+54
2023-11-27video_core: fix mac compileLiam1-2/+2
2023-11-27general: fix mac compileLiam2-1/+3
2023-11-27loader: fix gcc compileLiam1-1/+1
2023-11-26service: nfc: Validate mii datagerman774-34/+39
2023-11-26service: am: Create random mii for cabinet appletgerman771-1/+2
2023-11-26cmake: prefer system simpleini libraryAlexandre Bouvier2-1/+2
2023-11-26android: input: Flip abxy on backbone labs controllersgerman771-0/+19
2023-11-25time: undef GetCurrentTime for WindowsLiam1-0/+5
2023-11-25cmake: move gamemode target include into its fileflodavid1-1/+0
2023-11-25yuzu: create linux group in general settingsflodavid14-79/+172
- Create files dedicated to starting and stopping gamemode functions - Use them in yuzu and yuzu_cmd modules
2023-11-25yuzu: integrate gamemode support on linuxxcfrg8-1/+89
2023-11-25android: input: Flip abxy on redmagic controllersgerman771-0/+19
2023-11-25oaknut: Address warningsGPUCode1-4/+0
2023-11-25host_memory: Simplify randomness generationGPUCode1-11/+2
2023-11-25Address more review commentsGPUCode8-19/+84
2023-11-25loader: apply nso patch to offset program imageLiam1-4/+6
2023-11-25arm_nce: skip data aborts for crash handling parityLiam1-3/+11
2023-11-25android: show current backend in fps overlayLiam3-1/+16
2023-11-25arm: Print backtrace on data abortGPUCode1-0/+2
2023-11-25patch: check offsets from first code wordLiam1-3/+4
2023-11-25core: Define HAS_NCE macroGPUCode10-16/+26
2023-11-25common: Enforce fastmem for nce usageGPUCode1-1/+1
2023-11-25arm_nce: skip dc cvac on possibly write-protected areasLiam1-3/+1
2023-11-25Address some review commentsGPUCode11-34/+29
2023-11-25android: Add cpu bakend gui toggleGPUCode10-8/+42
2023-11-25arm: Implement native code execution backendLiam30-47/+1799
2023-11-25device_memory: Enable direct mapped addresses for nceGPUCode5-8/+21
2023-11-25settings: Add cpu backend settingGPUCode3-0/+17
2023-11-25kernel: Manually specify aslr region startLiam8-18/+25
2023-11-25core: Respect memory permissions in MapGPUCode6-58/+117
2023-11-25host_memory: Switch to FreeRegionManagerLiam2-29/+67
2023-11-25host_memory: ensure map base is between 36 and 39 bitsLiam1-2/+58
2023-11-25common: Add free region manager--author=Liam2-0/+56
* Abstraction for placeholder region tracking in host_memory
2023-11-25common: Add libc sigaction hookGPUCode3-0/+68
2023-11-25yuzu: Constrain mouse in render window when emulatedNarr the Reg5-54/+65
2023-11-24yuzu: Display firmware versionNarr the Reg4-33/+98
2023-11-24vulkan_device: add names for more driverID enumeration valuesLiam2-11/+41
2023-11-24renderer_vulkan: exclude steam deck oled from force max clock settingLiam1-1/+2
2023-11-24core: hid: Ensure output devices are initializedNarr the Reg2-0/+51
2023-11-23query_cache: demote report synced unreachable to assertLiam1-1/+1
2023-11-23frontend_common: Don't specify default value for screenshot_patht8951-2/+1
2023-11-23frontend_common: Don't load config files that we fail to opent8951-0/+10
2023-11-22frontend_common: Add option to read unsigned integerst8953-2/+34
2023-11-21game_list_worker: Explicit caputure of 'this'Merry1-1/+1
2023-11-21shared_widget: Explicit capture of 'this'Merry1-2/+2
2023-11-21frontend_common: Set config array size to 0 if the array is ended without changing its indext8951-4/+8
2023-11-21frontend_common: Manually handle opening config filet8951-2/+31
SimpleIni only has the ability to use ANSI strings for config paths so this breaks opening configs on paths with special characters. This ensures that we open the right path on each platform.
2023-11-21frontend_common: Add special config case for unmapped windows network drivest8951-1/+9
Normally we save paths with '/' as the delimiter for each segment but when you manually select a network drive instead of using a mapped location, this would break. This ensures that if the read filesystem location starts with '//', we keep that pattern.
2023-11-21frontend_common: Disable UTF-8 BOM in configt8951-1/+1
2023-11-21android: Rework config lifecyclet8956-6/+31
Exposes options for initializing, unloading, reloading, and saving settings that let us update the config much more granularly based on what's happening in the UI.
2023-11-21android: Remove ini4jt8952-43/+0
2023-11-21common: settings: Add ifdefs to define android's default settingst8951-6/+36
2023-11-21general: Remove iniht8952-2/+2
2023-11-21config: Unify config handling under frontend_commont89553-3435/+2539
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings. As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-21vk_texture_cache: add workaround for nullDescriptor on MaliLiam2-2/+17
2023-11-21service: hid: Create appropriate hid resourcesNarr the Reg36-1415/+1625
2023-11-20Stub CheckBlockedUserListAvailabilitydaisymlleung1-1/+12
2023-11-20service: hid: Ensure resource manager is initializedSquall-Leonhart1-1/+1
Ensures the proper initialization of the IActiveVibrationDeviceList. By using GetResourceManager() instead of resource_manager, we make sure that the IActiveVibrationDeviceListis initialized before it's used, preventing potential null issues. Fixes #12088
2023-11-19android: Use file picker intent for save exportert8953-72/+33
2023-11-19gl_buffer_cache: Batch vertex/tfb buffer bindingAmeer J5-64/+36
2023-11-19android: Use path instead of programId for recently added / played keyt8951-2/+2
2023-11-19android: Select recently played games by default in search tabt8951-0/+1
2023-11-19android: Allow up to 400% for the limit speed percent settingt8951-1/+1
2023-11-19Implemented qlaunch version of the controller appletFrozenAra16-89/+594
2023-11-19qt: fix linux buildLiam1-0/+3
2023-11-19renderer_vulkan: ignore viewport stores on non-supporting driversLiam5-1/+11
2023-11-19Vulkan: Be more generous with pipeline workers for AndroidFernando Sahmkow3-5/+31
2023-11-18Buffer Cache: Eliminate clears on Indirect buffersFernando Sahmkow2-6/+1
2023-11-18shader_recompiler: Fix spelling of "derivate" (#12067)Ameer J10-60/+61
2023-11-18gl_graphics_pipeline: GLASM: Fix transform feedback attribs buffer modeAmeer J2-1/+6
GL_SEPARATE_ATTRIBS only applies when multiple buffers are being used, else GL_INTERLEAVED_ATTRIBS handles the cases for a single buffer with potentially more than one attribute
2023-11-18shader_recompiler: add byteswap pattern workaround for NvidiaAmeer J4-0/+82
2023-11-17opus: fix stereo stream count check in multistream decoder objectLiam2-2/+2
2023-11-17service: hid: Introduce firmware settings and update activate controller callsNarr the Reg12-54/+295
2023-11-16video_core: refactor video frame and packet parsingLiam11-374/+705
2023-11-16service: hid: Implement xpad callsNarr the Reg2-36/+139
2023-11-15service: hid: Split hid.cpp into individual interfacesNarr the Reg17-3070/+3276
2023-11-15android: Disable PiP by defaultt8951-1/+1
2023-11-15Query Cache: Disable write syncing on AndroidFernando Sahmkow1-0/+13
2023-11-15android: Don't enter PiP during startup or shutdownt8951-1/+3
2023-11-14android: Add drop shadow to FPS countert8951-2/+3
Also let the style control the text size
2023-11-14fix apple clang build againLiam1-2/+2
2023-11-14core_timing: lock event queue accessLiam2-1/+3
2023-11-14android: Use suspend function for creating dynamic shortcutst8952-24/+35
If the coil loader ever got stuck when creating a dynamic shortcut icon, the app would freeze. This would happen most notably when booting nca format games. This pushes that process to a separate coroutine that can be cancelled by the main activity's lifecycle.
2023-11-13core: check for thread dpc before eretLiam1-8/+8
2023-11-13audio_core: ignore renderer wait when stream is pausedLiam4-4/+18
2023-11-13android: Use the same transition animation between every fragment in settingst8953-28/+4
The animation that I used for entering search was prone to weird visual bugs and could appear visually jarring. This just makes things appear more consistent.
2023-11-13android: Use more padding on top of each settings headert8951-1/+2
2023-11-13android: Remove dividers between each settingt8951-7/+0
2023-11-13android: Add icons and descriptions to the first-level advanced settings paget89513-47/+165
Additionally adjusts padding to place the icons in-line with the back button in the top app bar and makes the text for normal settings appear in-line with the expanded top app bar title.
2023-11-13android: Remove general section from settingst8952-11/+3
Limit speed options were moved to system, cpu accuracy was moved to debug, and PiP was moved to graphics.
2023-11-12android: Remove "auto" region optiont8951-2/+0
This doesn't exist and if you clicked it, your region would be set to Taiwan.
2023-11-12Vulkan: Add a final barrier to the upload command bufferFernando Sahmkow1-0/+8
2023-11-12renderer_vulkan: Introduce separate cmd buffer for uploadsGPUCode19-144/+309
2023-11-12android: Add a landscape-specific layout to the about paget8951-0/+233
Moves the logo to the side to fit more information on screen
2023-11-12android: Shrink logo in about paget8951-5/+5
2023-11-12android: Shrink logo in settings tabt8952-6/+7
Adjusts padding between the cards and logo to fit appropriately
2023-11-12android: Fix top app bar tint being cut off in the about fragmentt8951-4/+4
Adjust margin on the toolbar, not the app bar
2023-11-12Memory: Fix invalidation handling from the CPU/ServicesFernando Sahmkow3-7/+22
2023-11-12core: hid: Split SL and SR buttonsgerman7713-185/+382
2023-11-11yuzu: Keep homebrew on the recently played listgerman771-4/+5
2023-11-11k_capabilities: ignore map region when KTrace is disabledLiam1-0/+3
2023-11-11gdbstub: read module information from memory layoutLiam1-47/+118
2023-11-11service: irs: Implement moment image processorNarr the Reg6-17/+169
2023-11-10k_page_table: fix shutdownLiam1-7/+0
2023-11-10k_page_table: use more precise icache invalidatesLiam1-4/+9
2023-11-10kernel: add KPageTableBaseLiam31-4879/+7204
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2023-11-10yuzu: Make mute audio persistentNarr the Reg2-7/+7
2023-11-10yuzu: Save mute when in background settingNarr the Reg5-6/+19
2023-11-10Revert "renderer_vulkan: add locks to avoid scheduler flushes from CPU"Fernando Sahmkow4-23/+10
This reverts commit d9dde7e6f3a90f58d642808900ddd558da21f762.
2023-11-10android: Hide loading animation on first framet8954-4/+13
2023-11-09Fix out_icon_path = Common::FS::GetYuzuPath(Common::FS::YuzuPath::IconsDir);Franco M1-1/+1
2023-11-09Minor changesFranco M1-2/+2
2023-11-08Final change, i thinkFranco M1-6/+5
2023-11-08CMakeLists: Add option to call lupdate directlylat9nq1-9/+42
qt_create_translation silently fails to run at all on my system. Since there is no error, I was unable to determine a fix. This sidesteps the convenience function by setting up the rules ourselves. This is left as an option since this path likely does not work on Windows.
2023-11-08shared_translation: Call tr for each stringlat9nq1-249/+268
Qt can't parse tr called within a macro, so we must call it on each string. shared_translation: Remove redundant include
2023-11-08Allocate resources for test window before getting system infoLucas Reis1-0/+1
2023-11-07Fixed clangFranco M1-2/+3
2023-11-06Update CMakeLists.txtSamay Navale1-2/+2
2023-11-06Update CMakeLists.txtSamay Navale1-5/+5
Updated Comments for better readability.
2023-11-06android: Simplify FPS counter paddingCharles Lombardo2-24/+5
2023-11-06android: Color the FPS counter whiteCharles Lombardo1-2/+0
2023-11-06service: am: Set the correct album program idgerman771-2/+2
2023-11-05renderer_vulkan: render on bottom of surface clip when flipped (#11894)liamwhite1-1/+1
2023-11-05yuzu: Only store games in the recently played listgerman772-4/+31
2023-11-05service: acc: Ensure proper profile sizegerman772-12/+50
2023-11-05 modified: src/yuzu/main.cppFranco M1-66/+7
2023-11-04core: hid: Signal color updatesNarr the Reg5-16/+42
2023-11-04Convert files to LF eolKelebek116-884/+884
2023-11-04service: hid: Silence EnableUnintendedHomeButtonInputProtectiongerman771-7/+5
2023-11-04android: Always update FPS counterCharles Lombardo3-12/+6
2023-11-04android: Don't reload log/system after loading firmware/backupCharles Lombardo5-13/+18
2023-11-04renderer_null: fixLiam1-3/+10
2023-11-03arm: NativeClock: Special handling for bad system counter clock frequency reportingCharles Lombardo1-1/+20
On some devices, checking the system counter clock frequency will return 0. Substitute in the correct values to prevent issues.
2023-11-03android: Log more system information during startupCharles Lombardo2-0/+14
Logs device manufacturer/model, SoC manufacturer/model where available, and the total system memory
2023-11-03android: Fix fetching system memory size from MemoryUtilCharles Lombardo2-19/+17
We weren't rounding up the value at a unit before (GB, MB, etc) we were rounding up the total bytes and that would do nothing. This fixes that, and the check for total system memory during first emulation start where we tried to check the required system memory against 1 gigabyte.
2023-11-03android: Update surface parameters on emulation startCharles Lombardo1-0/+9
This adds a quick update that notifies the render surface if there was a change between surface creation and emulation starting.
2023-11-03Allow 0 stereo countKelebek12-3/+3
2023-11-03service: hid: Ensure GetNextEntryIndex can't failgerman771-3/+3
2023-11-03core: hid: Fix wrong battery valuesgerman773-15/+20
2023-11-02renderer_vulkan: minimize transform feedback support logLiam1-1/+5
2023-11-01android: Adjust log lifecycleCharles Lombardo4-10/+30
Now logging will start when the frontend starts like qt does. This also adjusts the share log button to follow where we share the current log if we just returned from a game or return the old log if we haven't started a game yet.
2023-11-01android: Use yuzu logging systemCharles Lombardo4-31/+39
Now anything that's logged in the frontend will be printed into the log file
2023-11-01android: Default to player number 0 if we get an input from an unrecognized controllerCharles Lombardo1-1/+1
2023-11-01android: Adjust driver manager source stringCharles Lombardo1-1/+1
2023-11-01android: Reorganize settings tabCharles Lombardo1-33/+33
2023-11-01romfs: fix extraction of single-directory rootLiam4-40/+18
2023-11-01android: Auto-generate locale configCharles Lombardo4-18/+5
2023-11-01android: Update translations from transifexCharles Lombardo19-687/+3425
2023-11-01shader_recompiler: Align SSBO offsets in GlobalMemory functionsAmeer J7-6/+19
2023-11-01buffer_cache: Apply storage buffer alignment only to the offsetAmeer J1-8/+12
2023-11-01shader_recompiler: Align SSBO offsets to meet host requirementsAmeer J10-9/+32
Co-Authored-By: Billy Laws <blaws05@gmail.com>
2023-10-31android: Initialize filesystem components during application startCharles Lombardo2-9/+14
2023-10-31android: Implement applet launcherCharles Lombardo24-9/+703
2023-10-31service: am: Add support for LLE Software Keyboard AppletDzmitry Dubrova2-2/+80
2023-10-31qt: remove duplicate exit confirmation settingLiam3-8/+9
2023-10-31android: Reorder controller indexes and only use controllersCharles Lombardo2-6/+50
Before we could ignore controller inputs by forwarding them to player two if a non-controller was connected before and recognized as an input device.
2023-10-30android: Simplify game card layoutCharles Lombardo1-27/+18
Using a material card view to shape the image was just a waste of a layout pass. A shapeable image view does what we want and does it faster.
2023-10-30android: FileUtil: Add option to suppress log for native exists() callsCharles Lombardo2-3/+5
We often check for the existence of files that only exist in ExeFS so this can spam logcat with useless messages when scanning for games.
2023-10-30android: Fix resolving android URIs in native codeCharles Lombardo7-9/+115
2023-10-30android: Refactor game metadata collection to new fileCharles Lombardo10-102/+154
This also removes irrelevant data and adds new information from/to the Game data class and RomMetadata struct
2023-10-30android: Use header for EmulationSessionCharles Lombardo3-406/+392
2023-10-30Fix macOS buildTermynat0r1-3/+3
Added missing preprocessor macros for macOS analog to linux and freebsd
2023-10-30android: InputHandler: Convert to objectCharles Lombardo2-6/+4
This doesn't need to be an instance of a class because it doesn't hold any data. It's just all helper functions.
2023-10-30android: Removed unused ControllerMappingHelperCharles Lombardo2-75/+0
2023-10-30nvnflinger: implement consumer abandonmentLiam8-21/+60
2023-10-30nvnflinger: use graphic buffer lifetime for map handleLiam12-37/+71
2023-10-30android: Release touch on input overlay when opening in-game menuCharles Lombardo1-0/+28
2023-10-30android: Move game deserialization to another threadCharles Lombardo1-16/+23
Deserializing games from the cache in shared preferences was done on the main thread and could cause a stutter on startup.
2023-10-29core: Close all KEventsgerman776-5/+26
2023-10-29renderer_vulkan: ensure exception on surface lossLiam1-0/+6
2023-10-29Implemented wheel event for volume control in VolumeButtonFrozenAra2-2/+53
2023-10-29android: Break home settings into grid with large screensCharles Lombardo2-3/+5
2023-10-29nvidia_flags: Enable GL Threaded optimizationsAmeer J1-0/+1
2023-10-28renderer_vulkan: fix FSR croppingLiam3-70/+86
2023-10-28renderer_vulkan: fix cropping for presentationLiam2-46/+57
2023-10-27renderer_vulkan: fix viewport swizzle dirty state trackingLiam1-1/+1
2023-10-27service: am: Implement ISelfController::SaveCurrentScreenshotNarr the Reg6-17/+82
2023-10-27We dont need thatboludoz1-15/+19
2023-10-25cmake: prefer system stb headersAlexandre Bouvier4-11/+31
2023-10-25sockets: use safe access helpersLiam2-41/+38
2023-10-25nvdrv: rework to remove memcpyLiam16-225/+243
2023-10-25nvdrv: fix up remaining copy callsLiam3-17/+22
2023-10-25nvdrv: convert nvmapLiam3-60/+26
2023-10-25nvdrv: convert codec devicesLiam6-34/+29
2023-10-25nvdrv: convert nvhost_gpuLiam2-76/+49
2023-10-25nvdrv: convert nvhost_ctrlLiam2-34/+29
2023-10-25nvdrv: convert nvhost_ctrl_gpuLiam2-97/+43
2023-10-25nvdrv: add ioctl command serialization, convert nvhost_as_gpuLiam5-71/+152
2023-10-25kernel: make sure new process is in listLiam1-0/+1
2023-10-24vulkan_common: use highest API versionLiam1-1/+1
2023-10-24qt: fix game list shutdown crashLiam4-61/+112
2023-10-23service: ipc: Add third read buffer indexNarr the Reg1-0/+6
2023-10-23service: caps: Implement SaveScreenShotEx0 and variantsgerman778-13/+250
2023-10-23Add missing dowhile loops around FindBuffer callsKelebek12-6/+9
2023-10-23Manually robust on Pascal and earlierLiam1-1/+1
2023-10-22yuzu: Fix vibration reseting to 1%german771-5/+5
2023-10-22input_common: joycon: Move vibrations to a queuegerman772-2/+19
2023-10-22emit_glsl_warp: Fix shfl_in_bounds conditionalAmeer J2-4/+9
2023-10-22yuzu: Fix restore shortcuts buttonNarr the Reg3-2/+10
2023-10-22cheats: Clamp cheat names without failinggerman771-7/+16
2023-10-22kernel: fix extraneous refLiam1-1/+0
2023-10-22kernel: shutdown app before gpuLiam1-1/+1
2023-10-22kernel: signal thread on termination completedLiam1-4/+7
2023-10-22kernel: add missing TLR clearLiam1-0/+1
2023-10-22kernel: update KProcessLiam39-1016/+1811
2023-10-20set: return version info from system archiveLiam2-19/+34
2023-10-20ts: add OpenSessionLiam2-6/+40
2023-10-20common: use SetThreadDescription API for thread namesLiam1-22/+2
2023-10-20nvnflinger: fix reporting and freeing of preallocated buffersLiam2-5/+6
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2023-10-20kernel: fix incorrect calculation of used non system memory valueLiam1-1/+1
2023-10-20gdbstub: add PermissionLocked to mappings tableLiam1-4/+6
2023-10-20kernel: fix format string errorLiam1-1/+1
2023-10-20kernel: make check fully constexpr for broken msvc constant foldingLiam1-1/+1
2023-10-20k_page_table: add MapFirstGroupLiam3-34/+49
2023-10-20kernel: update KMemoryRegionType valuesLiam2-48/+80
2023-10-20k_page_table: implement PermissionLockedLiam6-26/+128
2023-10-20k_page_table: add new CheckMemoryState helperLiam2-12/+40
2023-10-20kernel: split Io memory state, add PermissionLocked attributeLiam5-92/+116
2023-10-20kernel: reshuffle ini1 size, add slab clear noteLiam4-10/+18
2023-10-19service: mii: Create random mii with nameNarr the Reg1-0/+1
2023-10-19Manually robust on Maxwell and earlierKelebek16-25/+97
2023-10-19Reverted dirty code in main.boludoz2-9/+2
2023-10-18TODO: Implement shortcut creation for Apple.boludoz3-2/+15
2023-10-18Useless code removed related to admin privileges, if it is not an error we can add it later, that is what git is for.boludoz2-7/+0
2023-10-18Deleted admin requisite (maybe it was another mistake).boludoz1-7/+1
2023-10-18general: fix build failure on clang 17Liam2-4/+4
2023-10-17yuzu: Improve behavior when clicking on controller box in Controller appletflodavid5-40/+87
- Apply changes on Controller configuration of commit 9524d70 to Controller applet - Fix regression of this previous commit: Enabling a controller in its tab did not activate previous controllers Signed-off-by: flodavid <fl.david.53@gmail.com>
2023-10-17renderer_vulkan: add locks to avoid scheduler flushes from CPULiam4-10/+23
2023-10-17Final refactorizationboludoz1-86/+45
2023-10-17service: hle: Allow to access read buffer A and X directlygerman774-46/+70
2023-10-17service: acc: Implement functions needed for profile select (#11653)Narr the Reg6-8/+91
2023-10-17Moved check.boludoz1-6/+8
2023-10-17More @liamwhite suggestions applied.boludoz2-122/+90
2023-10-16shortcut_stream.close(); fixedboludoz1-1/+1
2023-10-16Comment using fmt instead qt.boludoz1-2/+1
2023-10-16.clear() instead = ""; and switch improved.boludoz1-16/+8
2023-10-16More missed suggestionsboludoz1-6/+2
2023-10-16Sugestions and fixes.boludoz3-54/+56
2023-10-16Changes based on hardware testsSquall-Leonhart6-37/+5
Removes unnecessary d32f to bgra shader and blit functions, update vk_texture_cache to use abgr shader for d32f to BGRA formats updates abgr to d32f shader to comply with hardware tests
2023-10-16Make Clang happy.Squall Leonhart1-1/+1
2023-10-16Added missing BuildShader lineSquall Leonhart1-0/+1
Adds `convert_abgr8_to_d32f_frag(BuildShader(device, CONVERT_ABGR8_TO_D32F_FRAG_SPV)),`
2023-10-16Some improvements (suggestions)boludoz3-91/+79
2023-10-16Less code, simpler, better.boludoz3-82/+15
2023-10-16Typing and formatting errors fixed.boludoz6-54/+43
2023-10-15added missing trailing line.Squall Leonhart1-1/+1
2023-10-15Unnecessary feature removedboludoz4-99/+5
2023-10-15meant to add the unorms as wellSquall Leonhart1-1/+3
2023-10-15use texelfetch instead of texturelodSquall-Leonhart2-2/+2
2023-10-15appease the format godsSquall Leonhart1-1/+1
2023-10-15Another missing copy connected to Bravely Default IISquall-Leonhart5-0/+35
adds blit_image_helper.ConvertABGR8ToD32F and fragment shader for performing ABGR and BGRA to D32F copies
2023-10-15missed this line when editing the copypastaSquall-Leonhart1-1/+1
2023-10-15moved line to appease the format godsSquall-Leonhart1-1/+1
2023-10-15Implement missing formats for Bravely Default 2Squall-Leonhart5-0/+44
2023-10-15input_common: udp: Avoid crash when trying to map motion before client is readygerman771-0/+1
2023-10-15Fixes and improvementsboludoz3-11/+30
2023-10-15Improved shortcut: add games in applist for Windows, question for start game at fullscreen & better unicode support for some Windows path funcs.boludoz9-215/+515
2023-10-14brings back the removed If statement and adds the num_level testSquall Leonhart1-2/+9
This resolves the out of bounds read/writes in the linear swizzler, it brings back the scaled TOTK Recall bug however, pending further work in the block size calculation. Recall is not glitched in the Dynamic FPS resolution mod to the degree that it is in the native yuzu scaler, this can be a workaround for the time being. The recall effect is constructed from multiple 320x180 texture slices, it breaking may have a similar origin to https://github.com/Ryujinx/Ryujinx/pull/5640 but it may also be connected to the other deficiencies identified in the Yuzu size calculations, such as no apparent implementation of slice testing for end of slce depth as opposed to full aligned size as implemented in https://github.com/Ryujinx/Ryujinx/pull/5220
2023-10-14host1x/codecs: enable CUDA on LinuxValeri1-10/+0
2023-10-14Implement vertex array first and subsequent drawsKelebek12-1/+25
2023-10-14Revert "cmake: only add network component if qt used"Nguyen Marc1-4/+1
This reverts commit a94371f67b9da4fd1f421b2088b4366e3e58a1ad.
2023-10-14cmake: only add network component if qt usedNguyen Marc1-1/+4
2023-10-14qt: add missing target_link_libraries for discordrpcNguyen Marc1-1/+1
2023-10-14yuzu: Improve behavior when clicking on controller box in Control Configurationflodavid2-10/+27
When reducing the number of Connecter Controllers, keep the one clicked if it was not the last one of the list
2023-10-13audio: fix shutdown deadlock in audio rendererLiam1-0/+4
2023-10-13fsmitm_romfsbuild: avoid unnecessary copies of vfs pointersLiam10-85/+77
2023-10-13android: Fix incorrect assumption for driver installation validationCharles Lombardo1-12/+13
The driver was assumed to be installed at this point before I made a refactor. Now we just check if the copy operation was successful and delete the file if it fails.
2023-10-13android: Remove unnecessary flag to extract native libs in AndroidManifest.xmlCharles Lombardo1-1/+0
2023-10-13android: Update dependenciesCharles Lombardo1-7/+7
Updates to androidx navigation, lifecycle, preference, fragment, recyclerview, and core
2023-10-13android: Update ndk to 26.1.10909125Charles Lombardo1-1/+1
The new ndk uses LLVM 17.0.2 so we can remove the LLVM download and libc++ options for the android builds
2023-10-13Improvement in Directory Path Detection for Shortcuts (#11749)DanielSvoboda1-30/+38
* Improvement in Directory Path Detection for Shortcuts This pull request updates how the directory path for shortcuts is determined. The main changes are: 1. Replaced the use of environment variables to determine the path of the desktop and applications menu with `QStandardPaths::writableLocation`. This change addresses an issue where the desktop path was not correctly identified when its location was customized, as shown in the attached screenshot. 2. Added conversion from `QString` to `std::string` using `toUtf8()`, which correctly handles non-ASCII characters in directory paths. This change ensures that directory paths containing Portuguese words like "Área de trabalho" are supported. 3. Replaced directory checking using `Common::FS::IsDir()` with `QDir::exists()`. These changes should improve cross-platform compatibility and code robustness. Because it couldn't locate my desktop, which wasn't on the C drive, but on the F, and even though localization wouldn't work because it was setting it to find the 'Desktop' folder and in the computer's language it says 'Área de trabalho', that will fix for other languages too. * Update main.cpp * formatting * Update src/yuzu/main.cpp Co-authored-by: Tobias <thm.frey@gmail.com> * Update src/yuzu/main.cpp Co-authored-by: Tobias <thm.frey@gmail.com> * Update main.cpp * Update main.cpp * Update main.cpp desktopPath > desktop_Path applicationsPath > applications_Path * Update main.cpp * formatting * Update main.cpp This code will attempt to use QStandardPaths to find the applications directory. If that fails, it will resort to using the ~/.local/share/applications directory, which is a common location for application shortcuts in Linux. * Update main.cpp * formatting --------- Co-authored-by: Tobias <thm.frey@gmail.com>
2023-10-13common/polyfill_thread: use std::forward where appropriate, qualify std::move callsValeri Ochinski1-10/+11
2023-10-13qt: ensure worker cancellation is complete before clearingLiam3-6/+11
2023-10-13android: Update AGP to 8.1.2Charles Lombardo1-2/+2
2023-10-12android: Add GPU driver management fragmentCharles Lombardo32-263/+1010
Implements a GPU driver manager that saves all drivers to the user data directory and asynchronously installs drivers when they're needed.
2023-10-12k_page_table: add missing page group open when locking memoryLiam1-0/+5
2023-10-12service: caps: Remove ambiguous callNarr the Reg1-2/+2
2023-10-12fix styleF David1-2/+3
2023-10-12kernel: mark TLS accessors as noinline for non-MSVC LTOLiam2-8/+12
2023-10-12service: caps: Fix GetAlbumFileList3AaeAruid and GetAlbumFileList0AafeAruidDeprecatedNarr the Reg5-51/+134
2023-10-12yuzu: Enable to use controller to restart a gameflodavid3-18/+29
- Show the right confirm dialog if wanted - Create generic method to ask close confirmation - Add "R + Plus + Minus" default shortcut to Restart emulation
2023-10-12yuzu: Use new setting method for stop emulationFlorian6-9/+36
2023-10-12yuzu: Enable to use controller to close a gameflodavid5-32/+75
- Add General setting to choose if a confirm dialog is shown when stopping - Show the right confirm dialog if wanted - Reuse dialog window that ask to close the game - Add "L + Plus + Minus" default shortcut to Stop emulation - Create generic question dialog based on TAS dialog - It allows controller interaction on most dialogs
2023-10-12Transition MSAA images to general layout without uploading dataKelebek14-0/+33
2023-10-11Get out of render pass before query barriers, fix image names with samples > 1, remove image alias bitKelebek14-4/+9
2023-10-11jit: add support for relr-type relocationsLiam2-2/+42
2023-10-11Do not set rescaled flag when rescaling is disabledKelebek12-14/+16
2023-10-11Fix mistaken usage of info.block instead of level_info.blockSquall-Leonhart1-2/+2
Fixed an error on my part, in the last change I had mistakenly passed unadjusted block info into FullUploadSwizzles and UnswizzleImage Revert (my mistaken changing of) the construction of SwizzleParameters in UnswizzleImage and FullUploadSwizzles to use level_info.block instead of info.block. This ensures that the block information used in the swizzling process is correctly adjusted for each mip level.
2023-10-11yuzu: Save multiple resolutions per iconNarr the Reg1-28/+53
2023-10-10Clear DSP buffer after each executionKelebek12-0/+11
2023-10-10Not not allocate DeviceLocal buffers as mappedKelebek11-4/+4
2023-10-08common: add arm64 native clockLiam4-1/+134
2023-10-08qt: implement automatic crash dump supportLiam12-265/+101
2023-10-08add Z32, FLOAT, UINT, UINT, UINT, LINEAR to format lookup tableSquall Leonhart1-0/+2
Should fix and close #11711
2023-10-08service: caps: Implement album manager and reorganize serviceNarr the Reg20-521/+855
2023-10-08service: Stub multiple functions to increase stability of album appletNarr the Reg7-6/+144
2023-10-08yuzu: Add desktop shortcut support for WindowsFearlessTobi7-26/+157
Allows creating desktop shortcuts with icons for yuzu games. Co-Authored-By: Jeroen van Schijndel <13182141+roenyroeny@users.noreply.github.com>
2023-10-07update shader to confirmed format copySquall Leonhart1-1/+1
2023-10-06Allow GPUs without rebar to open multiple RenderDoc capturesKelebek14-14/+59
2023-10-06Implement X8_D24 formatKelebek110-2/+21
2023-10-05kernel: implement transfer memoryLiam5-17/+160
2023-10-05Rework nvidia architecture detection, disable push descriptor for Pascal and olderKelebek11-12/+43
2023-10-05Mark a buffer GPU modified after the buffers are confirmed, do not double synch themKelebek11-22/+24
2023-10-04lets not convert depth to greyscale since this makes the exhaust and tire smoke light gray/whiteSquall-Leonhart1-1/+1
tiresmoke should be a darker gray.
2023-10-04Fix CI Formatting checkSquall-Leonhart1-2/+2
2023-10-04Implements D32_Float to A8B8G8R8_UNORM format copySquall-Leonhart5-0/+31
Corrects some visual issues in games such as Disney SpeedStorm
2023-10-04core: Update clocks when settings are savedNarr the Reg1-0/+4
2023-10-04yuzu: Fix mute when in background settingNarr the Reg4-2/+7
2023-10-03vk_present_manager: recreate surface on any surface lossLiam6-52/+36
2023-10-03ci: fix new codespell errorsLiam10-10/+10
2023-10-02service: caps: Partially implement IAlbumAccessorServiceNarr the Reg5-15/+450
2023-10-02yuzu: Allow to launch album applet from firmwareNarr the Reg5-0/+53
2023-10-02qt: add additional romfs dump targetsLiam1-9/+17
2023-10-02k_page_table: skip page table clearing on finalizationLiam1-4/+8
2023-10-02fsp-srv: enable auto save data creation on initLiam1-0/+3
2023-10-02gdbserver: use numeric character references for unicodeLiam3-2/+21
2023-10-01android: Use application context for all FileUtil functionsCharles Lombardo8-41/+34
2023-10-01service: nfc: Implement SetRegisterInfoPrivate mii supportNarr the Reg1-7/+2
2023-10-01service: am: Implement shared bufferNarr the Reg2-10/+125
Co-authored-by: Liam <byteslice@airmail.cc>
2023-10-01service: nvnflinger: Implement shared bufferNarr the Reg12-22/+572
Co-authored-by: Liam <byteslice@airmail.cc>
2023-10-01service: ldn: Implement lp2p:m and stub IMonitorServiceNarr the Reg1-2/+89
2023-10-01service: am: Set push in arguments according to the launched appletNarr the Reg7-17/+120
2023-10-01yuzu: Allow to launch cabinet applet from firmwareNarr the Reg3-2/+77
2023-10-01Query Cache: Fix memory leak.Fernando Sahmkow2-0/+2
2023-09-30loader: don't reassign program ID on npdm reparseLiam3-1/+10
2023-09-29Don't send a double focus change messageKelebek11-3/+0
2023-09-28Enable depth test on stencil clear pathKelebek12-2/+5
2023-09-28service: mii: Fix reported bugsgerman775-4/+6
2023-09-28renderer_vulkan: fix query cache for homebrewLiam1-2/+4
2023-09-27android: Prevent crash when trying to change pages in setup fragmentCharles Lombardo1-2/+6
Sometimes when we want to change the current setup page, the current view isn't available and we try to alter the current view. This adds a guard to prevent that issue.
2023-09-27android: Prevent setup fragment crash in backgroundCharles Lombardo1-2/+4
Sometimes during onSaveInstanceState, the SetupFragment would crash the app in the background if we tried to store the state of a view.
2023-09-27android: Don't update views if binding is null in onConfigurationChangedCharles Lombardo1-0/+4
2023-09-27android: Don't wait for post to update input overlay visibilityCharles Lombardo1-9/+3
2023-09-27android: Close activity with toast if emulation has no gameCharles Lombardo2-4/+23
2023-09-27android: Correctly reload settings file during resetCharles Lombardo1-1/+2
Previously the config file wasn't being recreated when resetting all settings. Now just call into native code to recreate the settings file and reload all defaults.
2023-09-27Qt: Remove ability to install xci filesCharles Lombardo2-8/+5
2023-09-27android: Remove ability to install xci filesCharles Lombardo1-4/+0
2023-09-26android: Adjust failure dialogs for user data and firmware installersCharles Lombardo2-3/+13
2023-09-26android: Fix cancel behavior on indeterminate progress dialog fragmentCharles Lombardo1-4/+14
The dialog would previously dismiss immediately when it should stay alive until the task is cancelled completely.
2023-09-26android: Refactor zip code into FileUtilCharles Lombardo4-91/+89
2023-09-26android: Use a different string for the content install dialogCharles Lombardo2-1/+2
2023-09-26android: Fix case bug for installing game contentCharles Lombardo3-7/+19
The C++ side never made the filename lowercase when checking the extension. This just passes the pre-prepared extension to have it checked.
2023-09-26android: Consolidate installers to one fragmentCharles Lombardo30-339/+516
This also allows save imports to happen without starting a game at first.
2023-09-26settings_setting: Read audio enginelat9nq1-0/+2
This was mysteriously missing, likely from when I ported Citra fixes semi-recently.
2023-09-26fsp-srv: add GetFileSystemAttributeLiam1-0/+41
2023-09-26android: Prevent click ripple from appearing on loading cardCharles Lombardo1-1/+2
2023-09-26android: Remove bottom attribute from navigation viewCharles Lombardo1-1/+1
Using the "bottom" attribute would break the navigation view and prevent things like rounded corners and lock modes from being applied properly.
2023-09-26android: Prevent nav bar shade from laying out across screenCharles Lombardo2-5/+7
2023-09-25host_shaders: More proper handling of x2 MSAA copiesGPUCode2-4/+10
2023-09-25renderer_vulkan: Implement MSAA copiesGPUCode5-32/+219
2023-09-25android: Use measured size of view for input overlay boundsCharles Lombardo1-6/+9
Even after updating the androidx window library, this did not fix the issue for all devices. This ensures that the measured size of the overlay will be used instead of a potentially larger one seen by androidx.
2023-09-24service: mii: Limit checks to string sizegerman771-1/+1
2023-09-24service: hid: Set last connected controller as activegerman771-0/+1
2023-09-24service: am: Stub to exit applet cleanlygerman772-3/+31
2023-09-24service: am: Implement stuff needed for Mii Editgerman773-22/+238
2023-09-24service: fsp: Implement CreateSaveDataFileSystemBySystemSaveDataId and OpenSaveDataFileSystemBySystemSaveDataIdgerman772-2/+24
2023-09-24service: ns: Implement GetSharedFontInOrderOfPriorityForSystemgerman771-4/+13
2023-09-24yuzu: Add button to boot mii edit from firmwaregerman773-1/+52
2023-09-23Query Cache: Fix Prefix SumsFernando Sahmkow5-132/+175
2023-09-23Query Cache: Fix behavior in Normal AccuracyFernando Sahmkow2-0/+23
2023-09-23Query Cache: Simplify Prefix Sum compute shaderFernando Sahmkow6-74/+253
2023-09-23Query Cache: Implement host side sample counting.Fernando Sahmkow5-48/+348
2023-09-23Query Cache: Fix guest side sample countingFernando Sahmkow5-46/+97
2023-09-23Query Cache: address issuesFernando Sahmkow21-214/+270
2023-09-23QueryCache: Implement dependant queries.Fernando Sahmkow4-5/+180
2023-09-23Macro HLE: Add DrawIndirectByteCountFernando Sahmkow4-5/+40
2023-09-23Query Cachge: Fully rework Vulkan's query cacheFernando Sahmkow35-337/+1555
2023-09-23Query Cache: Setup Base reworkFernando Sahmkow7-0/+1107
2023-09-22android: Use smaller read buffer size for exporting user dataCharles Lombardo1-1/+10
The File.readBytes() extension attempts to load an entire file into a byte array. This would cause crashes when loading huge files into memory.
2023-09-22android: Adjust valid user data checkCharles Lombardo1-1/+2
2023-09-22emit_spirv: fix incorrect use of descriptor index in image atomicsLiam2-13/+9
2023-09-22am: mii_edit: Implement DB operationsNarr the Reg8-73/+139
2023-09-21android: Update androidx window library to 1.2.0-beta03Charles Lombardo1-1/+1
Fixes an issue with the input overlay on certain devices where the controls would appear offscreen.
2023-09-21Fix DMA engine register offsetsKelebek12-28/+32
2023-09-21vk_texture_cache: Limit srgb block to transcoding onlyGPUCode1-15/+5
2023-09-21renderer_vulkan: Correct component order for A4B4G4R4_UNORMGPUCode4-3/+25
2023-09-21Revert "android: Allow save imports always"Charles Lombardo16-13/+48
2023-09-21pfs: Fix reading filenames past the buffer endrkfg1-0/+1
2023-09-20android: Remove unused strings related to the save managerCharles Lombardo15-30/+0
2023-09-20android: Allow importing saves even if no saves are foundCharles Lombardo1-18/+13
Exporting still won't be allowed on an empty save directory.
2023-09-20Reduce core timing mutex contentionKelebek13-6/+11
2023-09-19android: Add import/export buttons for user dataCharles Lombardo13-40/+311
2023-09-19Reuse part of my previous idea to to use num_levels to check within AdjustMipBlockSizeSquall-Leonhart1-14/+20
The partial revert was not enough for Tsukihime, this might do the trick
2023-09-19android: Ignore validation layers library in gitCharles Lombardo1-0/+3
2023-09-19android: Don't pause emulation when entering PiPCharles Lombardo1-1/+1
2023-09-19android: Fix showing input overlay in PiPCharles Lombardo1-1/+1
2023-09-19android: Properly update emulation surfaceCharles Lombardo2-25/+11
Previously the emulation surface wasn't being updated during configuration changes and only during specific view events. This would break input and the screen dimensions after each orientation/aspect ratio change. Now a new surface is provided every time and the display dimensions are updated as needed.
2023-09-18aoc: stub purchase info callsLiam1-2/+18
2023-09-18renderdoc: Check for `_WIN32` symbol rather than `WIN32`Cathy J. Fitzpatrick1-1/+1
2023-09-18service: mii: Address review commentsgerman777-22/+24
2023-09-18cmake: prefer system renderdoc headerAlexandre Bouvier1-1/+1
2023-09-18Partial revert of #10433Squall Leonhart1-9/+2
The If block in this change was causing some 2D textures to be treated as if their mip 0 was a 3D Slice, this could be ascertained as the same texture viewed from different distances would render fine, but then close up would look like a decoding failure. It also resulted in some 3D ASTC textures not being scaled appropriate leading to broken graphical effects such as the jagged TOTK recall animation being a circle, as the If block was only accepting the image based on its original info without any adjustments applied.
2023-09-18Do not consider voice commands in time estimation, fix adpcm estimateKelebek12-6/+8
2023-09-18service: mii: Implement the rest of the servicegerman773-103/+751
2023-09-18service: mii: Implement database managergerman773-0/+480
2023-09-18service: mii: Implement figurine databasegerman773-0/+210
2023-09-18service: mii: Add device crc16german771-0/+26
2023-09-18service: nfc: Fully Implement GetRegisterInfoPrivategerman771-3/+5
2023-09-18service: mii: Complete structs and fix mistakesgerman779-138/+387
2023-09-17android: Export PiP receiver on API 33 and laterCharles Lombardo1-1/+7
Could cause crashes on API 33+ devices
2023-09-17mii_types: Remove null terminator checklat9nq1-4/+1
This is an OoB array access, causing a crash on at least the Linux Flatpak releases. Co-authored-by: german77 <juangerman-13@hotmail.com>
2023-09-17android: Set up signing config for release buildsCharles Lombardo1-1/+18
2023-09-17android: Use 1 worker for shader compilation for all devicesCharles Lombardo1-4/+5
2023-09-17registered_cache: correct file deletion caseLiam1-1/+3
2023-09-16android: Collect task state once view is createdCharles Lombardo1-9/+25
Before the viewLifecycleOwner wasn't ready and would cause a crash
2023-09-16Vulkan: add temporary workaround for AMDVLKFernando Sahmkow5-2/+20
2023-09-16Vulkan: Implement Depth Bias ControlFernando Sahmkow4-3/+51
2023-09-16Reimplement HardwareOpusKelebek127-411/+1898
2023-09-16service: hid: Implement ApplyNpadSystemCommonPolicygerman774-8/+52
2023-09-16core_timing: Attempt to reduce heap siftingMerry1-11/+22
2023-09-16core_timing: Use a fibonacci heapMerry2-33/+35
2023-09-16hid: service: Remove outdated field from npadgerman772-27/+14
2023-09-16hid: service: Implement Last active Npadgerman774-1/+20
2023-09-16service: hid: Ensure state is correctgerman771-8/+8
2023-09-16service: nfc: Fix amiibo formattinggerman771-6/+8
2023-09-15android: Remove settings interface specifically for audio muteCharles Lombardo4-31/+5
2023-09-15android: Return the correct status code on emulation stopCharles Lombardo1-2/+3
2023-09-15android: Use resource as shortcut intermediaryCharles Lombardo4-3/+43
Fixes issue where the shortcut icon would appear cropped on certain devices
2023-09-15android: Don't reinitialize settings on emulation startCharles Lombardo1-3/+0
Config is already initialized on application start
2023-09-15android: Fix emulation to settings navigation argsCharles Lombardo1-1/+1
2023-09-15android: Delay collecting UI state in games fragmentCharles Lombardo1-4/+4
2023-09-14core: improve debug workflowLiam12-17/+36
2023-09-14android: Refactor menu tags to enumCharles Lombardo9-46/+39
2023-09-14android: Use StateFlow instead of LiveDataCharles Lombardo16-249/+367
2023-09-14add std::error_code for std::filesystem exceptionsSquall-Leonhart1-6/+9
Resolves a case on Windows where an unmounted bitlocker protected volume containing an assigned game directory would crash Yuzu at start. May also resolve cases where a disconnected SMB volume causes similar crashes (needs testing)
2023-09-14shared_widget: Use default literals morelat9nq2-21/+22
2023-09-14settings_common: Fix typolat9nq1-1/+1
2023-09-14debug: Add renderdoc capture hotkeyGPUCode10-48/+165
2023-09-14shader_recompiler: skip sampler for buffer textures (#11435)liamwhite3-6/+2
2023-09-14ngc: implement serviceLiam7-70/+158
2023-09-13settings_setting: Don't remove the AudioEngine workaroundlat9nq1-0/+3
2023-09-13cmd/yuzu: Remove uncaught usage of stoilat9nq1-2/+3
Also fixes a style inconsistency
2023-09-13cmd/config: Remove uncaught usage of stoullat9nq1-1/+1
2023-09-13shared_widget: Forward-port Citra changeslat9nq2-31/+134
Seemed like a good time to move these over. Also remove usage of std::sto{l,ll,ul,f,d}
2023-09-13configure_ui: Remove unnecessary usage of stoullat9nq1-5/+2
2023-09-13cheat_engine: Remove uncaught usage of stoullat9nq1-1/+1
2023-09-13ips_layer: Remove uncaught usage of stoul/lllat9nq1-2/+2
2023-09-13key_manager: Remove uncaught usage of stoullat9nq1-4/+4
2023-09-13settings: Retro-port Citra Settings worklat9nq2-8/+38
This has yet to be PR'd on Citra, but regressions on yuzu that have been fixed in Citra needed to appear here.
2023-09-13android/config: Remove uncaught usage of stoullat9nq1-1/+1
2023-09-12qt: add verification for installed contentsLiam7-1/+148
2023-09-12service: mii: Remove most magic valuesNarr the Reg10-1069/+1537
2023-09-12am: Stub GetSaveDataSizeMaxFearlessTobi2-1/+14
Needed for Minecraft Legends.
2023-09-12bsd: Demote "Select" log to dehugFearlessTobi1-1/+1
This is very spammy in Minecraft Legends.
2023-09-11ci: fix msvc when used with LTO (#11459)liamwhite1-0/+1
2023-09-11mii: service: Address reviewgerman7713-104/+135
2023-09-11mii: Prepare Interface for new implementationgerman776-138/+210
2023-09-11service: mii: Fix ver3 inconsistenciesgerman779-217/+473
2023-09-11service: mii: move char info operationsgerman774-21/+576
2023-09-11service: mii: Move store data operationsgerman775-73/+512
2023-09-11service: mii: Move core data operationsgerman775-246/+730
2023-09-11service: mii: Move ver3 operationsgerman777-243/+241
2023-09-11service: mii: separate mii types into their own filegerman7720-542/+586
2023-09-11service: mii: Move all raw data to it's filegerman775-381/+479
2023-09-11service: mii: Add mii util and resultgerman775-11/+89
2023-09-11Look for the most recently modified image for presentKelebek11-1/+14
2023-09-10am: Implement UserChannel parametersFearlessTobi9-19/+70
Used by the Super Mairo 3D All-Stars collection.
2023-09-10am: Remove bcat from PopLaunchParameterFearlessTobi2-21/+5
This never belonged here and has no use anymore since the Boxcat backend was removed. .
2023-09-10vk_buffer_cache: Respect max vertex bindings in BindVertexBuffers (#11471)GPUCode1-4/+7
2023-09-08renderer_vulkan: Remove debug reportGPUCode5-53/+6
* VVL has implemented the more modern alternative, thus we don't need to support it anymore
2023-09-08internal_network: log error on interrupt pipe read failureLiam1-1/+4
2023-09-08Fix data source version 1 command loopingKelebek14-52/+72
2023-09-07Do not reset the command buffer command count each timeKelebek15-27/+14
2023-09-07service: mii: Fix broken mii on MK8Narr the Reg6-7/+118
2023-09-07video_core: Fix d24r8/s8d24 convert shader build error in moltenvkFeng Chen2-8/+8
2023-09-07video_core: Add missing scissor update when viewport scale offset disableFeng Chen1-0/+13
2023-09-07add a compile time option to allow disabling portable modexcfrg2-2/+8
2023-09-06core: implement basic integrity verificationLiam12-1/+220
2023-09-05yuzu-qt: Use Null when OpenGL is not compiledlat9nq1-1/+9
2023-09-05yuzu-qt: Update API Text for broken Vulkanlat9nq1-0/+1
Otherwise caused a blue Vulkan badge to appear in the status bar.
2023-09-05configure_graphics: Capture by referencelat9nq1-1/+1
Small optimization.
2023-09-05core: Add support for loading NSPs with personalized tickets. (#10048)Steveice105-145/+186
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-09-05service: mii: Fix default mii databasegerman773-105/+3
2023-09-05configure_graphics: Fix handling of broken Vulkanlat9nq1-12/+16
The VSync combobox wouldn't populate if there was no Vulkan device, which caused issues with trying to set VSync on other backends. This also adds another layer to GetCurrentGraphicsBackend to check for broken Vulkan and return OpenGL instead of Vulkan.
2023-09-04Rework ADSP into a wrapper for appsKelebek1173-1257/+1051
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin13-20/+17
And fix a bunch of warnings
2023-09-03qt: measure romfs dump completion by bytes readLiam1-26/+50
2023-09-02shader_recompiler: always declare image format for image buffersLiam1-1/+6
2023-09-02general: make -fwrapv generic to all architectures (#11379)liamwhite1-1/+2
2023-09-02polyfill_thread: ensure mutex was locked before signaling stopLiam1-7/+13
2023-09-02shader_recompiler: fix emulation of 3D textureGradLiam2-3/+34
2023-08-31android: Fix game content installerCharles Lombardo2-85/+80
Before this would run on the main thread and freeze the device. Additionally this fixes the result dialog not appearing if a config change happens during the installation by getting the activity's fragment manager when needed.
2023-08-31android: Combine LongMessageDialogFragment with MessageDialogFragmentCharles Lombardo5-98/+47
2023-08-30android: Support dynamic app shortcutsCharles Lombardo1-0/+21
2023-08-30android: Separate emulation states from emulation mutexCharles Lombardo1-4/+2
Emulation states are repeatedly checked by input and performance stats. During startup and shutdown, this could lead to a long halt on the UI thread because the call to IsRunning will be waiting on the emulation mutex to be unlocked. Using atomics should replace the existing functionality without causing problems.
2023-08-30android: Game loading/shutting down indicatorsCharles Lombardo26-211/+312
2023-08-30hwopus: Implement GetWorkBufferSizeExExFearlessTobi2-1/+6
Allows Sea of Stars to boot. Fixes https://github.com/yuzu-emu/yuzu/issues/11415.
2023-08-30android: Create custom game icon loaderCharles Lombardo2-22/+79
2023-08-30android: Don't reload settings when stopping settings activityCharles Lombardo1-2/+0
2023-08-30android: Add optional androidDefault property to settingsCharles Lombardo3-7/+15
Certain settings have specific defaults for Android only. This lets us reflect them in the Kotlin side with very little code.
2023-08-30android: Proper state restoration on settings dialogsCharles Lombardo9-198/+319
All dialog code (except for the Date/Time ones) has been extracted out into a generic settings dialog fragment that handles everything through a viewmodel. State for each dialog will now be retained and dialogs will stay shown through configuration changes. I won't be changing the current state of the date and time dialog fragments until Google decides to make their classes non-final or if/when we migrate to Jetpack Compose.
2023-08-30android: Add search for settingsCharles Lombardo8-1/+372
2023-08-30android: Implement paired settingsCharles Lombardo9-241/+335
Enables and disables editing on settings that rely on other boolean settings.
2023-08-30android: Prevent infinite switch toggle loopCharles Lombardo1-1/+3
If something like a lifecycle event happens when this switch is toggled (Ex. whenever the black backgrounds switch is toggled), this could move the switch from the default position and trigger the checked changed listener and restart the loop. Here I just removed the listener at the start so we recycle the view properly still, set the checked state and then add the new listener.
2023-08-30android: Migrate settings to navigation componentCharles Lombardo28-567/+371
Consolidates all of the settings components to the fragment and activity with no interfaces and only the settings fragment presenter. This also includes new material animations and new viewmodel usage to prevent the fragment and activity directly interacting with one another.
2023-08-30android: Trim settings enums and itemsCharles Lombardo16-321/+133
Take advantage of the new settings interface to reduce the amount of code we need for each setting item. Additionally make all settings items non-null to improve brevity.
2023-08-30android: Expose interface for getting settings from native codeCharles Lombardo49-969/+869
Completely removes code related to parsing the settings file on the java side. Now all settings are accessed via NativeConfig.kt and config.cpp has been modified to be closer to the core counterpart. Since the core currently uses QSettings, we can't remove reliance from Wini yet. This also includes simplifications to each settings interface to get closer to native code and prepare for per-game settings.
2023-08-29android: Support intents to emulation activityCharles Lombardo5-12/+45
2023-08-29vfs: ensure key area keys are validatedLiam1-4/+13
2023-08-29qt: ensure packed update nca is applied to the correct baseLiam1-0/+7
2023-08-29qt: fix romfs dumping for multiprogram applicationsLiam2-51/+65
2023-08-28sfdnsres: ensure lp1 is not resolvedLiam2-2/+21
2023-08-28Fix node id index in DropVoicesKelebek11-1/+1
2023-08-28Address review commentsLiam11-270/+259
2023-08-27Use initial_frame to check interlaced flagDanila Malyutin1-1/+2
If final frame was transferred from GPU, it won't carry the props. Fixes #11089
2023-08-27Maxwell3D: Improve Index buffer size estimation.Fernando Sahmkow1-1/+5
2023-08-27audio: allow more latency in cubeb initializationLiam2-8/+3
2023-08-27hwopus: Implement OpenHardwareOpusDecoderForMultiStreamEx and DecodeInterleavedForMultiStreamFearlessTobi2-3/+51
Allows MLB The Show 22 to boot. Fixes https://github.com/yuzu-emu/yuzu/issues/7911.
2023-08-27android: Don't set a default emulation orientationCharles Lombardo1-1/+0
Could cause unnecessary configuration change when setting an orientation other than "Landscape"
2023-08-27android: Properly adjust emulation surface aspect ratioCharles Lombardo3-45/+33
Previously the emulation surface wouldn't respond properly to orientation changes. This would result in the screen appearing stretched when starting in one orientation and switching to another. The code for calculating the bounds of the view have been changed to match the expected behavior now. Before the view would just match parent in height and width. Now instead of using setLeftTopRightBottom (which is intended to be used for animations) we pass newly calculated bounds for the view into super. Now the view bounds match the emulation output. This also means that we don't need the overload for the SettingsActivity to launch it using an ActivityResultLauncher. We can just update the view in onResume.
2023-08-27VideoCore: Implement DispatchIndirectFernando Sahmkow11-13/+119
2023-08-27yuzu-qt: Track play timeMario15-0/+334
2023-08-27Shader Recompiler: Auto stub special registers and dump pipelines on exception.Fernando Sahmkow2-1/+15
2023-08-27Buffer Cache: fix discard writes.Fernando Sahmkow1-1/+9
2023-08-27internal_network: cancel pending socket operations on application process terminationLiam3-3/+88
2023-08-26am: shorten shutdown timeout when lock is not heldLiam4-13/+41
2023-08-26DMA Pusher: Fix regression caused by guest memory optimizationsFernando Sahmkow1-0/+8
2023-08-26Mark decompiled macros as decompiled on dump, dump shaders after translationKelebek12-11/+20
2023-08-26Avoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang.comex1-9/+11
2023-08-26Warnings cleanup for GCC 13 and Clang 16comex4-10/+7
Note: For GCC there are still a huge number of `-Warray-bounds` warnings coming from `externals/dynarmic`. I could have added a workaround in `externals/CMakeLists.txt` similar to what this PR does for other externals, but given Dynarmic's close affiliation with Yuzu, it would be better to fix it upstream. Besides that, on my machine, this makes the build warning-free except for some warnings from glslangValidator and AutoMoc. Details: - Disable some warnings in externals. - Disable `-Wnullability-completeness`, which is a Clang warning triggered by the Vulkan SDK where if any pointers in the header are marked _Nullable, it wants all pointers to be marked _Nullable or _Nonnull. Most of them are, but some aren't. Who knows why. - `src/web_service/verify_user_jwt.cpp`: Disable another warning when including `jwt.hpp`. - `src/input_common/input_poller.cpp`: Add missing `override` specifiers. - src/common/swap.h: Remove redundant `operator&`. In general, this file declares three overloads of each operator. Using `+` as an example, the overloads are: - a member function for `swapped_t + integer` - a member function for `swapped_t + swapped_t` - a free function for `integer + swapped_t` But for `operator&`, there was an additional free function for `swapped_t + integer`, which was redundant with the member function. This caused a GCC warning saying "ISO C++ says that these are ambiguous".
2023-08-26ssl: tolerate handshake without hostname set (#11328)liamwhite3-24/+14
2023-08-26registered_cache: create fake CNMT entries for program updates of multiprogram applications (#11319)liamwhite1-9/+28
2023-08-25kernel: offset code entry point for 39-bit address space type (#11326)liamwhite7-11/+33
2023-08-25android: Use appCategory to specify the app is a gameCharles Lombardo1-0/+1
2023-08-25ui: Fixed inverted controls on ReverseSlider widgetsBenjaminHalko1-0/+1
fixes: #11236
2023-08-25nvhost_as_gpu: ensure mappings are aligned to big page size when deallocatedLiam1-1/+3
2023-08-24yuzu/main: Ensure NCAs are registered in content provider when launching from CLIFearlessTobi2-0/+39
Fixes updates and DLC not being loaded when launching yuzu from the command line. Similar to https://github.com/yuzu-emu/yuzu/pull/11357. Fixes https://github.com/yuzu-emu/yuzu/issues/8352,
2023-08-24filesystem: Return correct error for RenameFile when dest_path already existsFearlessTobi1-1/+10
Allows Grid Autosport to boot. Fixes https://github.com/yuzu-emu/yuzu/issues/8287.
2023-08-24game_list_worker: Display correct size for NAX gamesFearlessTobi1-10/+13
This was a regression from https://github.com/yuzu-emu/yuzu/pull/1837. Fixes https://github.com/yuzu-emu/yuzu/issues/1938.
2023-08-23main: Fix docked mode button, clang 14 errorlat9nq1-6/+6
2023-08-23video_core: set vertex buffer num to 16, because mvk have when using more than 16Feng Chen1-0/+4
2023-08-23android: Set default build variant to mainlineRelWithDebInfo (#11358)Charles Lombardo1-0/+2
2023-08-23Pre-test opening a stream for audio backends, fall back to null if not suitable.Kelebek15-38/+117
2023-08-23android: jni: ensure NCAs from loaded filepath are registered in manual content providerLiam1-0/+44
2023-08-23native: Use Docked Mode helperlat9nq1-1/+1
2023-08-23main: Access by referencelat9nq1-1/+1
Old Clang is fussy about this.
2023-08-23config-android: Translate console mode settinglat9nq1-1/+4
Translates the previous boolean to the enum.
2023-08-23general: Use console mode helper across projectlat9nq13-49/+34
2023-08-23settings: Add docked mode helper functionlat9nq2-0/+7
2023-08-22config(qt): Sanitize docked handheld controllerlat9nq2-0/+13
2023-08-22shared_translation: Define use_docked_mode textslat9nq1-1/+4
2023-08-22general: Convert use_docked_mode to an enumerationlat9nq17-35/+74
Allows some special interactions with it in the Qt frontend.
2023-08-22shared_widget: Implement radio groupslat9nq2-1/+73
2023-08-22android: Search game directory recursivelyCharles Lombardo1-9/+26
2023-08-22Add macos moltenvk bundle, Add copy moltevk dylib scriptFeng Chen3-9/+27
2023-08-21android: lint: Delete generated ktlint folder between buildsCharles Lombardo1-0/+5
There's a bug in ktlint where it will run into an error if you build the project, delete a source file, and then build again. It will be unable to find the file you deleted and can't recover until these files are deleted. This just deletes those files before every run.
2023-08-21android: Show associated value in home settings (#11272)Charles Lombardo6-4/+75
2023-08-21android: Use sensor landscape for landscape mode (#11337)Charles Lombardo1-2/+2
2023-08-21patch_manager: apply manual HTML patches when presentLiam1-1/+8
2023-08-20sockets: avoid locking around socket session callsLiam3-2/+10
2023-08-19Masked depthstencil clearsKelebek15-9/+132
2023-08-19Shader Recomnpiler: implement textuzreGrad 3D emulation constant propagationFernando Sahmkow8-11/+261
2023-08-18video_core: Fix vulkan assert errorFeng Chen2-1/+9
2023-08-18file_sys/card_image: support dumps with prepended key areaLiam2-7/+42
2023-08-17cmake: mark warning disable for gcc 11 (#11301)liamwhite1-1/+1
2023-08-17uisettings: Add TODO for stretched aspect being ignoredlat9nq1-0/+1
2023-08-16file_sys: tolerate empty NCALiam3-3/+3
2023-08-16configure_ui: Silence MSVC warninglat9nq1-1/+1
2023-08-16yuzu-qt: Screenshots depend more on the graphics settingslat9nq12-142/+127
2023-08-16yuzu-qt: Implement unspecified screenshot ratiolat9nq4-11/+30
2023-08-16bootmanager: Remove old pathlat9nq1-8/+3
Causes issues with different selected aspect ratios in graphics.
2023-08-16configure_ui: Update the screenshots datalat9nq1-4/+13
2023-08-16config: Read the entire screenshots categorylat9nq1-2/+1
2023-08-16bootmanager: Consider the default resolutionlat9nq1-1/+5
2023-08-16yuzu-qt: Enable specifying screenshot resolutionlat9nq5-3/+198
2023-08-16settings: Add AspectRatio enum, split res scale functionlat9nq3-3/+10
2023-08-16Improve behavior when sending to closed connectioncomex4-7/+36
- On Unix, this would previously kill the Yuzu process with SIGPIPE. Send MSG_NOSIGNAL to opt out of this. - Add support for the proper error code in this situation, EPIPE. - Windows has nonstandard behavior in this situation; translate it to the standard behavior. Kind of pointless, but isn't it nice to be correct?
2023-08-15fssystem: rework for yuzu styleLiam34-340/+345
2023-08-15fssystem: reduce overalignment of unbuffered storage operationsLiam5-54/+28
2023-08-15vfs: expand support for NCA readingLiam75-1028/+8040
2023-08-15kernel: remove relative task registrationLiam11-33/+67
2023-08-14gdbstub: fixup replaced instruction bytes in memory readsLiam1-0/+17
2023-08-14Revert "Silence nifm spam"FearlessTobi2-2/+15
This reverts commit 4da4ecb1ff79798fe245a0c6c483405f998cd093.
2023-08-14gl_texture_cache: Enable async downloadsAmeer J5-9/+16
2023-08-14gl_buffer_cache: Enable async downloadsAmeer J4-9/+34
2023-08-14gl_staging_buffer_pool: Refactor allocation variables into a structAmeer J2-30/+28
2023-08-13gl_graphics_pipeline: Fix GLASM storage buffer detectionAmeer J1-2/+2
2023-08-13gl_graphics_pipeline: GLASM: Fix transform feedback with multiple buffersAmeer J2-15/+1
2023-08-13nvnflinger: add missing scale modeLiam2-0/+2
2023-08-13Mark accelerted DMA destination buffers and images as GPU-modifiedKelebek13-5/+15
2023-08-13android: Page forward on setup step completionCharles Lombardo3-0/+17
2023-08-12android: Adjust setup fragment layoutCharles Lombardo3-63/+88
Fixes padding issues in small and large layouts and allows viewpager to reach into system insets.
2023-08-12android: Show complete indicator during setupCharles Lombardo8-121/+265
2023-08-12android: Remove redundant option from slider dialogCharles Lombardo1-4/+0
You can already reset any setting by long pressing the settings item.
2023-08-12android: Reduce opacity of non-editable settingsCharles Lombardo7-3/+28
2023-08-12android: Use string resource for slider value/unitsCharles Lombardo2-13/+13
2023-08-12android: Display setting value in setting list itemsCharles Lombardo7-38/+64
2023-08-12android: Set switch listener before assigning new valueCharles Lombardo1-1/+1
Previously the switch could have its old listener triggered when recycled.
2023-08-12ssl_backend_securetransport: remove stray .Code()Liam1-1/+1
2023-08-11vulkan_device: disable features associated with unloaded extensionsLiam2-74/+114
2023-08-11service: hid: Implement functions needed by QLaunchNarr the Reg3-24/+86
2023-08-11Needed to make this an extra case so it didnt also start asserting in BOTW.Squall-Leonhart1-0/+2
Thanks Liam
2023-08-11Fix an assert in the format lookup table fir Z16Squall Leonhart1-1/+1
Came across this while looking into Asterix and Obelix XXL glitching
2023-08-10Allow searching by a substring of the title IDzeltermann1-2/+6
2023-08-10general: fix apple clang buildLiam5-73/+81
2023-08-10flatten color_valuesAmeer J1-14/+9
2023-08-10flatten encoding_valuesAmeer J1-11/+10
2023-08-10flatten result vectorAmeer J1-14/+5
2023-08-09GetUnquantizedWeightVectorAmeer J1-69/+63
2023-08-09service: pctl: Partially revert 11221Narr the Reg1-9/+15
2023-08-08fs: return result on null outputsLiam1-4/+24
2023-08-08general: fix incorrect conversionsLiam4-5/+5
2023-08-08ssl: remove ResultVal useLiam7-124/+127
2023-08-08core: remove ResultVal typeLiam32-475/+366
2023-08-06Revert "HACK: Avoid swizzling and reuploading ASTC image every frame"Ameer J5-39/+4
This reverts commit b18c1fb1bbbcc235e9a1cbbb2704fed2e5895e61.
2023-08-06HACK: Avoid swizzling and reuploading ASTC image every frameAmeer J5-4/+39
2023-08-06Compute ReplicateAmeer J1-85/+20
2023-08-06minorAmeer J1-12/+6
2023-08-06undo uintAmeer J1-3/+3
2023-08-06Revert "vulkan dims specialization"Ameer J5-198/+27
This reverts commit e6243058f2269bd79ac8479d58e55feec2611e9d.
2023-08-06vulkan dims specializationameerj5-27/+198
2023-08-06small_block optAmeer J1-4/+3
2023-08-06remove TexelWeightParamsAmeer J1-46/+31
2023-08-06error/void extent funcsAmeer J1-48/+43
2023-08-06more packingAmeer J1-109/+109
2023-08-06Revert "uint result index"Ameer J1-1/+1
This reverts commit 0e978786b5a8e7382005d8b1e16cfa12f3eeb775.
2023-08-06Revert "bfe instead of mod"Ameer J1-15/+13
This reverts commit 86006a3b09e8a8c17d2ade61be76736a79e3f58a.
2023-08-06Revert "global endpoints"Ameer J1-36/+40
This reverts commit d8f5bfd1df2b7469ef6abcee182aa110602d1751.
2023-08-06global endpointsAmeer J1-40/+36
2023-08-06bfe instead of modAmeer J1-13/+15
2023-08-06uint result indexAmeer J1-1/+1
2023-08-06amd optsAmeer J1-16/+13
2023-08-06glAmeer J1-0/+1
2023-08-06const, pack result_vector and replicate tables,Ameer J1-227/+260
undo amd opts
2023-08-06minor redundancy cleanupAmeer J1-12/+2
2023-08-06extractbits robustnessAmeer J1-5/+8
2023-08-06reuse vectors memoryAmeer J1-33/+17
2023-08-06EncodingData packAmeer J1-44/+69
2023-08-06flatteningAmeer J1-43/+44
2023-08-06weights refactorAmeer J1-26/+22
2023-08-06params.max_weightAmeer J1-5/+2
2023-08-06skip bitsAmeer J1-9/+14
2023-08-06restrictAmeer J1-2/+2
2023-08-06service: audctl: Stub functions needed by Qlaunchgerman772-4/+64
2023-08-05gl_device: Filter more specifically for slow ASTClat9nq1-1/+42
Adds a check to find if the renderer is Intel DG (i.e. DG2). gl_device: Detect Mesa to disable their ASTC In our testing, our own ASTC decoder has shown itself to perform faster than the included one from the driver. Disable theirs when Mesa is detected. Mesa detection depends on the vendor string. Some drivers never appear outside of *nix contexts, so only check those in the *nix context. gl_device: Internalize Intel DG detection
2023-08-05service: olsc: Implement IOlscServiceForSystemService ITransferTaskListController interfaces for QLaunchgerman771-6/+152
2023-08-05service: pctl: Implement functions needed for QLaunchgerman771-18/+134
2023-08-05service: set: Add more system settings and address commentsNarr the Reg2-7/+100
2023-08-03Fix shader dumps with nvdisasmKelebek17-26/+42
skip fragment shaders when rasterizer is disabled initialize env_ptrs
2023-08-03service: set: Implement system settings for QlaunchNarr the Reg5-114/+625
2023-08-03vulkan_device: Fix subgroup_size_control detection on Vulkan 1.3Ameer J2-3/+3
2023-08-03vulkan_device: Fix VK_EXT_subgroup_size_control detectionAmeer J1-1/+1
2023-08-02service: am: Fix wrong interfaceNarr the Reg3-3/+55
2023-08-02config(qt): Fix name of network categorylat9nq1-2/+1
Turns out the network interface is in the Services category. Can't wait get rid of this whole config. Addresses yuzu-emu/yuzu/issues/11205
2023-08-02config(qt): Use qt_config directly to read configlat9nq1-2/+4
ReadSetting with the default is a convenience function reading settings, not for use in an internal environment. It tries to manage the default value of a setting.
2023-08-02vulkan_device: disable EDS3 blending on all AMD driversLiam1-8/+7
2023-08-02vulkan: centralize configAlexandre Bouvier15-45/+36
2023-08-01vulkan_device: Test depth stencil blit support by formatMorph3-29/+47
2023-08-01audren_u: Fix parameter alignmentMorph1-2/+3
The reduction in size from 0x38 to 0x34 caused the parameter to be misaligned. Skipping 1 word fixes this.
2023-07-31vma: enable options everywhereAlexandre Bouvier8-19/+32
2023-07-31Formatting fixMoonlacer1-2/+1
2023-07-31Match log warningMoonlacer1-1/+1
2023-07-30tz_content_man: Generate the time zone binary oncelat9nq2-8/+11
Fixes a memory leak with time zone binaries accumulating on theirselves.
2023-07-30shared_widget: Only save global settings as neededlat9nq1-2/+4
Fixes a potential but not reproduced issue where the custom config is being applied to the global config.
2023-07-30config(qt): Write the UiGeneral categorylat9nq1-0/+1
2023-07-30Formatting fixMoonlacer1-1/+2
2023-07-30Address feedback and change log warningMoonlacer1-3/+3
2023-07-30Fix AudioRendererParameterInternal's sizeKelebek11-3/+3
2023-07-30Revert "Revert "Blacklist EDS3 blending from new AMD drivers""Moonlacer1-0/+8
2023-07-29config(qt): Fix generic read settinglat9nq1-7/+11
Previously was not respecting whether the setting was default.
2023-07-28wall_clock: Increase precision requirementsMorph1-2/+2
We are providing a conversion to nanoseconds in NativeClock, which is more precise than the GPU tick.
2023-07-27vk_descriptor_pool: Disallow descriptor set freeGPUCode4-5/+5
2023-07-27vulkan_device: Return true if either depth/stencil format supports blitMorph1-1/+1
On devices that don't support D24S8 but supports D32S8, this should still return true if D32S8 supports src and dst blit
2023-07-26Revert "Blacklist EDS3 blending from new AMD drivers"Moonlacer1-8/+0
2023-07-26Address feedbackMorph1-10/+8
2023-07-26(ui)settings: Add more runtime_modifiable settingslat9nq2-10/+28
2023-07-26backend: Remove usage of explicit operator overloadlat9nq1-1/+1
Causes a crash on MSVC from a race condition on application quit. Intended to address yuzu-emu/yuzu/issues/11137
2023-07-25settings: Correct Linkage member impl locationlat9nq2-3/+3
2023-07-25yuzu: Enable controller interaction in Controller Appletflodavid3-7/+92
2023-07-25android: Only label language with languageAbandoned Cart15-272/+18
2023-07-25memory: check page against address space sizeLiam1-3/+18
2023-07-24settings: Set GPU as default ASTC decoderlat9nq1-1/+1
2023-07-24yuzu: Avoid reading broken gamesgerman771-1/+5
2023-07-23shared_widget: Determine default request earlierlat9nq1-19/+22
Fixes a bug where a restore button could be created for an unmanaged widget.
2023-07-23settings_common: Document specializationslat9nq1-9/+10
2023-07-23ssa_rewrite_pass: use proper mapsLiam1-6/+5
2023-07-23core: implement GetGaiStringErrorRequest, IContextRegistrarLiam10-5/+115
2023-07-22shared_widget: Use QRegularExpressionlat9nq1-3/+3
2023-07-22config: Read the Network categorylat9nq2-0/+12
2023-07-22core: reduce TOCTTOU memory accessLiam3-20/+11
2023-07-22memory: minimize dependency on processLiam2-65/+63
2023-07-22configure_audio/cpu: Sort settingslat9nq2-3/+12
Was producing out of order settings as a result of the switch to vectors
2023-07-22configure_dialog: Focus the button box on startlat9nq1-0/+3
Without this, the Reset All Settings button would be selected by default
2023-07-22qt/configuration: Use deleteLaterlat9nq6-7/+7
2023-07-22common,qt-config: Remove usage of forward_listlat9nq21-65/+64
2023-07-22core: remove remaining uses of dynamic_castLiam6-16/+21
2023-07-22general: reduce use of dynamic_castLiam4-2/+13
2023-07-22yuzu: Replace httplib with QtNetworkRequestNarr the Reg2-36/+55
2023-07-21settings_common: Use a vector in category linkagelat9nq2-2/+2
Improve storage requirements.
2023-07-21settings: Remove sorting from loglat9nq1-4/+0
Unecessary, and would run every time the settings are logged.
2023-07-21configure_system: Use lambda template to group settingslat9nq1-1/+1
2023-07-21config-android: Update memory layout member namelat9nq1-1/+1
2023-07-21k_system_control: Always return some memory sizelat9nq1-0/+2
2023-07-21common: Move global configuration state modifiers back to settingslat9nq5-13/+14
2023-07-21settings_setting: Fix typolat9nq1-4/+4
2023-07-21common,configure_system: Rename method to GetCategorylat9nq4-8/+8
Fixes essentially a shadowing issue.
2023-07-21settings: Cleanuplat9nq3-32/+51
Addresses review feedback Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-07-21shared_translation: Update memory layout mode stringslat9nq1-2/+7
2023-07-21core,common: Give memory layout setting an enumlat9nq4-9/+31
Allows for 6GB and 8GB layouts to be selected.
2023-07-21settings: Require time zone setting value for stirnglat9nq4-5/+7
2023-07-21shared_translation: Add missing time zoneslat9nq1-0/+3
2023-07-21shared_translation: Add controller_applet_disabledlat9nq1-0/+1
2023-07-21shared_translation: Add barrier_feedback_loopslat9nq1-0/+2
2023-07-21cmake: Reposition preprocessor switch commenttoast29031-1/+2
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-07-21configuration: Use enum indexlat9nq6-26/+31
2023-07-21settings: Give indices to enumslat9nq3-6/+36
2023-07-21cmake: Use standard preprocessor on MSVClat9nq1-0/+1
2023-07-21settings_common: Remove unncessary enum speclat9nq1-2/+2
2023-07-21shared_translation: Deobfuscate auto time zonelat9nq1-46/+52
2023-07-21settings_enums: Remove castinglat9nq1-55/+55
Not sure how I missed this earlier, but these vectors can be constructed using the type of the enum.
2023-07-21settings_setting: Silence shadowing warningslat9nq1-17/+18
2023-07-21settings,configuration: Add a default suffixlat9nq9-74/+93
2023-07-21configuration: Use paired settingslat9nq2-12/+6
2023-07-21settings: Define paired settingslat9nq4-21/+49
settings_common: Remove unused optional
2023-07-21shared_widget: Internalize component restoringlat9nq3-61/+49
2023-07-21configuration: Use specialization of settingslat9nq4-18/+36
Reduces some ugliness in frontend code.
2023-07-21settings: Define specializations for settingslat9nq4-64/+130
Suggests to a frontend how to represent each setting.
2023-07-21configuration: Use a builder to create widgetslat9nq18-209/+206
This gets rid of some repeated code and sets us up to send more information to the new widget.
2023-07-21shared_translation: Fix context usagelat9nq1-1/+3
Currently unused, but I don't want to start headaches when someone decides to use it the first time.
2023-07-21settings,translation: Fix time zone enumlat9nq2-28/+28
Renames enum values to conform to naming convention.
2023-07-21settings,opengl,yuzu-qt: Fix AA, Filter maximumslat9nq3-9/+8
The new enum macros don't support setting values directly. For LastAA and LastFilter, this means we need a simpler approach to loop around the toggle in the frontend...
2023-07-21settings_enums: More aggressively use macroslat9nq1-351/+149
This lets us define an enum and all the textual representations of its values in one swing. All for the price of some ugly macros.
2023-07-21config_shared: Remove storing the group from tablat9nq2-6/+2
2023-07-21settings,uisettings: Remove leading underscorelat9nq6-6/+6
2023-07-21configuration: Move speed_limit to corelat9nq3-10/+8
2023-07-21settings: Move speed_limit to corelat9nq1-4/+4
2023-07-21android-config: Update enum labelslat9nq1-4/+4
2023-07-21common,yuzu-qt: Avoid explicit instantiation on old clanglat9nq6-3/+22
Clang versions < 15 have compile issues with explicit instantiation. Disable it for these versions.
2023-07-21settings_setting: Fix MSVC errorlat9nq1-1/+1
2023-07-21shared_widget: Correct spellinglat9nq1-1/+1
2023-07-21(android)config: Clang formatlat9nq1-2/+5
2023-07-21common,yuzu-qt: GCC warning silenceslat9nq9-34/+37
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
2023-07-21configure_graphics: Simplify UpdateAPILayoutlat9nq1-27/+16
Reduces branching/swictch cases for simplicity/code size
2023-07-21configure_graphcs: Fix setting shader/device in custom configlat9nq1-0/+3
2023-07-21configuration: Use shorter constructor as neededlat9nq3-10/+9
Reduces some confusion hopefully, since some parameters specified were not specific to the setting in question.
2023-07-21shared_widget: Some documentation, add shorter constructorlat9nq2-8/+65
The shorter constructor enables us to specify some options without needing to specify the default values of multiplier which wasn't always appropriate and could be confusing.
2023-07-21config: Remove unused functionslat9nq2-128/+0
2023-07-21settings: Delete cpu_accuracy_first_timelat9nq3-8/+0
Almost a 2 year old migration setting now
2023-07-21shared_widget: Improve logging, use Setting::Rangedlat9nq1-7/+19
2023-07-21settings: Document BasicSetting, add Rangedlat9nq2-9/+110
2023-07-21settings: Move IsConfiguringGlobal to settings_commonlat9nq4-12/+13
2023-07-21configuration/shared: Clean up includes [IWYU]lat9nq4-21/+36
2023-07-21configure_graphics: Fix vulkan_device buglat9nq1-4/+2
2023-07-21settings: Move some simple data to BasicSettinglat9nq5-108/+129
Reduces the need for the compiler to duplicate this code, by about 100KB executable size.
2023-07-21settings_setting: Fix errorslat9nq1-2/+3
ToString didn't have a constexpr if statement where needed. Canonicalize missed an else, causing unreachable code error on MSVC.
2023-07-21(ui,)settings: Use explicit instantiationlat9nq10-477/+615
Reduces compile times a tad on clang.
2023-07-21settings: Remove redundant false literalslat9nq1-19/+16
2023-07-21shared_widget: Avoid calling QWidgetPrivate::setVisiblelat9nq1-2/+0
This particular setVisible function is unnecessary. It also has horrible runtime performance, so much that it consumed maybe 80% of the time used to create a widget.
2023-07-21FIXME configuration: Avoid unnecessary allocationslat9nq5-2/+22
ConfigurationShared::Widget needs to be created with a builder. This would avoid some duplicated code.
2023-07-21shared_widget: Add SPDX headerlat9nq2-0/+6
2023-07-21general: Add typeinfo where neededlat9nq6-0/+6
Using typeid without including typeinfo first produces an ill-formed program.
2023-07-21settings_enums: Add const type where neededlat9nq1-2/+2
2023-07-21shared_widget: Use actionTriggered for user input signalslat9nq1-1/+1
Clicking the slider without directly interacting with the slider handle would change the value, but not trigger the restore button.
2023-07-21shared_translation: Populate combobox enums with macrolat9nq1-168/+158
2023-07-21settings: yuzu is not capitalized why is it capitalized stop no badlat9nq1-1/+1
2023-07-21configuration: Document odd widget caseslat9nq5-1/+25
Explain why we need to do things differently at times, to serve as a reference.
2023-07-21settings: Reorderlat9nq1-75/+78
Groups graphics audio and system settings together in a way that reflects the frontend. This also just conceptually groups them more nicely than they were.
2023-07-21shared_translation: Add translation for use video framratelat9nq1-0/+3
2023-07-21settings: Report all contained settings valueslat9nq1-45/+19
Also adds a couple characters that denotes the state of the setting. M for modified, or not default. C for custom, in context of per-game settings.
2023-07-21settings_enums: Cannonicalize settings nameslat9nq1-2/+163
Gives every option of the enums a string literal via a macro.
2023-07-21settings,general: Rename non-confirming enumslat9nq23-130/+136
2023-07-21configuration: Use IDs to sort holdslat9nq4-27/+16
2023-07-21settings,general: Rename/reorder setting idslat9nq1-1/+1
2023-07-21shared_widget: Fix includeslat9nq1-7/+4
2023-07-21shared_widget: Complete refactoringlat9nq2-378/+168
Reduces code bloat a good bit by moving code specific to each sub widget to their own functions.
2023-07-21shared_widget: Refactor againlat9nq2-52/+121
Starting with combobox Putting code specific to the sub-widget in their own function.
2023-07-21android-config: Adapt settings reworklat9nq1-4/+6
2023-07-21c_per_game: Inform when settings might not be configurablelat9nq1-14/+33
2023-07-21shared_translation: Fix pragma oncelat9nq1-0/+2
2023-07-21shared_translation: Add translation for AstcRecompressionlat9nq1-0/+9
2023-07-21configure_system: Hide locale warn at startlat9nq1-1/+4
2023-07-21shared_widget: Force min width of 100 for restore buttonlat9nq1-2/+13
Dark theme mandates a 100px minimum width for QAbstractButton, even though this is not desired here.
2023-07-21configuration: Workaround for Windows Qt buglat9nq3-53/+58
Odd issue happens that dragging the cpu or system tabs in custom configs would cause the window to take up the entire verticle space of the screen.
2023-07-21shared_translation: Add missing tooltipslat9nq1-7/+21
2023-07-21settings: Make volume runtime-configurablelat9nq1-1/+1
2023-07-21configuration: Clean up includes a bitlat9nq14-51/+26
2023-07-21configuration_shared: Remove old custom config setup functionslat9nq2-144/+0
2023-07-21configure_cpu: Generate UIlat9nq5-190/+94
2023-07-21configuration: Use a mapping of setting value to namelat9nq18-229/+355
Makes comboboxes always correspond to the value of the setting they're modifying.
2023-07-21settings, shared_widget: typo fixeslat9nq1-2/+8
2023-07-21configure_audio: Implement ui generationlat9nq14-329/+219
Needs a considerable amount of management specific to some of the comoboboxes due to the audio engine configuration. general: Partial audio config implmentation configure_audio: Implement ui generation Needs a considerable amount of management specific to some of the comoboboxes due to the audio engine configuration. general: Partial audio config implmentation settings: Make audio settings as enums
2023-07-21settings: Split enums to new filelat9nq3-186/+241
2023-07-21shared_widget: Use a better iconlat9nq1-7/+5
This one looks more relevant on Windows.
2023-07-21shared_widget: Refactor helperslat9nq6-220/+254
Makes checkbox creation an option as opposed to a label.
2023-07-21settings, uisettings: Initialize linkage counterlat9nq3-3/+3
2023-07-21configure_system: Implement with for looplat9nq18-648/+508
2023-07-21per_game: Remove general tablat9nq2-5/+0
It's empty.
2023-07-21shared_widget: Internalize extra setting configurationlat9nq3-48/+66
2023-07-21settings: Move runtime and save to parameterslat9nq2-68/+89
These don't need to be whole new types.
2023-07-21graphics: Set speed limit to spinboxlat9nq1-2/+2
2023-07-21shared_widget: Support checkbox + spinboxlat9nq3-10/+55
2023-07-21configure_debug: Reorganizelat9nq1-336/+522
2023-07-21configure_graphics: Reimplement bg_colorlat9nq3-15/+111
To specialized a setting to be worth adding to the shared_widget imo, so add it roughly like before.
2023-07-21shared_widget: Make button creation staticlat9nq2-10/+12
2023-07-21configure_general: Hide reset button in custom configslat9nq1-0/+4
2023-07-21configure_general: Sort datalat9nq1-1/+7
2023-07-21configure_general: Generate UI using containerslat9nq5-163/+41
This leaves per-game config's General tab empty?
2023-07-21shared_translation: Add UI widget translationslat9nq1-55/+73
2023-07-21shared_widget: Fix headerlat9nq1-0/+2
2023-07-21settings: Add UiGeneral classlat9nq4-7/+16
2023-07-21config: Don't merge the mapslat9nq2-11/+10
Me shooting myself in the foot 3 days in advance.
2023-07-21configure_graphics: Remove redundant loglat9nq1-1/+0
2023-07-21configuration: Move CreateWidget to a classlat9nq10-453/+507
We were passing so many objects between the function and the caller that it needed to be redesigned.
2023-07-21configuration: Implement sliderlat9nq7-71/+188
2023-07-21configuration: Use buttons instead of highlightslat9nq9-103/+204
Only for updated configs at the moment
2023-07-21shared_translations: Re flow stringslat9nq1-6/+6
2023-07-21configure_graphics: More complete reimplementationlat9nq4-348/+116
2023-07-21settings: Define base renderer runtime modifiable settingslat9nq2-25/+27
2023-07-21configuration_shared: Fix blank state hiding check boxlat9nq1-2/+1
2023-07-21settings: Add anisotropy mode enumlat9nq2-0/+15
2023-07-21shared_translation: Finish using int idslat9nq6-158/+117
2023-07-21settings,uisettings: Add IDs to settingslat9nq1-3/+13
2023-07-21configure_graphics: Partial runtime implementationlat9nq10-1148/+513
2023-07-21settings: Recategorize a bitlat9nq6-45/+77
Will help with generating config UI later.
2023-07-21shared_translation: Add the rest of the settingslat9nq1-1/+80
2023-07-21shared_translation: Add copyright and licenselat9nq2-0/+6
2023-07-21configure_graphics_advance: Generate UI at runtimelat9nq15-402/+451
We can iterate through the AdvancedGraphics settings and generate the UI during runtime. This doesn't help runtime efficiency, but it helps a ton in reducing the amount of work a developer needs in order to add a new setting.
2023-07-21configure_per_game: Rename group to tab_grouplat9nq2-10/+11
2023-07-21configuration: Add base class to tabslat9nq18-101/+110
Tabs that largely configure SwitchableSetting's are now Tabs and grouped together.
2023-07-21configuration_shared: Create Tab base classlat9nq2-0/+22
2023-07-21settings: Add a registry of settingslat9nq9-870/+700
LoadString: Sanitize input settings: Handle empty string, remove redundant category settings: Rename Input to Controls, FS to DataStorage settings: Fix Controls groups information settings: Move use_docked_mode to System (again) settings: Document settings: Add type identification function settings: Move registry into values settings: Move global_reset_registry into values settings: Separate AdvGraphics from Renderer settings: More document squash settings: Use linkage object uisettings: Move registry into settings Probably wont build without uisettings: Use settings linkage object config: Load settings with a map Uses the new all_settings vector to load settings. qt-config: Rename settings category qt config: Rename to read category config: Read/write contols category with for_each This is extremely limited due to the complexity of the Controls group, but this handles the the settings that use the interface. qt-config: Use new settings registry qt-config: Read/write advgrphics qt-config: Use settings linkage object yuzu_cmd: Load setting off of vector cmd-config: Finish settings rename config: Read controls settings group with for_each cmd/config: Move registry into values cmd: Read adv graphics cmd-config: Use settings linkage object
2023-07-21uisettings: Fix typingslat9nq4-57/+63
2023-07-21settings,core,config_sys: Remove optional type from custom_rtc, rng_seedlat9nq6-26/+33
core: Fix MSVC errors
2023-07-21settings: Pool SetGlobal functionslat9nq2-61/+14
2023-07-21settings,video_core: Consolidate ASTC decoding optionslat9nq12-52/+105
Just puts them all neatly into one place.
2023-07-19vk_buffer_cache: Formatlat9nq1-2/+2
2023-07-19general: Silence -Wshadow{,-uncaptured-local} warningslat9nq12-58/+61
These occur in the latest commits in LLVM Clang.
2023-07-18Debug SetIdleTimeDetectionExtensionKelebek11-2/+2
2023-07-18nsd: add GetApplicationServerEnvironmentTypeLiam2-1/+17
2023-07-17ssl: Link with crypt32 for secure channel backendMorph2-1/+2
2023-07-17ssl: Reorder inclusionsMorph6-26/+30
2023-07-17network: Forward declarationsMorph5-5/+11
2023-07-17service: nfc: Update Implementation to match with latest RENarr the Reg7-54/+143
2023-07-16android: fix links to re-dumping guidesValeri Ochinski1-1/+1
2023-07-15buffer_cache: Increase number of texture buffersGPUCode2-1/+11
2023-07-15Fixes and workarounds to make UBSan happier on macOScomex11-32/+42
There are still some other issues not addressed here, but it's a start. Workarounds for false-positive reports: - `RasterizerAccelerated`: Put a gigantic array behind a `unique_ptr`, because UBSan has a [hardcoded limit](https://stackoverflow.com/questions/64531383/c-runtime-error-using-fsanitize-undefined-object-has-a-possibly-invalid-vp) of how big it thinks objects can be, specifically when dealing with offset-to-top values used with multiple inheritance. Hopefully this doesn't have a performance impact. - `QueryCacheBase::QueryCacheBase`: Avoid an operation that UBSan thinks is UB even though it at least arguably isn't. See the link in the comment for more information. Fixes for correct reports: - `PageTable`, `Memory`: Use `uintptr_t` values instead of pointers to avoid UB from pointer overflow (when pointer arithmetic wraps around the address space). - `KScheduler::Reload`: `thread->GetOwnerProcess()` can be `nullptr`; avoid calling methods on it in this case. (The existing code returns a garbage reference to a field, which is then passed into `LoadWatchpointArray`, and apparently it's never used, so it's harmless in practice but still triggers UBSan.) - `KAutoObject::Close`: This function calls `this->Destroy()`, which overwrites the beginning of the object with junk (specifically a free list pointer). Then it calls `this->UnregisterWithKernel()`. UBSan complains about a type mismatch because the vtable has been overwritten, and I believe this is indeed UB. `UnregisterWithKernel` also loads `m_kernel` from the 'freed' object, which seems to be technically safe (the overwriting doesn't extend as far as that field), but seems dubious. Switch to a `static` method and load `m_kernel` in advance.
2023-07-15kernel: reduce page table region checkingLiam8-87/+23
2023-07-15k_process: PageTable -> GetPageTableLiam27-90/+81
2023-07-12file_sys/content_archive: Detect compressed NCAs (#11047)Tobias2-1/+40
2023-07-12time_zone: Clean up includeslat9nq1-1/+1
2023-07-12time_zone: Swap subtraction orderlat9nq1-1/+1
2023-07-12time_zone: Account for leap yearslat9nq1-4/+6
Protects against invalid hour offsets during transitions to years following leap years.
2023-07-12cmake: allow using system VMA libraryAlexandre Bouvier2-1/+13
2023-07-11android: Visualize disabled home optionsCharles Lombardo4-53/+84
Allow for displaying options in the home options that are disabled with messages that explain why they are disabled. This includes reasoning for the GPU driver installation button.
2023-07-10settings: Disable C++20 tzdb path on MinGWlat9nq1-1/+2
This path always results in Etc/UTC on MinGW, which often is not close to the local time zone.
2023-07-10time_zone: Remove string ops for determing zonelat9nq1-27/+16
MinGW's strftime implementation does not work and cannot be used to determine the time zone. Besides that, the string operations are actually unnecessary since we can get the offset from std::localtime. Compare localtime to gmtime to find the zone offset on all platforms.
2023-07-10android: Don't prompt to save user data on uninstallCharles Lombardo1-1/+1
While this can be convenient in some scenarios, this will be a big problem for users trying to sideload different APK versions. If they forget the last one they had installed, they could have problems installing a new copy.
2023-07-09arm_interface: correct breakpoint rewind conditionLiam1-1/+1
2023-07-09settings: Catch runtime error from STLlat9nq1-3/+2
This function throws a runtime error we can catch on old Windows 10 installs, so we can catch it here rather than disable this path for everybody.
2023-07-08k_server_session: translate special header for non-HLE requestsLiam3-7/+771
2023-07-07input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0Martino Fontana2-42/+11
This allows to share the mappings between Nintendo and non-Nintendo controllers. Breaks the controller configuration for existing users who are using a Nintendo controller. (Documentation of the hint https://github.com/libsdl-org/SDL/blob/92b3c53c92971e685254fd89f89ce6bde8cea60e/include/SDL_hints.h#L512-L532)
2023-07-06vfs_real: use open file size for getting size (#11016)liamwhite1-1/+2
2023-07-06main: Use 1_MiB as a constant for copy buffer sizeMorph1-3/+5
2023-07-06main: Fix install progress calculationMorph1-3/+3
The increased buffer size means that that progress bar size has to be adjusted
2023-07-06input_common: Avoid potential division by zeroNarr the Reg1-2/+3
2023-07-05settings: Disable C++20 path on MSVClat9nq1-1/+2
Even though it compiles and runs fine on the latest Windows versions, older LTSC builds will crash due to lacking support somewhere in the OS. For now just disable it for MSVC until either Microsoft fixes this or we no longer support 1809 LTSC.
2023-07-04Fix ScratchBuffer movesKelebek11-2/+15
2023-07-04video_core: vulkan_device: Disable timeline semaphore on Turnip, fix qcom version check.bunnei2-9/+16
2023-07-03video_core: vulkan_device: Change to driver version check.bunnei1-15/+23
2023-07-03android: Reintroduce launch mode as single topgerman771-0/+1
2023-07-03oops re opengidoly1-0/+4
2023-07-03Use `toUtf8()` for string passed to DBuszeltermann1-1/+1
2023-07-03service: nfc: Ensure controller is in the correct modegerman773-11/+41
2023-07-03android: Version the input overlayCharles Lombardo11-170/+751
Now within the Input Overlay file, there is a version that will determine when the overlay will be reset. This is intended for breaking changes like the ones we had with the additions of percentage based layouts or the addition of foldable/portrait layouts. This also includes versions for each individual layout so we don't have to reset every layout if only one is broken. Additionally, this includes new L3/R3 buttons.
2023-07-03Use spans over guest memory where possible instead of copying data.Kelebek122-234/+463
2023-07-02core_timing: Remove GetCurrentTimerResolution in CoreTiming loopMorph4-5/+22
Other programs may change this value, but if thousands of syscalls in this loop is undesirable, then we can just set this once.
2023-07-02Rename variables to avoid -Wshadow warnings under GCCcomex1-5/+5
2023-07-02vulkan_common: use device local preferred for image memoryLiam1-2/+2
2023-07-02Revert "texture_cache: Fix incorrect logic for AccelerateDMA"Liam1-4/+8
This reverts commit 1fc47361a12afd91d8ea0b76378e0b3d4feb93a6.
2023-07-02...actually add the SecureTransport backend to Git.comex1-0/+219
2023-07-02Updates:comex7-211/+276
- Address PR feedback. - Add SecureTransport backend for macOS.
2023-07-01yuzu: Use test window with VulkanSurface to check for present modes.Steveice101-1/+4
It is probably not correct to create a surface on a non-VulkanSurface window. On macOS this causes a preferences crash due to missing CAMetalLayer.
2023-07-01kernel: SynchronizeMorph3-36/+52
2023-07-01Minor cleanup in BufferCacheRuntime::ReserveNullBuffercomex1-2/+1
As far as I can tell, there is no reason to OR this bit in separately.
2023-07-01renderer_vulkan: Fix some missing view formatsGPUCode2-3/+8
* Many times the format itself wouldn't have been added to the list causing device losses for nvidia GPUs * Also account for ASTC acceleration storage views
2023-07-01renderer_vulkan: Add support for VK_KHR_image_format_listGPUCode5-14/+53
2023-07-01vulkan: Use newer VK_EXT_metal_surface to create surface for MoltenVK.Steveice104-15/+19
2023-07-01parcel: Optimize small_vector sizesMorph1-11/+13
2023-07-01maxwell_dma: Specify dst_operand.pitch instead of a temp varMorph1-4/+3
2023-07-01general: Use ScratchBuffer where possibleMorph14-64/+81
2023-07-01yuzu: Ensure mouse panning can't be enabled with real mouse emulationgerman775-30/+39
2023-06-30android: Show memory warning onceCharles Lombardo2-13/+24
2023-06-30ring_buffer: Fix const usage on std::spanMorph1-1/+1
2023-06-30scratch_buffer: Add member types to ScratchBufferMorph1-20/+26
Allows for implicit conversion to std::span<T>.
2023-06-30android: Rework MemoryUtilCharles Lombardo3-25/+85
Uses string templates and rounds up memory amount for potentially inaccurate checks now
2023-06-30sink_stream: Resolve heap buffer corruption due to out of bounds writeMorph2-17/+20
Also, remove the use of ScratchBuffer when upmixing, as other channels may not be initialized with zeroed out data.
2023-06-30video_core: vulkan_device: Scope S8Gen2 checks to just Qualcomm.bunnei1-2/+2
2023-06-30video_core: vulkan_device: Fix S8Gen2 dynamic state checks.bunnei1-3/+19
2023-06-29AccelerateDMA: Don't accelerate 3D texture DMA operationsFernando Sahmkow1-0/+4
2023-06-29android: Suppress a known incompatibilityAbandoned Cart1-0/+3
Android Gradle plugin 8.0.2 is designed for API 33, but a newer plugin hasn't been released yet. The warning message is rather extravagant, but also suggests adding this property if you are aware of the risks.
2023-06-29Memory Tracker: Use 64 bit atomics instead of 128 bitsFernando Sahmkow1-9/+13
2023-06-29Texture cache: Fix YFC regression due to code testingFernando Sahmkow1-9/+0
2023-06-29input_common: Allow timeouts to happen while scanning for a ringgerman772-3/+4
2023-06-29input_common: Tune mouse controlsNarr the Reg5-88/+51
2023-06-29android: Make MemoryUtil an objectCharles Lombardo2-13/+12
2023-06-29Blacklist EDS3 blending from new AMD driversMatías Locatti1-0/+8
2023-06-28android: Android 14 supportCharles Lombardo2-3/+6
Specifies the permissions needed for the changes to foreground services in Android 14.
2023-06-28Memory Tracking: Optimize tracking to only use atomic writes when contested with the host GPUFernando Sahmkow19-38/+153
2023-06-28MemoryTracking: Initial setup of atomic writes.Fernando Sahmkow8-14/+183
2023-06-28input_common: Remove duplicated DriverResult enumgerman7721-479/+523
2023-06-28x64: cpu_wait: Implement MWAITX for non-MSVC compilersMorph1-0/+10
2023-06-28x64: cpu_wait: Remove magic valuesMorph1-3/+8
2023-06-28x64: cpu_wait: Make use of MWAITX in MicroSleepMorph1-12/+21
MWAITX is equivalent to UMWAIT on Intel's Alder Lake CPUs. We can emulate TPAUSE by using MONITORX in conjunction with MWAITX to wait for 100K cycles.
2023-06-28x64: Add detection of monitorx instructionsMorph3-0/+3
monitorx introduces 2 instructions: MONITORX and MWAITX.
2023-06-28fsmitm_romfsbuild: avoid full path lookupsLiam1-21/+17
2023-06-28renderer_vulkan: Prevent crashes when blitting depth stencilGPUCode1-0/+3
2023-06-28video_core: Add BCn decoding supportGPUCode13-120/+221
2023-06-28renderer_vulkan: Add more feature checkingGPUCode3-3/+24
2023-06-28renderer_vulkan: Don't assume debug tool with debug rendererGPUCode1-1/+1
* Causes crashes because mali drivers don't support debug utils
2023-06-28renderer_vulkan: Bump minimum SPIRV versionGPUCode1-1/+1
* 1.3 is guaranteed on all 1.1 drivers
2023-06-28renderer_vulkan: Respect viewport limitGPUCode3-6/+19
2023-06-28renderer_vulkan: Don't add transform feedback flag if unsupportedGPUCode2-7/+12
2023-06-28renderer_vulkan: Add suport for debug report callbackGPUCode8-37/+113
2023-06-28settings: Clean up includeslat9nq1-2/+3
Adds <version> since we are looking at C++ implementation version details. Also moves exception header includes into the if preprocessor command since we only use it there.
2023-06-28arm_dynarmic_32: Remove disabling of block linking on arm64Merry1-5/+0
2023-06-28settings: Catch runtime_error, fallback time zonelat9nq1-3/+15
Windows will let you select time zones that will fail in their own C++ implementation library. Evidently from the stack trace, we get a runtime error to work with, so catch it and use the fallback.
2023-06-27yuzu: Fix clang formatgerman772-12/+15
2023-06-27android: Fix size check for content urisCharles Lombardo1-0/+6
Fix for checking file size for android content uris
2023-06-26android: Clean up file extension checksCharles Lombardo5-50/+19
2023-06-26externals: Use cmake subdirectoryGPUCode3-6/+0
2023-06-26Use safe reads in DMA engineKelebek11-5/+6
2023-06-26PR feedback + constificationcomex8-60/+62
2023-06-26network.cpp: include expected.hcomex1-0/+1
2023-06-26re-formatcomex1-4/+5
2023-06-26Fix more Windows build errorscomex5-28/+35
I did test this beforehand, but not on MinGW, and the error that showed up on the msvc builder didn't happen for me...
2023-06-26ssl: fix compatibility with OpenSSL 1.1.1comex1-1/+10
Turns out changes were needed after all.
2023-06-26OpenGL: Limit lmem warmup to NVIDIAameerj3-4/+15
:frog:
2023-06-26shaders: Track local memory usageameerj7-2/+23
2023-06-26emit_glasm: Fix lmem size computationameerj1-1/+1
2023-06-26OpenGL: Add Local Memory warmup shaderameerj5-1/+62
2023-06-26Fixes:comex3-4/+12
- Add missing virtual destructor on `SSLBackend`. - On Windows, filter out `POLLWRBAND` (one of the new flags added) when calling `WSAPoll`, because despite the constant being defined on Windows, passing it calls `WSAPoll` to yield `EINVAL`. - Reduce OpenSSL version requirement to satisfy CI; I haven't tested whether it actually builds (or runs) against 1.1.1, but if not, I'll figure it out. - Change an instance of memcpy to memmove, even though the arguments cannot overlap, to avoid a [strange GCC error](https://github.com/yuzu-emu/yuzu/pull/10912#issuecomment-1606283351).
2023-06-25ssl: rename argument to avoid false positive codespell warningcomex1-2/+2
The original name `larg` was copied from the OpenSSL documentation and is not a typo of 'large' but rather an abbreviation of '`long` argument'. But whatever, no harm in adding an underscore.
2023-06-25socket_types: Improve commentcomex1-3/+3
2023-06-25Implement SSL servicecomex21-277/+2080
This implements some missing network APIs including a large chunk of the SSL service, enough for Mario Maker (with an appropriate mod applied) to connect to the fan server [Open Course World](https://opencourse.world/). Connecting to first-party servers is out of scope of this PR and is a minefield I'd rather not step into. ## TLS TLS is implemented with multiple backends depending on the system's 'native' TLS library. Currently there are two backends: Schannel for Windows, and OpenSSL for Linux. (In reality Linux is a bit of a free-for-all where there's no one 'native' library, but OpenSSL is the closest it gets.) On macOS the 'native' library is SecureTransport but that isn't implemented in this PR. (Instead, all non-Windows OSes will use OpenSSL unless disabled with `-DENABLE_OPENSSL=OFF`.) Why have multiple backends instead of just using a single library, especially given that Yuzu already embeds mbedtls for cryptographic algorithms? Well, I tried implementing this on mbedtls first, but the problem is TLS policies - mainly trusted certificate policies, and to a lesser extent trusted algorithms, SSL versions, etc. ...In practice, the chance that someone is going to conduct a man-in-the-middle attack on a third-party game server is pretty low, but I'm a security nerd so I like to do the right security things. My base assumption is that we want to use the host system's TLS policies. An alternative would be to more closely emulate the Switch's TLS implementation (which is based on NSS). But for one thing, I don't feel like reverse engineering it. And I'd argue that for third-party servers such as Open Course World, it's theoretically preferable to use the system's policies rather than the Switch's, for two reasons 1. Someday the Switch will stop being updated, and the trusted cert list, algorithms, etc. will start to go stale, but users will still want to connect to third-party servers, and there's no reason they shouldn't have up-to-date security when doing so. At that point, homebrew users on actual hardware may patch the TLS implementation, but for emulators it's simpler to just use the host's stack. 2. Also, it's good to respect any custom certificate policies the user may have added systemwide. For example, they may have added custom trusted CAs in order to use TLS debugging tools or pass through corporate MitM middleboxes. Or they may have removed some CAs that are normally trusted out of paranoia. Note that this policy wouldn't work as-is for connecting to first-party servers, because some of them serve certificates based on Nintendo's own CA rather than a publicly trusted one. However, this could probably be solved easily by using appropriate APIs to adding Nintendo's CA as an alternate trusted cert for Yuzu's connections. That is not implemented in this PR because, again, first-party servers are out of scope. (If anything I'd rather have an option to _block_ connections to Nintendo servers, but that's not implemented here.) To use the host's TLS policies, there are three theoretical options: a) Import the host's trusted certificate list into a cross-platform TLS library (presumably mbedtls). b) Use the native TLS library to verify certificates but use a cross-platform TLS library for everything else. c) Use the native TLS library for everything. Two problems with option a). First, importing the trusted certificate list at minimum requires a bunch of platform-specific code, which mbedtls does not have built in. Interestingly, OpenSSL recently gained the ability to import the Windows certificate trust store... but that leads to the second problem, which is that a list of trusted certificates is [not expressive enough](https://bugs.archlinux.org/task/41909) to express a modern certificate trust policy. For example, Windows has the concept of [explicitly distrusted certificates](https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn265983(v=ws.11)), and macOS requires Certificate Transparency validation for some certificates with complex rules for when it's required. Option b) (using native library just to verify certs) is probably feasible, but it would miss aspects of TLS policy other than trusted certs (like allowed algorithms), and in any case it might well require writing more code, not less, compared to using the native library for everything. So I ended up at option c), using the native library for everything. What I'd *really* prefer would be to use a third-party library that does option c) for me. Rust has a good library for this, [native-tls](https://docs.rs/native-tls/latest/native_tls/). I did search, but I couldn't find a good option in the C or C++ ecosystem, at least not any that wasn't part of some much larger framework. I was surprised - isn't this a pretty common use case? Well, many applications only need TLS for HTTPS, and they can use libcurl, which has a TLS abstraction layer internally but doesn't expose it. Other applications only support a single TLS library, or use one of the aforementioned larger frameworks, or are platform-specific to begin with, or of course are written in a non-C/C++ language, most of which have some canonical choice for TLS. But there are also many applications that have a set of TLS backends just like this; it's just that nobody has gone ahead and abstracted the pattern into a library, at least not a widespread one. Amusingly, there is one TLS abstraction layer that Yuzu already bundles: the one in ffmpeg. But it is missing some features that would be needed to use it here (like reusing an existing socket rather than managing the socket itself). Though, that does mean that the wiki's build instructions for Linux (and macOS for some reason?) already recommend installing OpenSSL, so no need to update those. ## Other APIs implemented - Sockets: - GetSockOpt(`SO_ERROR`) - SetSockOpt(`SO_NOSIGPIPE`) (stub, I have no idea what this does on Switch) - `DuplicateSocket` (because the SSL sysmodule calls it internally) - More `PollEvents` values - NSD: - `Resolve` and `ResolveEx` (stub, good enough for Open Course World and probably most third-party servers, but not first-party) - SFDNSRES: - `GetHostByNameRequest` and `GetHostByNameRequestWithOptions` - `ResolverSetOptionRequest` (stub) ## Fixes - Parts of the socket code were previously allocating a `sockaddr` object on the stack when calling functions that take a `sockaddr*` (e.g. `accept`). This might seem like the right thing to do to avoid illegal aliasing, but in fact `sockaddr` is not guaranteed to be large enough to hold any particular type of address, only the header. This worked in practice because in practice `sockaddr` is the same size as `sockaddr_in`, but it's not how the API is meant to be used. I changed this to allocate an `sockaddr_in` on the stack and `reinterpret_cast` it. I could try to do something cleverer with `aligned_storage`, but casting is the idiomatic way to use these particular APIs, so it's really the system's responsibility to avoid any aliasing issues. - I rewrote most of the `GetAddrInfoRequest[WithOptions]` implementation. The old implementation invoked the host's getaddrinfo directly from sfdnsres.cpp, and directly passed through the host's socket type, protocol, etc. values rather than looking up the corresponding constants on the Switch. To be fair, these constants don't tend to actually vary across systems, but still... I added a wrapper for `getaddrinfo` in `internal_network/network.cpp` similar to the ones for other socket APIs, and changed the `GetAddrInfoRequest` implementation to use it. While I was at it, I rewrote the serialization to use the same approach I used to implement `GetHostByNameRequest`, because it reduces the number of size calculations. While doing so I removed `AF_INET6` support because the Switch doesn't support IPv6; it might be nice to support IPv6 anyway, but that would have to apply to all of the socket APIs. I also corrected the IPC wrappers for `GetAddrInfoRequest` and `GetAddrInfoRequestWithOptions` based on reverse engineering and hardware testing. Every call to `GetAddrInfoRequestWithOptions` returns *four* different error codes (IPC status, getaddrinfo error code, netdb error code, and errno), and `GetAddrInfoRequest` returns three of those but in a different order, and it doesn't really matter but the existing implementation was a bit off, as I discovered while testing `GetHostByNameRequest`. - The new serialization code is based on two simple helper functions: ```cpp template <typename T> static void Append(std::vector<u8>& vec, T t); void AppendNulTerminated(std::vector<u8>& vec, std::string_view str); ``` I was thinking there must be existing functions somewhere that assist with serialization/deserialization of binary data, but all I could find was the helper methods in `IOFile` and `HLERequestContext`, not anything that could be used with a generic byte buffer. If I'm not missing something, then maybe I should move the above functions to a new header in `common`... right now they're just sitting in `sfdnsres.cpp` where they're used. - Not a fix, but `SocketBase::Recv`/`Send` is changed to use `std::span<u8>` rather than `std::vector<u8>&` to avoid needing to copy the data to/from a vector when those methods are called from the TLS implementation.
2023-06-25Hyphenate Joy-Con and clarify furtherKirill Ignatev1-1/+1
2023-06-25Clarify Ring-Con configuration message in UIKirill Ignatev1-1/+1
Not obvious how left controller should be set up Mention that it should be left physical dual emulated
2023-06-25core: hid: Allow to read bin files while switch controller is availablegerman771-4/+10
2023-06-25input_common: Dont try to read/write data from 3rd party controllersgerman774-14/+42
2023-06-25input_common: Make use of new SDL featuresgerman771-8/+20
2023-06-24Only use SDL wakelock on Linuxzeltermann3-52/+12
SDL has internally fixed shenanigans related to wakelocking through DBus from inside sandboxes from around August 2022, so we can now remove the workaround we used since 2021.
2023-06-23android: define [[maybe_unused]] (const) autoAbandoned Cart1-41/+43
2023-06-23android: Parameter types from Android StudioAbandoned Cart1-4/+5
Android Studio marked these parameters as errors because it is an instance, not a class, that is being passed from Java.
2023-06-23vfs_real: lock concurrent accessesLiam2-25/+45
2023-06-22android: Log settingsGPUCode1-0/+1
2023-06-22vulkan_common: Remove required flagsGPUCode1-15/+1
* Allows VMA to fallback to system RAM instead of crashing
2023-06-22general: remove atomic signal and waitLiam9-40/+26
2023-06-22Remove memory allocations in some hot pathsKelebek184-460/+503
2023-06-22input_common: Implement native mifare supportNarr the Reg25-193/+1165
2023-06-22android: Generalize string message dialogAbandoned Cart2-11/+11
2023-06-22android: Add support for concurrent installsAbandoned Cart3-40/+154
2023-06-22android: Convert memory sizes to resourceAbandoned Cart3-11/+21
2023-06-22android: Add a notice when RAM inadequateAbandoned Cart3-1/+75
2023-06-22android: Refactor native and corresponding variablesAbandoned Cart6-22/+25
2023-06-22Fix JNI and expose mute settings to AndroidAbandoned Cart7-277/+99
2023-06-21android: Add a PiP interface to mute / unmuteAbandoned Cart4-0/+68
2023-06-21android: Don't show custom driver button on mali and x86Charles Lombardo3-71/+123
2023-06-20time_zone_manager: Add null terminatorlat9nq1-2/+4
We aren't null-terminating this string after the copy, and we need to.
2023-06-20time_zone_manager: Stop on commalat9nq1-1/+3
This is a deviation from the reference time zone implementation. The actual code will set a pointer to the time zone name here, but for us we have a limited number of characters to work with, and the name of the time zone here could be larger than 8 characters. We can make the assumption that time zone names greater than five characters in length include a comma that denotes more data. Nintendo just truncates that data for the name, so we can do the same. time_zone_manager: Check for length of array Just to be double sure that we never break past the array length, directly compare against it.
2023-06-19vulkan_device: Remove brace initializertoast29031-1/+1
Co-authored-by: Tobias <thm.frey@gmail.com>
2023-06-19video_core: Check broken compute earlierlat9nq2-2/+3
Checks it as the system is determining what settings to enable. Reduces the need to check settings while the system is running.
2023-06-19vfs_concat: verify short readLiam1-0/+5
2023-06-19vfs_concat: fix offset calculation when not aligned to file boundaryLiam1-4/+5
2023-06-19Use current GPU address when unmapping GPU pages, not the baseKelebek11-2/+2
2023-06-18vk_device_info: Check only affected Intel driverslat9nq3-8/+11
Renames is_intel_proprietary to has_broken_compute for accuracy. vk_device_info: Use vulkan::device to check compute
2023-06-18video_core: Formalize HasBrokenComputelat9nq3-4/+26
Also limits it to only affected Intel proprietrary driver versions. vulkan_device: Move broken compute determination vk_device: Remove errant back quote
2023-06-18renderer_vulkan: Add missing initializersGPUCode2-5/+13
2023-06-18renderer_vulkan: Use VMA for buffersGPUCode16-211/+262
2023-06-18renderer_vulkan: Use VMA for imagesGPUCode16-91/+119
2023-06-18memory_allocator: Remove OpenGL interopGPUCode4-67/+8
* Appears to be unused atm
2023-06-18externals: Add vma and initialize itlat9nq3-2/+26
video_core: Move vma implementation to library
2023-06-18vulkan_device: Remove external memory extensionlat9nq2-19/+0
Unused in yuzu. Enables yuzu to boot games in Wine using Vulkan.
2023-06-18renderer_vulkan: add missing includeLiam1-0/+1
2023-06-18time_zone_service: Always write time zone rule datalat9nq1-8/+2
Switch firmware will initialize this data even if the given parameters are invalid. We should do the same.
2023-06-17Synchronize vertex buffer even when it doesn't require bindingKelebek12-13/+16
2023-06-17k_thread: Use a mutex and cond_var to sync boollat9nq2-5/+14
std::atomic<bool> is broken on MinGW and causes deadlocks there. Use a normal cond var in its stead.
2023-06-17video_core: add samples check when find render targetFengChen2-18/+14
2023-06-17video_core: Only apply AF to 2D (array) image typesWollnashorn1-2/+7
2023-06-17video_core: Removed AF for all mip modes option as it's default nowWollnashorn9-40/+3
2023-06-16vfs_real: ensure size cache is reset on writeLiam1-0/+2
2023-06-16android: Expose audio output engine settingCharles Lombardo7-21/+59
2023-06-16android: Bump ktlint version to 0.47.1Charles Lombardo1-1/+1
2023-06-16android: Disable import-ordering ktlint checkCharles Lombardo1-1/+2
2023-06-16patch_manager: remove unnecessary GetSize callsLiam1-5/+4
2023-06-16vfs_real: misc optimizationsLiam4-24/+41
2023-06-16android: Expose CPU debugging optionCharles Lombardo5-23/+30
2023-06-16android: Expose fastmem optionCharles Lombardo4-29/+59
2023-06-16android: Support changing multiple settings at onceCharles Lombardo2-1/+17
2023-06-16android: Fix aspect ratio when rotating screenAbandoned Cart2-28/+20
2023-06-16video_core: drawtexture support upscaleFeng Chen1-3/+7
2023-06-16video_core: Use sampler IDs instead pointers in the pipeline configWollnashorn8-23/+68
The previous approach of storing pointers returned by `GetGraphicsSampler`/`GetComputeSampler` caused UB, as these functions can cause reallocation of the sampler slot vector and therefore invalidate the pointers
2023-06-16time_zone_manager: Compare to the correct booleanlat9nq1-2/+3
Reference implementation does not compare the booleans as we had them. Use the correct ones as in the reference. Also adds an assert. I have been made aware of a crash here and am not able to reproduce currently.
2023-06-16nx_tzdb: Correct Antarctica spellinglat9nq1-1/+1
2023-06-16android: Apply ktlint codestyleCharles Lombardo53-278/+476
2023-06-16Android: Use ktlint for Kotlin code styleCharles Lombardo1-0/+20
2023-06-16android: Enable android lintingCharles Lombardo2-11/+1
2023-06-16input_common: Add amiibo with originality signature supportNarr the Reg2-0/+3
2023-06-16android: fs: Fix Exists / IsFile for SAF.bunnei4-1/+54
2023-06-15video_core: Fallback to default anisotropy instead to 1x anisotropyWollnashorn7-16/+20
2023-06-15video_core: Disable AF for non-color image formatsWollnashorn1-0/+9
2023-06-15video_core: Fixed compilation errors because of name shadowingWollnashorn2-9/+9
2023-06-15vulkan_device: disable extended_dynamic_state2 on ARM driversLiam1-5/+10
2023-06-15video_core: Add per-image anisotropy heuristics (format & mip count)Wollnashorn11-71/+168
2023-06-15video_core: preallocate fewer IR blocksLiam2-6/+6
2023-06-15service: nfc: Read tag protocol only for nfc backendNarr the Reg2-5/+6
2023-06-15service: nfc: Accuracy fixesNarr the Reg10-110/+192
2023-06-14android: Move overlays to their own layoutAbandoned Cart5-108/+117
2023-06-14android: Initialize defaults for each orientationsAbandoned Cart6-173/+187
2023-06-14android: Display FPS with emulation on hingeAbandoned Cart2-17/+13
2023-06-14android: Remove PiP reliance on fragmentAbandoned Cart5-63/+69
2023-06-14android: Set layout by fragment, not viewAbandoned Cart3-63/+63
2023-06-14android: Add a separate foldable layout setAbandoned Cart3-206/+222
2023-06-14android: Set portrait default control paramsAbandoned Cart4-17/+186
2023-06-14android: Actually implement portrait controlsAbandoned Cart2-33/+82
2023-06-14android: Enable automated portrait controlsAbandoned Cart2-81/+40
2023-06-14android: Add Picture in Picture / OrientationAbandoned Cart15-66/+336
2023-06-14android: Adapt EmulationActivity to navigation componentCharles Lombardo9-74/+86
2023-06-14video_core: optionally skip barriers on feedback loopsLiam6-0/+28
2023-06-14renderer_vulkan: propagate conditional barrier supportLiam1-0/+1
2023-06-14video_core: Apply AF only to samplers with normal LOD range [0, 1+x]Wollnashorn1-4/+6
2023-06-14video_core: Fix default anisotropic heuristicWollnashorn1-4/+4
2023-06-14video_core: Never apply AF to None mipmap modeWollnashorn1-3/+4
Should fix some artifacts with the "apply anisotropic filtering for all mipmap modes" option
2023-06-13vfs_real: require file existence on openLiam1-0/+4
2023-06-13vfs_real: add simplified open file cacheLiam2-1/+18
2023-06-13video_core: Disable anisotropic filtering for samplers with depth compareWollnashorn1-2/+3
2023-06-13android: Declare languages in locales_config.xmlFearlessTobi2-0/+18
This is required to make per-app language swithcing possible on Android 13.
2023-06-13vfs_real: lazily open filesLiam2-11/+3
2023-06-13vfs_real: add file LRU cache for open file limitsLiam2-100/+106
2023-06-13android: Fix touch inputgerman771-2/+4
2023-06-13buffer_cache_base: Specify buffer type in HostBindingsMorph6-37/+35
Avoid reinterpret-casting from void pointer since the type is already known at compile time.
2023-06-13core: decouple ARM interface from DynarmicLiam15-172/+189
2023-06-13video_core: Option to apply anisotropic filtering for all mipmap modesWollnashorn9-1/+37
2023-06-13android: settings: Disable force_max_clock by default.bunnei3-5/+5
2023-06-13android: settings: Add reactive flushing as a default-disabled setting.bunnei5-0/+24
2023-06-13android: res: Remove translated strings that no longer exist.bunnei14-106/+0
2023-06-13android: Add translation files manuallyFearlessTobi14-0/+4816
2023-06-12android: Add update supportNarr the Reg7-5/+183
2023-06-12android: Use autogenerated hash code function for Game classCharles Lombardo1-7/+12
2023-06-12android: Use autoVersion when gradle property is setCharles Lombardo1-1/+15
2023-06-12input_common: Redesign mouse panningBaptiste Marie14-103/+581
2023-06-11qt: use larger buffer for update installLiam1-1/+1
2023-06-11android: Update dependenciesCharles Lombardo1-4/+4
2023-06-11android: Differentiate build types with new namesCharles Lombardo2-2/+7
Change the applicationIdSuffix and app launcher title based on build type
2023-06-11Android: Remove unused relWithVersionCode build typeCharles Lombardo1-10/+0
2023-06-11android: Use ContentResolver to get file extensionCharles Lombardo3-11/+28
Fixes an issue where we try to resolve file extension from URIs. Sometimes the URI will not contain the file name at all and instead a string of numbers. Here we query the content resolver and guarantee that we get a file name every time.
2023-06-11android: Fix screen orientation & blurriness.bunnei4-95/+5
2023-06-10shader_recompiler: translate f64 to f32 when unsupported on hostLiam8-0/+198
2023-06-10shader_recompiler: remove barriers in conditional control flow when device lacks supportLiam10-0/+65
2023-06-10android: Add proper homebrew checkCharles Lombardo8-13/+51
2023-06-09android: Fix input overlay version checkCharles Lombardo1-12/+14
2023-06-09qt: persist framerate sync optionLiam1-0/+2
2023-06-09android: EmulationActivity: Fix orientation on Mi Pad 5.bunnei1-1/+2
2023-06-09Fix potentially uninitialized local variable warningTokarev Artem1-1/+1
2023-06-08image_info: adjust rescale thresholds and refactor constant useLiam1-8/+12
2023-06-08vk_blit_screen: use higher bit depth for fxaaLiam1-4/+4
2023-06-08Combine vertex/transform feedback buffer binding into a single callKelebek16-24/+148
2023-06-08nvnflinger: allow locking framerate during video playbackLiam11-24/+48
2023-06-08nvdisp: Fix SingleCore frametime reportingMorph1-1/+1
2023-06-08core_timing: Fix SingleCore cycle timerMorph4-43/+31
2023-06-08(wall, native)_clock: Add GetGPUTickMorph7-12/+47
Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
2023-06-08time: Use compile time division for TimeSpanType conversionMorph5-11/+15
2023-06-08core_timing: Use CNTPCT as the guest CPU tickMorph14-122/+47
Previously, we were mixing the raw CPU frequency and CNTFRQ. The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
2023-06-08nvnflinger: Acquire lock prior to signaling the vsync variableMorph1-1/+2
2023-06-08(wall, native)_clock: Rework NativeClockMorph5-259/+94
2023-06-08x64: Deduplicate RDTSC usageMorph5-19/+82
2023-06-07remove version code declarationqurious-pixel1-1/+0
2023-06-07CMakeLists: Force C++20 on MSVC due to conflicts with C++23 modulesMorph1-2/+4
The latest version of MSVC STL brings C++23 standard library modules, which conflict with precompiled headers. Disabling with /experimental:module- has no effect, so force C++20 in the meantime while we wait for module support in other compilers.
2023-06-07service: nfc: Add backup supportgerman7710-39/+184
2023-06-06Android TV bannerLive session user3-14/+9
2023-06-06android: Set version codeNarr the Reg1-0/+1
2023-06-06Updated to lexicographical order suggestionsCarlos Estrague / Mrc_munir1-3/+3
2023-06-06android: Improve Gradle build configurationAbandoned Cart1-1/+2
2023-06-06vk_device_info: Clean up includes [IWYU]lat9nq2-3/+11
2023-06-06vk_device_info: Add SPDX datalat9nq2-0/+6
2023-06-06yuzu-qt: Load Vulkan device info at startuplat9nq11-50/+124
Loading it when the configuration opens now incurs a noticeable delay. We also don't need to rediscover the same data repeatedly each time the configuration opens. Moves vulkan device info discovery to yuzu's startup as opposed to the configure_graphics constructor.
2023-06-06android: audio_core: sink_stream: Remove unnecessary check.bunnei1-3/+0
2023-06-06Make VK_EXT_robustness2 optionalCarlos Estrague / Mrc_munir1-4/+4
For some reason nvidia implemented Vulkan 1.2 supported without support for VK_EXT_robustness2 in tegra X1/X2 . Fix vulkan work in TX1/TX2 L4T drivers .
2023-06-06android: HomeSettingsFragment: Use string resource for "Share log".bunnei1-1/+1
2023-06-06android: Use a custom view for changing emulation aspect ratioCharles Lombardo3-1/+62
Credit to the Skyline team for the FixedRatioSurfaceView.
2023-06-06Address feedbackPabloG024-19/+28
2023-06-05tz_manager: Fix comparison to wrong integerlat9nq1-1/+1
2023-06-05tz_manager: Implement missing transition timeslat9nq1-1/+59
time_zone_manager: Use s64 storage
2023-06-05tz_manager: Warn on unimplemented codelat9nq1-0/+7
2023-06-05tz_manager: Fix character offset not advancinglat9nq1-0/+1
2023-06-05tz_manager: Fix off-by-one errorlat9nq1-4/+4
2023-06-05time_zone: Handle offset time zoneslat9nq1-38/+26
time_zone: Remove maybe_unused time_zone: Use s64 storages time_zone: Catch by reference
2023-06-05time_zone_binary: Add zoneinfo datalat9nq2-643/+65
Adds the basic time zone data for the system archive. time_zone_binary: Implement full system archive time_zone_binary: Remove unneeded template tz_binary: Make GenerateFiles static
2023-06-05time: Implement missing servicesNarr the Reg7-11/+106
Implements GetTotalLocationNameCount LoadLocationNameList and GetTimeZoneRuleVersion. tz-manager: Fix sign issue
2023-06-05time_zone_manager: Implement go_ahead/go_backlat9nq1-1/+39
2023-06-05tz_content_manager: Try the system time zone firstlat9nq1-2/+9
If we can't find the normal time zone string, try searching for the closest one.
2023-06-05common: Move system time zone string detectionlat9nq3-76/+84
Moves it from Settings to Common::TimeZone, since this algorithm doesn't depend on the setting. It also lets us use it in other libraries. common: Various fixes time_zone: Don't double up the std::abs Too many absolute values were causing mirrored time zones to resolve as the same.
2023-06-05configure_system: Remove external offset on custom rtclat9nq1-2/+1
2023-06-05time: Remove auto timezone considerationlat9nq3-33/+3
GetTimeZoneString no longer reports a setting unique to yuzu, so we can assume a valid timezone string in core.
2023-06-05settings: Always report a valid time zonelat9nq1-2/+76
Prevents needing to deduce the non-Switch setting in core. Instead, we deduce the meaning of this setting where the heresy is committed, in common. settings: Remove strftime usage GetTimeZoneString: Use standard features Also forces GMT on MinGW due to broken strftime.
2023-06-05time_manager: Don't offset RTC by system time zonelat9nq1-5/+1
This causes the emulated system's universal time to be on the user's clock, and the user time to be off if they set a time zone. time_manager: Remove GetExternalRtcTime
2023-06-05tz_content_manager: Detect system time zonelat9nq1-1/+11
Uses C++20 tzdb to determine the system timezone. The switch uses the 597 posix time zones, so this needs tests if the system time zone isn't posix-compliant.
2023-06-05android: Create licenses pageCharles Lombardo10-4/+918
2023-06-05android: Move settings to debug submenuCharles Lombardo4-26/+38
2023-06-05android: Load settings at the start of each activityCharles Lombardo4-6/+19
2023-06-04yuzu: add opengl shader backend info in status barxcfrg3-1/+14
2023-06-04Attempt to move the unzip coroutine to a ViewModelPabloG023-27/+94
2023-06-04android: update stringsPabloG021-5/+5
2023-06-04android: add option to share logPabloG023-0/+36
2023-06-04android: add option to install firmwarePabloG025-1/+124
2023-06-04android: move unzip function to FileUtil and use SecurityExceptionPabloG022-32/+34
2023-06-04android: Several string changesCharles Lombardo5-78/+78
2023-06-04audio_renderer: resolve adsp thread deadlock shutdownLiam4-10/+12
2023-06-04android: Resolve a couple Gradle warningsAbandoned Cart1-1/+4
2023-06-04android: Add support for split foldable viewAbandoned Cart3-1/+55
2023-06-03Fix typoKevin Sundqvist Norlén1-1/+1
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2023-06-03android: Replace deprecated and Java codeAbandoned Cart1-27/+20
2023-06-03fsp-srv: avoid patching romfs multiple timesLiam1-8/+12
2023-06-03Update Chinese NX language namesKeve12272-8/+8
... as per the TLoZ: TotK icon files. Would this conflict with older games?
2023-06-03Issue a reload if the system language changedKeve12271-1/+2
2023-06-03Pick game icon based on the configured system languageKeve12271-1/+32
2023-06-03romfs: use vfs_cached for romfs outputLiam3-24/+2
2023-06-03vfs: add vfs_cached for romfs buildLiam4-2/+99
2023-06-03android: Fix crash on importing invalid saveCharles Lombardo1-3/+5
2023-06-03android: vk_presentation_manager: Fix unusued needs_recreation.bunnei1-3/+3
2023-06-03android: Rename "Input Overlay" to "Overlay Options"Charles Lombardo1-1/+1
2023-06-03android: Adjust import/export saves dialogCharles Lombardo3-15/+21
2023-06-03android: Warning dialogs for key errorsCharles Lombardo3-31/+95
2023-06-03android: vk_turbo_mode: Remove unnecessary device recreation.bunnei2-2/+11
- Fixes a rare crash.
2023-06-03android: EmulationFragment: Remove unnecessary surface destroy on pause.bunnei1-3/+0
2023-06-03android: renderer_vulkan: Fix crash with surface recreation.bunnei5-1/+36
2023-06-03android: Fix presentation layout on foldable and tablet devices.bunnei5-22/+94
2023-06-03android: Enable overlay scale/opacity dialogCharles Lombardo10-65/+182
2023-06-03Add image to card_game.xml to preview in the Layout EditorPabloG021-1/+2
2023-06-03Save the position of buttons as a percentagePabloG021-80/+136
2023-06-03android: Don't crash the app when selecting a zip that causes a SecurityExceptionCharles Lombardo1-1/+5
2023-06-03input_common: Fix virtual amiibosbunnei1-4/+4
2023-06-03android: audio_core: Avoid shutdown hang.bunnei1-0/+3
2023-06-03android: ForegroundService: Handle null intent.bunnei1-1/+4
2023-06-03android: ImportExportSavesFragment: Cleanup strings.bunnei2-7/+10
2023-06-03Update src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.ktbunnei1-1/+1
2023-06-03Remove `?.`PabloG021-1/+1
2023-06-03Check if folder exists before letting the user import/export savesPabloG021-9/+17
2023-06-03Add save import/export in UIPabloG025-0/+247
2023-06-03android: Fix FPS text getting cut off by rounded display cornersCharles Lombardo2-7/+20
2023-06-03android: Prevent deleting the settings file while a game is runningCharles Lombardo3-2/+7
2023-06-03android: Fix link text color for base theme dialogCharles Lombardo1-0/+1
2023-06-03android: Various fixes for CI.bunnei26-60/+121
2023-06-03android: externals: Update libadrenotools, use useLegacyPackaging.bunnei1-0/+5
2023-06-03android: Re-enable service notificationCharles Lombardo4-24/+29
2023-06-03android: Ensure keys are loaded before populating games listCharles Lombardo1-0/+3
2023-06-03android: Use dialog fragment for the reset settings dialogCharles Lombardo2-12/+37
2023-06-03android: Upgrade AGP to 8.0.2Charles Lombardo1-2/+2
2023-06-03android: Show notification permission page during setupCharles Lombardo4-59/+151
2023-06-03android: DIsable FPS counter by defaultCharles Lombardo1-1/+1
2023-06-03android: Improve searches with one characterCharles Lombardo1-1/+2
The Jaccard algorithm is great for searches with 2 or more characters but nothing is returned for searches with one character. To get around this, just search with JaroWinkler for single character searches.
2023-06-03android: Stop building x86 packages in APKsCharles Lombardo1-1/+1
This was really only meant for building the app to run in an emulator. If this is necessary, just add manually.
2023-06-03android: Add FPS toggleCharles Lombardo4-10/+37
2023-06-03android: Clean up app build.gradleCharles Lombardo1-22/+2
Removes the conflicting declaration of "version" and changes to versionCode that did nothing.
2023-06-03video_core: vk_rasterizer: Decrease draw dispatch count for Android.bunnei1-0/+4
2023-06-03android: config: Expose VSync as a configurable setting.bunnei5-9/+44
2023-06-03android: GPU: Enable async presentation, increase frames in flight.bunnei2-2/+4
2023-06-03android: Enable onBackInvokedCallbackCharles Lombardo1-1/+2
For now this enables the ability to see the new Android 13 back gesture animations but later we can create custom animations that follow the back gesture.
2023-06-03android: Remove deprecated use of onBackPressed()Charles Lombardo1-1/+16
2023-06-03android: Add option for touch overlay hapticsCharles Lombardo6-4/+51
Disabled by default
2023-06-03android: Improve missing game handlingCharles Lombardo2-1/+19
Previously the app would crash if you selected a game that no longer existed. Now we show an error message and reload the games list to remove any invalid games from the list.
2023-06-03android: Clean up dependenciesCharles Lombardo1-7/+3
Additionally updates material and androidx core libraries
2023-06-03android: Delete java code style fileCharles Lombardo1-241/+0
2023-06-03android: Settings UI tweaksCharles Lombardo6-23/+24
New spacing and fonts for list items
2023-06-03android: Simplify setup in search and games fragmentsCharles Lombardo2-57/+62
2023-06-03android: Use collapsing toolbar layout in settingsCharles Lombardo3-11/+26
2023-06-03android: Remove unnecessary JvmStatic/JvmField annotationsCharles Lombardo11-17/+0
2023-06-03android: Fix navigation rail animation in rtl layoutCharles Lombardo1-4/+14
2023-06-03android: Use cutout insets on setup fragmentCharles Lombardo1-5/+6
2023-06-03android: Button to reset all settingsCharles Lombardo21-23/+138
2023-06-03android: Use proguard file in relWithDebInfoCharles Lombardo1-0/+4
2023-06-03android: Fix background color within inset areasCharles Lombardo2-2/+4
2023-06-03android: Shortcut to settings activity on reselectionCharles Lombardo1-2/+11
2023-06-03android: Expose custom RTC settingCharles Lombardo9-31/+72
2023-06-03android: Reset setting on long pressCharles Lombardo16-7/+89
2023-06-03android: Fix issues with ea/main icons and version codesCharles Lombardo7-28/+19
Now all yuzu icon variants are taken care of and now we have a build variant that uses the versioning we need for the play store.
2023-06-03android: Move theme options out of advanced settingsCharles Lombardo4-9/+17
2023-06-03android: Check if cached games are validCharles Lombardo1-1/+9
Fixes bug when you close yuzu, delete games, and reopen to an instant crash.
2023-06-03android: Invert rotation to match phone orientationgerman771-5/+27
2023-06-03android: vulkan_device: Skip BGR565 emulation on S8gen2.bunnei1-1/+3
2023-06-03android: config: Use default anisotropic filtering.bunnei1-1/+4
2023-06-03android: Remove top padding from in game menu itemsCharles Lombardo1-20/+12
2023-06-03android: Use different icons for mainline/eaCharles Lombardo10-5/+835
2023-06-03android: Add early access upgrade fragmentCharles Lombardo13-2/+419
We now have a second build flavor that will determine whether the "Get Early Access" button appears.
2023-06-03android: vulkan_device: Only compile OverrideBcnFormats when used.bunnei1-0/+2
2023-06-03android: remove spurious warnings about BCn formats when patched with adrenotoolsLiam1-1/+27
2023-06-03android: video_core: Disable some problematic things on GPU Normal.bunnei3-0/+40
2023-06-03android: settings: Use mailbox vsync by default.bunnei2-2/+5
2023-06-03android: video_core: Disable problematic compute shaders.bunnei5-5/+17
- Fixes #104.
2023-06-03android: Update progard to fix settings crashCharles Lombardo1-0/+8
R8 full mode was removing important classes from Wini that would cause a crash on saving settings. This keeps the relevant classes and suppresses warnings about irrelevant ones.
2023-06-03android: vulkan: Recreate surface after suspension & adapt to async. presentation.bunnei8-26/+39
2023-06-03android: Game data cacheCharles Lombardo8-17/+63
2023-06-03android: Update to Kotlin 1.8.21Charles Lombardo1-1/+1
2023-06-03android: Disable jetifierCharles Lombardo1-2/+1
We no longer depend on any legacy libraries that required this flag
2023-06-03android: Update dependenciesCharles Lombardo1-2/+2
2023-06-03android: Migrate to AGP 8.0.1Charles Lombardo4-6/+17
2023-06-03android: Enable non-transitive R classesCharles Lombardo4-5/+15
New default going forward for new android projects. Best to follow the new standard.
2023-06-03android: config: Enable asynchronous presentation by default on Android.bunnei2-0/+8
2023-06-03video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise.bunnei3-5/+16
2023-06-03android: fix deadzone calculationgerman771-4/+12
2023-06-03android: Fix background color when starting emulationCharles Lombardo1-0/+1
2023-06-03android: Persistent scrollbars on home settings fragmentCharles Lombardo2-5/+14
2023-06-03android: Use short build hashCharles Lombardo1-1/+1
2023-06-03android: Use navigation bar shade viewCharles Lombardo4-49/+54
2023-06-03android: About fragmentCharles Lombardo10-3/+415
2023-06-03android: Use x-axis animation for navigation railCharles Lombardo3-3/+23
2023-06-03android: Sort games alphabetically by defaultCharles Lombardo1-2/+9
2023-06-03android: New icons for navigation barCharles Lombardo7-4/+47
2023-06-03android: New icons for home settings fragmentCharles Lombardo4-21/+11
2023-06-03android: Add navigation railCharles Lombardo14-93/+208
2023-06-03android: Search FragmentCharles Lombardo20-189/+551
2023-06-03android: Fix potential zip traversal exploitCharles Lombardo1-3/+9
2023-06-03android: Add dedicated show overlay checkboxgerman773-6/+30
2023-06-03android: Add user directory shortcutCharles Lombardo6-25/+140
2023-06-03android: Fix inline keyboard inputgerman771-5/+7
2023-06-03android: Fix grammatical mistake in video core error messageCharles Lombardo1-1/+1
2023-06-03android: Adjust wording on GPU driver install buttonCharles Lombardo1-1/+1
2023-06-03android: Add deadzone to stick inputNarr the Reg1-19/+45
2023-06-03android: Move motion listener to emulation activitygerman772-64/+71
2023-06-03core: hid: Finish linking motion from virtual controllersNarr the Reg5-9/+57
2023-06-03android: Change wording for "Add Games" button (#100)Charles Lombardo2-4/+6
Co-authored-by: bunnei <bunneidev@gmail.com>
2023-06-03android: Scroll shortcut for games listCharles Lombardo3-1/+34
If you reselect the "Games" menu item in the bottom navigation menu, the list smoothly scrolls to the top.
2023-06-03android: Setup screen hotfixCharles Lombardo3-12/+32
Added help button link for add games warning and a check for whether a task was completed on a given screen.
2023-06-03android: Swap Default and Install buttons for GPU driver installation dialogCharles Lombardo1-2/+2
2023-06-03android: Add warnings to setup screensCharles Lombardo4-13/+149
2023-06-03android: Allow search bar to scroll offscreenCharles Lombardo3-15/+8
2023-06-03android: Update app iconCharles Lombardo2-34/+30
Small icon updates from Flam
2023-06-03android: Change organization of the settings tab in the home screenCharles Lombardo7-44/+44
2023-06-03android: Properly pop setup fragment from the back stackCharles Lombardo1-1/+3
2023-06-03android: Vertically scalable setup pagesCharles Lombardo2-23/+45
Previously the setup pages would remain at a fixed height but now the icon and two text boxes will give up space as a device gets shorter. This eliminates the need for a scrolling view further problems with padding.
2023-06-03android: Fix setup rotation bugCharles Lombardo2-4/+26
If you rotated the device at the "Add Games" screen the buttons would disappear until you trigged them from the beginning page swap. Now button state is saved across recreation.
2023-06-03android: Temporarily switch for a fixed version code for testingCharles Lombardo1-1/+1
2023-06-03android: Fix alignment of SwipeRefreshLayoutCharles Lombardo1-5/+9
2023-06-03android: Shape/spacing adjustments to game cardCharles Lombardo3-58/+64
Ripple effect now reaches into rounded corners, icon size changed, company text removed, title font adjusted, and spacing around the card was adjusted as well. Text also doesn't get cut off anymore and instead scrolls indefinitely on one line.
2023-06-03android: Manual tweaks for dialog colorsCharles Lombardo6-2/+21
Small fix for Flam
2023-06-03android: Fix black backgrounds bugCharles Lombardo1-6/+18
Start using a specific night mode check because black backgrounds could apply incorrectly when using the light app mode, dark system mode, and black backgrounds. Launching the settings activity will show light mode colors/navigation bars but with black backgrounds.
2023-06-03android: Use navigation bar shade view for settings activityCharles Lombardo2-3/+20
2023-06-03android: Disable editing themes during emulationCharles Lombardo1-3/+3
2023-06-03android: Prevent situation where binding is called on a null viewCharles Lombardo1-0/+3
2023-06-03android: Add black backgrounds toggleCharles Lombardo6-1/+42
2023-06-03android: Add theme mode pickerCharles Lombardo5-11/+76
2023-06-03android: Add theme pickerCharles Lombardo7-3/+127
2023-06-03android: Prevent potential abstract settings crashCharles Lombardo1-0/+4
2023-06-03android: Fix cast for abstract settingsCharles Lombardo4-5/+5
2023-06-03android: Create xml for Material You themeCharles Lombardo2-0/+58
2023-06-03android: Remove check for API 29 in themesCharles Lombardo2-15/+4
2023-06-03android: Adjustments to home option cardCharles Lombardo1-4/+10
Several spacing/color adjustments provided by Flam
2023-06-03android: Use different colors for logo in options menuCharles Lombardo2-3/+3
Reverting to the official logo colors
2023-06-03android: New default theme colorsCharles Lombardo2-30/+34
2023-06-03android: Use libnx default iconCharles Lombardo4-1/+1
Credit to jaames for the original icon
2023-06-03android: enable LTOLiam1-1/+2
2023-06-03android: Show error if invalid keys file is selectedCharles Lombardo2-0/+23
There aren't MIME types specific enough for filtering out files that aren't amiibo or production keys. So here we just check for the extensions "bin" or "keys" where appropriate and stop the process if incorrect. Previously you could select any document and it could cause the app to hang.
2023-06-03android: Fix first time setup scrolling bugCharles Lombardo2-18/+17
If you quickly scrolled from the second page to the first and then back, the next/back buttons would disappear.
2023-06-03android: Fix A button preference keyCharles Lombardo1-1/+1
2023-06-03android: First time setup screenCharles Lombardo19-163/+769
2023-06-03android: Prevent editing unsafe settings at runtimeCharles Lombardo5-14/+35
There currently isn't a visual "disabled" cue for any of the view holders that aren't the switch setting. This will be improved in the future.
2023-06-03android: Abstract settingsCharles Lombardo24-363/+418
Previously we could only add settings that would change our ini file. Now we can create abstract settings in our presenter to alter things like shared preferences for theme support!
2023-06-03android: Implement gamepad inputgerman776-11/+510
2023-06-03android: Bump minimum version to Android 11Charles Lombardo1-1/+1
2023-06-03android: Decouple status bar shade from navigation bar visibilityCharles Lombardo3-14/+34
2023-06-03android: Enable code minificationCharles Lombardo5-22/+18
2023-06-03android: Switch from a colored status bar to a custom viewCharles Lombardo4-23/+35
Allows for smoother transitions with the search bar
2023-06-03android: Adjustments to card_gameCharles Lombardo1-20/+5
Removed a currently unused text view and moved to material text views.
2023-06-03android: MainActivity overhaulCharles Lombardo32-626/+1031
This moves several parts of the main activity into fragments that manage themselves to react to changes. UI changes like the appearance of a new search view or when the games list changes now gets updated via multiple view models. This also starts a conversion to the androidx navigation component which furthers the goals mentioned previously with more fragment responsibility. This will eventually allow us to use one activity with interchanging fragments and multiple view models that are stored within that central activity. fdas
2023-06-03android: Enforce Vulkan 1.1 support as minimumCharles Lombardo1-3/+4
2023-06-03android: Update gradle version to 8.1Charles Lombardo1-1/+1
2023-06-03android: Update app dependenciesCharles Lombardo1-5/+5
2023-06-03android: Convert gradle scripts to Kotlin DSLCharles Lombardo5-201/+241
2023-06-03android: vulkan: Disable vertex_input_dynamic_state on Qualcomm.bunnei1-1/+2
2023-06-03android: settings: Add scaling filter & anti-aliasing options. (#66)bunnei4-0/+75
2023-06-03android: video_core: Add support for disk shader cache. (#64)bunnei12-4/+258
2023-06-03android: vulkan_debug_callback: Ignore many innocuous errors.bunnei1-0/+28
2023-06-03android: config: Change docked mode and GPU accuracy to favor performance on Android.bunnei3-7/+11
2023-06-03service: account: Save user profile folder on first user creationgerman771-0/+1
2023-06-03android: Initialize account managergerman771-0/+5
2023-06-03android: Remove unsafe null checkgerman771-4/+2
2023-06-03android: Scale input overlay independently of system display scaleCharles Lombardo2-30/+41
2023-06-03android: Use apply instead of commit for shared preferencesCharles Lombardo3-4/+3
Previously we were operating on the assumption that apply'd settings wouldn't be visible immediately. This isn't true and settings will be accessible via memory before being stored to disk. This reduces any potential stutters caused by saving to shared preferences.
2023-06-03android: Add DPad slide toggleCharles Lombardo5-2/+14
2023-06-03android: Add relative stick center toggleCharles Lombardo3-0/+13
2023-06-03android: Make hash and branch accessible from BuildConfigCharles Lombardo1-0/+25
2023-06-03android: Backup shared preferences where applicableCharles Lombardo2-0/+12
2023-06-03android: Enable retaining app data after uninstallCharles Lombardo1-1/+2
2023-06-03android: Remove unused doFrame functionCharles Lombardo1-2/+0
2023-06-03android: Convert NativeLibrary to KotlinCharles Lombardo15-766/+523
2023-06-03android: Remove LocalBroadcastManagerCharles Lombardo11-225/+17
This causes a couple of minor changes to directory initialization. We don't have a lengthy initialization step so we could spend less time creating state receivers and just run initialization on the main thread. We also don't have a situation where external storage will be a concern so checks are removed in favor of a binary check to see if initialization is ready. This additionally removes the unused DoFrame callback.
2023-06-03android: Remove game databaseCharles Lombardo18-773/+154
The content provider + database solution was excessive and is now replaced with the simple file checks from before but turned into an array list held within a viewmodel.
2023-06-03android: Adjust game icon loadingCharles Lombardo1-15/+9
2023-06-03android: Remove unused dimensions filesCharles Lombardo2-9/+0
2023-06-03android: Slightly reduce game card sizeCharles Lombardo2-3/+3
2023-06-03android: Only show company text view if it has contentCharles Lombardo1-5/+8
2023-06-03android: Fix check for ok text in software keyboardCharles Lombardo1-1/+1
2023-06-03android: Implement amiibo reading from nfc tagNarr the Reg15-8/+327
2023-06-03android: vulkan_device: Disable VK_EXT_custom_border_color on Adreno.bunnei1-0/+7
- Causes crashes on sampler creation with Super Mario Odyssey.
2023-06-03android: Add toggle controls option to input overlayCharles Lombardo5-6/+62
2023-06-03android: Do not update FPS text on null viewCharles Lombardo1-1/+1
2023-06-03android: Convert keyboard applet to kotlin and refactorCharles Lombardo6-279/+255
2023-06-03android: Implement basic software keyboard applet.bunnei12-152/+625
2023-06-03android: config: Disable shader cache by default on Android.bunnei1-0/+4
2023-06-03android: Fix fps counter not showing upgerman774-11/+13
2023-06-03android: Prevent showing games on an invalid viewCharles Lombardo1-0/+3
2023-06-03android: Re-implement overlay editingCharles Lombardo5-25/+245
2023-06-03android: Fix popup menu going out of boundsCharles Lombardo2-20/+11
2023-06-03android: Use autofit grid for games fragmentCharles Lombardo3-28/+72
2023-06-03android: Prevent updating empty game list text on invalid viewCharles Lombardo1-0/+3
2023-06-03android: Persist settings across configuration changesCharles Lombardo9-93/+51
Mostly things get refactored here to remove previous assumptions made about how the activity/fragment lifecycles would operate. The important change for persistence is removing the assumption that the user will be at the first settings fragment on recreation when deciding whether or not to reload settings. Now we check a flag in Settings to know if we loaded the settings within this lifecycle.
2023-06-03android: Store settings object in viewmodelCharles Lombardo7-57/+45
2023-06-03android: Remove configChanges exceptionsCharles Lombardo1-1/+0
2023-06-03Android: Enable resizeable activitiesCharles Lombardo1-6/+2
2023-06-03android: Fix emulation fragment commentsCharles Lombardo1-2/+2
2023-06-03android: Use modal navigation drawer as in game menuCharles Lombardo17-373/+343
2023-06-03android: Make Game class parcelableCharles Lombardo1-1/+4
2023-06-03android: Add kotlin parcelize pluginCharles Lombardo1-0/+1
2023-06-03android: Remove deprecated use of onActivityResultCharles Lombardo2-139/+107
2023-06-03android: Fix RTL layoutsCharles Lombardo3-1/+6
2023-06-03android: Use ellipsis characterCharles Lombardo1-1/+1
2023-06-03android: Move all array strings to main strings fileCharles Lombardo2-48/+109
2023-06-03android: Remove unused stringsCharles Lombardo1-9/+0
2023-06-03android: Remove unused colorsCharles Lombardo2-6/+0
2023-06-03android: Remove citra date time pickerCharles Lombardo1-22/+0
2023-06-03android: Remove unused premium header layoutCharles Lombardo1-42/+0
2023-06-03android: Remove unused fragment animationsCharles Lombardo2-41/+0
2023-06-03android: Remove unused string arraysCharles Lombardo1-34/+0
2023-06-03android: Remove unused integer xmlsCharles Lombardo4-13/+0
2023-06-03android: Refactor ic_launcher.xml to drawablesCharles Lombardo3-3/+3
2023-06-03android: Suppress lint in InsetsHelperCharles Lombardo1-0/+2
2023-06-03android: Add data extraction rulesCharles Lombardo3-2/+56
2023-06-03android: Remove requestLegacyExternalStorage attributeCharles Lombardo1-3/+1
2023-06-03android: Remove unused permissionsCharles Lombardo1-3/+0
2023-06-03android: Inset input overlay based on system cutoutsCharles Lombardo5-59/+94
2023-06-03Use yuzu as category instead of citraNarr the Reg1-1/+1
2023-06-03android: Stop updating fps counter when emulation stopsCharles Lombardo1-1/+4
2023-06-03android: Move driver installation off of main threadCharles Lombardo4-21/+42
Additionally creates an indeterminate loading dialog during installation
2023-06-03android: Fix crash when decodeGameIcon creates a null BitmapCharles Lombardo1-1/+1
2023-06-03android: Use view bindingCharles Lombardo16-284/+189
2023-06-03android: Enable view bindingCharles Lombardo1-0/+2
2023-06-03android: Refactor CheckBoxSetting to SwitchSettingCharles Lombardo5-14/+14
2023-06-03android: EmulationActivity: Fix variable shadowing in fragment creation.bunnei1-2/+2
2023-06-03android: res: fragment_emulation: Ensure FPS counter is shown.bunnei1-7/+7
2023-06-03common: link libandroid on androidLiam1-0/+5
2023-06-03build: only enable adrenotools on arm64Liam7-10/+18
2023-06-03android: Use Skyline's document providerCharles Lombardo3-4/+319
2023-06-03android: Use androidx splash screenCharles Lombardo4-2/+12
2023-06-03android: Replace Picasso with CoilCharles Lombardo7-138/+41
2023-06-03android: New swipe to refresh color schemeCharles Lombardo1-1/+9
2023-06-03android: New settings fragment animationsCharles Lombardo12-163/+80
2023-06-03android: Use edge to edgeCharles Lombardo9-21/+110
2023-06-03android: Use Material 3 componentsCharles Lombardo23-174/+268
2023-06-03android: Modernize theme systemCharles Lombardo8-94/+130
2023-06-03android: Use vector iconsCharles Lombardo42-9/+27
2023-06-03android: Use adaptive iconCharles Lombardo13-3/+24
2023-06-03android: settings: Dynamically evaluate valueAsStringbunnei4-4/+4
Co-Authored-By: bunnei <bunneidev@gmail.com>
2023-06-03android: Add license identifierCharles Lombardo66-5/+199
2023-06-03android: Convert YuzuApplication to KotlinCharles Lombardo2-59/+56
2023-06-03android: Convert Action1 to KotlinCharles Lombardo2-5/+5
2023-06-03android: Convert GameViewHolder to KotlinCharles Lombardo2-44/+32
2023-06-03android: Remove ThemeUtilCharles Lombardo1-34/+0
2023-06-03android: Convert StartupHandler to KotlinCharles Lombardo2-45/+45
2023-06-03android: Convert Log to KotlinCharles Lombardo2-39/+42
2023-06-03android: Convert GpuDriverMetadata to KotlinCharles Lombardo2-45/+44
2023-06-03android: Convert GpuDriverHelper to KotlinCharles Lombardo2-130/+145
2023-06-03android: Convert GameIconRequestHandler to KotlinCharles Lombardo2-29/+22
2023-06-03android: Convert ForegroundService to KotlinCharles Lombardo2-63/+56
2023-06-03android: Convert FileUtil to KotlinCharles Lombardo2-296/+292
2023-06-03android: Convert FileBrowserHelper to KotlinCharles Lombardo2-25/+26
2023-06-03android: Convert EmulationMenuSettings to KotlinCharles Lombardo2-78/+59
2023-06-03android: Convert DocumentsTree to KotlinCharles Lombardo2-125/+110
2023-06-03android: Convert DirectoryStateReceiver to KotlinCharles Lombardo2-22/+15
2023-06-03android: Convert DirectoryInitialization to KotlinCharles Lombardo2-72/+66
2023-06-03android: Convert ControllerMappingHelper to KotlinCharles Lombardo1-25/+24
2023-06-03android: Convert BiMap to KotlinCharles Lombardo2-22/+22
2023-06-03android: Convert AddDirectoryHelper to KotlinCharles Lombardo2-38/+27
2023-06-03android: Convert PlatformGamesView to KotlinCharles Lombardo1-6/+6
2023-06-03android: Convert PlatformGamesPresenter to KotlinCharles Lombardo2-42/+30
2023-06-03android: Convert PlatformGamesFragment to KotlinCharles Lombardo2-105/+94
2023-06-03android: Convert MainView to KotlinCharles Lombardo1-8/+6
2023-06-03android: Convert MainPresenter to KotlinCharles Lombardo2-81/+66
2023-06-03android: Convert InputOverlayDrawableJoystick to KotlinCharles Lombardo2-243/+205
2023-06-03android: Convert MainActivity to KotlinCharles Lombardo3-250/+229
2023-06-03android: Remove ExampleInstrumentedTestCharles Lombardo1-3/+0
2023-06-03android: Remove TwoPaneOnBackPressedCallbackCharles Lombardo1-37/+0
Leftover UI code for dolphin's cheat system. Removing for now.
2023-06-03android: Convert InputOverlayDrawableDpad to KotlinCharles Lombardo2-276/+232
2023-06-03android: Convert InputOverlayDrawableButton to KotlinCharles Lombardo2-139/+118
2023-06-03android: Convert InputOverlay to KotlinCharles Lombardo2-656/+886
2023-06-03android: Remove DividerItemDecorationCharles Lombardo1-130/+0
Removed in favor of material components version
2023-06-03android: Inherit from Material 3 themesCharles Lombardo1-8/+4
Partially breaks the UI for now but is necessary to use new material components.
2023-06-03android: Convert MinimalDocumentFile to KotlinCharles Lombardo2-28/+8
2023-06-03android: Convert GameProvider to KotlinCharles Lombardo2-138/+127
2023-06-03android: Convert GameDatabase to KotlinCharles Lombardo2-275/+260
2023-06-03android: Convert Game to KotlinCharles Lombardo2-76/+56
2023-06-03android: Convert EmulationFragment to KotlinCharles Lombardo2-375/+348
2023-06-03android: Convert SettingsFile to KotlinCharles Lombardo2-272/+245
2023-06-03android: Convert SettingsFrameLayout to KotlinCharles Lombardo2-48/+43
2023-06-03android: Convert SettingsFragmentView to KotlinCharles Lombardo1-18/+15
2023-06-03android: Convert SettingsFragmentPresenter to KotlinCharles Lombardo2-184/+333
2023-06-03android: Convert SettingsFragment to KotlinCharles Lombardo2-136/+120
2023-06-03android: Convert SettingsActivityView to KotlinCharles Lombardo1-27/+20
2023-06-03android: Convert SettingsActivityPresenter to KotlinCharles Lombardo2-122/+99
2023-06-03android: Convert SettingsActivity to KotlinCharles Lombardo2-209/+186
2023-06-03android: Convert SubmenuViewHolder to KotlinCharles Lombardo2-45/+35
2023-06-03android: Convert SliderViewHolder to KotlinCharles Lombardo2-45/+34
2023-06-03android: Convert SingleChoiceViewHolder to KotlinCharles Lombardo2-62/+54
2023-06-03android: Convert SettingViewHolder to KotlinCharles Lombardo2-49/+38
2023-06-03android: Convert HeaderViewHolder to KotlinCharles Lombardo2-32/+28
2023-06-03android: Convert DateTimeViewHolder to KotlinCharles Lombardo2-47/+35
2023-06-03android: Convert CheckBoxSettingViewHolder to KotlinCharles Lombardo2-54/+41
2023-06-03android: Convert StringSetting to KotlinCharles Lombardo2-23/+9
2023-06-03android: Convert SettingSection to KotlinCharles Lombardo2-55/+34
2023-06-03android: Convert Setting to KotlinCharles Lombardo1-24/+6
2023-06-03android: Convert IntSetting to KotlinCharles Lombardo2-23/+9
2023-06-03android: Convert FloatSetting to KotlinCharles Lombardo2-23/+9
2023-06-03android: Convert BooleanSetting to KotlinCharles Lombardo2-23/+9
2023-06-03android: Convert SubmenuSetting to KotlinCharles Lombardo2-21/+15
2023-06-03android: Convert StringSingleChoiceSetting to KotlinCharles Lombardo2-82/+61
2023-06-03android: Convert SliderSetting to KotlinCharles Lombardo2-101/+72
2023-06-03android: Convert SingleChoiceSetting to KotlinCharles Lombardo2-60/+44
2023-06-03android: Convert SettingsItem to KotlinCharles Lombardo2-100/+30
2023-06-03android: Convert HeaderSetting to KotlinCharles Lombardo2-14/+12
2023-06-03android: Convert DateTimeSetting to KotlinCharles Lombardo2-40/+35
2023-06-03android: Convert CheckBoxSetting to KotlinCharles Lombardo2-80/+91
2023-06-03android: Convert GameAdapter to KotlinCharles Lombardo2-244/+178
2023-06-03android: Convert SettingsAdapter to KotlinCharles Lombardo3-366/+315
Update SettingsAdapter.kt
2023-06-03android: Convert EmulationActivity to KotlinCharles Lombardo2-347/+286
2023-06-03android: Use material slider in settings dialogCharles Lombardo1-20/+20
2023-06-03android: Convert Settings to KotlinCharles Lombardo2-127/+145
2023-06-03android: Use androidx preferencesCharles Lombardo1-0/+2
2023-06-03android: frontend: Add unique error strings for Vulkan initialization errors.bunnei2-19/+25
2023-06-03android: Use the center of the object and reduce draw callsgerman778-59/+76
2023-06-03android: Replace old buttons with vectorsgerman77149-71/+613
2023-06-03android: Enable Kotlin supportCharles Lombardo4-26/+30
2023-06-03android: Upgrade java version to 11Charles Lombardo1-2/+2
2023-06-03android: Upgrade dependenciesCharles Lombardo1-4/+4
2023-06-03android: Upgrade to AGP 7.4.2Charles Lombardo1-1/+1
2023-06-03android: Replace lintOptions with lintCharles Lombardo1-1/+1
2023-06-03android: Move namespace to app module build.gradleCharles Lombardo2-2/+3
2023-06-03android: bump compile/target sdk to 33Charles Lombardo1-2/+2
2023-06-03android: Upgrade gradle to 8.0.1Charles Lombardo1-1/+1
2023-06-03video_core: fix clang-format errorsliushuyu2-4/+3
2023-06-03CMake: fix pkg-config behavior when building for Androidliushuyu1-0/+1
2023-06-03CI: add Android build systemsliushuyu1-0/+0
2023-06-03android: build.gradle: Cleanup build types.bunnei1-7/+1
2023-06-03android: frontend: settings: Add graphics debugging.bunnei4-6/+18
2023-06-03android: jni: Ensure system is only initialized once.bunnei4-8/+8
- Fixes likelihood that fastmem allocation succeeds.
2023-06-03video_core: vulkan_device: Correct error message for unsuitable driver.bunnei1-1/+1
2023-06-03android: frontend: Cleanup framerate counter.bunnei2-4/+3
2023-06-03android: vulkan: Implement adrenotools turbo mode.bunnei7-3/+27
2023-06-03android: vulkan_device: Disable VK_EXT_extended_dynamic_state2 on Qualcomm.bunnei1-3/+3
- Newer drivers report this as supported, but it is broken.
2023-06-03android: frontend: Add support for GPU driver selection.bunnei9-3/+251
2023-06-03android: native: Add support for custom Vulkan driver loading.bunnei14-76/+146
2023-06-03core: frontend: Refactor GraphicsContext to its own module.bunnei13-50/+84
2023-06-03common: dynamic_library: Add ctor for existing handle.bunnei2-0/+5
2023-06-03android: EmulationFragment: Always reset overlay.bunnei1-1/+2
- Ensures correct placement until we have better overlay configuration.
2023-06-03Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUsBilly Laws3-1/+19
This crashes their shader compiler for some reason.
2023-06-03Implement scaled vertex buffer format emulationBilly Laws9-51/+97
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
2023-06-03Disable push descriptors on adreno driversBilly Laws1-0/+4
Regular descriptors are around 1.5x faster to update.
2023-06-03Disable VK_EXT_extended_dynamic_state on maliBilly Laws1-0/+7
2023-06-03Disable multithreaded pipeline compilation on Qualcomm driversBilly Laws1-1/+4
This causes crashes during compilation on several 6xx and 5xx driver versions.
2023-06-03android: Add motion sensorNarr the Reg4-21/+92
2023-06-03android: Hook jni input properlyNarr the Reg5-90/+104
2023-06-03android: cleanup touch update loopNarr the Reg1-28/+50
2023-06-03android: Clean joystick overlayNarr the Reg3-135/+131
2023-06-03android: Clean dpad overlayNarr the Reg2-192/+174
2023-06-03android: Clean button overlayNarr the Reg2-195/+65
2023-06-03android: Add all buttons to screen controllerNarr the Reg4-209/+104
2023-06-03android: Apply clang formatNarr the Reg2-9/+9
2023-06-03android: frontend: Implement game grid view. (#9)bunnei15-174/+272
2023-06-03android: Replace notification icon with yuzugerman773-0/+0
2023-06-03android: strings: Refresh key dumping URL.bunnei1-1/+1
2023-06-03android: frontend: Modify ROM load messaging for invalid keys.bunnei2-7/+11
2023-06-03android: frontend: Integrate key installation for SAF.bunnei20-21/+102
2023-06-03android: jni: Add function to reload keys.bunnei3-2/+14
2023-06-03core: crypto: key_manager: Add methods to reload & validate keys.bunnei2-0/+11
2023-06-03android: EmulationActivity: Temporarily disable running notification.bunnei2-7/+12
2023-06-03android: Implement SAF support & migrate to SDK 31. (#4)bunnei38-697/+851
2023-06-03android: Harden emulation shutdown when loader fails.bunnei1-6/+12
2023-06-03android: SettingsFragmentPresenter: Fix default renderer backend.bunnei1-1/+1
2023-06-03android: jni: native: Add lock around HaltEmulation, tighten run loop.bunnei1-1/+3
2023-06-03android: jni: native: Refactor locking for is_running.bunnei1-8/+21
2023-06-03android: jni: native: Remove unnecessary atomic for is_running.bunnei1-6/+5
2023-06-03android: jni: native: Tighten up emulation start/stop signaling.bunnei1-58/+64
2023-06-03android: jni: native: Consolidate emulation state into EmulationSession singleton.bunnei1-67/+164
- Fixes state management issues across multiple boots. - Fixes crashes related to unsafe access of perf stats.
2023-06-03android: Frontend: Fix rendering aspect ratio & add a setting for it.bunnei7-2/+25
2023-06-03android: Integrate settings frontend with yuzu & remove unused code.bunnei25-1759/+949
2023-06-03externals: add adrenotools for bcenablerLiam2-0/+34
2023-06-03device_memory: Use smaller virtual reservation size for compatibility with 39-bit pagingLiam2-1/+12
2023-06-03video_core: vulkan_device: Device initialization for Adreno.bunnei1-3/+4
2023-06-03video_core: vk_pipeline_cache: Disable support_descriptor_aliasing on Android.bunnei1-0/+4
2023-06-03video_core: vk_swapchain: Fix image format for Android.bunnei2-0/+10
2023-06-03android: Minimize frontend & convert to yuzu.bunnei128-2509/+934
2023-06-03video_core: vk_blit_screen: Rotate viewport for Android landscape.bunnei1-0/+8
2023-06-03common: error: Fix for Android.bunnei1-1/+2
2023-06-03common: fs: Implement for Android.bunnei1-0/+7
2023-06-03common: logging: Implement Android logcat backend.bunnei3-0/+63
2023-06-03common: host_memory: Implement for Android.bunnei1-2/+10
2023-06-03android: Minimal JNI for yuzu.bunnei8-0/+645
2023-06-03android: Add Citra frontend.bunnei319-0/+13799
2023-06-03cmake: Integrate bundled FFmpeg for Android.bunnei1-1/+1
2023-06-03texture_cache: Fix incorrect logic for AccelerateDMAameerj1-8/+4
2023-06-01host_memory: merge adjacent placeholder mappings on Linuxkkoniuszy1-0/+22
Track the private anonymous placeholder mappings created by Unmap() and wherever possible, replace existing placeholders with larger ones instead of creating many small ones. This helps with the buildup of mappings in /proc/YUZU_PID/maps after a longer gaming session, improving stability without having to increase vm.max_map_count to a ridiculous value. The amount of placeholder mappings will no longer outgrow the amount of actual memfd mappings in cases of high memory fragmentation.
2023-05-31Fix incorrect id check and potential out of bounds lookupKelebek11-1/+1
2023-05-30Skip BufferCache tickframe with no channel state setKelebek11-1/+5
2023-05-30input_common: rename PAGE_SIZE to avoid conflict121011111-3/+3
See also: https://github.com/yuzu-emu/yuzu/issues/8779
2023-05-29yuzu: Disable game list while game is runninggerman771-0/+4
2023-05-28externals: Update to fmt 10 and add format_as formatter for BitFieldMorph1-0/+5
Implicit conversions are now disallowed in fmt 10. Use format_as to convert to the underlying type.
2023-05-28gl_texture_cache: Fix ASTC CPU decoding with compression disabledameerj1-2/+7
gl_format was incorrectly being overwritten when compression was disabled
2023-05-28gl_staging_buffers: Optimization to reduce fence waitingameerj2-4/+22
2023-05-28OpenGL: Make use of persistent buffer maps in buffer cache downloadsameerj15-204/+298
Persistent buffer maps were already used by the texture cache, this extends their usage for the buffer cache. In my testing, using the memory maps for uploads was slower than the existing "ImmediateUpload" path, so the memory map usage is limited to downloads for the time being.
2023-05-28renderer_vulkan: Remove timeline semaphore waitGPUCode1-7/+4
2023-05-27Audren wait as suggested by ByLawsKelebek11-0/+3
2023-05-27Move buffer bindings to per-channel stateKelebek14-210/+228
2023-05-27qt: add menu item to remove cache storageLiam4-0/+26
2023-05-26vfs_concat: fix time complexity of readLiam4-70/+125
2023-05-26Fix buffer overlap checking skipping a page for stream score right expandKelebek11-3/+3
2023-05-26shader_recompiler: fix copy-paste errorLiam1-1/+1
2023-05-25Don't exit when using "-u" option in yuzu-cmdAriel Cabello1-1/+1
2023-05-25video_core: don't garbage collect during configurationLiam2-6/+0
2023-05-25Add short "-u" option for yuzu_cmd.Ariel Cabello1-1/+1
The -u short option was documented but not implemented in yuzu_cmd. The same long option --user worked before.
2023-05-24Texture cache: revert wrong acceleration assumptionFernando Sahmkow1-1/+1
2023-05-24Texture Cache Util: Fix block depth adjustment on slices.Fernando Sahmkow1-2/+13
2023-05-24texture_cache: process aliases and overlaps in the correct orderFernando Sahmkow4-61/+105
2023-05-24add context menu for filter and anti-aliasing status buttonsgrimkor3-71/+152
2023-05-23video_core: tune garbage collection aggressivenessLiam2-6/+8
2023-05-23textures: add BC1 and BC3 compressors and recompression settingLiam20-26/+344
2023-05-23k_memory_block_manager: remove auditing callsLiam1-6/+2
2023-05-23service: nfc: Remove encryption key requirementNarr the Reg3-21/+52
2023-05-23vulkan_device: Enable VK_KHR_push_descriptor on newer ANVLiam1-2/+3
2023-05-23renderer_vulkan: barrier attachment feedback loopsLiam6-1/+51
2023-05-22Limit the device access memory to 4 GBscorpion811-1/+1
Hardly limiting the device access memory to 4 GB for integrated vulkan devices here. This works for the Steam Deck in order not to go above 4 GB VRAM usage any more (above this value the likelihood to crash when the RAM exceeds 12 GB as well raises). But there will be perhaps a detection mechanism necessary for detecting the real memory limit for integrated vulkan devices. Those likely might have small limits anyway, but what about integrated GPUs on machines with > 16 GB RAM, aka larger amounts ?
2023-05-22input_common: Implement amiibo writtingNarr the Reg8-68/+387
2023-05-21Add support for deinterlaced videos playbackDanila Malyutin2-2/+99
This is a follow up to #10254 to improve the playback of cut scenes in Layton's Mystery Journey. It uses ffmpeg's yadif filter for deinterlacing.
2023-05-20vk_master_semaphore: Move fence wait on separate threadGPUCode2-3/+58
2023-05-20input_common: Map motion with relative values not absolute onesgerman771-4/+7
2023-05-19renderer_vulkan: remove wrong constexprLiam1-2/+2
2023-05-18Smooth out the DSP callback by adding a 5ms wait time limitKelebek14-16/+12
2023-05-18vulkan_device: Disable VK_KHR_push_descriptor on ANVlat9nq1-0/+11
Mesa commit ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc breaks VK_KHR_push_descriptor usage on ANV drivers 22.3.0, so disable it and allow games to boot.
2023-05-17input_common: Fix pro controller amiibo supportNarr the Reg6-103/+70
2023-05-15service: hid: Use span instead of vector referencegerman773-14/+14
2023-05-15Buffer Cache: Clear sync code.Fernando Sahmkow2-28/+4
2023-05-14vulkan_device: reserve extra memory to prevent swapsLiam1-0/+2
2023-05-14input_common: Make amiibo scanning less demandinggerman773-4/+13
2023-05-14vulkan_common: fix incompatible property flagsLiam1-1/+1
2023-05-13Use TARGET_FILE_DIR generator expressionDanila Malyutin1-5/+1
Use $<TARGET_FILE_DIR:...> where appropriate instead of trying to guess where the binary will end up.
2023-05-13vulkan_common: disable depth clamp dynamic state for older radvLiam1-0/+8
2023-05-12Fix missing pic_order_present_flag in h264 headerDanila Malyutin1-2/+2
Fixes #9635
2023-05-12time: implement ContinuousAdjustmentTimePointLiam3-2/+34
2023-05-12Correctly track RT indexes for image aspect lookup during clearsKelebek12-1/+3
2023-05-11fs: adjust future save pathLiam2-4/+4
2023-05-11am: stub CreateCacheStorageLiam2-1/+33
2023-05-11fs: stub cache storage and fix params alignmentLiam2-5/+17
2023-05-11nvnflinger: fix Parcel serializationLiam3-39/+49
2023-05-11nvnflinger: fix producer slot fence initLiam1-0/+1
2023-05-11Fix Tears of the Kingdom flickering clouds and depths.Kelebek12-12/+3
2023-05-11Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path.Kelebek13-12/+24
2023-05-10Allow fully customisable controller hotkeysgrimkor4-32/+56
2023-05-10renderer_vulkan: separate guest and host compute descriptor queuesLiam16-75/+81
2023-05-10service: nfc: Seed all random valuesNarr the Reg2-6/+14
2023-05-10service: nfp: Allow to load with a different amiibo idgerman776-7/+39
2023-05-09Use the rendertarget format of the correct RT rather than the first validKelebek11-19/+6
2023-05-09Swap order of checking/setting region modifications in the buffer_cacheKelebek11-4/+4
2023-05-09input_common: Fix nfc detection for joyconsgerman774-19/+21
2023-05-09Texture Cache: Fix ASTC texturesFernando Sahmkow3-7/+7
2023-05-08qt_common: consistently ifdef QPlatform after cbd79df23375Jan Beich1-1/+1
src/yuzu/qt_common.cpp:45:33: error: member access into incomplete type 'QPlatformNativeInterface' wsi.display_connection = pni->nativeResourceForWindow("display", window); ^ /usr/include/qt6/QtGui/qguiapplication.h:20:7: note: forward declaration of 'QPlatformNativeInterface' class QPlatformNativeInterface; ^ src/yuzu/qt_common.cpp:47:42: error: member access into incomplete type 'QPlatformNativeInterface' wsi.render_surface = window ? pni->nativeResourceForWindow("surface", window) : nullptr; ^ /usr/include/qt6/QtGui/qguiapplication.h:20:7: note: forward declaration of 'QPlatformNativeInterface' class QPlatformNativeInterface; ^
2023-05-08yuzu: Make 3d cube with joycon shapeNarr the Reg1-10/+10
2023-05-08core: hid: Allow to calibrate gyro sensorNarr the Reg5-1/+43
2023-05-08configure_graphics_advanced: Hide input compute toggle a little laterlat9nq1-2/+2
SetColoredTristate causes the setting to become visible as it calls `show()` on it.
2023-05-08bootmanager: remove stop_token headerLiam1-1/+0
2023-05-08vfs_layered: avoid n^2 lookup in layeredfs buildingLiam1-3/+6
2023-05-08core: hid: Update motion on a better placegerman775-22/+20
2023-05-07Texture cache: Only force flush the dma downloadsFernando Sahmkow5-6/+6
2023-05-07Buffer Cache: disable reactive flushing in it.Fernando Sahmkow3-18/+8
2023-05-07Texture cache: reverse inmediate flush changesFernando Sahmkow3-28/+14
2023-05-07Buffer cache: always use async buffer downloads and fix regression.Fernando Sahmkow4-63/+70
2023-05-07Address feedback, add CR notice, etcFernando Sahmkow5-10/+18
2023-05-07Query cache: stop updating pages as it's not affected by cpu writesFernando Sahmkow1-2/+0
2023-05-07Settings: add option to enable / disable reactive flushingFernando Sahmkow11-5/+38
2023-05-07Texture cache: sync the first flush.Fernando Sahmkow2-3/+30
2023-05-07GPU: Add Reactive flushingFernando Sahmkow24-30/+240
2023-05-07vfs_vector: avoid n^2 lookup in layeredfs buildingLiam2-0/+23
2023-05-07yuzu/applets/qt_profile_select: connect double-click to accept()QGJ1-0/+1
In the profile selection window: Allow the user to start the game by double-clicking a profile to avoid having to additionally click the OK button. This avoids an unnecessary "step" to the start of the game...
2023-05-07Fix address space allocator slow path to avoid OOBKelebek11-1/+1
2023-05-07input_common: Revert debugging changesgerman771-2/+0
2023-05-07yuzu-qt/config: Add option to disable compute on Intellat9nq10-9/+63
This option is only visible if an Intel GPU using the proprietary driver is found during Vulkan device enumeration. configure_graphics: More directly get driver id Vulkan::Device does quite a bit more than we need just to see the driver ID here.
2023-05-07vk_pipeline_cache: Use setting to disable intel computelat9nq1-1/+2
2023-05-07settings: Add enable compute pipelineslat9nq2-0/+2
For the Intel proprietary driver's deficiencies. settings: Restore compute option global state
2023-05-06Fix read access violationRoni Kirla1-1/+1
2023-05-06input_common: Add experimental motion to buttongerman772-0/+10
2023-05-06service: nfc: Merge device interfaces and create the device managerNarr the Reg32-2410/+2031
2023-05-06Log object names with debug renderer, add a GPU address to ImageViewsKelebek110-30/+35
2023-05-06input_common: Add property to invert an axis buttonNarr the Reg6-3/+15
2023-05-06input_common: Add property to invert an axis buttonNarr the Reg4-2/+12
2023-05-05yuzu: Add motion preview to controller inputNarr the Reg7-4/+151
2023-05-05Improve emulation of HD Rumblemarius david1-6/+29
2023-05-05yuzu-sdl,audio_core: Remove antiquated warning ignorelat9nq2-21/+2
Issue was fixed a long time ago, both by SDL2 and in yuzu by including SDL2 as a system library.
2023-05-05core: hid: Fix state of capture and home buttonsgerman771-0/+4
2023-05-04settings: remove pessimistic flushingLiam8-28/+0
2023-05-04Memory manager: Fix possible softlockFernando Sahmkow1-4/+5
2023-05-04qt_common: Remove yuzu prefixlat9nq4-7/+7
2023-05-03GPU: implement missing ASTCFernando Sahmkow8-9/+49
2023-05-03vk_present_manager: Fix softlocks when disabling async presentGPUCode3-6/+9
2023-05-03configure_graphics: No there isn't a hyphen in VSynclat9nq2-5/+5
Most sources seem to suggest VSync and not V-Sync
2023-05-03configure_input_player: Add missing includelat9nq1-0/+1
Cleaning up includes in bootmanager and configure_graphics has exposed a missing include here.
2023-05-03configure_graphics: Clean up includes [IWYU]lat9nq2-6/+31
2023-05-03bootmanager: Clean up includes [IWYU]lat9nq2-15/+50
bootmanager: Remove system-specific headers IWYU can be too complete I suppose.
2023-05-03configure_graphics: Actively find present modeslat9nq3-27/+161
When Vulkan devices are enumerated, this also determines the available present modes for each device, maps them to a vector, and gives those options to the user. OpenGL options are limited to On/Off. Required creating a VkSurfaceKHR during device enumeration, which may or may not be desireable. For the sake of a less confusing UI. Also fixes a bug where if a graphics device disappears on the host, we don't try and select the non-existant devices. configure_graphics: Remove vsync runtime lock for Vulkan configure_graphics: Recommend Mailbox present mode configure_graphics: Fix type-limits warning configure_graphics: Clean up includes configure_graphics: Add tooltip
2023-05-03vk_swapchain: Use certain modes for unlockedlat9nq2-26/+50
Uses mailbox, then immediate for unlocked framerate depending on support for either. Also adds support for FIFO_RELAXED. This function now assumes vsync_mode was originially configured to a value that the driver supports. vk_swapchain: ChooseSwapPresentMode determines updates Simplifies swapchain a bit and allows us to change the present mode during guest runtime. vk_swapchain: Fix MSVC error vk_swapchain: Enforce available present modes Some frontends don't check the value of vsync_mode before comitting it. Just as well, since a driver update or misconfiguration could problems in the swap chain. vk_swapchain: Silence warnings Silences GCC warnings implicit-fallthrough and shadow, which apparently are not enabled on clang.
2023-05-03bootmanager: Remove inaccurate switchlat9nq2-11/+3
Those vulkan settings do not correspond 1:1 to the swap intervals that they set for OpenGL, so remove it. bootmanager: Add missing include I didn't add this log why did it break
2023-05-03qt_common: Move window info function out of bootmanagerlat9nq4-44/+75
Function is useful outside of bootmanager, so put it in a common place. qt_common: Add missing include qt_common: Add some newlines qt_common: Add trailing newline qt_common: Add trainline newline
2023-05-03vulkan_surface: Pass only window info for surface creationlat9nq3-10/+7
We don't need the whole EmuWindow when creating a surface, and it creates onerous requirements outside of typical usage for creating a surface elsewhere.
2023-05-03settings: Enable FIFO relaxedlat9nq2-7/+10
Not entirely sure if we need this, but there's also no reason not to support it. settings: Give VSyncMode values
2023-05-03configure_graphics: Fix another typolat9nq1-1/+1
2023-05-03telemetry_session: Make translate function staticlat9nq1-1/+1
Addresses review feedback Co-authored-by: Lioncash <mathew1800@gmail.com>
2023-05-03bootmanager: Return value in impossible caselat9nq1-0/+1
The setting is ranged, so this return statement is unreachable. But GCC can't tell I guess.
2023-05-03configure_graphics: Fix typolat9nq1-1/+1
2023-05-03default_ini: Update V-Sync descriptionlat9nq1-2/+8
default_ini: Update vsync text default_ini: Add tooltip from configure_graphics
2023-05-03configuration: Expose separate swap present modeslat9nq11-37/+115
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.
2023-05-03Fix code resize to use word size rather than byte sizeKelebek13-10/+16
2023-05-03vulkan: disable turbo when debugging tool is attachedLiam1-1/+3
2023-05-03video_core: fix build on Apple ClangLiam3-4/+6
2023-05-02CMake: Enable type limits on Clanglat9nq1-0/+1
2023-05-02CMakeLists: Enable checks on Clanglat9nq1-0/+2
Enables shadow-uncaptured-locals and implicit-fallthrough for Clang. implicit-fallthrough is not enabled by default in -Wall or -Wextra, and shadow-uncaptured-local doesn't seem to be enabled by default by -Wshadow, even though GCC has both of these by their respective cases.
2023-05-01vk_present_manager: Add toggle for async presentationGPUCode10-6/+45
2023-05-01vk_blit_screen: Recreate FSR when frame is recreatedGPUCode1-1/+1
* Depends on the layout dimentions and thus should be recreated as well
2023-05-01renderer_vulkan: Fix crashing when updating descriptorsGPUCode2-4/+17
* During pipeline configure the function would acquire some payload space from the descriptor update queue, write the descriptor data on the GPU thread and give the scheduler a pointer to the beginning of said space to update it later. TickFrame resets the payload cursor, used to track acquires, back to the beginning of the buffer. This wasn't a problem before since WaitWorker was called at the end of the frame but now it is. If a frame writes to a cursor before the scheduler catches up, it will crash * To fix this the payload buffer has been increased to account for the in flight frames that are allowed to exist now. TickFrame will switch between the payload spaces instead of resetting
2023-05-01renderer_vulkan: Async presentationGPUCode11-218/+712
2023-05-01BufferCache: Fixes and address feedbackFernando Sahmkow6-322/+243
2023-05-01qt: warn on inoperable keysLiam2-0/+34
2023-05-01Wait for the terminate event before destroying a system instanceKelebek11-4/+1
2023-04-30settings: rename extended memory layout to unsafe, move from general to systemLiam13-30/+34
2023-04-30Define SampleMask as an arrayKelebek12-2/+4
2023-04-30kernel: remove general boost listsLiam7-19/+26
2023-04-30kernel: match calls to Register and UnregisterLiam9-5/+50
2023-04-29common: add intrusive list typeLiam1-0/+631
2023-04-29Texture Cache: Release stagging buffers on tick frameFernando Sahmkow6-19/+46
2023-04-29Buffer Cache: Release stagging buffers on tick frameFernando Sahmkow2-12/+22
2023-04-29Tests: Add memory tracker tests.Fernando Sahmkow3-550/+548
2023-04-29Clang: format and ficx compile errors.Fernando Sahmkow5-68/+78
2023-04-29Implement Async downloads in normal and fix a few issues.Fernando Sahmkow3-39/+61
2023-04-29Buffer Cache rework: Setup async downloads.Fernando Sahmkow2-140/+154
2023-04-29Buffer Cache: Fully rework the buffer cache.Fernando Sahmkow12-1091/+1644
2023-04-29Address Feedback & Clang FormatFernando Sahmkow2-17/+14
2023-04-29Maxwell3D: only update parameters on HighFernando Sahmkow1-0/+3
2023-04-29Accelerate DMA: Use texture cache async downloads to perform the copiesFernando Sahmkow6-53/+123
to host. WIP
2023-04-29TextureCache: refactor DMA downloads to allow multiple buffers.Fernando Sahmkow8-41/+75
2023-04-28vk_pipeline_cache: Skip compute pipelines on Intel proprietary driversMorph1-0/+7
Intel's SPIR-V shader compiler is broken. For now, skip compiling any compute pipelines until they fix this issue. This is not a perfect workaround, as there are a small subset of non-compute pipelines that still cause it to crash, but this should cover the majority of crashes. It is unfortunate that even with a test case reported 6 months ago the issue has not been fixed in favor of fixing "the most popular games and apps". Intel, you can do better than this.
2023-04-28QueryCache: Fix write invalidation.Fernando Sahmkow2-6/+13
2023-04-28MemoryManager: Fix race conditions.Fernando Sahmkow2-3/+11
2023-04-26core: service: Add FunctionInfoTyped to allow expanding existing interfacesgerman771-8/+12
2023-04-24Clang format and ddress feedbackFernando Sahmkow3-16/+30
2023-04-24service: nfc: Create mifare interfaceNarr the Reg3-50/+58
2023-04-24service: nfc: Create interfaceNarr the Reg5-115/+104
2023-04-23QueryCache: rework async downloads.Fernando Sahmkow7-45/+118
2023-04-23Accuracy Normal: reduce accuracy further for perf improvements in Project LimeFernando Sahmkow4-5/+11
2023-04-23Fence Manager: implement async fence management in a sepparate thread.Fernando Sahmkow5-35/+133
2023-04-22maxwell_3d: fix out of bounds array access in size estimationLiam1-4/+6
2023-04-22Silence nifm spamKelebek13-5/+5
2023-04-22Sort overlap_ids by modification tick before copyKelebek11-0/+6
2023-04-22core: am: Demote TryPopFromFriendInvitationStorageChannel Log levelgerman771-1/+1
2023-04-21Account for a pre-added offset when using Corner sample mode for 2D blitsKelebek11-4/+12
2023-04-19Run clang-format to fix all.Aaron Roney1-1/+2
2023-04-19Fix formatting.Aaron Roney1-2/+2
2023-04-19Allow passing `bind_address` to dedicated room.Aaron Roney1-2/+11
2023-04-16core: audio: return result when audio_out initialize failedFengChen1-6/+8
2023-04-16core: hid: Remove deadzone of virtual controllergerman771-0/+4
2023-04-15vulkan: use plain fences when timeline semaphores are not availableLiam4-68/+161
2023-04-15service: nfp: Implement debug InterfaceNarr the Reg6-8/+444
2023-04-15service: nfp: Implement system interfaceNarr the Reg6-17/+289
2023-04-14input_common: minor fix to mouse movementValeri1-1/+1
2023-04-14service: nfp: Use an unique interfaceNarr the Reg4-71/+227
2023-04-13vulkan: pick alpha composite flags based on available valuesLiam1-1/+14
2023-04-12video_core: Enable ImageGather rounding fix on AMD open source driversWollnashorn1-0/+2
2023-04-10kernel: move more memory to application in 8GB arrangementLiam1-2/+4
2023-04-08kernel: switch extended memory setting to 8GB arrangementLiam3-4/+4
2023-04-08Use GetGlobalTimeNs as opposed to clock ticksBilly Laws2-4/+3
2023-04-08shader_recompiler: Use vector arithmetic rather than component-wise in ImageGatherSubpixelOffsetWollnashorn1-18/+9
Should be more efficient and better readable
2023-04-08video_core: Enable ImageGather with subpixel offset on IntelWollnashorn7-17/+11
2023-04-08shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`Wollnashorn9-0/+86
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures. See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary. This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956).
2023-04-04Add some explicit latency to sample count reportingBilly Laws1-1/+2
Some games have very tight scheduling requirements for their audio which can't really be matched on the host, adding a constant to the reported value helps to provide some leeway.
2023-04-03general: fixes for gcc 13Liam6-28/+14
2023-04-02service: hid: Fix handle validationgerman771-5/+1
2023-04-02core: arm_dynarmic_32: Update SaveContext/LoadContext.bunnei1-13/+10
2023-04-01externals: update Vulkan-Headers to v1.3.246Jan Beich1-0/+2
2023-03-31video_core: Keep the definition of DimensionControl consistent with nvidia open docFeng Chen2-19/+22
2023-03-30applet: controller: Implement cancel buttongerman779-19/+33
2023-03-30service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestinationgerman774-22/+56
Used by Let's Get Fit
2023-03-30Fixes 'Continous' typoMax Dunbar6-38/+38
2023-03-29service: am: Improve profile select appletNarr the Reg8-34/+270
2023-03-29kernel: fix unbounded stack usage in atomicsLiam2-39/+56
2023-03-28Only upload GPU-modified overlapsKelebek11-15/+15
2023-03-27telemetry: Add waitpkg instructionMorph1-0/+1
2023-03-27x64: Simplify RDTSC on non-MSVC compilersMorph2-16/+10
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2023-03-27core_timing: Make use of MicroSleep for x64 CPUsMorph1-0/+8
For CPUs that support tpause, this should result in significant CPU power savings over thread yield in this spin wait.
2023-03-27x64: Add MicroSleepMorph3-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>
2023-03-27x64: cpu_detect: Add detection of waitpkg instructionsMorph2-0/+2
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
2023-03-27audio_core: No longer stall when sink queue is fullBilly Laws4-64/+1
Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
2023-03-27Run clang-formatBilly Laws3-7/+6
2023-03-27audio: Wait for samples on the emulated DSP side to avoid desyncsBilly Laws6-24/+28
Waiting on the host side is inaccurate and leads to desyncs in the event of the sink missing a deadline that require stalls to fix. By waiting for the sink to have space before even starting rendering such desyncs can be avoided.
2023-03-27service: hid: Silence warning on MergeSingleJoyAsDualJoyNarr the Reg1-1/+2
2023-03-27qt: Fix log softlockNarr the Reg1-2/+2
2023-03-26audio: Interpolate system manager sample count using host sink sample infoBilly Laws4-3/+39
This avoids the need to stall if the host sink sporadically misses the deadline, in such a case the previous implementation would report them samples as being played on-time, causing the guest to send more samples and leading to a gradual buildup.
2023-03-26service: nfp: Add plain amiibo supportgerman775-8/+37
2023-03-26tests: mark integer literals as unsignedLiam1-17/+20
2023-03-26container_hash: use climitsLiam1-0/+1
2023-03-26video_core/macro: Make use of Common::HashValueMorph1-3/+3
2023-03-26tests: Implement tests for verifying HashValueMorph2-0/+42
Values were randomly generated and the verification was done against boost 1.79.
2023-03-26common: Port boost's hash_value implementationMorph2-0/+92
Ports a small subset of boost's hash_value implementation (<= 1.80.0).
2023-03-25qt: implement RequestExit for appletsLiam38-69/+250
2023-03-25applets: implement RequestExitLiam18-1/+71
2023-03-25Pass GPU page table by referenceRoss Schlaikjer1-31/+32
2023-03-24vulkan: fix scheduler chunk reserveLiam1-1/+1
2023-03-24zstd: Use ZSTD_getFrameContentSize instead of ZSTD_getDecompressedSizeMorph1-1/+1
2023-03-24memory: rename global memory references to application memoryLiam44-226/+185
2023-03-22kernel: use KTypedAddress for addressesLiam101-1102/+1574
2023-03-22bounded_threadsafe_queue: Refactor PopMorph1-140/+62
Introduces PopModes to bring waiting logic into Pop, similar to Push.
2023-03-22bounded_threadsafe_queue: Add producer cv to avoid busy waitingMorph1-17/+29
2023-03-22nfc: Initialize device when controller is connectedNarr the Reg4-4/+30
2023-03-22bounded_threadsafe_queue: Deduplicate and add PushModesMorph3-88/+86
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.
2023-03-22bounded_threadsafe_queue: Add TryPushMorph1-0/+71
2023-03-22logging: Make use of bounded queueMorph1-8/+8
2023-03-22bounded_threadsafe_queue: Use simplified impl of bounded queueMorph2-115/+203
Provides a simplified SPSC, MPSC, and MPMC bounded queue implementation using mutexes.
2023-03-19vulkan: fix more excessive waiting in schedulerLiam1-4/+5
2023-03-19kernel: fix LOG_TRACE in ipcLiam1-1/+1
2023-03-19common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W.bunnei2-11/+11
2023-03-18common: bounded_threadsafe_queue: Use polyfill_thread.bunnei1-2/+3
2023-03-18config: Fix controller config from resettingNarr the Reg1-0/+3
2023-03-17Disable SRGB border color conversion for now, to fix shadows in Xenoblade.Kelebek11-6/+8
2023-03-17service: nfp: Replace crc function with boost equivalentNarr the Reg2-28/+17
2023-03-16service: nfp: Close app area and recreate crcNarr the Reg1-0/+10
2023-03-16service: nfp: Convert mii colors to v3Narr the Reg6-15/+100
2023-03-15vulkan: disable extendedDynamicState3ColorBlendEquation on radvLiam1-0/+6
2023-03-15service: nfp: Actually write correct crcNarr the Reg6-23/+44
2023-03-14video_core: Better defined ImageInfo parametersFengChen3-39/+43
2023-03-13configure_audio: Fix output mode setting not savingMorph2-9/+9
2023-03-13input_common: sdl: Only send last vibration commandgerman771-1/+16
2023-03-13kernel: additional style fixes to KThread, KProcessLiam2-27/+27
2023-03-13kernel: fix clang buildLiam1-2/+2
2023-03-13kernel: remove unnecessary finalize callsLiam2-7/+1
2023-03-13kernel: convert KProcess to new styleLiam10-240/+254
2023-03-13kernel: convert KThread to new styleLiam15-670/+519
2023-03-13kernel: prefer std::addressofLiam21-134/+139
2023-03-13kernel: convert KResourceLimitLiam2-59/+59
2023-03-13kernel: remove kernel_Liam41-295/+290
2023-03-13kernel: remove gratitutous attribute usageLiam8-29/+24
2023-03-13kernel/svc: convert to new styleLiam21-304/+192
2023-03-13kernel: convert miscellaneousLiam7-94/+81
2023-03-13kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLockLiam9-97/+99
2023-03-13kernel: convert KAbstractSchedulerLockLiam1-31/+24
2023-03-13kernel: convert KMemoryLayout, KMemoryRegion*, KPageTableSlabHeap, KPriorityQueueLiam6-121/+121
2023-03-13kernel: move KMemoryLayout for NX boardLiam2-1/+1
2023-03-13kernel: remove KLinkedListLiam5-245/+0
2023-03-13kernel: convert KConditionVariable, KLightConditionVariable, KLightLockLiam7-75/+77
2023-03-13kernel: convert KPort, KSessionLiam28-226/+196
2023-03-13kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new styleLiam8-142/+130
2023-03-12vk_scheduler: split work queue waits and execution waitsLiam2-28/+62
2023-03-12general: fix spelling mistakesLiam102-206/+206
2023-03-12video_core: Fix ogl status error when draw_textureFengChen2-2/+2
2023-03-12video_core: Invalid index_buffer flag when inline_index drawFengChen1-0/+1
2023-03-12yuzu: Move audio settings to audio sectiongerman776-45/+56
2023-03-12yuzu: Remove console id settinggerman773-53/+6
2023-03-10video_core: Update texture formatFeng Chen3-72/+67
2023-03-10service: nfp: Improve implementationNarr the Reg5-52/+234
2023-03-09OpenGL: Prefer glClientWaitSync for OGLSync objectsameerj5-10/+16
At least on Nvidia, glClientWaitSync with a timeout of 0 (non-blocking) is faster than glGetSynciv of GL_SYNC_STATUS.
2023-03-08perf_stats: Check multicore firstMorph1-2/+2
SpeedLimiting is SC only. Since MC is performance oriented we should check for it first to skip checking use_speed_limit.
2023-03-08hid: Use nanosecond timestamps instead of ticksMorph2-5/+5
2023-03-08core: Promote CPU/GPU threads to time criticalMorph4-4/+4
And also demote Audren and CoreTiming to High thread priority.
2023-03-08native_clock: Wait for 10 seconds instead of 30Morph1-3/+3
It was experimentally determined to be sufficient.
2023-03-08native_clock: Use RealTimeClock instead of SteadyClockMorph1-4/+4
We want to synchronize RDTSC to real time.
2023-03-08steady_clock: Introduce a real time clockMorph2-0/+36
2023-03-08native_clock: Re-adjust the RDTSC frequencyMorph2-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.
2023-03-08input_common: Minor typo issues (#9922)Narr the Reg8-48/+48
2023-03-08kernel: add timer pointer to KThreadQueueLiam8-15/+42
2023-03-08input_common: Increase mouse sensitivity rangegerman773-10/+20
2023-03-08common: make BitCast constexprLiam1-9/+11
2023-03-08general: fix type inconsistenciesLiam4-7/+7
2023-03-08kernel: avoid signed overflow UB on MSVCLiam3-1/+25
2023-03-08kernel: clone fpu status on CreateThreadLiam3-1/+28
2023-03-07gl_rasterizer: Implement AccelerateDMA DmaBufferImageCopyameerj2-9/+52
2023-03-07Refactor AccelerateDMA codeameerj8-251/+156
2023-03-07hle: rename legacy errors to ResultsLiam35-183/+169
2023-03-06kernel: add missing header for libc++Jan Beich1-0/+1
In file included from src/core/hle/kernel/k_light_lock.cpp:4: In file included from src/./core/hle/kernel/k_light_lock.h:8: src/./core/hle/kernel/k_scoped_lock.h:25:51: error: no member named 'addressof' in namespace 'std' explicit KScopedLock(T& l) : KScopedLock(std::addressof(l)) {} ~~~~~^
2023-03-06fix typo in settings.hIkko Eltociear Ashimine1-4/+4
Intial -> Initial
2023-03-05service: acc: Replace default image with a 32x32 imageNarr the Reg2-9/+20
2023-03-05input_common: joycon: Add stick input from passive reportsgerman773-32/+84
2023-03-05service: psc: Update namesNarr the Reg1-9/+9
2023-03-05service: ssl: Add missing properties and update namesNarr the Reg1-18/+58
2023-03-05service: usb: Update namesNarr the Reg1-35/+35
2023-03-05kernel: fix WaitSynchronizationLiam1-16/+29
2023-03-05Engines: Implement Accelerate DMA Texture.Fernando Sahmkow15-97/+658
2023-03-05native_clock: Round RDTSC frequency to the nearest 1000Morph1-5/+12
2023-03-05timer_resolution: Set current process to High QoSMorph1-0/+22
Ensures that this process is treated as a high performance process by the Windows scheduler.
2023-03-05hardware_properties: Update BASE_CLOCK_RATE to exactly 1020 MHzMorph1-5/+3
2023-03-05core_timing: Use higher precision sleeps on WindowsMorph5-24/+47
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.
2023-03-05main: (Windows) Set the current timer resolution to the maximumMorph2-0/+13
Increases the precision of thread sleeps on Windows.
2023-03-05wall_clock: Make use of SteadyClockMorph1-23/+11
2023-03-05common: Implement a method to change the Windows timer resolutionMorph3-0/+133
This utilizes undocumented NtDll functions to change the current timer resolution from the default of 1ms.
2023-03-05common: Implement a high resolution steady clockMorph3-0/+81
This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.
2023-03-04Check all swizzle components for red, not just [0], pass float border color rather than intKelebek13-10/+16
2023-03-04gpu_thread: Use bounded queueBehunin2-3/+4
2023-03-02Fix a bug with the Reverb command in reading from the pre_delay line.Kelebek13-6/+8
2023-03-02vulkan_common: disable vertexInputDynamicState on unsupported driverLiam1-0/+1
2023-03-01kernel: be more careful about kernel address keysLiam5-11/+23
2023-03-01kernel: refactor priority inheritance to represent locks as C++ objectsLiam8-190/+436
2023-03-01kernel: simplify AddressSpaceInfo, update valuesLiam1-66/+13
2023-03-01kernel: barrier memory before condition variable writeLiam1-15/+15
2023-03-01kernel: document previous location of interrupt disables in arbiter/condvarLiam2-3/+9
2023-03-01kernel: adjust pool allocationsLiam2-7/+16
2023-03-01kernel: simplify KAbstractSchedulerLock::LockLiam1-5/+6
2023-03-01kernel: add InfoType::IoRegionHintLiam1-0/+1
2023-03-01nvnflinger: fix nameLiam54-444/+443
2023-03-01service: move hle_ipc from kernelLiam148-1734/+1669
2023-03-01sm:: remove unused memberLiam1-1/+0
2023-02-28cmake: use correct boost imported targetsAlexandre Bouvier5-5/+5
2023-02-27Partially apply LTO to only core and video_core projects.Matías Locatti2-0/+8
2023-02-27service: btm: Fix handle functionsNarr the Reg1-4/+8
2023-02-26Revert "yuzu: config: Remove player 8 and 9 from config file"Narr the Reg8-104/+38
2023-02-26yuzu: config: Remove player 8 and 9 from config fileNarr the Reg8-38/+104
2023-02-25buffer_cache: Add logic for non-NVN storage buffer trackingameerj2-5/+27
2023-02-25config: Fix per game Force max clockgerman772-5/+1
2023-02-25core: hidbus: Fix BusType sizeNarr the Reg2-15/+15
2023-02-25core: Update service function tables to 16.0.0+Narr the Reg13-2/+63
2023-02-24am: avoid direct pointer access of transfer memory objectsLiam1-6/+4
2023-02-24hid: avoid direct pointer access of transfer memory objectsLiam20-69/+91
2023-02-23configuration: Add async ASTC decode settingameerj12-8/+49
2023-02-22texture_cache: Add async texture decodingameerj4-0/+89
2023-02-22core: hid: Restore motion state on refresh and clamp motion valuesNarr the Reg3-2/+30
2023-02-22input_common: Implement dedicated motion from mouseNarr the Reg3-24/+85
2023-02-22settings: Add more input settings to the logNarr the Reg1-0/+7
2023-02-22core: hid: Fix native mouse mappingsNarr the Reg5-63/+62
2023-02-22yuzu: Set a lower timeout for discord presenceNarr the Reg1-0/+2
2023-02-21svc: Fix type consistency (exposed on macOS)Merry14-54/+54
2023-02-21externals: Update cpp-httplib to latestAlexandre Bouvier2-2/+2
2023-02-21net: translate ECONNRESET network errorMonsterDruide14-0/+8
2023-02-21sm:: fix lingering session initialization issuesLiam2-2/+19
2023-02-21cheat_engine: add check for hid initializationLiam1-2/+7
2023-02-21sm:: support service registration deferralLiam5-8/+151
2023-02-21service: refactor server architectureLiam140-1143/+1393
Converts services to have their own processes
2023-02-21core: defer cpu shutdownLiam1-3/+4
2023-02-20Qt: Reintroduce scaling for touch inputgerman772-6/+16
2023-02-17kernel: add KObjectNameLiam7-3/+265
2023-02-17yuzu: Shutdown game on restart to reload per game configNarr the Reg1-2/+4
2023-02-17yuzu: Write to config file on important config changesNarr the Reg4-0/+7
2023-02-16input_common: Split mouse input into individual devicesNarr the Reg10-31/+114
2023-02-16Qt: Fix mouse scallinggerman772-18/+8
2023-02-15remove constexpr from virtual functionarades792-5/+5
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14Revert "main: Fix borderless fullscreen for high dpi scaled displays"liamwhite1-13/+1
2023-02-14Reimplement the invalidate_texture_data_cache registerKelebek11-0/+4
2023-02-14Allow >1 cpu threads on video decoding, disable multi-frame decodingKelebek11-0/+2
2023-02-14service: remove deleted servicesLiam24-621/+0
2023-02-14use a string view to skip allocationarades792-13/+7
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades79102-307/+300
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14apply clang-formatarades792-4/+5
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14don't use static inside constexpr functionarades791-6/+6
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation where possiblearades79101-303/+309
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14general: rename CurrentProcess to ApplicationProcessLiam41-164/+169
2023-02-13Fix biquad filter command's state buffer offsetKelebek11-2/+2
2023-02-13kernel: use GetCurrentProcessLiam34-128/+147
2023-02-13main: Fix borderless fullscreen for high dpi scaled displaysMorph1-1/+13
On Windows, a borderless window will be treated the same as exclusive fullscreen when the window geometry matches the physical dimensions of the screen. However, with High DPI scaling, when the devicePixelRatioF() is > 1, the borderless window apparently is not treated as exclusive fullscreen and functions correctly. One can verify and replicate this behavior by using a high resolution (4K) display, and switching between 100% and 200% scaling in Windows' display settings. At 100%, without the addition of 1, it is treated as exclusive fullscreen. At 200%, with or without the addition of 1, it is treated as borderless windowed. Therefore, we can use (read: abuse) this difference in behavior to fix this issue for those with higher resolution displays when the Qt scaling ratio is > 1. Should this behavior be changed in the future, please revisit this workaround.
2023-02-12Update settings.cppm-HD1-0/+4
added missing graphical settings to RestoreGlobalState()
2023-02-11texture_cache: OpenGL: Implement MSAA uploads and copiesameerj12-14/+136
2023-02-11kernel/svc: Fix undefined info_idColin Kinloch1-2/+2
2023-02-11Add fallback for memory read/write in case the address goes over a 4K pageKelebek11-12/+64
2023-02-11video_core: Speed up video frame data copyFengChen1-9/+5
2023-02-11Fix depop prepare receiving bad mix infos and writing out of bounds, and update aux a bit, may helpKelebek12-40/+40
2023-02-11core: kernel: k_process: Use application system resource.bunnei3-1/+15
2023-02-11kernel: Refactor thread_local variable usageameerj1-27/+18
On MSVC at least, there seems to be a non-trivial overhead to calling GetHostThreadId(). This slightly reworks the host_thread_id variable to reduce some of the complexity around its usage, along with some small refactors around current_thread and dummy thread
2023-02-10biquad_filter: Clamp f64 in ApplyBiquadFilterFloatMerry1-3/+3
2023-02-10biquad_filter: Fix rounding in ApplyBiquadFilterIntMerry2-24/+16
2023-02-10kernel: avoid usage of bit_castLiam1-2/+2
2023-02-10main: Re-add QtWebEngine zoom factorMorph1-0/+2
For some reason, I had removed this in https://github.com/yuzu-emu/yuzu/pull/4949/commits/ad6cec71ecd61aa2533d9efa89b68837516f8464 This should fix any improperly scaled web applets.
2023-02-10input_common: Reintroduce custom pro controller supportNarr the Reg9-7/+92
2023-02-10audio: cubeb: Fix yuzu crashing when it test for latencyNarr the Reg1-0/+20
2023-02-10core: hid: Use gyro thresholds modes set by the gameNarr the Reg8-21/+67
2023-02-09buffer_base: Partially revert changes from #9559ameerj2-7/+9
This fixes a regression where Yoshi's Crafted World (and potentially other titles) would enter an infinite loop when GPU Accuracy was set to "Normal"
2023-02-09glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMaskameerj1-6/+0
These built-ins seem to be available without needing to be declared for fragment shaders, similar i.e. to gl_FragDepth
2023-02-08service: hid: Return error if arguments of SetSupportedNpadIdType is invalidNarr the Reg4-6/+15
2023-02-08Remove OnCommandListEndCommandBehunin3-14/+2
Call rasterizer->ReleaseFences() directly
2023-02-07kernel/svc: switch to generated wrappersLiam45-1570/+7468
2023-02-06kernel: fix compilation with older gccLiam2-4/+5
2023-02-06Update yuzu_cmd's default_ini.hMatías Locatti1-7/+10
Rename FSR, add missing resolution multipliers, and SMAA
2023-02-05Remove fake vertex bindings when dynamic state is enabledKelebek11-25/+1
2023-02-05kernel/svc: Split implementations into separate filesLiam40-2688/+3196
2023-02-05Add Game Icon for Discord RPCSorab2-8/+61
Connected to Yuzu Compatibility Page
2023-02-04yuzu_cmd: Order arguments alphabetically and port arguments from Qtgerman771-19/+36
2023-02-04yuzu_cmd: Fix mismatching controller inputgerman773-2/+18
2023-02-04yuzu_cmd: Fix touch inputgerman772-33/+21
2023-02-04shader_recompiler/value.h: Remove lingering references to S32ameerj1-11/+0
2023-02-04remove disambiguation argument from mute textJonas Gutenschwager1-1/+1
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2023-02-03fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCardameerj1-1/+1
2023-02-03Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"ameerj61-326/+368
This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363.
2023-02-03added 'Hide empty rooms' toggle to lobbyLuke Sawczak3-0/+25
fixed typo fixed typo fixed typo clang
2023-02-02Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"liamwhite61-368/+326
2023-02-02input_common: Simplify stick from buttonNarr the Reg1-32/+13
2023-02-01kernel: add KDeviceAddressSpaceLiam6-0/+232
2023-02-01yuzu: config: Draw turbo buttons with a different colorgerman772-14/+23
2023-02-01input_common: Implement turbo buttonsgerman776-18/+115
2023-01-30kernel: add KCapabilitiesLiam6-0/+738
2023-01-30gl_compute_pipeline: Force context flush when loading shader cacheameerj4-7/+37
2023-01-30input_common: joycon: Remove Magic numbers from common protocolNarr the Reg9-154/+221
2023-01-30gl_graphics_pipeline: Force context flush when loading shader cacheameerj4-9/+12
2023-01-30input_common: joycon: Fill missing enum dataNarr the Reg6-41/+53
2023-01-30Move to Clang Format 15Levi Behunin25-189/+185
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
2023-01-29spirv: Fix TXQ with MSAA texturesameerj3-8/+19
2023-01-29emit_glasm_image: Fix TXQ with MSAA texturesameerj1-1/+9
2023-01-29emit_glsl_image: Implement TXQ with MSAA texturesameerj1-9/+23
Also fixes for texture buffers, which do not have mips eithers.
2023-01-29texture_pass: Fix texture descriptors comparisonsameerj1-2/+9
2023-01-29texture_pass: Refactor texture handle retrievalameerj1-7/+7
2023-01-28shader_recompiler: TXQ: Skip QueryLevels when possibleameerj11-29/+37
2023-01-28emit_glsl_image: Fix ImageFetch for MSAA texturesameerj1-6/+11
2023-01-28yuzu: config: Avoid reading deleted objectNarr the Reg1-2/+5
2023-01-28LDN Hostname Support in Direct ConnectSoRadGaming3-31/+38
- Added IPv6 & Namespace support in direct connection Regex - Updated Tooltip for Direct Connect UI - Removed Dropdown Connection Type in Direct Connect
2023-01-28texture_cache: Adjust image view sizes by MSAA samplesameerj2-0/+48
2023-01-28video_core: Implement vulkan clear specified channelFengChen6-20/+152
2023-01-28polyfill_thread: satisfy execution ordering requirements of stop_callbackLiam1-37/+46
2023-01-28input_common: joycon: Replace ReadSPI vector with spanNarr the Reg3-20/+26
2023-01-28input_common: joycon: Remove magic numbers from calibration protocolNarr the Reg6-107/+202
2023-01-27glasm: Add MS sampler typesameerj2-5/+8
2023-01-27glsl: Add MS sampler typesameerj1-22/+27
2023-01-26kernel: unbreak min/max template deduction on Apple ClangLiam1-2/+2
2023-01-26video_core/opengl: Add FSR upscaling filter to the OpenGL rendererWollnashorn14-172/+547
2023-01-26input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driverNarr the Reg4-0/+21
2023-01-26shader_recompiler: Remove S32 IR typeameerj13-46/+19
The frontend IR opcodes do not distinguish between signed and unsigned integer types. Fixes broken shaders when IR validation/graphics debugging is enabled for shaders that used BitCastS32F32
2023-01-26main: Convert to device independent coordinates for scalingMorph3-8/+13
devicePixelRatioF() returns the scaling ratio when high dpi scaling is enabled. When high dpi scaling is enabled, the raw screen coordinate system is scaled to device independent coordinates.
2023-01-26main: Use passthrough scaling for non-windows OSesMorph1-3/+12
They should be better than windows when handling fractional scaling ratios.
2023-01-26main: Enable High DPI fixes for Qt >= 5.14Morph1-0/+43
This uses Qt's new high DPI application attributes for scaling the current window. However, these aren't perfect as scaling with non integer scales will cause artifacts in UI, icons and other elements. Therefore, we use a heuristic to select an appropriate integer scale value depending on the current screen resolution and applies this to the application.
2023-01-26main: Only set AA_DisableWindowContextHelpButton below Qt6Morph1-1/+3
This is fortunately disabled by default on Qt6, so we just have to check whether we are compiling with Qt6 or not.
2023-01-25input_common: Make use of StoppableTimedWaitMorph2-5/+6
2023-01-25polyfill_thread: Implement StoppableTimedWaitMorph1-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>
2023-01-25input_common: add missing header for libc++ after 340f15d1fa79Jan Beich1-0/+1
src/input_common/drivers/joycon.cpp:187:26: error: no member named 'find_if' in namespace 'std::ranges' std::ranges::find_if(left_joycons, [](auto& device) { return !device->IsConnected(); }); ~~~~~~~~~~~~~^ src/input_common/drivers/joycon.cpp:193:54: error: no member named 'find_if' in namespace 'std::ranges' const auto unconnected_device = std::ranges::find_if( ~~~~~~~~~~~~~^ src/input_common/drivers/joycon.cpp:393:51: error: no member named 'find_if' in namespace 'std::ranges' const auto matching_device = std::ranges::find_if( ~~~~~~~~~~~~~^ src/input_common/drivers/joycon.cpp:402:51: error: no member named 'find_if' in namespace 'std::ranges' const auto matching_device = std::ranges::find_if( ~~~~~~~~~~~~~^
2023-01-25Revert 9617 and fix it on input_commonNarr the Reg2-12/+9
2023-01-25default_ini: Split and concatenate the config string literalMorph1-2/+8
We are dangerously close to MSVC's 16384 character limit for string literals. Breaking this string up and concatenating will allow for more settings to be added in the future.
2023-01-25Revert "MemoryManager: use fastmem directly."Merry3-34/+11
This reverts commit af5ecb0b15d4449f58434e70eed835cf71fc5527.
2023-01-25main: Globally disable the "?" button on dialogsMorph10-17/+8
Sets the AA_DisableWindowContextHelpButton attribute to disable this useless button globally.
2023-01-24kernel: split SetAddressKey into user and kernel variantsLiam5-11/+29
2023-01-23kernel: fix incorrect locking order in suspensionLiam3-31/+23
2023-01-23spirv: fix multisampled image fetchLiam4-2/+16
2023-01-23qt: add option to disable controller appletEBADBEEF5-0/+16
- add checkbox to disable the controller applet UI - when controller applet is disabled, use the yuzu-cmd fallback controller applet that applies controller config based on rules - See https://github.com/yuzu-emu/yuzu/issues/8552 for some discussion
2023-01-23cmake: prefer system llvm libraryAlexandre Bouvier2-5/+3
2023-01-22kernel: KPageTable: updateLiam6-215/+477
2023-01-22yuzu: Fix language comobox crashgerman774-8/+21
2023-01-21nsight_aftermath_tracker: update for latest Aftermath SDKLiam1-4/+4
2023-01-20core: hid: Make use of SCOPE_EXIT and SCOPE_GUARD where applicableNarr the Reg1-67/+38
2023-01-20input_common: Fix joycon mappingsgerman772-57/+53
2023-01-20input_common: Address byte reviewgerman7716-243/+220
2023-01-20core: hid: Only set the polling mode to the correct sideNarr the Reg8-27/+70
2023-01-20input_common: Drop Pro controller support from custom drivergerman774-43/+4
2023-01-20input_common: Fix issue where ring and irs are enabled at the same timegerman774-15/+24
2023-01-20input_common: Implement joycon ir cameraNarr the Reg15-23/+608
2023-01-20yuzu: Add ring controller test buttongerman7710-174/+370
2023-01-20input_common: Use DriverResult on all enginesgerman7717-104/+100
2023-01-20Address review commentsgerman7714-46/+44
2023-01-20core: hid: Fix input regressionsNarr the Reg6-41/+56
2023-01-20input_common: Implement joycon nfcgerman779-13/+544
2023-01-20input_common: Add dual joycon supportNarr the Reg1-24/+101
2023-01-20input_common: Add support for joycon ring controllerNarr the Reg9-4/+272
2023-01-20input_common: Add support for joycon input reportsNarr the Reg8-100/+798
2023-01-20input_common: Use calibration from joyconNarr the Reg5-0/+231
2023-01-20input_common: Add support for joycon generic functionsNarr the Reg5-3/+310
2023-01-20input_common: Add joycon low level functionsNarr the Reg3-0/+434
2023-01-20service: hid: Set led pattern and fix color detectionNarr the Reg1-0/+5
2023-01-20core: hid: Enable pulling color data from controllersNarr the Reg9-2/+246
2023-01-20core: hid: Migrate ring from emulated devices to emulated controllerNarr the Reg8-88/+105
2023-01-20yuzu: Update controller colors and button namesNarr the Reg2-3/+27
2023-01-20input_common: Disable SDL driver with switch controllersNarr the Reg6-6/+44
2023-01-20input_common: Initial skeleton for custom joycon driverNarr the Reg8-3/+1786
2023-01-19add volume quicksetting with volume sliderJonas Gutenschwager2-24/+90
2023-01-18input_common: reset sdl motion if data is invalidgerman771-19/+35
2023-01-18fix formatJonas Gutenschwager2-4/+2
2023-01-18Demote maxwell3d Firmware4 call log to debugKelebek11-1/+1
2023-01-18allow volume up/down hotkeys to be repeatedJonas Gutenschwager4-27/+32
2023-01-16Address feedbackFeng Chen5-14/+62
2023-01-15memory: fix watchpoint use when fastmem is enabledLiam1-0/+4
2023-01-14timing: wait for completion on unregisterLiam3-29/+28
2023-01-14Be careful of mangled out of bounds readKelebek12-9/+9
2023-01-14core: hid: Fix stick minimum rangegerman771-2/+10
2023-01-14upsample: Fix coefficient formatMerry1-26/+26
2023-01-14audio_core: Fix off-by-one error in upsamplerMerry1-33/+12
2023-01-14Move demangle impl to cppKelebek13-23/+36
2023-01-14Add stacktrace symbol demanglingKelebek13-15/+39
2023-01-13Update settings.hMatías Locatti1-0/+2
2023-01-13CPPMatías Locatti1-0/+8
2023-01-13UI changeMatías Locatti1-0/+10
2023-01-131.5X resolution scaler optionMatías Locatti3-5/+15
2023-01-13debugger: add host fastmem pointer fetch commandLiam1-3/+23
2023-01-12nvnflinger: correct swap interval handlingLiam2-5/+5
2023-01-11yuzu: Read mouse wheel inputNarr the Reg3-1/+10
2023-01-10qt: unlock during signal emissionLiam2-2/+21
2023-01-10vulkan_common: fix indirect draw with countLiam3-8/+15
2023-01-10MoltenVK: restrict number of vertex attributes/bindings to 16TellowKrinkle1-10/+25
2023-01-09qt: fix configuration weirdness on turboLiam1-2/+3
2023-01-09macOS: Make Yuzu show up in the Launchpad Games folder (#9594)UltraHDR1-0/+2
https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype This makes it show up in the Launchpad Games folder
2023-01-09vulkan_device: refactor feature testingLiam3-1173/+664
2023-01-08renderer_vulkan: disable turbo by defaultLiam1-1/+1
2023-01-08VideoCore: Fix OGL cache invalidation.Fernando Sahmkow2-0/+6
2023-01-08Revert "Revert "k_page_group: synchronize""bunnei11-181/+322
2023-01-07Revert "shader_recompiler: Align SSBO offsets to meet host requirements"Liam4-12/+6
This reverts commit 8804a4eb23e0c4f3e4bab03dee7c204bd38bf21e.
2023-01-07Revert "Vulkan, OpenGL: Hook up storage buffer alignment code"Liam6-22/+3
This reverts commit 9e2997c4b6456031622602002924617690e32a13.
2023-01-07TAS: Show all script lengths for multiplayerMonsterDruide14-7/+38
2023-01-07renderer_vulkan: pause turbo submissions on inactive queueLiam5-0/+40
2023-01-07Avoid OOB array access reading passthrough attr maskBilly Laws1-1/+1
YFC 1.5 extended the size of the varying mask used to hold passthrough attrs without considering this
2023-01-07vulkan_device: avoid attempt to access empty optionalLiam1-2/+6
2023-01-07renderer_vulkan: disable clock boost on unvalidated devicesLiam3-1/+15
2023-01-07qt: additional fixes for reentrant shutdownLiam1-3/+7
2023-01-06opengl: Sanitize antialiasing configNarr the Reg1-1/+7
2023-01-06video_core/vulkan: Fixed loading of Vulkan driver pipeline cacheWollnashorn1-1/+2
The header size of the Vulkan driver pipeline cache files was incorrectly in PipelineCache::LoadVulkanPipelineCache, for which the pipeline cache wasn't read correctly and got invalidated on each load.
2023-01-06MacroHLE: eliminate 2 rushed macros.Fernando Sahmkow1-42/+0
2023-01-06input_common: Create an update engineNarr the Reg4-19/+37
2023-01-06externals: update dynarmic, xbyakLiam2-0/+8
2023-01-05Run clang-formatBilly Laws6-24/+35
2023-01-05shader_recompiler: Fix shuffle partitioning for >64 invoc-per-subgroup GPUsBilly Laws1-30/+28
The existing implementation only supports 64 invoc-per-subgroup GPUs, and misbehaves on adreno when invocations need to be split into 4 emulated subgroups.
2023-01-05Vulkan, OpenGL: Hook up geometry shader passthrough emulationBilly Laws2-0/+2
2023-01-05shader_recompiler: Add support for lowering geometry passthroughBilly Laws2-40/+67
Reuses most of the existing code for generating the gl_Layer passthrough. Fixes geometry in Nier: Automata on GPUs without HW passthrough support.
2023-01-05Vulkan, OpenGL: Hook up storage buffer alignment codeBilly Laws6-3/+21
2023-01-05shader_recompiler: Align SSBO offsets to meet host requirementsBilly Laws4-6/+11
We can take advantage of SSBO addresses being passed in a constant bufer to account for the extra alignment requirements in the shader itself.
2023-01-05shader_recompiler: SPIRV: Only enable int64 feature when supportedBilly Laws1-1/+1
2023-01-05shader_recompiler: Add comparison operators to descriptor typesBilly Laws1-0/+12
2023-01-05Vulkan: Add a workaround for input_position on Adreno driversBilly Laws5-11/+42
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
2023-01-05video_core/vulkan: Vulkan driver pipelines now contain cache versionWollnashorn2-16/+28
So that old cache can get deleted when the cache version changes and does not grow infinitely
2023-01-05video_core/vulkan: Driver pipeline cache will now be deleted with the shader cacheWollnashorn2-1/+20
2023-01-05config: Set the Vulkan driver pipeline cache option to be globalWollnashorn2-0/+4
2023-01-05video_core/vulkan: Added check if Vulkan pipeline path has been setWollnashorn1-1/+1
2023-01-05config: Better wording for VK pipeline cache option and enable by defaultWollnashorn2-3/+3
2023-01-05yuzu-cmd: Removed `use_vulkan_driver_pipeline_cache` from default_ini.hWollnashorn1-4/+0
The addition of the use_vulkan_driver_pipeline_cache option into the default ini string literal caused the 16,384-byte limit of the MSVC compiler to be exceeded.
2023-01-05video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelinesWollnashorn15-67/+253
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.
2023-01-05BufferBase: Don't ignore GPU pages.Fernando Sahmkow8-23/+22
2023-01-05Fermi2D: sync cache flushesFernando Sahmkow2-2/+5
2023-01-05MemoryManager: use fastmem directly.Fernando Sahmkow3-11/+34
2023-01-05net: Silently translate ETIMEDOUT network errorMonsterDruide11-1/+5
2023-01-05video_core: Cache GPU internal writes.Fernando Sahmkow10-30/+185
2023-01-05Vulkan: Fix drivers that don't support dynamic_state_2 upFernando Sahmkow2-8/+11
2023-01-05video_core: Implement opengl/vulkan draw_textureFeng Chen19-138/+291
2023-01-05video_core: Implement maxwell3d draw texture methodFeng Chen7-1/+177
2023-01-05tests: update catch2 to 3.0.1Alexandre Bouvier15-23/+14
2023-01-05common: add setting for renderer clock workaroundLiam8-1/+32
2023-01-05vulkan: implement 'turbo mode' clock boosterLiam8-2/+272
2023-01-05renderer_vulkan: implement fallback path for null descriptorsLiam3-0/+19
2023-01-04yuzu-ui: Add setting for disabling macro HLEFernando Sahmkow6-5/+26
2023-01-04Video_core: Address feedbackFernando Sahmkow20-170/+346
2023-01-04Texture Cache: Implement async texture downloads.Fernando Sahmkow5-35/+91
2023-01-04Vulkan: Update blacklisting to latest driver versions.Fernando Sahmkow1-5/+12
2023-01-03ShaderCompiler: Inline driver specific constants.Fernando Sahmkow5-3/+39
2023-01-03Vulkan: rework stencil tracking.Fernando Sahmkow4-36/+169
2023-01-03TAS: Immediately switch stick to TAS on inputMonsterDruide11-9/+11
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2023-01-02cmake: move find-modules to root cmake dirAlexandre Bouvier3-5/+0
2023-01-02service: nifm: Initialize request stategerman771-0/+1
2023-01-02service: nifm: Match documentation namesgerman771-31/+56
2023-01-01vulkan_common: blacklist radv from extended_dynamic_state2 on drivers before 22.3.1Liam2-2/+14
2023-01-01video_core: fix buildLiam4-3/+38
2023-01-01MacroHLE: Final cleanup and fixes.Fernando Sahmkow14-128/+94
2023-01-01Rasterizer: Setup skeleton for Host Conditional renderingFernando Sahmkow6-10/+53
2023-01-01RasterizerMemory: Add filtering for flushing/invalidation operations.Fernando Sahmkow14-93/+186
2023-01-01Vulkan: Allow stagging buffer deferrals.Fernando Sahmkow2-21/+56
2023-01-01MacroHLE: Add OpenGL SupportFernando Sahmkow6-39/+107
2023-01-01Vulkan: Add other additional pipeline specsFernando Sahmkow1-1/+17
2023-01-01Vulkan: Implement Dynamic State 3Fernando Sahmkow13-105/+313
2023-01-01Vulkan Implement Dynamic State 2 LogicOp and PatchVerticesFernando Sahmkow12-27/+75
2023-01-01Vulkan: Implement Dynamic States 2Fernando Sahmkow13-66/+315
2023-01-01DMAPusher: Improve collection of non executing methodsFernando Sahmkow13-2/+181
2023-01-01Revert Buffer cache changes and setup additional macros.Fernando Sahmkow7-128/+179
2023-01-01MacroHLE: Reduce massive calculations on sizing estimation.Fernando Sahmkow9-95/+238
2023-01-01MacroHLE: Add HLE replacement for base vertex and base instance.Fernando Sahmkow22-70/+265
2023-01-01MacroHLE: Add Index Buffer size estimation.Fernando Sahmkow5-10/+74
2023-01-01MacroHLE: Refactor MacroHLE system.Fernando Sahmkow11-121/+420
2023-01-01MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect.Fernando Sahmkow16-72/+252
2023-01-01MacroHLE: Add MultidrawIndirect HLE Macro.Fernando Sahmkow13-47/+169
2023-01-01TAS: Record sanitized instead of raw stick inputsMonsterDruide11-5/+5
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2023-01-01vfs: Replace cstr concat with char concatMerry1-3/+3
2023-01-01vulkan_common: unify VK_EXT_debug_utils and selection of validation layerLiam3-11/+10
2023-01-01host_memory: Use transparent huge pages where availableMerry1-0/+15
2023-01-01host_memory: Allocate virtual_base with MAP_NORESERVEMerry1-2/+2
Specify that we do not require swap to be reserved for this address range; allow overcommitting.
2022-12-30settings: comment language blocklist columnsColin Kinloch1-7/+13
2022-12-30core: hid: emulated_console: Avoid a crash if frontend does not configure touch_from_button_maps.bunnei1-0/+5
2022-12-30config: Save multiplayer settings only globallyWollnashorn1-2/+0
Saved multiplayer settings like the nickname, remote address, etc. were reset everytime a game was booted up and the game-specific config files were loaded, as these values will never be set.
2022-12-29settings: added regon/language warning bounds checkColin Kinloch1-1/+1
2022-12-29Revert "k_page_group: synchronize"gidoly11-322/+181
2022-12-29hle_ipc: Use thread_local ReadBufferameerj1-4/+14
2022-12-29hle_ipc: Rename ReadBufferSpan to ReadBufferameerj33-97/+97
2022-12-29hle_ipc: Rename ReadBuffer to ReadBufferCopyameerj3-4/+6
Indicates explicitly that a copy is occurring
2022-12-29bsd: Use std::span for read payloadsameerj6-36/+38
Allows the use of HLERequestContext::ReadBufferSpan
2022-12-29nvdrv: Use std::span for inputsameerj24-211/+209
Allows the use of HLERequestContext::ReadBufferSpan
2022-12-29hidbus: Use ReadBufferSpanameerj11-12/+16
2022-12-28cmake: make cubeb and SDL2 optionalLiam1-6/+13
2022-12-28cmake: make libusb optionalLiam2-7/+32
2022-12-28cmake: make room server optionalLiam1-1/+4
2022-12-28settings: warn on invalid regon/language combinationsColin Kinloch2-1/+41
2022-12-26tests: add missing headerAlexandre Bouvier1-0/+1
<cstring> is needed for std::memcpy
2022-12-26video_core: Implement other missing vulkan topologyFengChen1-3/+16
2022-12-26video_core: Implement vulkan QuadStrip topologyFengChen8-122/+229
2022-12-25nvflinger: Split Parcel class into InputParcel and OutputParcelameerj5-48/+53
The usages of the Parcel class were already unique to either Read or Write operations. Avoids needing a vector of the input payload for the InputParcel use-case, instead it can remain as a span.
2022-12-25service: Use ReadBufferSpan where it is trivial to do soameerj31-77/+78
2022-12-25TAS: Increase accuracy of Stick inputsMonsterDruide11-0/+7
2022-12-25texture_cache: Use Common::ScratchBuffer for swizzle buffersameerj4-10/+12
2022-12-25texture_cache: Use pre-allocated buffer for texture downloadsameerj3-9/+14
2022-12-25texture_cache: Use pre-allocated buffer for texture uploadsameerj4-13/+28
2022-12-25k_page_table: remove HACK_OpenPages/ClosePagesLiam3-58/+54
2022-12-25fsp_srv: Use ReadBufferSpanameerj3-19/+17
2022-12-25hle_ipc: Add ReadBufferSpan functionameerj2-0/+22
Returns a std::span to the buffer address, rather than create a copy of the memory into a std::vector
2022-12-25k_page_group: synchronizeLiam11-125/+270
2022-12-24qt: prevent reentrant shutdownLiam2-5/+12
2022-12-24qt: fix 'Pause' menu item (#9497)liamwhite1-1/+1
2022-12-24Disable automatically opening the console on windows yuzu-cmd builds (#9485)Chris Oboe2-0/+16
* don't automatically open the console on windows build of yuzu-cmd * fix formatting
2022-12-24qt: fix uninitialized memory usageLiam1-1/+1
2022-12-24yuzu: Automatically refresh device listgerman773-23/+11
2022-12-23kernel: workaround static shared memory initializationLiam3-58/+62
2022-12-22time: add LockFreeAtomicTypeLiam3-40/+65
2022-12-22qt: exit properly on guest-initiated closeLiam2-1/+9
2022-12-22qt: use main window as close overlay parentLiam2-4/+4
2022-12-20qt: continue event loop during game closeLiam4-14/+64
2022-12-20scratch_buffer: Explicitly defing resize and resize_destructive functionsameerj7-19/+108
resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
2022-12-20tests: Add ScratchBuffer testsameerj3-5/+137
2022-12-20dma_pusher: Rework command_headers usageameerj2-9/+16
Uses ScratchBuffer and avoids overwriting the command_headers buffer with the prefetch_command_list
2022-12-20buffer_cache: Use Common::ScratchBuffer for ImmediateBuffer usageameerj1-7/+4
2022-12-20video_core: Add usages of ScratchBufferameerj4-33/+21
2022-12-20common: Add ScratchBuffer classameerj2-0/+75
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize is redundant.
2022-12-20common: add make_unique_for_overwriteameerj2-0/+26
2022-12-19externals: update Vulkan-Headers to v1.3.238Jan Beich1-0/+12
2022-12-19overlay_dialog: Avoid starting the input thread if non-interactiveMorph1-1/+3
2022-12-19overlay_dialog: Hide button dialog box when both buttons are hiddenMorph1-0/+8
This allows for the creation of a non-interactive dialog overlay to display system messages.
2022-12-19kernel: remove TimeManagerLiam11-117/+33
2022-12-18kernel: add KHardwareTimerLiam6-6/+271
2022-12-18input_common: Cleanup projectgerman772-206/+83
2022-12-18service: nfc: Silence ListDevicesgerman772-2/+2
2022-12-18Use execlp instead of execl to avoid failureMarco Rubin1-1/+1
2022-12-18yuzu: Remember last selected directorygerman771-0/+3
2022-12-18bootmanager: Use proper camera sizegerman773-6/+13
2022-12-18bootmanager: Encapsulate all QCamera codegerman772-5/+7
2022-12-18yuzu: fix device name settinggerman771-3/+2
2022-12-18Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442)Matías Locatti1-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
2022-12-17qt: use _exit instead of exit on SIGINTLiam1-1/+1
2022-12-17EmuThread: refactorLiam6-172/+64
2022-12-17qt: avoid setting WA_DontCreateNativeAncestors on all platformsLiam1-1/+5
2022-12-17input_common: Add virtual gamepadgerman777-0/+274
2022-12-17camera: Use pre-allocated vector for camera dataameerj4-9/+12
And avoid an unnecessary copy
2022-12-16Remove unimplemented transform feedback geometry spam, it should be implementedKelebek11-2/+1
2022-12-16Signal buffer event on audio in/out system stop, and force remove all registered audio buffersKelebek15-7/+26
2022-12-16qt: handle wayland-egl platform nameLiam2-3/+7
2022-12-16hle_ipc: Refactor ReadBuffer to set buffer size upon initializationameerj1-8/+6
Initializing the vector size during initialization is more efficient than a later call to resize()
2022-12-16hle_ipc: Reserve vectors before populatingameerj1-0/+8
2022-12-15kernel: svc: Fix duplicated InfoType enumNarr the Reg1-90/+47
2022-12-15kernel: process: Implement GetFreeThreadCountNarr the Reg3-1/+28
Used by Just Dance® 2023 Edition
2022-12-14Revert "hle: service: audio: Use default service thread."bunnei3-12/+18
2022-12-14Vulkan: Add support for VK_EXT_depth_clip_control.FernandoS278-7/+52
2022-12-14Set: Allow setting device nicknameChloe Marcec9-2/+42
2022-12-14main: Address review feedbacklat9nq1-19/+33
Moves icon path to ~/.local/share/icons, though I'm opting to avoid using the game title for the icon and desktop entry name as that would cause filenames such as "yuzu-cadence-of-hyrule-crypt-of-the-necrodancer-featuring-the-legend-of-zelda-demo.desktop".
2022-12-14vulkan_common: declare storageBuffer8BitAccessLiam1-1/+2
2022-12-14spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationIdLiam1-0/+2
2022-12-13yuzu qt: Create shortcuts on Linuxlat9nq5-0/+196
This creates a Desktop Entry file and a PNG icon for the entry when the user right-clicks a game and selects "Create Shortcut -> Create {Application,Desktop} Shortcut". This uses the current executable's path to create the shortcut. yuzu qt: Add more error checking and OS gating for shortcuts main: Remove FreeBSD gating for shortcuts I'm not going to test FreeBSD, so I don't know if they follow Freedesktop.org or not. I just have to let someone else verify that it works there and let them enable it. main: Move shortcut function to its own function This function should really be in a common library, at least among frontends. main: Remove image manip references main: Fix difference in MinGW and native GCC versions main: Fix negation in creat shortcut Addresses review comment Co-authored-by: Jan Beich <jbeich@FreeBSD.org> main: Re-enable freedesktop shorcuts for FreeBSD
2022-12-13gl_device: Use a more robust way to use strict context modeAlexander Orzechowski6-8/+17
Instead of checking a environment variable which may not actually exist or is just wrong, ask QT if it's running on the wayland platform.
2022-12-13OpenGL: Check for threading supportAlexander Orzechowski1-0/+6
We need this.
2022-12-13wayland: Always use exclusive fullscreenAlexander Orzechowski2-4/+10
Wayland does not allow clients to choose their own size and position on the screen. The concept of fullscreening an application by sizing it to the screen and removing decorations does not exist. Use exclusive fullscreen instead.
2022-12-13RenderWidget: Set WA_DontCreateNativeAncestorsAlexander Orzechowski1-0/+1
Some windowing systems like wayland are designed to show hardware accellerated surfaces as subsurfaces and not native windows.
2022-12-13emu_window_sdl2: Respect hidpiAlexander Orzechowski1-1/+1
Use SDL_GL_GetDrawableSize instead of SDL_GetWindowSize which will return the true size our swapchain needs to be in even for hidpi displays.
2022-12-13video_core/vulkan: Explicity check swapchain size when deciding to recreateAlexander Orzechowski3-15/+28
Vulkan for whatever reason does not return VK_ERROR_OUT_OF_DATE_KHR when the swapchain is the wrong size. Explicity make sure the size is indeed up to date to workaround this.
2022-12-13renderer_opengl: refactor context acquireLiam6-38/+62
2022-12-13emu_thread: properly force shutdown for unresponsive guest programsLiam2-12/+5
2022-12-13let games gracefully exitGus Caplan3-3/+17
2022-12-13Fix validation errors on less compatible Intel GPUyzct123455-2/+34
2022-12-13yuzu: Make unlimited frame rate non persistent between game bootsNarr the Reg2-2/+3
2022-12-12input_common: Filter SDL GUIDNarr the Reg1-0/+2
2022-12-11memory: correct semantics of data cache management operationsLiam4-102/+15
2022-12-11video_core: fix off by one in anisotropic filtering amountLiam1-1/+2
2022-12-10cmake: make OpenGL loader optionalLiam1-1/+1
Co-authored-by: liushuyu <liushuyu@users.noreply.github.com>
2022-12-10audio_core: remove explicitly defaulted and implicitly deleted constructorsLiam2-2/+0
2022-12-10memory: remove DEBUG_ASSERT pointer testLiam1-2/+0
2022-12-09Remove the lock entirely as per PR discussionSalvage1-3/+0
Correctly unlock mutex before its destruction As per https://en.cppreference.com/w/cpp/thread/mutex/~mutex destroying a locked mutex is undefined behavior and MSVC++ decides to throw in this case Swap out unique for scoped lock and readd comment
2022-12-09Fix compilation errorSalvage1-1/+1
2022-12-08video_core: Integrate SMAALiam24-28/+13894
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com> Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
2022-12-08video_core: Add vertex_array_instance_* sbubbed called warningFengChen1-0/+5
2022-12-08video_core: The draw manager manages whether Clear is required.FengChen3-10/+9
2022-12-08video_core: Adjust topology update logicFengChen2-23/+23
2022-12-08video_core: Implement maxwell3d draw manager and split draw logicFeng Chen12-267/+341
2022-12-06general: improve handling of system startup failureLiam5-21/+27
2022-12-06configure_graphics: Make SPIRV backend string translatableLioncash1-1/+1
The parenthetical needs to be translatable, like with GLASM
2022-12-06cmake: prefer system libusbAlexandre Bouvier1-3/+1
2022-12-06vulkan_common: further initialization tweaksLiam2-1/+9
2022-12-06reporter: Pass by const reference where applicableLioncash2-19/+20
Same behavior, but without memory churn.
2022-12-06reporter: Eliminate undefined behavior in SaveErrorReportLioncash2-6/+6
The optionals are unconditionally dereferenced when setting the custom error text, and in a few cases this function is called using the default value of the optionals. This means we'd be dereferencing uninitialized storage. Since they're used unconditionally, we can use value_or to set a default when storage is uninitialized.
2022-12-06cmake: use sdl2 imported targetAlexandre Bouvier4-22/+4
2022-12-06applets/controller: Use aliases for callbacksLioncash4-6/+8
2022-12-06applets/error: Use aliases for callbacksLioncash4-16/+18
2022-12-06applets/mii_edit: Use aliases for callbacksLioncash2-3/+5
2022-12-06applets/profile_select: Use aliases for callbacksLioncash4-8/+8
Deduplicates callback definitions and situates it in one place.
2022-12-06applets/web_browser: Use aliases for callbacksLioncash4-32/+27
Deduplicates a lot of long callback declarations
2022-12-06applets/software_keyboard: Use aliases for callbacksLioncash4-35/+23
Deduplicates really long std::function declarations to make the interface nicer to read.
2022-12-06emulated_controller: Remove unused parameter in GetMappedDevices()Lioncash3-5/+3
This isn't used, so it can be removed to make the function a little nicer.
2022-12-06emulated_controller: Use std::move() in GetMappedDevices()Lioncash1-6/+6
Avoids churning allocations in a loop.
2022-12-06emulated_console: Amend cast in SetTouch()Lioncash1-1/+1
id is an int value, not a u32.
2022-12-06emulated_console: std::move() ParamPackages and callbacks where applicableLioncash1-4/+4
2022-12-05kernel/k_shared_memory: Ensure device_memory is always initializedLioncash1-1/+1
2022-12-05kernel/k_memory_block: Ensure members are always initializedLioncash2-22/+20
2022-12-05kernel/physical_core: Ensure is_interrupted is always initializedLioncash1-1/+1
2022-12-05kernel/thread: Ensure stack_top and argument are always initializedLioncash1-2/+2
2022-12-05kernel/kernel: Ensure shutdown threads are always initializedLioncash1-1/+1
2022-12-05Vulkan: Implement Alpha coverageFernando Sahmkow3-2/+6
2022-12-05input_common: Allow mifare filesNarr the Reg2-16/+29
2022-12-04service_thread: fix uninitialized memory usageLiam1-7/+7
2022-12-04cmake: prefer system librariesAlexandre Bouvier9-27/+16
2022-12-04yuzu-cmd: link SDL2 correctlyLiam1-1/+1
2022-12-04vulkan_common: add feature test for shaderDrawParametersLiam1-1/+13
2022-12-04vulkan_common: clean up extension usageLiam12-102/+105
2022-12-04vulkan_common: correct usage of timeline semaphore fallbacksLiam1-2/+1
2022-12-04vulkan_common: ensure all mandatory features are tested in feature reportLiam1-1/+24
2022-12-04vulkan_common: unsuffix 16-bit storage feature test structureLiam1-2/+2
2022-12-04vulkan_common: unsuffix timeline semaphore feature test structureLiam1-2/+2
2022-12-04vulkan_common: add logicOp to feature reportLiam1-1/+2
2022-12-04vulkan_common: promote host query reset usage to coreLiam4-11/+12
2022-12-04vulkan_common: promote descriptor update template usage to coreLiam8-37/+36
2022-12-04vulkan_common: promote timeline semaphore usage to coreLiam3-9/+15
2022-12-04externals: update dynarmic, SDL2Liam5-21/+23
2022-12-02core: add option to break on unmapped accessLiam9-6/+69
2022-12-02service: nfc: Implement mifare serviceNarr the Reg9-36/+600
2022-12-01shader_recompiler: add gl_Layer translation GS for older hardwareLiam9-6/+230
2022-12-01video_core: Fine tuning the index drawing judgment logicFeng Chen2-27/+22
2022-12-01vulkan_common: quiet some validation errorsLiam2-1/+3
2022-12-01CMake: Consolidate common PCH headersameerj14-84/+29
2022-12-01string_util: Fix Mingw compile errorameerj1-2/+2
Co-Authored-By: liamwhite <9658600+liamwhite@users.noreply.github.com>
2022-11-30audio_core: sink_stream: Hold the suspend lock when process is stalled.bunnei2-7/+9
- Prevents us from clashing with other callers trying to un/stall.
2022-11-30CMake: Disable PCH on MSVC + Buildcache configsameerj1-4/+0
2022-11-30Respect render mode overrideKelebek11-29/+39
2022-11-30CMake: Use precompiled headersameerj25-1/+214
2022-11-30value.h: remove recursive includeameerj1-1/+0
2022-11-29host1x/syncpoint_manager: Eliminate unnecessary std::function constructionLioncash1-4/+2
We can just pass the function object through, and if it's a valid function, then it will automatically be converted.
2022-11-29host1x/syncpoint_manager: Pass DeregisterAction() handle as const-refLioncash2-6/+6
The handle is only compared against and not modified in any way, so we can pass it by const reference. This also allows us to mark the respective parameters for DeregisterGuestAction() and DeregisterHostAction() as const references as well.
2022-11-29maxwell_3d: Mark shifted value as unsignedLioncash1-3/+3
Otherwise this is technically creating a signed int result that gets converted. Just a consistency change. While we're in the area, we can mark Samples() as const.
2022-11-29engines: Remove unnecessary castsLioncash10-85/+57
In a few cases we have some casts that can be trivially removed.
2022-11-29CMake: Directly link to SDL2-static when appropriatelat9nq3-3/+15
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later versions of CMake. Just use the same condition to tell which one to use.
2022-11-29service: nifm: Update stubs for Submit/GetRequestState/GetResultMorph1-7/+34
2022-11-29video_core/surface: Eliminate casts in GetFormatType()Lioncash1-11/+4
We can just compare directly and get rid of verbose casting.
2022-11-29video_core: add null backendLiam20-28/+383
2022-11-29producer_listener: Add virtual destructor to IProducerListenerLioncash1-0/+1
Several member variables are shared_ptr's to this base class. Even though producer listeners are still unimplemented, this ensures we always have consistent deletion behavior once this ends up being used polymorphically.
2022-11-29configure_input_player: Fix profile saving when using handheld controller typeameerj1-1/+7
2022-11-29config: Custom profile detection fixesameerj6-64/+108
Also only reads/writes applicable configs for the custom profiles.
2022-11-29configure_input_per_game: Allow configuring all 8 playersameerj3-54/+113
2022-11-29buffer_item_consumer: Pass fence by const-ref in ReleaseBuffer()Lioncash3-4/+3
This isn't directly modified. Also allows rvalues to be used with it.
2022-11-29buffer_queue_consumer: std::move std::shared_ptr in Connect()Lioncash1-1/+1
Avoids an unnecessary reference count increment and decrement
2022-11-29consumer_base: Pass shared_ptr by const referenceLioncash2-6/+6
Avoids churning atomic reference count increments and decrements.
2022-11-29consumer_base: Remove redundant virtualLioncash1-5/+5
override already serves this purpose
2022-11-28syncpoint_manager: Mark IsSyncpointAllocated() as constLioncash2-3/+3
This doesn't modify class state at all.
2022-11-28syncpoint_manager: Reduce number of bounds checksLioncash1-14/+28
The only time we need to check bounds is on the first access.
2022-11-28nvdrv: Simplify builder declarationsLioncash1-26/+18
We can just use auto here. If one of these ever happens to not be derived from nvdevice, then this will cause a compilation error. We can also move the devices into the collection to get rid of an unnecessary atomic reference count increment and decrement.
2022-11-28common/cache_management: Amend header includesLioncash2-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.
2022-11-28input_common/helpers: Mark analog property structs members as static constexprLioncash2-2/+18
These are const with no dependency on any other data members, so we can make these static constexpr to reduce the overall object size.
2022-11-28core/hid/emulated_controller: Use ranges version of transformLioncash1-19/+15
Makes the transform calls much nicer to read.
2022-11-28common/input: Add helpers functions for creating input and output devicesLioncash7-90/+102
Avoids the redundancy of needing to explictly specify the common namespace and the type.
2022-11-28common/input: Pass ParamPackage by const reference in CreateDeviceLioncash1-3/+3
This was previously being passed by value, which was unnecessary and created more allocations than necessary.
2022-11-28yuzu/main: Merge variable declaration into ifdefLioncash1-2/+1
This is only used in the non-Windows path.
2022-11-28yuzu-cmd: Fix default config valuegerman771-1/+5
2022-11-27Vulkan: update initializationLiam13-101/+191
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2022-11-27input_common: Pump sdl events from main threadgerman776-10/+35
2022-11-27yuzu-cmd: Fix input callback crash on closegerman773-0/+13
2022-11-27crypto: use user-provided keys whenever possibleValeri1-4/+4
Solves an issue where autogenerated title keys would take precedence over those provided by user.
2022-11-27yuzu-cmd: Update configuration file descriptiongerman771-3/+26
2022-11-26core: Use atomic instead of a lock to protect is_paused.bunnei1-6/+5
- This allows us to call IsPaused() elsewhere if we are holding the suspend lock.
2022-11-26OopsMatías Locatti1-1/+1
2022-11-26Replace GLSL as the default OpenGL shader backendMatías Locatti1-1/+1
GLASM is not very compatible with the latest games, and too many people have the special superpower to break their Vulkan support.
2022-11-26Sharpness instead of SharpeningMatías Locatti1-3/+3
2022-11-26configure_graphics: Implement custom FSR Sharpening settinglat9nq2-61/+128
2022-11-26settings: Reset FSR sharpening global state with the otherslat9nq1-0/+1
2022-11-24Fermi2D: Cleanup and address feedback.Fernando Sahmkow3-8/+150
2022-11-24GPU: Fix buffer cache issue, engine upload not inlining memory in multiline and pessismistic invalidation.Fernando Sahmkow4-15/+9
2022-11-24GPU: Implement additional render target formats.Fernando Sahmkow7-12/+126
2022-11-24MaxwellDMA: Implement BlockLinear to BlockLinear copies.Fernando Sahmkow2-1/+69
2022-11-24Fermi2D: Implement Bilinear software filtering and address feedback.Fernando Sahmkow7-116/+180
2022-11-24Fermi2D: Rework blit engine and add a software blitter.Fernando Sahmkow12-18/+1431
2022-11-24CMake: rework for Qt6 supportKyle Kienapfel3-14/+30
This PR rearranges things in the CMake system to make compiling with Qt6 possible 1. Camera API has changed in Qt6, so the camera feature is disabled 2. A previous fix involving QLocale is now version gated. 3. QRegExp replaced with QRegularExpression, see #5343 4. Qt6_LOCATION option added to specify a location to search for Qt6 (see examples below) 5. windeployqt is used to copy Qt6 files into the build directory on Windows Notes for Arch Linux Arch install happened to have qt6-base qt6-declarative qt6-translations installed mkdir build && cd build cmake .. -GNinja -DYUZU_USE_BUNDLED_VCPKG=ON -DYUZU_TESTS=OFF -DENABLE_QT6=YES -DYUZU_USE_BUNDLED_QT=NO Windows (MSVC) Qt wants users to download precompiled libraries via an online installer, it is worth noting that the GPL/LGPL takes precendence over any ... In the Qt Maintenance tool, under a version, such as 6.3.1 Select "MSVC 2019 64-bit" Under Additional Libraries Qt Multimedia may be of use for Camera support For the Web Applet I had to select the following: PDF Positioning WebChannel WebEngine mkdir build && cd build cmake -G "Visual Studio 16 2019" -DQt6_LOCATION=C:/Qt/6.4.0/msvc2019_64/ \ -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=YES -DYUZU_USE_BUNDLED_QT=NO \ -DENABLE_QT_TRANSLATION=YES -DENABLE_QT6=YES .. Some numbers for reference (msvc2019_64) Qt5 (slimmed down) 508 MB Qt5.15.2 all in 929 MB Qt6.3.1 1.71 GB Qt6.3.2 1.73 GB Qt6.4.0-beta3 1.83 GB Qt6.4.0 1.67 GB
2022-11-24FSR Sharpening Slider part 1 - only a global sliderMatías Locatti8-1/+132
2022-11-24startup_checks: Use fmt::print, fix exec error handlinglat9nq1-21/+21
Uses fmt::print opposed to std::fprintf for error printing. Call exit instead of returning to caller to prevent a like issue the previous commit was trying to solve. Removes unneeded comment. Co-authored-by: liamwhite <liamwhite@users.noreply.github.com> Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-11-24startup_checks: Use Windows flow for *nixlat9nq2-9/+51
Spawns a child using fork and exec as opposed to fork alone. Workaround for the macos file manager complaining about not supporting fork without exec. Control flow for *nix is now roughly the same as for Windows.
2022-11-24maxwell_to_vk: Add R16_SINTMorph1-1/+1
This was somehow missed when the format was added to GL
2022-11-24maxwell_to_vk: Fix format usage bitsMorph1-2/+2
- VK_FORMAT_B8G8R8A8_UNORM supports the STORAGE_IMAGE_BIT - VK_FORMAT_R4G4B4A4_UNORM_PACK16 does not support the COLOR_ATTACHMENT_BIT
2022-11-23service: Make use of buffer element count helpersLioncash12-47/+41
2022-11-23hle_ipc: Add helper functions for getting number of buffer elementsLioncash1-0/+12
2022-11-23hle_ipc: Mark relevant member functions as [[nodiscard]]Lioncash1-25/+25
Will allow the compiler to complain about cases where ignoring the return value would be a bug.
2022-11-23Qt: assign menuRole properties for actionsLiam1-0/+9
2022-11-23general: fix compile for Apple ClangLiam78-37/+949
2022-11-22k_handle_table: Remove cast to void* in GetObjectForIpcLioncash2-15/+18
This was used to get around the KProcess class being incomplete. We can just move this to the cpp file and eliminate the cast entirely, letting the compiler do its work.
2022-11-22Use the maximum input index for samples buffer span size, not just the input countKelebek11-6/+8
2022-11-22video_core: Optimize maxwell drawing trigger mechanismFengChen2-61/+63
2022-11-21qt_amiibo_settings: Use WebClient only if ENABLE_WEB_SERVICE is enabledMorph1-0/+4
Resolves compilation errors when ENABLE_WEB_SERVICE is disabled in CMake configuration
2022-11-20Configuration: Add per-game input profilesameerj11-14/+465
2022-11-20dmnt:cht: fix copy-paste errorLiam1-1/+1
2022-11-19service: nfc: Implement nfc userNarr the Reg12-84/+723
2022-11-19service: hid: Only overclock npad controllersgerman772-6/+30
2022-11-19core: hid: Implement true multitouch supportNarr the Reg5-46/+93
2022-11-19spirv_emit_context: add missing flat decorationLiam1-0/+1
2022-11-18qt: Add Qt version to LogRuntimesKyle Kienapfel1-0/+1
2022-11-18Qt6: Disable IR Sensor when compiling with Qt6Kyle Kienapfel6-0/+25
Gating the IR Sensor code behind a macro like so `#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) && YUZU_USE_QT_MULTIMEDIA` The YUZU_USE_QT_MULTIMEDIA flag is implemented in later commit Also the locale fix in src/yuzu/main.cpp is now gated against Qt6, as it causes compilation error
2022-11-17Dynarmic: Remove inaccurate NaN from Auto CPU settings.Fernando Sahmkow1-1/+0
2022-11-17shader: Implement miss attribute layerFengChen5-0/+13
2022-11-17maxwell3d: full HLE for multi-layer clearsLiam8-24/+17
2022-11-17maxwell3d: HLE multi-layer clear macroLiam2-1/+22
2022-11-16Update renderer_vulkan.cppMatías Locatti1-0/+4
2022-11-16configure_profile_manager: Cleanup reference/pointer usagelat9nq2-8/+10
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> Co-authored-by: Mai M. <mathew1800@gmail.com>
2022-11-16configure_profile_manager: Remove profile picture borderlat9nq1-0/+6
The border adds its own width at least on Linux which causes the icon to be offset by 1px, and cropped by 2px on the bottom and right sides.
2022-11-16configure_profile_manager: Use a custom dialog for deletionlat9nq2-11/+81
A hopefully more informative dialog that most importantly notifies the user that their saves will be deleted with the user profile. cpm: Only keep track of UI elements that we need cpm: Remove unused forward declarations cpm: Add missing include
2022-11-15video_core: Reimplement inline index buffer bindingFeng Chen5-33/+31
2022-11-15nvnflinger: fix lost wakeupLiam4-12/+16
2022-11-15core: Update result moduleNarr the Reg1-1/+75
2022-11-14Add break for default casesKyle Kienapfel24-6/+38
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
2022-11-14general: Address review commentsgerman7714-190/+200
2022-11-13service: am: Fix cabinet applet resultgerman772-10/+22
2022-11-13yuzu: Implement cabinet applet frontendgerman776-1/+865
2022-11-13service: am: Implement cabinet applet backendgerman779-7/+362
2022-11-13input_common: Add amiibo applet functionsgerman773-1/+19
2022-11-13service: nfc: fix tagprotocol and implement GetApplicationAreaIdgerman774-8/+43
2022-11-12Ignore ARM for core countMatías Locatti1-2/+1
2022-11-12kernel: implement FlushProcessDataCacheLiam4-8/+125
2022-11-12common: add cache management functionsLiam3-0/+89
2022-11-12Add CPU core count to log filesMatías Locatti3-3/+64
2022-11-12hle: service: audio: Use default service thread.bunnei3-18/+12
- This was arbitrarily added by me, and does not appear to be helpful.
2022-11-11yuzu/main: Change to 8_GiB instead of magic numberTobias1-1/+1
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2022-11-11Add break statement in default caseEnrico Mancuso1-0/+1
According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing) the default cases should have a break statement
2022-11-11Fix regs regression with OpenGL two-sided stencil, and re-add data invalidation regKelebek16-5/+32
2022-11-11ir/texture_pass: Use host_info instead of querying Settings::values (#9176)Morph12-16/+23
2022-11-11gdbstub: add ams monitor commandsLiam3-0/+155
2022-11-10debugger: allow more than one connection attempt per sessionLiam1-68/+93
2022-11-10Me likesMatías Locatti1-1/+1
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2022-11-10service_thread: remove explicit KProcessLiam2-29/+13
2022-11-10yuzu/compatdb: Rework compatibility submission systemFearlessTobi5-71/+404
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2022-11-10Add CPU thread count to log filesMatías Locatti1-0/+2
2022-11-10video_core: Fix dma copy 1D random crashFengChen1-17/+20
2022-11-10kernel/svc_types: refreshLiam19-137/+563
2022-11-09Initial ARM64 supportLiam11-24/+57
2022-11-09Add break statement in default casesEnrico Mancuso1-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;
2022-11-09Ensure correctness of atomic store orderingLiam2-3/+9
2022-11-07video_core: Fix few issues in Tess stageFengChen18-6/+63
2022-11-07service_thread: fix deletionLiam4-39/+33
2022-11-07yuzu: Change QtKeyToSwitchKey switch case to arraygerman771-217/+120
2022-11-06video_core:Fix vmm kinds size errorFengChen1-1/+1
2022-11-05core: hle: kernel: Address review comments.Liam2-2/+2
2022-11-05video_core: Fix scaling graphical regressions for multiple gamesFengChen1-4/+4
2022-11-05UI: split up strings relating to content removalKyle Kienapfel2-20/+33
Requested by Italian translator (Fs00 in Discord) "Remove Installed Game %1?" "Error Removing %1" I didn't press for translated strings, so have a taste direct from deepl Rimuovere il contenuto del gioco installato? Rimuovere l'aggiornamento del gioco installato? Rimuovere il DLC del gioco installato?
2022-11-04service_thread: register service threads to the logical owner processLiam5-20/+39
2022-11-04kernel: avoid racy behavior in global suspensionLiam1-5/+17
2022-11-04Qt: enable recent Linux features on more UnicesJan Beich3-17/+17
- Prevent sleep via xdg-desktop-portal after fa7abafa5f2a - Pause on suspend after b7642cff3611 - Exit on SIGINT/SIGTERM after 9479940a1fc7 - Improve dark themes after b51db125676f
2022-11-04network: add missing header for SO_* on Unix after f80c7c4cd5c0Jan Beich1-0/+4
src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::Initialize(Network::Domain, Network::Type, Network::Protocol)': src/core/internal_network/socket_proxy.cpp:51:20: error: 'SO_TYPE' was not declared in this scope 51 | SetSockOpt(fd, SO_TYPE, type); | ^~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetLinger(bool, u32)': src/core/internal_network/socket_proxy.cpp:253:27: error: 'SO_LINGER' was not declared in this scope 253 | return SetSockOpt(fd, SO_LINGER, values); | ^~~~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetReuseAddr(bool)': src/core/internal_network/socket_proxy.cpp:257:32: error: 'SO_REUSEADDR' was not declared in this scope 257 | return SetSockOpt<u32>(fd, SO_REUSEADDR, enable ? 1 : 0); | ^~~~~~~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetBroadcast(bool)': src/core/internal_network/socket_proxy.cpp:262:32: error: 'SO_BROADCAST' was not declared in this scope 262 | return SetSockOpt<u32>(fd, SO_BROADCAST, enable ? 1 : 0); | ^~~~~~~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetSndBuf(u32)': src/core/internal_network/socket_proxy.cpp:266:27: error: 'SO_SNDBUF' was not declared in this scope 266 | return SetSockOpt(fd, SO_SNDBUF, value); | ^~~~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetRcvBuf(u32)': src/core/internal_network/socket_proxy.cpp:274:27: error: 'SO_RCVBUF' was not declared in this scope 274 | return SetSockOpt(fd, SO_RCVBUF, value); | ^~~~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetSndTimeo(u32)': src/core/internal_network/socket_proxy.cpp:279:27: error: 'SO_SNDTIMEO' was not declared in this scope 279 | return SetSockOpt(fd, SO_SNDTIMEO, static_cast<int>(value)); | ^~~~~~~~~~~ src/core/internal_network/socket_proxy.cpp: In member function 'virtual Network::Errno Network::ProxySocket::SetRcvTimeo(u32)': src/core/internal_network/socket_proxy.cpp:284:27: error: 'SO_RCVTIMEO' was not declared in this scope 284 | return SetSockOpt(fd, SO_RCVTIMEO, static_cast<int>(value)); | ^~~~~~~~~~~
2022-11-04Update shader cache version. (#9175)gidoly1-1/+1
2022-11-04video_core: Fix SNORM texture buffer emulating error (#9001)Feng Chen23-52/+224
2022-11-04UI: Add options to hide extra columns (#9093)Piplup5-1/+31
UI change that allows the user to hide the size and or file types columns
2022-11-04core: hle: kernel: k_page_table: Remove unnecessary casts.bunnei1-17/+8
2022-11-04core: hle: kernel: k_page_table: Manually open/close pages for IPC methods.bunnei1-0/+18
2022-11-04core: hle: kernel: k_page_table: Implement IPC memory methods.bunnei3-3/+910
2022-11-04core: hle: kernel: k_memory_manager: Refresh.bunnei4-369/+460
2022-11-04core: hle: kernel: Integrate system KSystemResource.bunnei7-69/+209
2022-11-04core: hle: kernel: k_dynamic_page_manager: Refresh.bunnei1-17/+50
2022-11-04core: hle: kernel: Add KSystemResource.bunnei5-1/+173
2022-11-04core: hle: kernel: k_handle_table: Refresh.bunnei2-54/+87
2022-11-04core: hle: kernel: k_memory_layout: Refresh.bunnei3-12/+23
2022-11-04core: hle: kernel: k_memory_region_type: Refresh.bunnei1-49/+74
2022-11-04core: hle: kernel: slab_helpers: Add KAutoObjectWithSlabHeap.bunnei1-0/+78
2022-11-04core: hle: kernel: k_dynamic_resource_manager: Add KBlockInfoManager, KBlockInfoSlabHeap.bunnei1-0/+3
2022-11-04core: hle: kernel: k_page_bitmap: Refresh.bunnei1-88/+155
2022-11-04core: hle: kernel: k_memory_block: Refresh.bunnei2-48/+66
2022-11-04core: hle: kernel: k_page_heap: Refresh.bunnei2-17/+108
2022-11-04core: hle: kernel: k_page_group: Add KPageBufferSlabHeap.bunnei1-0/+86
2022-11-04core: hle: kernel: k_system_control: Add SecureAppletMemorySize.bunnei1-0/+4
2022-11-04core: hle: kernel: k_page_buffer: Add KPageBufferSlabHeap.bunnei1-3/+11
2022-11-04core: hle: kernel: Add KPageTableManager.bunnei2-0/+56
2022-11-04core: hle: kernel: Add KPageTableSlabHeap.bunnei2-0/+94
2022-11-04core: hle: kernel: Add KEventInfo.bunnei4-1/+102
2022-11-04core: hle: kernel: Add KDebug.bunnei2-0/+21
2022-11-04core: hle: result: Fix code for compilers.bunnei1-6/+7
2022-11-03core: hle: service: acc: Fix ListOpenContextStoredUsers/StoreOpenContext.bunnei5-23/+42
- These APIs are used to capture the opened users and allow that state to be persisted across processes. - They are not intended to just return the system opened users, that is what ListOpenUsers is for. - Fixes the launch hang with Bayonetta 3.
2022-11-02remove unnecessary sepator in file menu (main.ui)Ludovic1-1/+0
2022-10-31sm:: avoid excessive port recreationLiam3-18/+24
2022-10-31kernel: fix single core for service threadsLiam1-1/+2
2022-10-31kernel: fix port trackingLiam5-49/+4
2022-10-31k_server_session: add SendReplyHLELiam3-5/+6
2022-10-31service_thread: convert to map for session managementLiam1-23/+21
2022-10-31kernel: invert session request handling flowLiam22-279/+421
2022-10-31video_core: Fix drawing trigger mechanism regressionFengChen1-32/+25
2022-10-31kernel: more complete fix for KPort reference countingLiam2-13/+27
2022-10-30k_thread: fix single coreLiam1-2/+4
2022-10-30Vulkan: Fix regression caused by limiting render area to width/height of rendef targets.Fernando Sahmkow1-6/+6
2022-10-30vk_blit_screen: recreate swapchain images on guest format changeLiam2-1/+10
2022-10-30kernel: reinitialize after dram layout changeLiam1-1/+8
2022-10-30service: am: Stub SetRecordVolumeMutedgerman772-1/+13
Used by bayonetta 3
2022-10-30k_server_session: fix crashesLiam2-2/+1
2022-10-28vk_scheduler: Remove recorded_countsRobin Kertels1-3/+1
2022-10-27arm_interface: curb infinite recursion in stacktrace generationLiam2-2/+2
2022-10-27nvnflinger: release queued handles immediately on disconnectionLiam4-6/+17
2022-10-27vi: implement CloseDisplayLiam4-4/+28
2022-10-27video_core: Fix drawing trigger mechanism regressionFengChen2-61/+70
2022-10-26audio_in/out_system: Pass Initialize members by value where applicableLioncash6-8/+8
applet_resource_user_id isn't actually modified and is just assigned to a member variable, so this doesn't need to be a mutable reference. Similarly, the device name itself isn't modified and is only moved. We pass by value here, since we can still perform the move, but eliminate a sneaky set of calls that can unintentionally destroy the original string. Given how nested the calls are, it's good to get rid of this potential vector for a use-after-move bug.
2022-10-26concepts: Use the std::contiguous_iterator conceptMorph3-20/+10
This also covers std::span, which does not have a const iterator. Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics.
2022-10-25tests: fix for -WallAlexandre Bouvier1-1/+1
Fix #9123
2022-10-25video_core: Catch vulkan clear op not all channel need clearFengChen1-8/+13
2022-10-25Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"Feng Chen3-98/+9
2022-10-25kernel: refactor dummy thread wakeupsLiam5-26/+76
2022-10-24file_sys: Priority display of game titles in the current languageFengChen2-12/+37
2022-10-24nvdrv: fix container destruction orderLiam2-4/+4
2022-10-23core: barrier service thread shutdownLiam6-7/+26
2022-10-22core: hid: Add handheld to nfc devicesgerman771-0/+1
2022-10-22CMakeLists: Disable -Wbraced-scalar-init on ClangMorph1-0/+1
Clang erroneously emits this warning when using designated initializers.
2022-10-22yuzu: Resolve -Wpessimizing-moveMorph1-1/+1
2022-10-22startup_checks: Resolve -Wstringop-truncationMorph1-1/+2
Copies up to sizeof(p_name) - 1 in strncpy and null terminates it at p_name[254]
2022-10-22startup_checks: Resolve -WformatMorph1-7/+7
2022-10-22general: Resolve -Wunused-but-set-variableMorph1-2/+2
2022-10-22general: Resolve -Wunused-lambda-capture and C5233Morph4-29/+24
2022-10-22general: Resolve -Wclass-memaccessMorph3-3/+3
2022-10-22ipc_helpers: Ignore GCC compiler warnings only on GCCMorph1-2/+2
Clang and ICC for whatever reason also defines __GNUC__. Exclude them from this check.
2022-10-22CMakeLists: Enforce C5233 on MSVCMorph1-0/+1
This is similar to Clang's -Wunused-lambda-capture
2022-10-22CMakeLists: Disable C4100 and C4324Morph4-17/+3
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22CMakeLists: Remove redundant warningsMorph4-12/+0
These warnings are already included in /W3.
2022-10-22decoders: Use 2's complement instead of unary -Morph1-1/+1
Resolves C4146 on MSVC
2022-10-22CMakeLists: Treat MSVC warnings as errorsMorph4-3/+2
2022-10-22general: Enforce C4800 everywhere except in video_coreMorph14-41/+57
2022-10-22CMakeLists: Remove all redundant warningsMorph7-45/+4
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-22CMakeLists: Consolidate all unused warnings into -WunusedMorph1-3/+3
2022-10-22CMakeLists: Treat -Wall and -Wextra as errorsMorph1-3/+3
2022-10-22video_core: Implement maxwell inline_index methodFengChen6-74/+130
2022-10-22service: nfp: Allow amiibos without keysNarr the Reg3-1/+18
2022-10-22service: nfp: remove unnecessary includeNarr the Reg5-11/+7
2022-10-21video_coare: Reimplementing the maxwell drawing trigger mechanismFengChen10-224/+139
2022-10-21k_session_request: Add missing override specifierLioncash1-1/+1
2022-10-21format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINTMorph1-0/+2
This format is similar to Z32_FLOAT_X24S8_UINT, which is implemented with D32_FLOAT_S8_UINT. Used in Persona 5 Royal
2022-10-21k_session_request: Turn C-style array into std::arrayLioncash1-1/+3
Makes for stronger typing and allows tooling bounds checks provided by the standard library for debugging purposes.
2022-10-21k_session_request: Simplify constructor initializationLioncash1-14/+11
2022-10-21input_common: cache vibration testsgerman7710-57/+93
2022-10-21hid/npad: Fix copy size in GetSupportedNpadIdTypesLioncash1-2/+3
Previously this was passing the size of the vector into memcpy rather than the size in bytes to copy, which would result in a partial read. Thankfully, this function isn't used yet, so this gets rid of a bug before it's able to do anything.
2022-10-20Controller Applet had instance of Undocked, make HandheldKyle Kienapfel1-1/+1
Remember that time we renamed the Undocked option to Handheld in the status bar, and then later remembered the Controller Configuration? Scrolling through Transifex I noticed that we still have one instance of "Undocked" in the text.
2022-10-20video_core: don't build ASTC decoder shader unless requestedLiam4-14/+19
2022-10-19kernel: remove most SessionRequestManager handling from KServerSessionLiam6-138/+119
2022-10-19kernel: add KSessionRequestLiam13-62/+489
2022-10-19core: hle: kernel: Migrate ProcessState to enum class.bunnei2-17/+17
2022-10-19UI: Add option to hide the compatibility listKyle Kienapfel5-0/+17
Option is added directly below the option for the addons column Defaulting to hide compatibility list. Changing default works properly. Co-authored-by: Piplup <piplup55@users.noreply.github.com>
2022-10-19Update audio_core for firmware 15.0.0Kelebek15-33/+114
2022-10-19Maxwell3D/Puller: Fix regressions and syncing issues.Fernando Sahmkow2-13/+9
2022-10-19core: Initialize: Add missing braces.bunnei1-2/+4
2022-10-19core: core_timing: Re-initialize if single/multicore state changes.bunnei3-14/+36
2022-10-19core: core_timing: Remove unused IsHostTiming.bunnei1-5/+0
2022-10-19core: hle: kernel: Use result macros for new/changed code.bunnei9-128/+110
2022-10-19core: Partially persist emulation state across game boots.bunnei8-58/+65
2022-10-19core: hle: kernel: Fix InitializePreemption order.bunnei1-1/+1
2022-10-19core: hle: kernel: k_process: Improve management of page table & cleanup.bunnei7-60/+92
2022-10-19core: hle: kernel: k_interrupt_manager: HandleInterrupt should not depend on current process.bunnei1-12/+9
2022-10-19core: hle: kernel: Remove junk.bunnei1-9/+0
2022-10-19core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup.bunnei3-545/+624
2022-10-19video_core: renderer_vulkan: vk_query_cache: Avoid shutdown crash in QueryPool::Reserve.bunnei1-3/+4
2022-10-19core: hle: kernel: Integration application memory block slab manager.bunnei3-3/+44
2022-10-19core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager.bunnei2-251/+393
2022-10-19core: hle: kernel: k_memory_block: Update.bunnei2-119/+391
2022-10-19core: hle: kernel: k_memory_block_manager: Update.bunnei2-174/+380
2022-10-19core: hle: kernel: k_thread: Implement thread termination DPC.bunnei5-1/+99
2022-10-19core: hle: kernel: Add KDynamicResourceManager.bunnei2-0/+59
2022-10-19core: hle: kernel: Add KDynamicSlabHeap.bunnei2-0/+123
2022-10-19core: hle: kernel: Add KDynamicPageManager.bunnei2-0/+137
2022-10-19core: hle: kernel: k_process: Change Status -> State.bunnei3-37/+27
2022-10-19core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState.bunnei1-0/+13
2022-10-19core: device_memory: Templatize GetPointer(..).bunnei9-19/+21
2022-10-19core: hle: result: Add GetInnerValue and Includes methods.bunnei1-0/+8
2022-10-19core: hle: kernel: svc_common: Add WaitInfinite & cleanup.bunnei1-2/+5
2022-10-18fixed_point: Mark default constructor as constexprLioncash1-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.
2022-10-18fixed_point: Mark copy/move assignment operators and constructors as constexprLioncash1-3/+6
Given these are just moving a raw value around, these can sensibly be made constexpr to make the interface more useful.
2022-10-18fixed_point: Mark std::swap and move constructor as noexceptLioncash1-2/+2
These shouldn't throw and can influence how some standard algorithms will work.
2022-10-18fixed_point: Mark relevant member function [[nodiscard]]Lioncash1-14/+14
Marks member functions as discard, where ignoring the return value would be indicative of a bug or dead code.
2022-10-18fixed_point: Make to_uint() non-constLioncash1-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.
2022-10-18fixed_point: Use defaulted comparisonsLioncash1-23/+1
Collapses all of the comparison functions down to a single line.
2022-10-18fixed_point: Use variable templates and concepts where applicableLioncash2-72/+56
Makes a few things a little less noisy and removes the need for SFINAE in quite a few functions.
2022-10-17kernel: fix slab heap ABALiam1-10/+17
2022-10-17video_core: implement 1D copies based on VMM 'kind'FengChen2-56/+73
2022-10-17video_core: Implement memory manager page kindFengChen5-17/+342
2022-10-17fixed_point: Replace CONSTEXPR14 with constexprMorph1-50/+42
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
2022-10-17general: Add missing pragma onceMorph2-4/+3
2022-10-17savedata_factory: Detect future save data pathsMorph3-13/+59
Enable compatibility for new account/device save paths planned on a future implementation.
2022-10-17Address feedbackFengChen1-6/+6
2022-10-17sdl2_sink: Inline variable init into if conditionlat9nq1-2/+1
Co-authored-by: Mai <mathew1800@gmail.com>
2022-10-16sdl2_sink: Distinguish between capture and non-capture device nameslat9nq1-1/+1
The function prototype appears to care whether we are loading capture devices or not, and SDL_GetAudioDeviceName has a parameter to use it, but for some reason it isn't. This puts `capture` where it goes.
2022-10-16sdl2_sink: Check for null string when loading SDL audio deviceslat9nq1-1/+4
Attempting to place a null string into a vector of strings causes an error that closes the application. Don't.
2022-10-16video_core: Fix spelling of "synchronize"Morph2-5/+5
2022-10-16general: Fix spelling of "unknown"Morph3-13/+13
2022-10-15fix a tiny spelling mistakeKyle Kienapfel1-1/+1
Kreato pointed this out over on discord.
2022-10-14audio_core: Revert sink name to sdl2Narr the Reg1-2/+2
2022-10-14CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailableKyle Kienapfel1-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
2022-10-13renderer_(opengl/vulkan): Fix tessellation clockwise parameterMorph3-6/+6
This should be assigned CW only on Triangles_CW rather than not Triangles_CCW, making CCW the default winding order rather than CW.
2022-10-13settings: Update aspect_ratio rangeMorph1-1/+1
Since 16:10 was added, the maximum value is now 4.
2022-10-13result: enforce reference check specializationLiam1-4/+3
2022-10-13kernel: remove KWritableEventLiam37-232/+151
2022-10-12k_server_session: preliminary support for userspace server sessionsLiam9-49/+346
2022-10-12Add implementation of svcCreateSessionLiam2-1/+103
2022-10-12general: preliminary support for hblLiam6-6/+124
2022-10-11syncpoint_manager: ensure handle is removable before removingLiam1-1/+11
2022-10-10Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.Kelebek18-44/+51
2022-10-10yuzu: Add 16:10 aspect ratioNarr the Reg3-0/+8
2022-10-09input_common: have an unique vector in callback statusgerman773-6/+19
2022-10-09Choose the SDL audio backend when Cubeb reports too high of a latencyKelebek17-32/+95
2022-10-09core_timing: use high-precision sleeps on non-Windows targetsLiam1-0/+4
2022-10-08kernel: add expanded result macrosLiam1-6/+114
2022-10-08fsp_srv: stub GetCacheStorageSizeLiam2-1/+14
2022-10-08IFriendService: stub CheckFriendListAvailabilityLiam1-1/+12
2022-10-07video_core: don't block rendering on screenshotsLiam1-1/+7
2022-10-07configure_graphics: Fix graphics API selection when a game is runningMorph1-3/+4
The graphics API setting should not be changed when a game is running.
2022-10-07Update 3D regsKelebek129-2043/+3974
2022-10-07nfp_types: silence -Wtype-limitsLiam1-1/+1
2022-10-07Revert "vulkan: automatically use larger staging buffer sizes when possible"liamwhite2-60/+27
2022-10-06vulkan_blitter: Fix pool allocation double free.Byte3-25/+10
2022-10-06maxwell_dma: remove warnings from implemented functionalityLiam1-2/+0
2022-10-06General: address feedbackFernando Sahmkow30-165/+167
2022-10-06state_tracker: workaround channel setup for homebrewLiam5-4/+9
2022-10-06general: rework usages of UNREACHABLE macroLiam3-27/+28
2022-10-06nvdisp: End system frame after requesting to swap buffersMorph1-1/+1
Fixes frametime reporting
2022-10-06address_space: Rename va_start to virt_startMorph2-5/+5
Avoids conflicting with the va_start macro
2022-10-06address_space: Address feedbackMorph3-195/+237
2022-10-06general: Format licenses as per SPDX guidelinesMorph38-121/+93
2022-10-06NvHostChannels: improve hack for supporting multiple channels.Fernando Sahmkow2-2/+11
2022-10-06Address Feedback from bylaws.Fernando Sahmkow3-7/+3
2022-10-06Nvflinger: correct duplication.Fernando Sahmkow4-5/+5
2022-10-06Core: Fix get nvmap object random crashVonChenPlus12-35/+66
2022-10-06General: Fix clang format.Fernando Sahmkow7-18/+14
2022-10-06Common: Fix variable shadowing.Fernando Sahmkow1-5/+5
2022-10-06Vulkan Swapchain: Overall improvements.Fernando Sahmkow3-6/+17
2022-10-06NvDec: Fix regressions.Fernando Sahmkow6-5/+31
2022-10-06Vulkan Texture Cache: Limit render area to the max width/height of the targets.Fernando Sahmkow4-9/+29
2022-10-06ImageBase: Basic fixes.Fernando Sahmkow1-8/+5
2022-10-06General: Fix compilation for GCCLiam White16-42/+56
2022-10-06VideoCore: Implement formats needed for N64 emulation.Fernando Sahmkow6-10/+10
2022-10-06Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible.Fernando Sahmkow3-4/+12
2022-10-06VideoCore: Add option to dump the macros.Fernando Sahmkow1-0/+1
2022-10-06NVDRV: Further improvements.Fernando Sahmkow16-159/+278
2022-10-06Buffer Cache: Basic fixes.Fernando Sahmkow1-15/+22
2022-10-06Decoders: Improve overall speed.Fernando Sahmkow1-4/+11
2022-10-06DMA & InlineToMemory Engines Rework.bunnei21-242/+323
2022-10-06Maxwell3D: Add small_index_2Fernando Sahmkow1-0/+2
2022-10-06Memory Manager: ensure safety of GPU to CPU address.Fernando Sahmkow1-0/+3
2022-10-06MemoryManager: Fix errors popping out.Fernando Sahmkow3-4/+18
2022-10-06Shader Decompiler: implement better tracking for Vulkan samplers.Fernando Sahmkow1-9/+59
2022-10-06Shader Decompiler: Check for shift when deriving composite samplers.Fernando Sahmkow6-11/+46
2022-10-06Shader Decompiler: Fix dangerous behavior of invalid iterator insertion.Fernando Sahmkow1-3/+3
2022-10-06MemoryManager: Finish up the initial implementation.Fernando Sahmkow2-50/+138
2022-10-06OpenGL: Fix TickWorkFernando Sahmkow1-0/+4
2022-10-06VideoCore: Refactor fencing system.Fernando Sahmkow20-167/+154
2022-10-06MemoryManager: initial multi paging system implementation.Fernando Sahmkow6-209/+343
2022-10-06Vulkan: Fix Scissor on ClearsFernando Sahmkow1-1/+8
2022-10-06NVDRV: Further refactors and eliminate old code.Fernando Sahmkow18-242/+12
2022-10-06NVDRV: Refactor Host1xFernando Sahmkow33-173/+201
2022-10-06VideoCore: Refactor syncing.Fernando Sahmkow44-252/+648
2022-10-06Texture Cache: Fix GC and GPU Modified on Joins.Fernando Sahmkow1-3/+5
2022-10-06Texture cache: Fix the remaining issues with memory mnagement and unmapping.Fernando Sahmkow12-16/+63
2022-10-06Texture cache: Fix dangling references on multichannel.Fernando Sahmkow3-27/+36
2022-10-06Refactor VideoCore to use AS sepparate from Channel.Fernando Sahmkow10-152/+171
2022-10-06General: Rebase fixes.Fernando Sahmkow1-7/+6
2022-10-06VideoCore: Extra Fixes.Fernando Sahmkow3-3/+5
2022-10-06NVDRV: Remake ASGPUFernando Sahmkow8-239/+882
2022-10-06NVDRV: Update copyright notices.Fernando Sahmkow4-7/+13
2022-10-06MemoryManager: Temporary Fix for NVDEC.Fernando Sahmkow1-1/+1
2022-10-06NvHostCtrl: Fix merge of nvflinger.Fernando Sahmkow1-1/+2
2022-10-06VideoCore: Update MemoryManagerFernando Sahmkow4-167/+86
2022-10-06Common: implement MultiLevelPageTable.Fernando Sahmkow4-0/+171
2022-10-06VideoCore: Fix channels with disk pipeline/shader cache.Fernando Sahmkow11-71/+87
2022-10-06OpenGl: Implement Channels.Fernando Sahmkow9-118/+186
2022-10-06NVHOST_CTRl: Implement missing method and fix some stuffs.Fernando Sahmkow4-6/+35
2022-10-06VideoCore: implement channels on gpu caches.Fernando Sahmkow50-809/+1461
2022-10-06NVASGPU: Fix Remap.Fernando Sahmkow1-0/+8
2022-10-06NVDRV: Fix clearing when destroying.Fernando Sahmkow3-14/+9
2022-10-06NVMAP: Fix the Free return parameters.Fernando Sahmkow3-15/+18
2022-10-06NVDRV: Fix Open/Close and make sure each device is correctly created.Fernando Sahmkow14-199/+291
2022-10-06NVDRV: Implement new NvMapFernando Sahmkow18-277/+307
2022-10-06NVDRV: Refactor and add new NvMap.Fernando Sahmkow20-45/+558
2022-10-06NVDRV: Cleanup.Fernando Sahmkow4-32/+40
2022-10-06NVDRV: Implement QueryEvent.Fernando Sahmkow10-40/+133
2022-10-06NvHost: Remake Ctrl Implementation.Fernando Sahmkow7-170/+312
2022-10-06NvHost: Try a different approach to blocking.Fernando Sahmkow2-10/+7
2022-10-06NvHost: Fix some regressions and correct signaling on timeout.Fernando Sahmkow1-25/+19
2022-10-06Texture Cache: Add ASTC 10x5 Format.Fernando Sahmkow6-0/+23
2022-10-05Show error from cpp-httplib when we don't have a response to read (report errors while connecting to API) (#8999)Kyle Kienapfel1-1/+2
Co-authored-by: Kyle Kienapfel <Docteh@users.noreply.github.com>
2022-10-04vk_scheduler: wait for command processing to completeLiam1-2/+4
2022-10-04service: nfp: Fix errors to pass unit testingNarr the Reg6-42/+112
2022-10-04common: remove "yuzu:" prefix from thread namesLiam19-23/+23
2022-10-02shader_recompiler: add extended LDC to GLASM backendLiam1-4/+21
2022-10-02service: mii: Copy only valid name bytesgerman771-3/+18
2022-10-02service: nfp: Implement mount target and open application area errors, minor fixesNarr the Reg5-19/+124
2022-10-02nfp: Multiple fixes against HWgerman779-62/+163
2022-10-02service: nfp: address commentsgerman779-26/+29
2022-10-02service: nfp: Rewrite and implement applet callsgerman7713-1263/+1542
2022-10-02core: hid: Add nfc support to emulated controllergerman774-3/+123
2022-10-02yuzu: Use virtual amiibo driver instead of nfp servicegerman771-25/+26
2022-10-02input_common: Enable virtual amiibo drivergerman774-0/+102
2022-10-02input_common: Create virtual amiibo drivergerman776-0/+244
2022-10-02MacroHLE: Add MultidrawIndirect HLE Macro.Fernando Sahmkow1-1/+62
2022-10-02macro_jit_x64: fix miscompilation of bit extraction operationsLiam1-37/+9
2022-10-02Qt: work around Qt5's font choice for ChineseKyle Kienapfel1-0/+16
On Windows there are currently two fonts used. The first, does the Menu, QTreeView and Tooltips Second is Everything else which is a default font. From inspecting QApplication::font() at runtime Windows 10 English: QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0) Windows 11 Japanese: MS UI Gothic,9 ,-1,5,50,0,0,0,0,0 Windows 11 Traditional Chinese: PMingLiU,9 ,-1,5,50,0,0,0,0,0 Windows 11 Simplified Chinese: SimSun,9 ,-1,5,50,0,0,0,0,0 Windows 11 Korean: Gulim,9 ,-1,5,50,0,0,0,0,0 I initially investigated dynamically changing the font when the UI language is English, but this was getting quite messy Qt6 makes changes to default font in some situations, so this PR is being narrowed in scope to only effect Chinese font choices. This change only effects rendering of Latin/Cyrillic characters.
2022-10-01Fix "controller.colors_state.right" being "left"Zwip-Zwap Zapony1-1/+1
2022-10-01macro_jit_x64: cancel exit for taken branchLiam1-11/+5
2022-09-26service: vi: Retrieve vsync event once per displayMorph5-14/+42
The display vsync event can only be retrieved once per display. Returns VI::ResultPermissionDenied if we attempt to retrieve the vsync event for the same display. Prevents games such as .hack//G.U. Last Recode from consuming all the handles in the handle table by spamming vsync event retrievals and allows it to go in game.
2022-09-26service: vi: Move VI results into its own fileMorph2-16/+25
2022-09-25core/loader: Return nullptr if file is nullptrMerry1-0/+4
2022-09-25vulkan: automatically use larger staging buffer sizes when possibleLiam2-27/+60
2022-09-25service: hid: Partially implement palma controllerNarr the Reg7-33/+842
2022-09-23yuzu: sort input profiles by nameNarr the Reg1-0/+2
2022-09-23chore: fix some typosAndrea Pappacoda5-6/+6
Fix some typos reported by Lintian
2022-09-22build(room): simplify yuzu-room installationAndrea Pappacoda1-1/+1
CMake is able to automatically install binaries in the correct location. Also see my older patch, https://github.com/yuzu-emu/yuzu/commit/af94bf4a594b6a3599fae1d78e5d283b9f602032 Cc: @FearlessTobi
2022-09-22sockets: Make fd member variable protectedLioncash2-6/+17
Other things shouldn't be able to directly mess around with the descriptor
2022-09-22Do not try to pause core timing from the audio thread when using single-coreKelebek11-2/+7
2022-09-21yuzu: Silence some clang warningsNarr the Reg4-8/+8
2022-09-21audio_renderer: Make GetCommandBuffer() take a u32Lioncash2-2/+2
This function is only ever called with unsigned types, and all of the other interface functions take session_id as a u32, so this makes the class a little more consistent.
2022-09-21audio_manager: Forward declare result typeLioncash2-1/+3
Moves the include into the cpp file to lessen header dependencies.
2022-09-21audio_manager: Remove redundant cast in ThreadFunc()Lioncash1-3/+5
We can just use a local here to get rid of a second cast.
2022-09-21audio_manager: move std::functions in SetOutManager/SetInManagerLioncash1-2/+2
Prevents unnecessary reallocations in the event the captured variables are larger than the internal std::function buffer.
2022-09-21audio_manager: Remove unused forward declarationsLioncash2-10/+0
Allows us to get rid of some unnecessary forward declarations and includes.
2022-09-21audio_manager: Remove unused sessions_started member variableLioncash1-2/+0
This isn't used, so it can be removed.
2022-09-21audio_manager: Remove dependence on system stateLioncash3-10/+4
This isn't used by the class, so this can be removed for the time being.
2022-09-20Address some review commentsFearlessTobi7-52/+38
2022-09-20video_core: Fix legacy to generic location unpairedFengChen5-15/+31
2022-09-20video_core: Generate mipmap texture by drawingFengChen29-8/+259
2022-09-19yuzu qt: Add option to disable startup Vulkan checklat9nq7-45/+66
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.
2022-09-18cmake: fix git detectionAlexandre Bouvier1-27/+2
2022-09-16core: implement HwOpus GetWorkBufferSizeForMultiStreamExFengChen2-1/+38
2022-09-16astc: Enable parallel CPU astc decodingMorph1-21/+35
Given the issues with GPU accelerated ASTC decoding with NVIDIA's latest drivers, parallelize astc decoding on the CPU. Uses half the available threads in the system for astc decoding.
2022-09-16audio_renderer: Pass command buffer by const referenceLioncash4-4/+4
This is just being copied and isn't modified at all.
2022-09-16sink_stream: Mark GetQueueSize as constLioncash1-1/+1
2022-09-16node_states: Mark relevant member functions as constLioncash1-2/+2
2022-09-16i3dl2/reverb: Mark relevant member functions as constLioncash2-4/+4
These two don't modify member state.
2022-09-16behavior_info: Mark CopyErrorInfo as constLioncash4-6/+6
This doesn't modify member state. We can also mark the parameter of AppendError as const as well, since it isn't modified.
2022-09-16audio_device: Mark GetDeviceVolume as constLioncash2-2/+2
This doesn't modify instance state.
2022-09-16audio_render_manager: Mark several functions as constLioncash2-6/+6
2022-09-16audio_in: Mark several functions as constLioncash4-18/+18
These functions don't modify class state, so we can mark them as such
2022-09-16audio_out: Mark several functions as constLioncash4-16/+17
These don't affect class state, so we can mark them as such.
2022-09-16audio_buffers: Pass by const-ref in AppendBuffersLioncash3-13/+17
This function doesn't modify the passed in buffer, so we can make that explicit.
2022-09-16device_session: Convert for loop into ranged for in AppendBuffersLioncash1-5/+5
Simplifies the indexing code a little bit.
2022-09-16device_session: Pass arguments by const-ref in relevant functionsLioncash3-7/+7
These functions don't modify the passed in audio buffers, so we can signify that in the interface.
2022-09-16UI: move icons from default into colorful theme.Kyle Kienapfel1-8/+13
colorful theme has been default theme for awhile. having colorful theme try and grab icons from other theme doesn't work on Linux. Also adding two additional icons, info is to hint to the user that they should hit verify after pasting in a token, sync is to show that the verification is occurring.
2022-09-15audio_core: Amend documentation tagsLioncash28-112/+105
Resolves a wackload of -Wdocumentation warnings due to mismatching tags and whatnot.
2022-09-15audio_device: Mark member functions as const where applicableLioncash3-10/+10
These member functions don't modify any internal state.
2022-09-15audio_device: Make AudioDeviceName constructor constexprLioncash5-17/+30
These are used as read-only arrays, so we can make the data read-only and available at compile-time. Now constructing an AudioDevice no longer needs to initialize some tables
2022-09-15video_core: Modify astc texture decode error fill valueFengChen2-2/+2
2022-09-15UI: Fix link to TAS help pageKyle Kienapfel1-0/+3
Tools -> TAS -> Configure TAS Thanks to Rei on discord for the fix. Basically: openExternalLinks is a checkbox in Qt Creator
2022-09-14common: do not link to xbyak on non-amd64 architecturesliushuyu1-1/+2
2022-09-13compressor: Simplify memset in InitializeCompressorEffectLioncash1-1/+1
Provides equivalent behavior while being significantly smaller.
2022-09-13compressor: Mark params parameters as constLioncash1-3/+3
These functions don't modify the parameters.
2022-09-13compressor: Remove unneeded casts in ApplyCompressorEffectLioncash1-2/+1
Same behavior, but also silences a -Wcast-qual warning, since the second cast casts away const.
2022-09-13Remove pause callbacks from coretimingKelebek115-144/+29
2022-09-12Remove a pragma once from a cpp fileKelebek11-2/+0
2022-09-11input_common: Increase mapping timer from 2.5 seconds to 4 secondsgerman771-1/+1
2022-09-11dedicated_room: fix token padding ...liushuyu1-2/+12
... mebedtls' base64 routine has a strange behavioral issue where if the input is invalid, it will not report it as invalid, but rather returning a bunch of garbage data. This new round-tripping padding method should eliminate such issue.
2022-09-11fix black iconNarr the Reg1-0/+2
2022-09-10yuzu: Multiple room UI improvementsgerman7718-59/+176
2022-09-10Align index buffe size when vertex_buffer_unified_memory enableFengChen1-1/+1
2022-09-09ldn: Initial implementationFearlessTobi15-124/+1132
2022-09-08core/CMakeLists.txt: Remove duplicate files.SachinVin1-6/+0
2022-09-08CMake: explicitly link mbedcrypto for yuzu-roomKyle Kienapfel1-1/+1
Doesn't appear to effect anything regular, but in both Linux and Windows builds it looks like our project has all the libraries available for linking. If this feature is turned off, there is only one thing that quit working, when linking yuzu-room it couldn't find a function called mbedtls_base64_decode mbedtls is split into three libraries for some reason: mbedtls mbedx509 mbedcrypto mbedtls_base64_decode is in mbedcrypto
2022-09-07core: nfp: Remove magic numbersgerman773-105/+103
2022-09-07core: nfp: Workaround for lack of multiple nfp interfacesgerman771-1/+3
2022-09-07core: nfp: Correct date and amiibo nameNarr the Reg4-18/+36
2022-09-07core: nfp: Implement Convert and RecreateApplicationArea, accuracy fixesNarr the Reg10-257/+356
2022-09-07core: nfp: Implement amiibo encryptiongerman777-276/+1227
2022-09-06yuzu: input: fix invert symbol on axis and order options alphabeticallyNarr the Reg1-13/+14
2022-09-06input_common: Add support for analog toggleNarr the Reg4-0/+15
2022-09-05core: hid: Fix GC triggers overwritting ZL and ZR buttonsNarr the Reg1-0/+15
2022-09-05mini_dump: Address review feedbacklat9nq4-63/+71
Uses fmt::print as opposed to std::fprintf. Adds a missing return. static's a single-use function. Initializes structs as opposed to std::memset where possible. Fixes CMake linkage. Co-authored-by: Lioncash <mathew1800@gmail.com> mini_dump: Use a namespace Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-09-05vcpkg,cmake: Use vcpkg for dbghelplat9nq1-1/+1
2022-09-05mini_dump: Check for debugger before spawning a childlat9nq2-63/+37
mini_dump: Clean up mini_dump: Fix MSVC error mini_dump: Silence MSVC warning C4700 Zero initialize deb_ev. mini_dump: Add license info
2022-09-05mini_dump: Cleanup and add commentslat9nq3-43/+87
Removes some unnecessary code. wip
2022-09-05yuzu: Use a debugger to generate minidumpslat9nq18-91/+360
yuzu: Move mini_dump out of core startup_checks: Better exception handling
2022-09-04Don't stall with nvdecKelebek14-2/+35
2022-09-04input_common: sdl: Always check for motion on reconnectNarr the Reg1-4/+7
2022-09-03core: ns: Implement pl:s serviceNarr the Reg6-26/+27
2022-09-03Qt: Make General->Debug scrollableKyle Kienapfel3-4/+9
Configuration -> General -> Debug is getting a bit crowded. yzct12345 submit this originally, so I'm tagging them as a co-author. The original #6714 also modifies the Controls -> Player N sections, but it looks like more work is needed to make the current area scrollable. Co-authored-by: yzct12345 <87620833+yzct12345@users.noreply.github.com>
2022-09-02Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.Kelebek123-842/+551
2022-09-02Address review commentsFearlessTobi11-27/+26
2022-09-01Demote services from warning/info to debug to reduce log spam:Kelebek15-16/+16
GetCurrentFocusState SetClockSpeed EnableSixAxisSensorUnalteredPassthrough IsSixAxisSensorUnalteredPassthroughEnabled Get, GetOld SetAndWait, SetAndWaitOld IocParam IocFree
2022-09-01Silence std::aligned_storage warnings as it's deprecated in C++23,Kelebek11-1/+1
replace it with alignas() and a C array
2022-08-31style: General style changes to match with the rest of the codebaseMorph2-10/+7
2022-08-31(shader/pipeline)_cache: Raise shader/pipeline cache versionMorph2-2/+2
Since the following commit: https://github.com/yuzu-emu/yuzu/commit/a83a5d2e4c8932df864dd4cea2b04d87a12c8760 , many games will refuse to boot unless the shader/pipeline cache has been invalidated.
2022-08-27core/ldn_types: Minor corrections and additionsFearlessTobi1-1/+16
2022-08-27yuzu/chat_room: Make font size biggerFearlessTobi1-0/+4
2022-08-27dedicated_room: Correctly handle token decodingFearlessTobi1-0/+12
Correctly handle token decoding when '=' has been trimmed by the backend server. Co-Authored-By: liushuyu <liushuyu011@gmail.com>
2022-08-27yuzu/multiplayer: Warn when game is running or no network interface is selectedFearlessTobi11-19/+81
2022-08-27core/socket_proxy: Correct broadcast behaviorFearlessTobi1-1/+7
Broadcasts should only be sent when the broadcast IP is used. They should also only be received when SO_BROADCAST is enabled.
2022-08-27yuzu: Display current game version in multiplayer roomFearlessTobi6-11/+38
Makes it easier for users to recognize connection errors caused by different game versions.
2022-08-27network: Use lower timeout for enet_host_serviceFearlessTobi2-2/+2
This allows us to have a 10x higher throughput of packets by using a much shorter waiting time.
2022-08-27core/bsd: Correctly unbind methods in destructorFearlessTobi1-1/+5
Prevents yuzu from crashing when the BSD service is created a second time.
2022-08-27core/acc: Make CheckAvailability use LOG_DEBUGFearlessTobi1-1/+1
Previously it was spamming the logs in certain multiplayer games like Puyo Puyo Tetris.
2022-08-27yuzu_room: Remove dependency on coreFearlessTobi11-9/+13
2022-08-25video_core: add option for pessimistic flushingLiam9-1/+32
2022-08-25video_code: support rectangle textureFengChen14-15/+62
2022-08-24Implement AudRenU:RequestUpdateAuto, and use C descriptors when B reports as empty.Kelebek11-6/+21
2022-08-24video_core: vulkan: rasterizer: Workaround on viewport swizzle on AMDNarr the Reg1-1/+8
2022-08-23yuzu: Force camera output to be saved on a buffer (#8805)Narr the Reg2-2/+38
2022-08-23core:filesystem: speed up IDirectory servicevonchenplus1-1/+2
2022-08-22hid: core: Add missing function table namesgerman771-0/+6
2022-08-21core/file_sys: fix alignment of BuildIdLiam2-3/+3
2022-08-20Qt: Retranslate GameList header and Filter lineKyle Kienapfel3-7/+37
Didn't notice this until I was trying to change the default font to Comic Sans MS when language is set to English in yuzu.
2022-08-20video_core: support framebuffer crop rect top not zerovonchenplus2-12/+25
2022-08-20core: implement clkrst servicevonchenplus2-0/+184
2022-08-20code: dodge PAGE_SIZE #defineKyle Kienapfel17-119/+116
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
2022-08-19video_core: implement R16G16B16X16 texture formatLiam1-1/+1
2022-08-19core/file_sys: fix BuildId paddingLiam2-11/+7
2022-08-19yuzu: Allow longer controller profile namesNarr the Reg1-1/+1
2022-08-16common: remove unneeded x86-specific headerliushuyu1-1/+0
2022-08-15core/socket_proxy: Final nitsFearlessTobi1-8/+7
2022-08-15core: network: Address review commentsgerman775-32/+31
2022-08-15yuzu: Fix crash on shutdownFearlessTobi2-6/+4
Previously, accessing the room_network when it was already freed would crash the emulator on shutdown. Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2022-08-15internal_network: Fix mingw compilationFearlessTobi1-4/+5
Apparently, "interface" is a reserved keyword on this compiler.
2022-08-15core, yuzu: Address first part of review commentsFearlessTobi9-71/+70
2022-08-15core/socket_proxy: Fix compilationFearlessTobi1-1/+1
2022-08-15Make copyright headers SPDX-compliantFearlessTobi6-12/+14
2022-08-15core, network: Add ability to proxy socket packetsFearlessTobi28-526/+1028
2022-08-15web_service: Correct jwt issuer stringFearlessTobi1-1/+3
2022-08-15dedicated_room: Initial implementationFearlessTobi4-0/+418
2022-08-12Do some log memes to help perceived volumeKelebek12-2/+5
2022-08-12Allow audio volume up to 200%Kelebek14-9/+7
2022-08-12ips_layer: Delimit parsed hex value stringMorph1-1/+2
Delimits the hex value string on spaces, slashes, carriage returns or newlines, allowing for comments to be added in-line.
2022-08-12review pass on CheckDarkMode functionKyle Kienapfel2-4/+4
2022-08-12core: ldn: Address review comments part 2german772-334/+297
2022-08-09arm_dynarmic: Fix nullptr fastmem arenasMerry2-7/+11
Unable to enable fastmem of exclusive access without a valid fastmem arena.
2022-08-09Qt: tweak ui filesKyle K2-2/+3
make about dialog a bit taller for full message on more systems for direct_connect.ui hedging bets here, there is a text field for port number that possibly shouldn't be translated, marking as such, but also adding a translation note for the event that it makes sense to translate the placeholder text to something other than the default multiplayer direct connect port.
2022-08-09video_core/textures/decoders: Avoid SWIZZLE_TABLEMerry2-15/+48
2022-08-08hid: core: Properly emulate controller color and battery levelNarr the Reg4-25/+97
2022-08-08core: ldn: Address review commentsNarr the Reg4-56/+46
2022-08-08Make vsync setting work for VulkanDJRobX2-3/+4
2022-08-08core/arm: fix build errorLiam2-2/+10
2022-08-07ldn: Add better stubs and more data typesFearlessTobi6-72/+773
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com> Co-Authored-By: Morph <39850852+Morph1984@users.noreply.github.com>
2022-08-07arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISBMerry2-4/+29
2022-08-07yuzu: Fix fmt 9.0.0 issueslat9nq2-3/+4
2022-08-06hid: core: Delay the stop vibration command when testingNarr the Reg1-0/+4
2022-08-05Controller bugfixes in profile select (#8716)Steve3-5/+10
* Controller bugfixes in profile select, closes #8265 2 fixes for using a controller in profile select dialog. Pressing 'B' cancels the launch of the game Using controller to select a profile now correctly sets the index to use for the launch * Added brackets to if statements as requested.
2022-08-05Linux: handle dark system themes nicelyKyle K4-14/+77
yuzu's default theme doesn't specify everything, which is fine for windows, but in linux anything unspecified is set to the users theme. Symptoms of this are that a linux user with a dark theme won't think to change the theme to a dark theme when first using yuzu Idea here is to try and support arbitrary themes on linux. preliminary work on a "default_dark" theme, used only as overlay for any themes that are measured to be dark mode. Other work done: FreeDesktop standard icon names: plus -> list-add delete refresh, we use view-refresh remove duplicated icons for qdarkstyle_midnight_blue referencing icon aliases in the qrc files is the way to go Note: Dynamic style changing doesn't appear to work with AppImage
2022-08-04Qt5 work around for suzhou numeralsKyle Kienapfel1-0/+9
When windows is told to display Standard digits as suzhou, it is showing incorrect information in yuzu, file sizes and the CPU speed limiter are effected by this. See #8698 for some screenshots. Setting number format to Chinese (Simplified, Hong Kong SAR) is one way to see this issue in action. Fixes #8698
2022-08-03renderer_vulkan: add format fallbacks for R16G16B16_SFLOAT, R16G16B16_SSCALED, R8G8B8_SSCALEDLiam5-273/+337
2022-08-02vk_texture_cache: return VK_NULL_HANDLE for views of null imagesLiam1-0/+12
2022-08-02core_timing: Sleep in discrete intervals, yield during spinMorph1-12/+13
2022-08-02Add missing looping event schedule signalKelebek11-5/+9
2022-08-02Make coretiming waiting more accurateKelebek12-11/+31
2022-08-02Rework multi-core vsyncKelebek12-17/+30
2022-08-02common: Use PROJECT_SOURCE_DIR to find CMakeModuleslat9nq1-3/+3
Fixes CMake configuration when yuzu is a submodule of another project.
2022-08-01core/loader: remove ELF loaderLiam5-313/+0
2022-08-01build(externals): rename Findopus to FindOpusAndrea Pappacoda1-1/+1
This better matches upstream's FindOpus.cmake file, and it will make using upstream's FindOpus.cmake file easier.
2022-07-31Properly write out the command buffer when serving close requestNikita Strygin1-2/+5
2022-07-30renderer_opengl: delete shader source after linkingLiam1-0/+1
2022-07-30Translate english pluralsKyle Kienapfel3-6/+14
Turns out that for Qt to properly handle plurals in English a translation needs to be provided, otherwise the user is left with messages such as "Building: 2 shader(s)" Plurals for other all other languages are handled on transifex. I wrote the README.md to just refer to it as a translation collaboration site just in case we ever switch. These translations being out of date won't pose any technical problems so I believe it is fine to handle them manually on a "best effort" basis. The files are generated into the source directory so that the relative filenames are correct. The generated file is added to .gitignore
2022-07-30video_core: stop waiting for shader compilation on user cancelLiam2-2/+2
2022-07-30audio_core: fix -Wuninitialized when compiling with ASanLiam1-4/+4
2022-07-29common: move forwarded value into SPSCQueueLiam1-1/+1
2022-07-29Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan.Kelebek11-2/+3
2022-07-28video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated copiesLiam1-9/+7
2022-07-28Revert Coretiming PRs 8531 and 7454 (#8591)Maide5-118/+69
2022-07-28implement pause on system suspend (#8585)snek2-1/+43
2022-07-28Avoid depop out of boundsKelebek12-2/+2
2022-07-27Merge pull request #8592 from devsnek/sig-handlerssnek2-0/+71
exit gracefully on sigint/sigterm
2022-07-27yuzu: Add incremental steps to volume hotkeysNarr the Reg1-2/+16
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda180-487/+390
[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
2022-07-25network: Address review commentsFearlessTobi5-199/+203
2022-07-25network, yuzu: Make copyright headers SPDX-compliantFearlessTobi37-111/+74
2022-07-25network, yuzu: Improve variable naming and style consistencyFearlessTobi14-47/+53
2022-07-25yuzu_cmd: Fix compilationFearlessTobi2-13/+1
2022-07-25network: Move global state into a seperate classFearlessTobi21-96/+150
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2022-07-25common: multiplayer: Use GameInfo typegerman7711-62/+60
2022-07-25Address second part of review commentsFearlessTobi9-103/+92
2022-07-25Address first part of review commentsFearlessTobi14-133/+231
2022-07-25Fix compilation on linux gccFearlessTobi6-31/+32
2022-07-25web_service: Fix -Wmissing-field-initializersFearlessTobi1-1/+1
2022-07-25core: Fix -Wunused-variableFearlessTobi1-1/+3
2022-07-25common, core: fix -Wmissing-field-initializersFearlessTobi2-5/+5
2022-07-25yuzu: Hide multiplayer button and room statusFearlessTobi2-16/+3
2022-07-25yuzu: Add ui files for multiplayer roomsFearlessTobi67-49/+4499
2022-07-25network: Add initial files and enet dependencyFearlessTobi12-0/+2890
2022-07-25Address commentsNarr the Reg2-17/+18
2022-07-25kernel: unlayer CPU interrupt handlingLiam13-152/+64
2022-07-24fix compiler errorsgerman772-12/+14
2022-07-24service: irs: Implement clustering processorgerman776-7/+320
2022-07-24qt: reset progress bar after shader compilationLiam1-0/+4
2022-07-24qt_software_keyboard: Fix infinite loop when moving between buttonsMorph1-0/+14
There was a bug where, when using the numeric keyboard, moving between buttons resulted in an infinite loop, resulting in a stuck state. This was due to prev_button being the only one enabled in that row or column, causing the condition in the while loop to always be true. To fix this, detect whether we have returned to that initial row/column and break out of the loop.
2022-07-24applet/swkbd: Implement optional symbol keysMorph5-4/+67
These are only used in the numeric keyboard, and correspond to the keys to the left and right of the "0" key on the numeric keyboard.
2022-07-24yuzu: Add webcam support and rebase to latest masterNarr the Reg8-16/+43
2022-07-24service: irs: Move to IRS namespace and minor fixesgerman7719-76/+70
2022-07-24service: irs: Split processors and implement ImageTransferProcessorgerman7718-291/+1091
2022-07-24core: hid: Add cammera supportgerman776-3/+423
2022-07-24yuzu: Hook qt camera to camera drivergerman7713-1/+481
2022-07-24input_common: Add camera drivergerman7711-5/+298
2022-07-23ci,CMake: Drop Conan support for vcpkglat9nq1-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.
2022-07-22Project AndioKelebek1269-8436/+33703
2022-07-19video_core: use correct byte size for framebufferLiam1-5/+8
2022-07-19Update configure_input.uiMatías Locatti1-1/+1
2022-07-18implement resume messageGus Caplan4-0/+23
2022-07-17hle: service: nvflinger: Fix implicit conversion.bunnei1-1/+4
2022-07-17yuzu: settings: Remove framerate cap and merge unlocked framerate setting.bunnei10-135/+15
- These were all somewhat redundant.
2022-07-17hle: service: nvflinger: Factor speed limit into frame time calculation.bunnei1-1/+8
- This allows the %-based "Limit Speed Percent" setting to work with MC emulation. - This is already supported for SC emulation.
2022-07-16Enable the use of MSG_DONTWAIT flag on RecvImplLink45651-1/+19
2022-07-16core/arm: skip watchpoint checks when reading instructionsLiam2-6/+6
2022-07-15common/setting: Make ranged a property of the typemerry6-58/+59
- 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
2022-07-15KCodeMemory: Mark virtual methods as overrideMerry1-3/+3
2022-07-15common_funcs: Mark padding as [[maybe_unused]]Merry1-4/+6
2022-07-15nvflinger: Polymorphic destructor requried for abstract class IBinderMerry1-0/+1
2022-07-15dynarmic: Abort watchpoints ASAPMerry4-8/+3
2022-07-15kernel: Ensure all uses of disable_count are balancedLiam3-10/+21
2022-07-15kernel: be more careful about initialization path for HLE threadsLiam2-1/+8
2022-07-15kernel: fix single-core preemption pointsLiam6-40/+28
2022-07-15kernel: fix issues with single core modeLiam9-189/+225
2022-07-15kernel: use KScheduler from mesosphereLiam12-602/+563
2022-07-14service: fatal: Add function tablegerman771-1/+7
2022-07-14service: btdrv,bcat,btm: Update service tables to 14.0.0german773-4/+13
2022-07-14service am: Update service tables to 14.0.0german771-0/+3
2022-07-14service: ac: Replace intances of ProfileData with UserDatagerman773-24/+22
2022-07-12startup_checks: Use WaitForSingleObject and more cleanuplat9nq1-6/+9
2022-07-11core: hid: Add fallback for dualjoycon and pro controllersgerman772-1/+35
2022-07-11startup_checks: Use GetEnvironmentVariableAlat9nq1-4/+3
Solves MSVC compile error. Also drops need string use for comparison.
2022-07-10startup_checks: Clean uplat9nq1-9/+6
Adds some comments, removes unused includes, and removes last bits of logging since this is before the logging backend starts up.
2022-07-10startup_checks: Implement unix side codelat9nq2-17/+48
Wow fork() is nice, isn't it?
2022-07-10yuzu: Simplify broken Vulkan handlinglat9nq9-115/+65
2022-07-10yuzu: Check Vulkan on startup with a childlat9nq3-1/+78
2022-07-10yuzu: Rename check_vulkan to startup_checkslat9nq4-3/+3
2022-07-10PRKelebek15-11/+9
2022-07-10Rework CoreTimingKelebek113-82/+154
2022-07-10common: fix bitfield aliasing on GCC/ClangLiam1-0/+9
2022-07-10kernel: fix usage of waiter_list in FinalizeLiam1-3/+9
2022-07-06guard against div-by-zeroMarshall Mohror1-2/+5
2022-07-06common/x64: Use TSC clock rate from CPUID when availableMarshall Mohror3-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.
2022-07-06gpu_thread: Use the previous MPSCQueue implementationMorph2-4/+3
The bounded MPSCQueue implementation causes crashes in Fire Emblem Three Houses, use the previous implementation for now.
2022-07-06qt_web_browser: Fix button inputs with QtWebEngineMorph1-2/+6
Button inputs were broken as button was assumed to be the bit position of NpadButton prior to the input rewrite. Since this was changed to use NpadButton directly, we should count the number of trailing zeros to determine the bit position.
2022-07-06renderer_(gl/vk): Implement ASTC_10x6_UNORMMorph7-1/+16
- Used by Monster Hunter Rise Update 10.0.2
2022-07-05CI: fix cachingliushuyu1-1/+7
2022-07-02Core timing: use only one thread.Fernando Sahmkow2-12/+2
2022-07-02common/fiber: make fibers easier to useLiam9-170/+79
2022-06-30cpu_manager: properly check idle on return from preemptionLiam2-1/+8
2022-06-30gdbstub_arch: Directly access SP registerlat9nq1-2/+6
Currently to access the SP register, RegRead and RegWrite rely on a out-of-bounds array access to reach the next element in a struct. As of writing only git versions of GCC catch this error. Specify the SP register when we want to access it in these functions.
2022-06-30settings: Consolidate RangedSetting's with regular oneslat9nq8-320/+232
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.
2022-06-30Adress Feedback.Fernando Sahmkow3-19/+29
2022-06-29Revert "vulkan_device: Block AMDVLK's VK_KHR_push_descriptor"lat9nq1-11/+0
2022-06-29service: nifm: Stub GetInternetConnectionStatusgerman771-1/+41
2022-06-29service: ptm: Rewrite PSM and add TSgerman7710-84/+183
2022-06-29input_common: sdl: lower vibration frequency and use it's own unique threadgerman773-3/+12
2022-06-29service: hid: Correct some mistakes and add more validationsNarr the Reg5-40/+76
2022-06-28Native clock: Use atomic ops as before.Fernando Sahmkow2-24/+29
2022-06-28Native Clock: remove inaccuracy mask.Fernando Sahmkow2-6/+1
2022-06-28Address feedback.Fernando Sahmkow1-13/+13
2022-06-28Core: Protect each event from race conditions within it.Fernando Sahmkow2-0/+2
2022-06-28Core: Fix tests.Fernando Sahmkow3-2/+5
2022-06-28Core: add missing include.Fernando Sahmkow1-0/+1
2022-06-28Core/Common: Corrections to core timing and add critical priority.Fernando Sahmkow3-5/+11
2022-06-28Core: Reimplement Core Timing.Fernando Sahmkow3-55/+93
2022-06-28Common: improve native clock.Fernando Sahmkow3-29/+29
2022-06-27video_core: Replace VKUpdateDescriptorQueue with UpdateDescriptorQueuegerman7714-33/+33
2022-06-27video_core: Replace VKSwapchain with Swapchaingerman775-25/+23
2022-06-27video_core: Replace VKQueryCache with QueryCachegerman776-28/+27
2022-06-27video_core: Replace VKScheduler with Schedulergerman7735-111/+110
2022-06-27video_core: Replace VKBlitScreen with BlitScreengerman773-51/+51
2022-06-27video_core: Replace VKFenceManager with FenceManagergerman773-15/+14
2022-06-27core: kernel: Replace instances of KPageLinkedList with KPageGroupgerman7711-64/+63
2022-06-27core: Replace all instances of ResultCode with Resultgerman77140-1176/+1136
2022-06-26Re-add missing `case` and braces, and trim whitespacecomex1-1/+3
2022-06-26Update src/core/hle/kernel/svc.cppcomex1-6/+14
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2022-06-26Support InfoType_MesosphereCurrentProcesscomex1-0/+14
2022-06-25kernel: clean up waiting implementationLiam2-4/+5
2022-06-25core/arm: better support for backtrace generationLiam5-15/+51
2022-06-25gdbstub: fix register pokesLiam1-0/+1
2022-06-23kernel: make current thread pointer thread localLiam13-52/+69
2022-06-22KPageTable: Remove extraneous assertMorph1-1/+0
Since start is always 0 and VAddr is unsigned, we can safely remove this assert.
2022-06-22tweak API usage in qt_web_browser.cppKyle Kienapfel1-3/+3
In testing future versions of Qt I forgot to compile with `YUZU_USE_QT_WEB_ENGINE`, so with that flag enabled there are two issues that cropped up. 1. yuzu currently uses setRequestInterceptor, added in Qt 5.6, deprecated in 5.13 with this explaination at https://doc.qt.io/qt-5/qwebengineprofile-obsolete.html Interceptors installed with this method will call QWebEngineUrlRequestInterceptor::interceptRequest on the I/O thread. Therefore the user has to provide thread-safe interaction with the other user classes. For a duration of this call ui thread is blocked. Use setUrlRequestInterceptor instead. 2. QWebEngineSettings::globalSettings() pointer no longer exists in later versions of Qt From what I can tell, QtNXWebEngineView doesn't need to set these globally, when we make changes to settings(), QtWebEngineView::page() creates the page object if it doesn't exist yet. I don't see the page object being destroyed or otherwise replaced, except via destroying the QtNXWebEngineView object. The globalSettings() make sense if Pages or Views objects are being created outside of yuzu's control. To test this I've compared what BrowseNX and Odyssey's Action guide do in mainline 1049 and this PR. For now we're going to go up the chain to QWebEngineProfile::defaultProfile()->settings()
2022-06-22core/arm: increase minimum_run_cyclesLiam2-2/+2
2022-06-22core/arm: re-enable cycle countingmerry2-6/+20
2022-06-22dynarmic: Stop ReadCode callbacks to unmapped addressesLiam4-24/+64
2022-06-20service: am: Stub PerformSystemButtonPressingIfInFocusNarr the Reg2-1/+24
Used by Ring Fit Adventure
2022-06-18kernel: wait for threads to stop on pauseLiam3-0/+22
2022-06-17core: fix initialization in single core, sync GPU modeLiam4-0/+13
2022-06-16Make yuzu-cmd respect log_filter settingNikita Strygin1-0/+6
Because logging infrastructure initializes before the loading of the config, it reads the default setting for log_filter and ignores the one set in config. To change log_filter after logging initialization some additional calls need to be made.
2022-06-16Implement ExitProcess svcNikita Strygin1-1/+2
Currently this just stops all the emulation This works under assumption that only application will try to use ExitProcess, with services not touching it If application exits - it quite makes sense to end the emulation
2022-06-16core/debugger: memory breakpoint supportLiam18-54/+510
2022-06-16common: param_package: Demote DEBUG to TRACE for gettersNarr the Reg1-3/+3
2022-06-16kernel: fix some uses of disable_countLiam4-14/+7
2022-06-15bounded_threadsafe_queue: Use constexpr capacity and maskMorph2-87/+74
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
2022-06-15vk_compute_pass: Explicitly cast to VkAccessFlagsMorph1-25/+26
According to the standard, a narrowing conversion is an implicit conversion from an integer or unscoped enumeration type to an integer type that cannot represent all the values of the original type, except when the value is a literal or constant expression. MSVC, unlike GCC or Clang, determines this to be a narrowing conversion despite the enumeration exclusively containing values that fit within the range of a 32 bit integer, emitting a warning since designated initializers prohibit narrowing conversions. To solve this, explicitly cast to the type we are initializing.
2022-06-15kernel: notify debugger on break SVCLiam1-0/+7
2022-06-15core: centralize profile scope for DynarmicLiam3-7/+2
2022-06-14main: Eliminate variable shadowingMorph1-3/+2
2022-06-14kernel: implement KProcess suspensionLiam12-212/+199
2022-06-14vk_compute_pass: Use VK_ACCESS_NONEMorph1-1/+1
This enumeration was introduced in Vulkan 1.3, prefer using this instead of defaulting the enum. Also resolves a narrowing conversion warning on MSVC.
2022-06-14wait_tree: Eliminate variable shadowingMorph2-12/+12
2022-06-14configure_ringcon: Eliminate variable shadowingMorph1-4/+4
2022-06-14configure_touch_from_button: Eliminate variable shadowingMorph2-3/+3
2022-06-14configure_per_game: Eliminate variable shadowingMorph2-4/+4
2022-06-14configure_input_player: Eliminate variable shadowingMorph1-39/+39
2022-06-14configure_dialog: Eliminate variable shadowingMorph2-5/+4
2022-06-14bootmanager: Eliminate variable shadowingMorph1-1/+1
2022-06-14game_list: Eliminate variable shadowingMorph5-19/+19
2022-06-14vk_compute_pass: Silence Wextra warningMorph1-1/+1
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
2022-06-14kernel: fix passthrough of local captures in lambdaLiam1-1/+3
2022-06-14common/assert: rework ASSERT handling to avoid std::function usageLiam2-35/+20
2022-06-14general: fix compilation on MinGW GCC 12Liam2-6/+5
2022-06-14common/assert: add unlikelyLiam1-1/+1
2022-06-14general: fix compilation on GCC 12Liam2-2/+2
2022-06-14kernel: ensure class token lambda exit is unreachableLiam1-0/+1
2022-06-14kernel: fix inconsistency in AutoObjectTraits macro definitionsLiam1-4/+7
2022-06-14common: Don't test ASSERT conditions inlineLiam2-32/+36
2022-06-14common: Change semantics of UNREACHABLE to unconditionally crashLiam72-173/+182
2022-06-14structured_control_flow: Remove constexpr Flow::Blocklat9nq1-6/+0
This seems to be unsupported in newer libstdc++ versions due to Flow::Block's base class being a non-literal type. It's not clear to me why this was permitted in earlier versions.
2022-06-14yuzu_cmd: Eliminate variable shadowingMorph5-7/+7
2022-06-14audio_core: Remove -Werror=unused-parameterMorph1-1/+0
Removing this as we don't enforce unused parameter warnings elsewhere in the project, and explicitly specify -Wno-unused-parameter in the main CMakeLists.
2022-06-14CMakeLists: Make variable shadowing a compile-time errorMorph6-16/+5
Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
2022-06-14common: Eliminate variable shadowingMorph1-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.
2022-06-14yuzu: Eliminate variable shadowingMorph10-25/+25
2022-06-14web_service: Eliminate variable shadowingMorph2-12/+12
2022-06-12core/debugger: allow remote connectionsLiam1-1/+1
2022-06-12gdbstub_arch: Add missing virtual destructorLioncash1-0/+1
The class is used polymorphically, so it's undefined behavior to delete instances of GDBStubA64 and GDBStubA32 from the base class pointer.
2022-06-11log the MSVC runtime version when running on MSVC buildKyle Kienapfel2-0/+30
This might be useful information, not 100% sure. [ 0.958068] Frontend <Info> yuzu\main.cpp:GMainWindow:275: yuzu Version: yuzu Development Build | master-0b9ef3c0b-dirty [ 0.958095] Frontend <Info> yuzu\main.cpp:LogRuntimes:220: MSVC Compiler: 1931 Runtime: 14.32.31326.0
2022-06-11UI: retranslate the game list placeholderKyle Kienapfel2-1/+16
This is the "Double-click to add a new folder to the game list" message that shows up when users first launch yuzu and is most likely never seen again. Previously this message was not re-translated.
2022-06-10service: hid: Fix gesture regressionNarr the Reg2-4/+3
2022-06-10yuzu-cmd: ignore bogus timeous from SDLLiam1-1/+9
2022-06-10core/debugger: fix a number of shutdown deadlocksLiam9-7/+72
2022-06-10core/debugger: support operation in yuzu-cmdLiam3-0/+15
2022-06-09kernel: fix KCodeMemory initializationLiam3-26/+118
2022-06-09CpuManager: simplify pausingLiam3-95/+36
2022-06-07core/debugger: fix asio write usageLiam1-2/+2
2022-06-07core/debugger: fix crash due to incorrect lambda captureLiam1-8/+9
2022-06-07input_common: Replace usage of string guid to common uuidNarr the Reg2-33/+38
2022-06-06deprecate usage of QDesktopWidget for going fullscreenKyle Kienapfel1-3/+15
Idea works as follows, while going fullscreen we compare the current window geometry with available screens and ask for an intersection rectangle, we go fullscreen where most of the window is located GuessCurrentScreen could also potentially be used to see which screen the window is on for dynamic DPI handling
2022-06-06hle: service: nvflinger: buffer_queue_consumer: Always free released buffers.bunnei3-31/+3
2022-06-05common: consolidate ELF structure definitionsLiam5-263/+371
2022-06-04configure_graphics: Remove unused includelat9nq1-1/+0
2022-06-04gdbstub: add missing library list commandLiam1-22/+28
2022-06-03gpu_thread: Move to bounded queueLevi Behunin3-4/+185
2022-06-02Maxwell3D: Fix 3D semaphore counter type 0 handlingBilly Laws2-3/+3
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
2022-06-02core/debugger: Support reading guest thread namesLiam4-14/+172
2022-06-02gdbstub: fix target descriptionsLiam2-10/+87
2022-06-02ui: Status bars dock button becomes dock/undock buttonKyle Kienapfel2-5/+11
For people not used to the Yuzu UI it's not always clear if the emulated console is docked or not. The other items update their text when clicked, this PR brings the DOCK button in line with this. DOCK -> DOCKED or HANDHELD
2022-06-01core/debugger: Define defaulted virtual destructorsMorph3-2/+6
Resolves an MSVC warning where a virtual destructor is not defined in the base class with virtual functions.
2022-06-01core/debugger: Improved stepping mechanism and misc fixesLiam15-122/+247
2022-06-01gdbstub: Explicitly cast return type to u8Morph1-2/+2
Otherwise, the addition promotes the returned value to an int instead of keeping it as a u8.
2022-06-01fix UI opening fullscreen after certain crashesKyle Kienapfel1-0/+4
Sometimes when yuzu crashes, it restarts with the games list in fullscreen, which would be fine, except there isn't an easy way to exit this. It also doesn't occur often enough for qt-config.ini files to be in good supply. UILayout\geometry value in qt-config.ini is the culprit, at least for the one provided. Proposed fix is to simply check isFullScreen when yuzu is starting up, and take it out of full screen immediately
2022-06-01core/debugger: Implement new GDB stub debuggerLiam27-42/+1500
2022-05-31service: hid: Improve stub of IRSNarr the Reg2-21/+460
2022-05-30main: Insert warning text on broken Vulkanlat9nq1-1/+6
Co-authored-by: Schplee <24275329+Schplee@users.noreply.github.com>
2022-05-30main: Save config on broken Vulkan detectlat9nq1-0/+2
Prevents possible issues if someone were to open yuzu repeatedly over and over again.
2022-05-30yuzu-qt: Make has_broken_vulkan only for crasheslat9nq5-11/+17
Being able to catch and handle a Vulkan exception is not what this is for.
2022-05-30vulkan_library: Add debug logginglat9nq1-0/+4
2022-05-30yuzu-qt: Attempt to workaround broken Vulkan installationslat9nq9-46/+166
This does a few things in order to make the default setting Vulkan workable. - When yuzu boots, it just opens the Vulkan library. - If it works, all good and we continue with Vulkan as the default. - If something breaks, a new file in the config directory will be left behind (this is deleted normally). - If Vulkan is not working, has_broken_vulkan is set to true. - The first time this happens, a warning is displayed to notify the user. - This forces use of OpenGL, and Vulkan cannot be selected. - The Shader Backend selector is made accessible for use in custom configurations. - To disable has_broken_vulkan, the user needs to press a button in Graphics Configuration to manually run the Vulkan device enumeration.
2022-05-30default_ini: Reflect new renderer backend default settinglat9nq1-1/+1
2022-05-30settings: Set Vulkan to the default renderer backendlat9nq1-1/+1
2022-05-30motion touch ui: move remaining connection out of .ui fileKyle K2-18/+3
Two reasons for this: 1. Out of 7 connections, 6 are in ConfigureMotionTouch::ConnectEvents, this is the outlier. 2. Qt6 doesn't moc the connection properly
2022-05-29Update some files with Qt 5.15.2 best practices in mindKyle K8-17/+22
There was some discussion about updating to Qt6 and I figured I would work on some smaller parts. For Windows platform the WinMain function has moved from the Qt5::WinMain to a new one called Qt6::EntryPointPrivate Also Qt5 supports versionless CMake targets https://www.qt.io/blog/versionless-cmake-targets-qt-5.15 These other changes in this commit are to support Qt6, but in ways that don't mess with Qt5. src/yuzu/bootmanager.cpp: Qt6 complains about not being able to know to use QPoint or QPointF, picking QPoint src/yuzu/bootmanager.h: Qt6 prefers that QStringList.h be included rather than an empty class definition src/yuzu/configuration/configure_system.cpp: toULongLong intends to return unsigned 64 bit integer, but Settings::values.rng_seed is only 32 bits wide src/yuzu/game_list.cpp: Qt6 returns a different datatype for QStringList.length than Qt5, it used to be int, but in Qt6 its now qsizetype src/yuzu/loading_screen.cpp: Qt5's for QStyleOption.init say to switch to initFrom. The QStyleOption.init doesn't exist in Qt6 src/yuzu/main.cpp: Another QPointer and QStringList.size, lets standardize on size()
2022-05-29Logging: Report Post Windows 10 2004 versions, like Windows 11Kyle K1-1/+26
Qt5 and Qt6 don't really do a good job of reporting Windows versions past the 2004 version. Current: Windows 10 Version 2009 This Patch: Windows 10 Version 21H1 (Build 19043.1706) Also: Windows 11 Version 21H2 (Build 22000.675) Fixes: #8362
2022-05-28yuzu-qt: Call -Wl,--subsystem,windows directlylat9nq1-1/+1
-mwindows doesn't work with Clang. tpoechtrager/wclang resolves this by just using MinGW-GCC to link the executable, however this prevents us from using LLVM-exclusive tools when building yuzu. Solution is to send the linker argument we need from -mwindows directly to the linker. From https://gcc-help.gcc.gnu.narkive.com/FogklN5J/gcc-wl-subsystem-windows-mwindows-options
2022-05-27service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssignedgerman775-6/+125
Needed by Nintendo Switch Sports
2022-05-27service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformationgerman775-3/+136
Needed by Nintendo Switch Sports
2022-05-27service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabledgerman774-2/+88
Needed by Nintendo Switch Sports
2022-05-27service: hid: Add error handling to sixaxis functionsgerman773-31/+55
2022-05-27service: hid: Refractor sixaxis functionsgerman772-185/+88
2022-05-27service: hid: Implement MergeSingleJoyAsDualJoy according to REgerman774-65/+57
2022-05-27service: hid: Add error handling to setNpadAssignment and variantsgerman773-23/+27
2022-05-27service: hid: Quick RE fixes and commentsgerman774-54/+68
2022-05-27path_util: Resolve `-Wpointer-bool-conversion` warninglat9nq1-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>
2022-05-25vulkan_device: Workaround extension buglat9nq1-1/+6
A bug occurs in yuzu when VK_KHR_workgroup_memory_explicit_layout is available but 16-bit integers are not supported in the host driver. Disable usage of the extension when this case arises.
2022-05-25vulkan_device: Block AMDVLK's VK_KHR_push_descriptorlat9nq1-0/+11
Recent AMD Vulkan drivers (22.5.2 or 2.0.226 for specifically Vulkan) have a broken VK_KHR_push_descriptor implementation that causes a crash in yuzu. Disable it for the time being.
2022-05-23input_common: Make vibration request asyncNarr the Reg4-7/+63
2022-05-23input_common: touch: Rewrite touch driver to support multiple touch pointsgerman778-92/+140
2022-05-19UI: Translate hotkey labels in configurationKyle K2-26/+40
Another request from GillianMC. The translated strings have been placed in a separate "Hotkeys" context as an alternative to having to add the tr function to the Config class, or adding them to ConfigureHotkeys context which is quite long. The English strings get attached to the items in the Action column as "data", and are used for RetranslateUI and saving the hotkey configuration.
2022-05-17video_core: Support new VkResultAlexandre Bouvier1-0/+2
2022-05-16qt_software_keyboard: Address review feedbacklat9nq1-14/+14
Use auto and a more descriptive variable name. Secondly, fix some C++ misconceptions or constructing too many objects. Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-05-16about dialog: Fix the logo in a multiplatform wayKyle K2-3/+19
The Icon was renamed in #8283 for Linux builds, and the fix proposed in #8312 would in turn break the icon for Windows users. I've decided to fix the aboutdialog.ui file via qtcreator. I'm not sure its important to have the yuzu icon inside the About dialog grabbed from the local Qt theme, but I've reword how the code works for that, and we can just delete those lines. I've also thrown the yuzu.png through pngcrush to remove this warning libpng warning: iCCP: known incorrect sRGB profile Credit to abouvier for bringing bug up.
2022-05-16main: Use Common::U16StringFromBufferlat9nq1-2/+4
See ffd3afcf2
2022-05-16qt_software_keyboard: Use Common::U16StringFromBufferlat9nq1-14/+15
See ffd3afcf2
2022-05-16string_util: Add U16StringFromBufferlat9nq2-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.
2022-05-14general: Avoid ambiguous format_to compilation errorsLioncash3-3/+3
Ensures that we're using the fmt version of format_to. These are also the only three outliers. All of the other formatters we have are properly qualified.
2022-05-13time_zone_manager: Use s8 for month length tablesMorph1-4/+3
Using this smaller type saves 512 bytes in the compiled executable.
2022-05-13video_core/surface: Use u8 for PixelFormat block tablesMorph1-3/+3
Using this smaller type saves 33280 bytes in the compiled executable.
2022-05-13codecs/vp9: Use u8 for norm and map lutsMorph1-4/+4
Using this smaller type saves 1536 bytes in the compiled executable.
2022-05-13command_generator: Use u8 for tap index lutMorph1-8/+8
Using this smaller type saves 1024 bytes in the compiled executable.
2022-05-11maxwell_dma: use fallback if remapping is enabledLiam1-3/+6
2022-05-10video_core/macro: clear code on upload address assignmentLiam3-0/+10
2022-05-09service: notifa: Implement most part of this servicegerman772-8/+172
Implements partially RegisterAlarmSetting, UpdateAlarmSetting, LoadApplicationParameter, DeleteAlarmSetting. Needed for Fitness `Boxing 2: Rhythm & Exercise` and `Ring Fit Adventure`.
2022-05-09VideoCore: Add option to dump the macros.Fernando Sahmkow4-0/+44
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2022-05-08video_core/macro_jit_x64: warn on invalid parameter accessLiam1-3/+21
2022-05-07OpenGL: implement face flips according to NDCLiam1-4/+3
2022-05-07maxwell_dma: fix bytes per pixelLiam1-3/+3
2022-05-06service: hid: Fix motion refresh rateNarr the Reg2-2/+6
2022-05-06service: hid: Disable correctly motion inputgerman771-50/+41
2022-05-06vk_rasterizer: fix stencil test when two faces are disabledLody1-2/+2
2022-05-03hle/result: Update std::expected replacement messageMorph1-1/+1
std::expected is included in C++23
2022-05-03hle/result: Add ResultRange overload in ResultValMorph1-1/+3
Also marks the implicit conversion operator as constexpr instead of consteval as the constructor is not constant evaluated.
2022-05-03hle/result: Implement ResultRangeMorph1-0/+42
A ResultRange defines an inclusive range of error descriptions within an error module. This can be used to check whether the description of a given ResultCode falls within the range. The conversion function returns a ResultCode with its description set to description_start.
2022-05-02Revert "gc_adapter: fix libusb import on GCC11.2"Morph1-4/+0
This reverts commit f72f4377f4cbbe45e5a43bb67c7245737ffa135f.
2022-05-02gc_adapter: fix libusb import on GCC11.2Levi Behunin1-0/+4
Just to silence an intermittent error. GCC11.2 complains cannot find 'libusb.h' during a fresh build.
2022-05-02ui: retranslate the network tabKyle K2-2/+11
Looks like it was just missed when it was added, as currently the Network Tab only has one item RetranslateUI is used more commonly throughout the project
2022-05-01ui: let system locale control format of Custom RTCKyle K1-3/+0
The Custom RTC widget is under the influence of the computers System Locale. The format strings are not necessarily related. As a small example, setting the Windows Language to Dansk, and then trying to use yuzu in English the requested AM/PM indicator is simply not shown The display format for the Custom RTC field needs to be removed from src/yuzu/configuration/configure_system.ui modifying the display format needs to be moved to src/yuzu/configuration/configure_system.cpp
2022-04-28GCC 12 fixesLiam3-4/+4
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda33-357/+90
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-04-27Changes to language order in General -> UI -> Interface LanguageKyle K1-6/+67
Language List is from Dolphin, specifically https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/DolphinQt/Settings/InterfacePane.cpp#L30 Any languages that are compiled in, but not in the list will be at the end.
2022-04-27service: hid: Stub IsFirmwareUpdateNeededForNotificationgerman772-1/+21
Used in Fitness Boxing 2: Rhythm & Exercise (0100073011382000)
2022-04-27yuzu: Config allow to delete single axis directions when buttons are mapped to a stickNarr the Reg2-3/+24
2022-04-27yuzu: config: Set default range to 95%Narr the Reg3-6/+6
2022-04-26renderer_vulkan: Update screen info if the framebuffer size has changedMorph1-0/+5
2022-04-25service: jit: document and clean upLiam3-132/+225
2022-04-24kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFFMorph1-1/+1
Resolves the C4146 compiler warning on MSVC.
2022-04-24Remove unused PrepareReschedule functionMerry7-20/+0
2022-04-24service: hid: Ensure all structs are initializedNarr the Reg16-104/+105
2022-04-23service: hid: Access shared memory directlyNarr the Reg21-305/+347
2022-04-23hotkeys: Trigger actions on a separate threadNarr the Reg1-3/+5
2022-04-23general: Convert source file copyright comments over to SPDXMorph1366-4208/+2745
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.
2022-04-21core/arm: separate backtrace collectionLiam6-90/+98
2022-04-21input_common: Ignore boost uninitialized local variableNarr the Reg1-0/+9
2022-04-19Prevent the mouse cursor from leaving the window when mouse panning is enabledPurple2-2/+41
2022-04-19ui: translate hat directionsKyle K1-1/+19
QObject ends up being its own translation context. But this works in our favor. GetButtonName and GetDirectionName will share one translation the directions such as "Left" "Right" and the ConfigureInputPlayer context will contain translations that show up in the form, in places that aren't those buttons.
2022-04-18service: hid: Improve accuracy of sixaxis functionsNarr the Reg6-99/+363
2022-04-18yuzu: mention GPLv3.0+ in about dialogAndrea Pappacoda1-1/+1
Follow-up to 284934ebfdf5e530c960cf69969172ff76f40bea Fixes #8218
2022-04-18bootmanager: Don't create another screenshot request if previous one is not done yetgerman773-0/+13
2022-04-17ui: Fix Game Compatibility list translationsKyle K3-3/+6
Reported by GillianMC on Discord. Looks to be a small quirk in the QT API. setText(QObject::tr(status.text)); bringing up QObject breaks the link with the GameListItemCompat
2022-04-16yuzu: Call ignore event after ensuring it's initializedNarr the Reg2-2/+2
2022-04-16yuzu: Add custom ringcon configurationgerman7719-65/+992
2022-04-16hidbus: Implement hidbus and ringcongerman7714-26/+1679
2022-04-14video_core: implement formats for N64 emulationFernando Sahmkow8-7/+102
2022-04-14buffer_cache: cap vertex buffer sizesLiam1-1/+14
2022-04-14maxwell3d: add small_index_2 registerLiam2-1/+11
2022-04-13dynarmic: Fix single core modemerry2-2/+2
Regression introduced in a5d040df3d. Closes #8201.
2022-04-13service: jit: Implement the JIT serviceLiam5-9/+784
2022-04-12ui: Touching QPalette::Text broke dark -> light UI. don't doKyle K1-2/+0
2022-04-12core: hle: kernel: k_thread: Rework dummy thread waiting.bunnei2-28/+21
2022-04-12core: hle: service: Allocate a service thread.bunnei1-1/+2
2022-04-12hle: kernel: k_spin_lock: Remove unused ThreadPause.bunnei1-28/+0
2022-04-12hle: kernel: Use std::mutex instead of spin locks for most kernel locking.bunnei10-32/+23
2022-04-12service: sfdnsres: add missing includes for some BSDs after 82d46a974ad4Jan Beich1-0/+4
src/core/hle/service/sockets/sfdnsres.cpp: In function 'Service::Sockets::NetDbError Service::Sockets::AddrInfoErrorToNetDbError(s32)': src/core/hle/service/sockets/sfdnsres.cpp:66:10: error: 'EAI_NODATA' was not declared in this scope; did you mean 'EAI_NONAME'? 66 | case EAI_NODATA: | ^~~~~~~~~~ | EAI_NONAME src/core/hle/service/sockets/sfdnsres.cpp: In function 'std::vector<unsigned char> Service::Sockets::SerializeAddrInfo(const addrinfo*, s32, std::string_view)': src/core/hle/service/sockets/sfdnsres.cpp:127:53: error: 'sockaddr_in' does not name a type; did you mean 'SockAddrIn'? 127 | const auto addr = *reinterpret_cast<sockaddr_in*>(current->ai_addr); | ^~~~~~~~~~~ | SockAddrIn src/core/hle/service/sockets/sfdnsres.cpp:127:64: error: expected '>' before '*' token 127 | const auto addr = *reinterpret_cast<sockaddr_in*>(current->ai_addr); | ^ src/core/hle/service/sockets/sfdnsres.cpp:127:64: error: expected '(' before '*' token 127 | const auto addr = *reinterpret_cast<sockaddr_in*>(current->ai_addr); | ^ | ( src/core/hle/service/sockets/sfdnsres.cpp:127:65: error: expected primary-expression before '>' token 127 | const auto addr = *reinterpret_cast<sockaddr_in*>(current->ai_addr); | ^ src/core/hle/service/sockets/sfdnsres.cpp:127:84: error: expected ')' before ';' token 127 | const auto addr = *reinterpret_cast<sockaddr_in*>(current->ai_addr); | ^ | ) src/core/hle/service/sockets/sfdnsres.cpp:148:53: error: 'sockaddr_in6' does not name a type; did you mean 'SockAddrIn6'? 148 | const auto addr = *reinterpret_cast<sockaddr_in6*>(current->ai_addr); | ^~~~~~~~~~~~ | SockAddrIn6 src/core/hle/service/sockets/sfdnsres.cpp:148:65: error: expected '>' before '*' token 148 | const auto addr = *reinterpret_cast<sockaddr_in6*>(current->ai_addr); | ^ src/core/hle/service/sockets/sfdnsres.cpp:148:65: error: expected '(' before '*' token 148 | const auto addr = *reinterpret_cast<sockaddr_in6*>(current->ai_addr); | ^ | ( src/core/hle/service/sockets/sfdnsres.cpp:148:66: error: expected primary-expression before '>' token 148 | const auto addr = *reinterpret_cast<sockaddr_in6*>(current->ai_addr); | ^ src/core/hle/service/sockets/sfdnsres.cpp:148:85: error: expected ')' before ';' token 148 | const auto addr = *reinterpret_cast<sockaddr_in6*>(current->ai_addr); | ^ | )
2022-04-11ui: Set Link Color when setting themeKyle K3-0/+20
Long story short, QT doesn't allow the link colors to be set via their stylesheets. There are two ways to work with this, specify the color manually for every link (See the About dialog) The other way is to change the default palette. IsDarkTheme is copy/pasted from src/yuzu/debugger/wait_tree.cpp
2022-04-10dynarmic: Fix race when switching page tablesmerry4-57/+84
2022-04-09hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory (fixes #8174)tech-ticks4-15/+34
2022-04-09core: extract symbol readingLiam4-129/+231
2022-04-08hle: kernel: Unify and integrate reference tracking for KServerPort/KServerSession.bunnei6-13/+46
- These are not managed elsewhere, and need to be tracked and closed on emulation shutdown.
2022-04-08hle: kernel: k_server_port: Release ref-counted host emulation members on Destroy.bunnei1-0/+3
2022-04-08hle: kernel: k_auto_object: Move unregister with kernel to after Destroy.bunnei1-3/+2
- Destructor is no longer invoked, so our object counting was off.
2022-04-08hle: service: sm: Remove manual tracking of KServerPorts.bunnei2-8/+1
2022-04-08hle: kernel: hle_ipc: HasSessionRequestHandler: Check if domain handler is expired rather than locking.bunnei1-1/+1
2022-04-08service: sfdnsres: Implement DNS address resolutiontech-ticks2-5/+197
2022-04-08CMakeLists: Enforce C4505 and C5245Morph1-0/+2
These are similar to Wunused-function on gcc/clang
2022-04-08core: hid: Fix double lock on softlock and forced updatesNarr the Reg1-2/+12
2022-04-07service: bsd: Add keepalive socket optiontech-ticks4-0/+10
2022-04-07patch_manager: Apply layered exefs patches from 'atmosphere' SD directorytech-ticks1-25/+38
2022-04-07core: hid: Replace lock_guard with scoped_lockNarr the Reg3-44/+44
2022-04-07core/hle: Standardize scoped_lock initializersMerry5-23/+23
2022-04-07yuzu/util: Replace lock_guard with scoped_lockMerry1-1/+1
2022-04-07web_service: Replace lock_guard with scoped_lockMerry1-2/+2
2022-04-07video_core: Replace lock_guard with scoped_lockMerry11-18/+18
2022-04-07input_common: Replace lock_guard with scoped_lockMerry2-29/+29
2022-04-07core: Replace lock_guard with scoped_lockMerry2-14/+14
2022-04-07core/hle: Replace lock_guard with scoped_lockMerry4-13/+13
2022-04-07common: Replace lock_guard with scoped_lockMerry3-5/+5
2022-04-07core: hid: Reduce the amount of dataracesgerman776-176/+246
2022-04-07fix: remove #pragma once in .cpp fileAndrea Pappacoda1-2/+0
2022-04-07service: jit: stub JIT serviceLiam8-1/+88
2022-04-07OpenGL: fix S8D24 to ABGR8 conversionsLiam6-4/+58
2022-04-06service: hid: Partially revert #8123german771-0/+4
2022-04-06k_system_control: Fix data racelat9nq1-3/+3
`return distribution(gen)` is a data race between a read and a write in two threads, reported by TSan. Remove static random number generators so they aren't using the same generator.
2022-04-05dynarmic: Print stack trace on unrecognised instruction or other exceptionmerry2-0/+4
2022-04-05build: remove -fconceptsAndrea Pappacoda1-6/+0
It was needed on GCC versions not supporting `-std=c++20`, but GCC 10 and newer (required to compile yuzu) don't need it anymore
2022-04-05Revert "texture_cache/util: Remove unneeded ReadBlockUnsafe"bunnei1-0/+1
2022-04-04shader_recompiler: Decrease indirect cbuf limit to match hardwareLiam1-1/+1
2022-04-04texture_cache/util: Remove unneeded ReadBlockUnsafeameerj1-1/+0
This call was reading GPU memory into the dst buffer, which is then overwritten by the SwizzleTexture call.
2022-04-04OpenGL: fix croppingLiam3-1/+10
2022-04-04Vulkan: crop to screen dimensions if crop not explicitly requestedLiam1-2/+3
2022-04-04OpenGL: propagate face flip conditionLiam1-4/+10
2022-04-04OpenGL: flip front faces if Z scale is invertedLiam1-2/+3
2022-04-04k_auto_object: Fix data racelat9nq1-1/+1
Change the memory order to acqure-release when we decrement the reference count. Prevents a race with line 89 reported by TSan.
2022-04-04k_thread: Fix data racelat9nq2-3/+4
TSan reports a data race between writing at cpp:1162 and reading at h:262. Make the thread_state atomic to prevent this.
2022-04-04k_process: Fix data racelat9nq1-1/+1
TSan reported a race between thread 36 and thread 34, a read at :225 and a write at :225 respectively. Make total_proces_running_time_ticks atomic to avoid this race.
2022-04-04kernel: Fix current_process racelat9nq1-4/+4
TSan reported a race at :258 and :803, so make current_process an atomic pointer.
2022-04-04k_scheduler_lock: Fix data racelat9nq1-1/+2
TSan reports a race between the main thread and T37 during IsLockedByCurrentThread and when it's set at the end of Lock(), respectively. Set owner_thread to an atomic pointer to fix it. Co-authored-by: bunnei <bunneidev@gmail.com>
2022-04-03native_clock: Internal linkage for FencedRDTSCMerry1-2/+4
__forceinline required on MSVC for function to be inlined
2022-04-03native_clock: Use lfence with rdtscmerry1-14/+33
2022-04-03arm_dynarmic: Use HaltReason for svc calls and reschedulesmerry4-27/+19
2022-04-03dynarmic: Better interruptsmerry6-22/+27
2022-04-03service: npad: Default initialize shared memorygerman771-48/+48
2022-04-02native_clock: Use writeback from CAS to avoid double-loadingmerry1-4/+6
2022-04-02atomic_ops: Implement AtomicCompareAndSwap with writebackmerry1-0/+73
2022-04-02native_clock: Use AtomicLoad128Merry1-2/+2
2022-04-02atomic_ops: Implement AtomicLoad128Merry1-0/+17
2022-04-02configure_per_game_addons: Set tree view minimum section size to 150pxmerry1-0/+1
2022-04-02configure_hotkeys: Make first column stretch and not last columnmerry1-3/+4
Also configure minimum width of columns to be 150px.
2022-04-02fix: typosAndrea Pappacoda5-10/+10
2022-04-02configure_per_game_addons: Stretch first column and not lastmerry1-1/+4
This provides more sensible column widths.
2022-04-02hle: service: nvflinger: buffer_queue_producer: Cleanup & fixes.bunnei2-61/+42
2022-04-02hle: service: nvflinger: consumer_base: Cleanup & fixes.bunnei2-15/+17
2022-04-02hle: service: nvflinger: buffer_queue_producer: Cleanup & add GetReleasedBuffers.bunnei2-10/+38
2022-04-02hle: service: nvflinger: buffer_queue_core: Cleanup & fixes.bunnei2-3/+0
2022-04-02hle: service: nvflinger: Use correct logger namespace.bunnei1-2/+2
2022-04-02hle: service: nvdrv: Create a service thread where appropriate.Morph1-1/+1
2022-04-02hle: service: vi: Create a service thread where appropriate.bunnei1-1/+2
2022-04-02hle: service: bsd: Create a service thread where appropriate.bunnei1-1/+2
2022-04-02hle: service: filesystem: Create a service thread where appropriate.bunnei1-5/+8
2022-04-02hle: service: audio: Create a service thread where appropriate.bunnei2-4/+6
2022-04-02hle: service: Add option for service interfaces to create or use the default thread.bunnei5-11/+29
2022-04-02hle: kernel: Create a default thread for services that do not need their own host thread.bunnei2-4/+26
2022-04-02applets/web: Keep foreground (websession) web applet openMorph1-0/+8
This is a hack to keep the foreground (websession) web applet open in games using these such as Super Mario 3D All-Stars.
2022-04-01shader_compiler: support const buffer indirect addressing in GLSLLiam4-9/+38
2022-04-01audio_core: remove time stretcherAndrea Pappacoda6-137/+3
Also drop the SoundTouch dependency
2022-04-01shader_recompiler: support const buffer indirect addressing on OpenGL SPIR-VLiam3-17/+14
2022-04-01GPU Garbage Collection: Fix regressions.Fernando Sahmkow2-3/+1
2022-03-31service: hid: Remove inaccurate behavior on initializationgerman773-18/+21
2022-03-31service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandleNarr the Reg1-0/+4
2022-03-29nvhost_ctrl: Only mark EventState::Busy as BadParameterameerj1-1/+1
Fixes an svc break in Kirby and the Forgotten Land with async GPU enabled.
2022-03-29yuzu_cmd: Start the logging backendlat9nq1-0/+1
2022-03-29yuzu: Only override fullscreen setting if gamepath or argument is providedgerman771-3/+10
2022-03-29gl_rasterizer: Avoid scenario locking already owned mutexameerj1-3/+3
gpu.TickWork() may lock the texture_cache and buffer_cache mutexes, which are owned by the thread prior to invoking TickWork(). Defer invoking gpu.TickWork() until the scope ends, where the owned mutexes are released.
2022-03-27registered_cache: Prevent nullptr dereference when accumulating filesMorph1-2/+4
For whatever reason, nca_file/dir can be nullptr in the list of files/dirs. I have not determined the cause of this yet, so add a nullptr check for these prior to dereferencing them.
2022-03-27arm_dynarmic_64: Invalidate on all coresmerry1-2/+4
2022-03-27build: cleanup installation of yuzu and yuzu-cmdAndrea Pappacoda2-2/+2
Explicitly specifying an install destination is not needed anymore since CMake 3.14. By removing the hardcoded ${CMAKE_INSTALL_PREFIX}/bin it is also now possible to override the install destination via the command line. For example, you can now install yuzu to /usr/games with -DCMAKE_INSTALL_BINDIR=games
2022-03-26Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory."bunnei6-65/+4
2022-03-26configure_cpu: More descriptive text for Paranoid optionmerry1-1/+1
2022-03-26hle: kernel: k_page_table: Fix implementations of LockForCodeMemory & UnlockForCodeMemory.bunnei1-48/+12
2022-03-26hle: kernel: k_page_table: Implement LockMemoryAndOpen & UnlockMemory.bunnei2-0/+124
2022-03-26configuration: Add Paranoid CPU accuracy levelmerry4-45/+63
Disables most optimizations for the paranoid.
2022-03-26hle: kernel: svc: MapProcessMemory: Fix usage of KPageLinkedList to use physical address space.bunnei1-2/+5
2022-03-26hle: kernel: svc: CreateCodeMemory: Remove log of 'out' host pointer.bunnei1-2/+2
- This does not seem terribly useful and is inconsistent with other usage.
2022-03-26hle: kernel: k_code_memory: Fix usage of KPageLinkedList to use physical address space.bunnei1-1/+2
2022-03-26hle: kernel: k_page_table: Implement MakeAndOpenPageGroup & MakePageGroup.bunnei2-0/+83
2022-03-26hle: kernel: k_page_table: Add IsHeapPhysicalAddress method.bunnei1-0/+8
2022-03-26hle: kernel: k_page_linked_list: Add Empty method.bunnei1-0/+4
2022-03-26hle: kernel: svc: UnmapProcessCodeMemory: Fix inverted alignment check.bunnei1-1/+1
2022-03-26hle: service: nvflinger: buffer_queue: Remove AutoLock and fix free buffer tracking.bunnei5-181/+130
2022-03-26hle: service: nvflinger: buffer_queue_consumer: Use scoped_lock instead of unique_lock.bunnei1-2/+2
2022-03-26hle: service: nvflinger: consumer_base: Use scoped_lock instead of unique_lock.bunnei1-4/+4
2022-03-26hle: service: nvflinger: Remove unused BufferQueue.bunnei2-360/+0
2022-03-25Memory: Don't protect reads on Normal accuracy.Fernando Sahmkow1-1/+1
2022-03-25Texture Cache: Add Cached CPU system.Fernando Sahmkow5-3/+64
2022-03-25GC: Address Feedback.Fernando Sahmkow7-29/+37
2022-03-25hle: nvflinger: ConsumerBase: Mark ctor as explicit.bunnei1-1/+1
2022-03-25hle: vi: NativeWindow: Fix trivially copyable issues.bunnei1-4/+4
2022-03-25hle: nvdrv: nvdata: buffer_queue_producer: Minor cleanup.bunnei1-11/+11
2022-03-25hle: nvdrv: nvdata: Cleanup NvFence static assert.bunnei1-1/+1
2022-03-25hle: nvflinger: Remove unused unordered_map include.bunnei1-1/+0
2022-03-25hle: nvflinger: buffer_queue_consumer: AcquireBuffer: Fix typo.bunnei1-1/+1
2022-03-25hle: nvflinger: Merge Rect with Common::Rectangle.bunnei6-90/+54
2022-03-25hle: nvflinger: buffer_queue_core: Declare default dtor.bunnei2-0/+3
2022-03-25hle: nvflinger: buffer_queue_producer: DequeueBuffer: Remove unnecessary lock.bunnei1-3/+1
2022-03-25hle: nvflinger: consumer_base: StillTracking: Should be const.bunnei2-2/+3
2022-03-25hle: nvflinger: graphic_buffer_producer: Remove unnecessary pragma pack.bunnei1-2/+0
2022-03-25hle: nvflinger: parcel: Reserve token size.bunnei1-1/+2
2022-03-25hle: nvflinger: buffer_queue_core: StillTracking: Take const reference.bunnei4-7/+7
2022-03-25hle: nvflinger: buffer_queue_core: Cleanup locking.bunnei1-2/+2
2022-03-25hle: nvflinger: Use std::chrono for present_ns.bunnei7-25/+30
2022-03-25hle: nvflinger: Migrate android namespace -> Service::android.bunnei35-79/+76
2022-03-25hle: nvflinger: BufferQueueProducer: Handle SetPreallocatedBuffer with empty buffer.bunnei1-7/+10
- Used by Naruto Ultimate Ninja Storm.
2022-03-25hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.bunnei17-723/+286
2022-03-25hle: nvflinger: Add implementation for HosBinderDriverServer service.bunnei3-0/+75
2022-03-25hle: nvflinger: Add implementation for BufferQueueProducer class.bunnei3-2/+1021
2022-03-25hle: nvflinger: Add implementation for BufferQueueCore class.bunnei3-0/+235
2022-03-25hle: nvflinger: Add implementation for BufferQueueConsumer class.bunnei3-0/+263
2022-03-25hle: nvflinger: Add implementation for QueueBufferInput and QueueBufferOutput structs.bunnei3-0/+100
2022-03-25hle: nvflinger: Add implementation for BufferItemConsumer class.bunnei3-0/+87
2022-03-25hle: nvflinger: Add implementation for ConsumerBase class.bunnei3-0/+190
2022-03-25hle: nvflinger: Add implementation for BufferSlot class.bunnei2-0/+40
2022-03-25hle: nvflinger: Add implementation for BufferItem class.bunnei2-0/+47
2022-03-25hle: nvflinger: Move implementation for Parcel to its own header.bunnei2-0/+172
2022-03-25hle: nvflinger: Add android buffer queue definitions to its own header.bunnei2-0/+22
2022-03-25hle: nvflinger: Add IBinder interface.bunnei2-0/+43
2022-03-25hle: nvflinger: Add IConsumerListener interface.bunnei2-0/+27
2022-03-25hle: nvflinger: Add ProducerListener interface.bunnei2-0/+17
2022-03-25hle: nvflinger: Add android window enumerations to its own header.bunnei2-0/+54
2022-03-25hle: nvflinger: Add android Status flags to its own header.bunnei1-0/+28
2022-03-25hle: nvflinger: Move BufferTransformFlags to its own header.bunnei4-18/+29
2022-03-25hle: nvdrv: Rename Fence to NvFence to avoid naming conflicts.bunnei4-17/+13
2022-03-25hle: nvflinger: Move PixelFormat to its own header.bunnei11-33/+50
2022-03-25hle: nvflinger: Add implementation for GraphicBuffer class.bunnei2-0/+101
2022-03-25hle: nvflinger: Add implementation for Fence class.bunnei2-0/+34
2022-03-25hle: nvflinger: Add implementation for Rect class.bunnei2-0/+76
2022-03-25common: logging: Add a logger for NVFlinger.bunnei2-0/+2
2022-03-25Garbage Collection: Final tuning.Fernando Sahmkow6-24/+36
2022-03-25Buffer Cache: Tune to the levels of the new GC.Fernando Sahmkow6-6/+78
2022-03-25Garbage Collection: Redesign the algorithm to do a better use of memory.Fernando Sahmkow13-32/+156
2022-03-24configure_debug: Fix typolat9nq1-2/+2
I thought I removed the double-asterisks in db637b5a4c02772eb827ed01a6ecb430e4b65daa but I am apparently mistaken. This corrects that. While we're at it, capitalize `All` in the previous setting.
2022-03-24Vulkan: Use 3D helpers for MSAA scaling on NV drivers 510+ameerj3-7/+8
Nvidia Vulkan drivers 510+ crash when blitting MSAA images. Fall-back to 3D scale helpers for MSAA image scaling.
2022-03-24buffer_cache: reset cached write bits after flushing invalidationsLiam1-1/+2
2022-03-23dead_code_elimination_pass: Remove unreachable Phi argumentsameerj3-0/+36
2022-03-23Add include to fix compilingShoegzer1-0/+1
2022-03-23Revert "dynarmic: Reduce size of code caches"bunnei2-4/+4
2022-03-22Include <bit> header when std::count{r,l}_zero is usedBilly Laws3-0/+4
Needed for compilation with older libc++ releases
2022-03-22shader_recompiler/dead_code_elimination: Add DeadBranchElimination passameerj1-9/+62
This adds a pass to eliminate if(false) branches within the shader code
2022-03-22applets/swkbd: Split software keyboard initializationMorph2-160/+349
Since the CalcArg struct has been updated with a new size and fields, we have to split the initialization of the keyboard into multiple functions. This also adds support for parsing the new CalcArg struct used by updated versions of Monster Hunter Rise.
2022-03-22applets/swkbd: Add new inline software keyboard typesMorph1-6/+66
These were added in newer firmware versions.
2022-03-22applets/mii: Remove unused includeMorph1-1/+0
2022-03-22applets/mii: Remove frontend parametersMorph2-17/+4
These are unused for now as we do not support a frontend implementation.
2022-03-22applets/mii: Cleanup MiiEdit applet implementationMorph2-44/+85
This also enables proper support for MiiEdit applets which are used in games with firmware versions prior to 10.2.0 by handling the 2 different versions of applet inputs and outputs.
2022-03-22applets/mii: Cleanup MiiEdit applet typesMorph1-23/+44
2022-03-22applets/mii: Move MiiEdit applet types into its own fileMorph4-54/+70
2022-03-22service: Move mii enums and structs into its own fileMorph7-308/+312
Moves these into types.h, since other files also make use of these types.
2022-03-22applets: Rename Mii to MiiEditMorph8-47/+49
2022-03-22qt_web_browser: Add missing includesameerj1-0/+3
2022-03-22input_common: Map sticks correctly when mapped sidewaysNarr the Reg10-0/+127
2022-03-22codec: Plug GPU decoder memory leakameerj1-0/+2
2022-03-22codec: Disable HW_FRAMES method check on Windowsameerj1-14/+19
It was reported that this method causes crashes on certain Linux decoding backends, hence the check to avoid it. This subsequently caused Windows GPU decoders to never be selected and always fall back to CPU decoding, disable the check on Windows for now.
2022-03-20BufferCache: Find direction of the stream buffer increase.Fernando Sahmkow1-6/+14
2022-03-20general: Fix clang/gcc build errorsameerj12-4/+17
2022-03-20yuzu_cmd: Reduce unused includesameerj5-9/+0
2022-03-20yuzu: Reduce unused includesameerj45-104/+5
2022-03-20web_service: Reduce unused includesameerj1-1/+0
2022-03-20input_common: Reduce unused includesameerj4-4/+0
2022-03-20shader_recompiler: Reduce unused includesameerj69-106/+7
2022-03-19common: Reduce unused includesameerj30-32/+8
2022-03-19video_core: Reduce unused includesameerj75-139/+12
2022-03-19common: Reduce unused includesameerj8-12/+0
2022-03-19core: Reduce unused includesameerj38-54/+8
2022-03-18Address review commentsLiam1-1/+1
2022-03-18shader_recompiler/EXIT: skip render targets with no outputsLiam2-0/+8
2022-03-18general: Reduce core.h includesameerj8-12/+23
2022-03-18KHandleTable: Optimize table entry layoutMorph2-30/+12
Since the handle type is not being used, we can reduce the amount of space each entry takes up by 4 bytes.
2022-03-18shader_recompiler/EXIT: increment output register on failed enable testLiam1-0/+1
2022-03-18vk_texture_cache: Do not reinterpret DepthStencil source imagesameerj1-5/+0
Fixes star pointer interactions in Super Mario Galaxy on some drivers, notably Nvidia. Co-Authored-By: Fernando S. <1731197+fernandos27@users.noreply.github.com>
2022-03-18yuzu qt: Save disable_web_applet settinglat9nq4-3/+6
The web applet causes multiple issues with the rest of the application. Disable it by default and add a debug option to re-enable it until a proper solution can be found.
2022-03-17main: Update Disable Web Applet warninglat9nq1-3/+2
2022-03-17configure_debug: Add option to set disable_web_appletlat9nq2-42/+57
Allow the user to configure the web applet usage ahead of booting the application.
2022-03-17yuzu: Move disable_web_applet to UISettingslat9nq3-5/+3
2022-03-17Address review commentsLiam4-52/+36
2022-03-17shader_recompiler: Use functions for indirect const buffer accessesLiam5-39/+94
2022-03-17Address review commentsLiam1-16/+15
2022-03-16Address review commentsLiam2-2/+2
2022-03-16shader_recompiler: Implement LDC.IS address modeLiam1-2/+12
2022-03-16Vulkan: convert S8D24 <-> ABGR8Liam5-2/+41
2022-03-15bsd: Allow inexact match for address length in AcceptImplValeri1-2/+2
Minecraft passes in zero for length, but this should account for all possible cases
2022-03-15emu_window_sdl2: Set window size to display dimensions for exclusive fullscreenlat9nq1-6/+7
Since SDL2 does not automatically resize the canvas when entering fullscreen mode, resize the window to desktop display dimensions.
2022-03-15yuzu_cmd: Allow user to specify config file locationlat9nq3-10/+27
Adds an option `-c` or `--config` with one required argument that allows the user to specify to where the config file is located. Useful for scripts that run specific games with different preferences for settings.
2022-03-15default_ini: List use_extended_memory_layout in default config filelat9nq1-1/+5
2022-03-15core: hle: kernel: init_slab_setup: Move CalculateSlabHeapGapSize to global namespace.bunnei1-6/+6
2022-03-15core: hle: kernel: Allocate dummy threads on host thread storage.bunnei2-8/+6
- Fixes a crash where on subsequent boots, long-lived host threads would have their dummy threads freed.
2022-03-15core: hle: kernel: Downgrade dangling objects warning to debug.bunnei1-2/+2
- It is not impossible to leak kernel objects, so this is not really any issue anymore (albeit, still interesting).
2022-03-15core: hle: kernel: Make object list container global and ensure it is reset on each emulation session.bunnei1-7/+9
2022-03-15core: hle: kernel: Remove server session tracking.bunnei4-37/+1
- These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown.
2022-03-15core: hle: kernel: k_process: Remove handle table finalize, reset page table.bunnei1-3/+3
2022-03-15core: hle: kernel: k_process: Implement thread local storage accurately.bunnei3-111/+99
2022-03-15core: hle: kernel: k_page_table: Add implementations of MapPages, UnmapPages, and FindFreeArea for TLS.bunnei2-2/+141
2022-03-15core: hle: kernel: k_slab_heap: Refresh to use guest allocations.bunnei2-125/+107
2022-03-15core: hle: kernel: Update init_slab_heap, use device memory, and add KThreadLocalPage and KPageBuffer.bunnei4-55/+92
- Refreshes our slab initialization code to latest known behavior. - Moves all guest kernel slabs into emulated device memory. - Adds KThreadLocalPage and KPageBuffer, which we will use for accurate TLS management.
2022-03-15core: hle: kernel: k_page_buffer: Add KThreadLocalPage primitive.bunnei3-0/+179
2022-03-15core: hle: kernel: k_page_buffer: Add KPageBuffer primitive.bunnei2-0/+35
2022-03-15core: hle: kernel: k_thread: Ensure host Fiber is freed.bunnei1-0/+3
2022-03-15core: hle: kernel: k_server_session: Ensure SessionRequestManager is freed.bunnei1-0/+3
2022-03-15core: hle: service: kernel_helpers: Use system resource limit.bunnei1-10/+1
2022-03-15core: hle: service: sm: Fix KPort reference count.bunnei1-0/+2
2022-03-15core: hle: kernel: k_thread: Update to reflect tree changes.bunnei1-3/+3
2022-03-15core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and SessionRequestManager.bunnei7-14/+25
2022-03-15core: hle: kernel: k_memory_layout: Update kernel slab memory sizes.bunnei1-3/+3
2022-03-15core: hle: kernel: svc_types: Add ThreadLocalRegionSize.bunnei1-0/+2
2022-03-15core: hle: kernel: k_condition_variable: Update to reflect tree changes.bunnei1-1/+1
2022-03-15core: hle: kernel: k_address_arbiter: Update to reflect tree changes.bunnei1-3/+3
2022-03-15common: tree: Various updates.bunnei1-284/+341
2022-03-15common: intrusive_red_black_tree: Various updates.bunnei1-181/+210
2022-03-15shader: add support for const buffer indirect addressingLiam2-18/+68
2022-03-15maxwell_3d: Implement a safer CB data uploadameerj2-70/+12
This makes constant buffer uploads safer and more accurate by updating the GPU memory as soon as the CB Data method is invoked. The previous implementation was deferring the updates until a different maxwell 3d method was detected, then writing all CB data at once.
2022-03-14Maxwell3D: Link to override constant definition in nouveaubyte[]1-0/+2
2022-03-14Maxwell3D: restore original topology when topology overrides are disabledbyte[]1-0/+2
2022-03-14Maxwell3D: Use override constants from nouveauLiam2-2/+37
This fixes some incorrect rendering in Sunshine
2022-03-13dynarmic: Reduce size of code cachesMerry2-4/+4
2022-03-13Shader decompiler: do constant propgation before texture pass.Fernando Sahmkow1-2/+2
2022-03-13Shader decompiler: Fix storage tracking in deko3d.Fernando Sahmkow1-1/+2
2022-03-12config: Write dynarmic exclusive memory configsameerj1-0/+2
Ensures the configs are written and saved between boots
2022-03-12rescaling_pass: Fix rescaling Color2DArray ImageFetch offsetsameerj1-2/+27
ImageFetch offsets for 2D array coordinates have a different composite size than the coordinates. The rescaling pass was not taking this into account. Fixes broken shaders when scaling is enabled in Astral Chain, and likely other titles.
2022-03-12emit_spirv, vk_compute_pass: Resolve VS2022 compiler errorsameerj2-2/+3
2022-03-12Maxwell3D: Restrict topology override effect to after the register is setLiam2-1/+5
2022-03-11cpu_detect: Add additional x86 flags and telemetryWunkolo4-29/+86
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.
2022-03-11common/telemetry: Update `AddField` name type to `string_view`Wunkolo1-3/+4
Non-owning `string_view` is flexable and avoids some of the many redundant copies made over `std::string`
2022-03-11Maxwell3D: mark index buffers as dirty after updating countsLiam1-0/+2
2022-03-11TextureCacheRuntime: allow converting D24S8 to ABGR8Liam1-1/+2
I can't see how this would be useful, but Galaxy uses it.
2022-03-11Maxwell3D: read small-index draw and primitive topology override registersLiam2-2/+30
This allows Galaxy and Sunshine to render for the first time.
2022-03-10backend: Ensure backend_thread is destructed before message_queueMerry1-1/+1
Ensures that stop_token signals that stop has been requested before destruction of conditional_variable
2022-03-10cpu_detect: Revert `__cpuid{ex}` array-type argumentWunkolo1-6/+6
Restores compatibility with MSVC's `__cpuid` intrinsic.
2022-03-09cpu_detect: Add missing `lzcnt` detectionWunkolo1-0/+1
2022-03-09cpu_detect: Refactor cpu/manufacturer identificationWunkolo2-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(!)
2022-03-09cpu_detect: Update array-types to `span` and `array`Wunkolo1-11/+13
Update some uses of `int` into some more explicitly sized types as well
2022-03-09cpu_detect: Utilize `Bit<N>` utility functionWunkolo1-32/+20
2022-03-09cpu_detect: Compact capability fieldsWunkolo1-20/+21
As this structure gets more explicit, bools can be bitfields and small enums can use smaller types for their span of values.
2022-03-09bit_util: Add `bit` utility functionWunkolo1-0/+7
Extracts a singular bit, as a bool, from the specified compile-time index.
2022-03-09hle: service: ldr: Use deterministic addresses when mapping NROs.bunnei2-24/+62
- Instead of randomization, choose in-order addresses for where to map NROs into memory. - This results in predictable behavior when debugging and consistent behavior when reproducing issues.
2022-03-08shader_recompiler/LOP3: Use brute force python results within switch/case.Markus Wick2-52/+620
Thanks to @asLody for optimizing this function. This raised the focus that this function should be optimized more. The current table assumes that the host GPU is able to invert for free, so only AND,OR,XOR are accumulated in the performance metrik. Performance results: Instructions 0: 8 1: 30 2: 114 3: 80 4: 24 Latency 0: 8 1: 30 2: 194 3: 24
2022-03-08hle: kernel: KPageTable: Improve implementations of MapCodeMemory and UnmapCodeMemory.bunnei2-47/+116
- This makes these functions more accurate to the real HOS implementations. - Fixes memory access issues in Super Smash Bros. Ultimate that occur when un/mapping NROs.
2022-03-08video_core: Cancel Scoped's exit call on GPU failurelat9nq1-0/+1
When CreateRenderer fails, the GraphicsContext that was std::move'd into it is destroyed before the Scoped that was created to manage its currency. In that case, the GraphicsContext::Scoped will still call its destructor at the ending of the function. And because the context is destroyed, the Scoped will cause a crash as it attempts to call a destroyed object's DoneCurrent function. Since we know when the call would be invalid, call the Scoped's Cancel method. This prevents it from calling a method on a destroyed object.
2022-03-08emu_window: Create a way to Cancel the exit of a Scopedlat9nq1-1/+10
If a GraphicsContext is destroyed before its Scoped is destroyed, this causes a crash as the Scoped tries to call a method in the destroyed context on exit. Add a way to Cancel the call when we know that calling the GraphicsContext will not work.
2022-03-07core: Don't shutdown a null GPUlat9nq1-1/+3
When CreateGPU fails, yuzu would try and shutdown the GPU instance regardless of whether any instance was actually created. Check for nullptr before calling its methods to prevent a crash.
2022-03-07MaxwellDMA: Implement semaphore operationsLody2-1/+21
2022-03-06gl_graphics_pipeline: Improve shader builder synchronization using fences (#7969)Ameer J2-21/+32
* gl_graphics_pipeline: Improve shader builder synchronization Make use of GLsync objects to ensure better synchronization between shader builder threads and the main context * gl_graphics_pipeline: Make built_fence access threadsafe * gl_graphics_pipeline: Use GLsync objects only when building in parallel * gl_graphics_pipeline: Replace GetSync calls with non-blocking waits The spec states that a ClientWait on a Fence object ensures the changes propagate to the calling context
2022-03-03loader: log the type of mismatching file-extensionBytesGalore1-1/+2
2022-03-03host_memory: Fix fastmem crashes in debug buildsMorph1-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>
2022-03-01applet: mii: Simple implementation of mii appletgerman778-5/+272
2022-02-28hle: kernel: Re-create memory layout at initialization.bunnei1-41/+43
- As this can only be derived once.
2022-02-28hle: kernel: Remove unused pool locals.bunnei1-2/+0
2022-02-28hle: kernel: k_memory_manager: Rework for latest kernel behavior.bunnei6-173/+548
- Updates the KMemoryManager implementation against latest documentation. - Reworks KMemoryLayout to be accessed throughout the kernel. - Fixes an issue with pool sizes being incorrectly reported.
2022-02-28logging: Convert `backend_thread` into an `std::jthread`Wunkolo1-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.
2022-02-27gl_fence_manager: Minor optimization to signal queryingameerj1-2/+1
Per the spec, bufSize is the number of integers that will be written, in this case, 1. Also, the length argument is optional if the information of the number of elements written is not needed.
2022-02-27dynarmic: Inline exclusive memory accessesmerry16-7/+113
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
2022-02-27hle: kernel: k_page_heap: GetPhysicalAddr can be const.bunnei1-2/+1
2022-02-27hle: kernel: k_page_heap: Remove superfluous consexpr.bunnei2-4/+4
2022-02-27hle: kernel: k_page_heap: Various updates and improvements.bunnei2-155/+192
- KPageHeap tracks physical addresses, not virtual addresses. - Various updates and improvements to match latest documentation for this type.
2022-02-27hle: kernel: Add initial_process.h header.bunnei2-0/+24
2022-02-27hle: kernel: board: nx: Add k_memory_layout.h header.bunnei2-0/+14
2022-02-27hle: kernel: k_system_control: Add GetRealMemorySize and update GetKernelPhysicalBaseAddress.bunnei2-1/+12
2022-02-27hle: kernel: k_memory_layout: Add GetPhysicalLinearRegion.bunnei1-0/+4
2022-02-27hle: kernel: k_memory_region_types: Update for new regions.bunnei1-1/+9
2022-02-26vulkan_device: Blacklist RADV on RDNA2 from VK_EXT_vertex_input_dynamic_stateAmeer J1-4/+21
RDNA2 devices running under the RADV driver were crashing when VK_EXT_vertex_input_dynamic_state was enabled. Blacklisting these devices until a proper fix is established.
2022-02-25maxwell_to_(gl/vk): Add 11_11_10 float vertex formatMorph2-0/+4
- Used by パワプロクンポケットR
2022-02-24vk_blit_screen: Add missing format bgra8Lody1-0/+2
2022-02-22service: am: Update enum names to match documentationNarr the Reg4-16/+51
2022-02-21hle: kernel: KSystemControl: Use 6GB memory layout when "use_extended_memory_layout" setting is enabled.bunnei1-20/+4
- This uses a larger 6GB DRAM memory layout, which is useful for some mods that require more memory.
2022-02-21core: device_memory: Use memory size reported by KSystemControl.bunnei3-7/+5
- That way, we can consolidate the memory layout to one place.
2022-02-21settings: Add a new "use_extended_memory_layout" setting.bunnei7-0/+22
- This will be used to enable emulation of a larger memory arrangement.
2022-02-21core: hle: kernel: Remove resource limit hack for PhysicalMemory.bunnei1-7/+0
- With prior changes, we now report the correct amount of physical memory available to the emulated process.
2022-02-21core: hle: kernel: KProcess: Pass in KResourceLimit on process creation.bunnei4-9/+30
- This allows us to have a resource limit per process, rather than use the global system resource limit.
2022-02-21core: hle: kernel: KEvent: Pass in owner KProcess on event creation.bunnei4-12/+8
- This is necessary to ensure resource limits are freed from the right process.
2022-02-21core: hle: kernel: KResourceLimit: Add a helper function for creating a KResourceLimit for a process.bunnei2-0/+22
2022-02-21vulkan_device: fix missing format in ANVvoidanix3-2/+21
Currently Mesa's ANV driver does not support VK_FORMAT_B5G6R5_UNORM_PACK16, implement an alternative for it.
2022-02-20yuzu: Remove amiibos on drag and dropgerman771-0/+10
2022-02-19fixup! core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory.bunnei3-38/+18
2022-02-19core: hle: kernel: KPageTable: Fix UnmapPages.bunnei1-3/+2
- Fixes a logic bug in KPageTable::UnmapPages.
2022-02-19core: hle: kernel: KPageTable: Improve Un/MapPhysicalMemory.bunnei3-113/+508
- Improves the implementations of MapPhysicalMemory and UnmapPhysicalMemory to more closely reflect latest HOS.
2022-02-17common: Add NullVisitor default constructorWunkolo1-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.
2022-02-15yuzu: config: Fix mapping issues with the enter keyNarr the Reg2-0/+6
2022-02-15Dump patched exefs rather than baseKelebek11-9/+9
2022-02-15kernel: svc: Add OutputDebugString32, CreateCodeMemory32, ControlCodeMemory32Sergi Granell2-4/+40
Very straightforward, they are just wrappers to the 64-bit version of the SVC.
2022-02-14common: fs_util: Add buffer to string view utility functionsMorph2-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.
2022-02-14debugger: console: Set console output codepage to UTF-8Morph1-0/+1
This allows the console to display multi-byte encoded characters.
2022-02-13nfp: Allow files without password datagerman772-9/+24
2022-02-13program_metadata: Unpack FileAccessHeader and FileAccessControllat9nq2-15/+51
Avoids a reference binding to a misaligned addresses. Unpacking one requires unpacking the other, otherwise there'll be a misaligned address on the leftover one.
2022-02-12hid: Stub IsUsbFullKeyControllerEnabledlat9nq2-1/+12
Used by Splatoon 2, when opening the inventory from a LAN battle lobby. Reference: https://switchbrew.org/wiki/HID_services
2022-02-11audio_core: Update current process revisionlat9nq1-1/+3
Update CURRENT_PROCESS_REVISION from REV9 to REVA. Used by Nintendo Entertainment System - Nintendo Switch Online 6.0.0 and Super Nintendo Entertainment System - Nintendo Switch Online 3.0.0.
2022-02-11service/mnpp: Stub mnpp_appNarr the Reg6-0/+71
Used in Super Nintendo Entertainment System™ - Nintendo Switch Online
2022-02-10common: uuid: Use sizeof(u64) instead of 8 in Hash()Morph1-5/+5
2022-02-10nfp: Separate nfc tag from amiibo dataNarr the Reg3-44/+76
2022-02-09svc: Set unique names for function tablesNarr the Reg1-77/+77
2022-02-09hle: kernel: KCodeMemory: Remove unused QueryMemory.bunnei1-1/+0
2022-02-09hle: kernel: KCodeMemory: Correct m_page_group number of pages.bunnei1-2/+3
Credits to @xerpi for finding this issue and pointing it out on #7519.
2022-02-09nfp: Address compiler issuesgerman772-27/+27
2022-02-08nfp: Validate amiibo filesNarr the Reg2-41/+145
2022-02-08yuzu: Allow to open and remove the amiibogerman773-5/+24
2022-02-08nfp: Improve implementationgerman774-189/+672
2022-02-07nfp: Move IUser class to header and add missing enum and structsgerman772-257/+299
2022-02-07nfp: Sort functions by command numbergerman771-79/+79
2022-02-07yuzu: Mute audio when in backgroundgerman776-4/+27
2022-02-07yuzu: Add docked, GPU accuracy and adapting filter hotkeysgerman774-58/+68
2022-02-07yuzu: Add auto center on right clickgerman773-4/+30
2022-02-07input_common: Remove battery duplicated struct and update every button pressgerman776-34/+27
2022-02-05common: uuid: Return an invalid UUID if conversion from string failsMorph1-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.
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph41-598/+415
This completes the removal of the old UUID implementation.
2022-02-05profile: Migrate to the new UUID implementationMorph14-127/+131
2022-02-05common: uuid: Add AsU128()Morph2-0/+9
This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used.
2022-02-05hle: ipc_helpers: Ignore -Wclass-memaccessMorph1-0/+8
This warning is triggered by GCC when copying into non-trivially default constructible types, as it uses the more restrictive std::is_trivial (which includes std::is_trivially_default_constructible) to determine whether memcpy is safe instead of std::is_trivially_copyable.
2022-02-05service: Migrate to the new UUID implementationMorph9-45/+36
2022-02-05input/hid: Migrate to the new UUID implementationMorph16-56/+57
2022-02-05common: Implement NewUUIDMorph3-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.
2022-02-05config: Support motion inputslat9nq1-8/+28
Motion inputs were not being read in by the config when yuzu-cmd boots up. This adds support for those. While we're at it, make a reference to the current player controls to improve readability. Also updates the if statements in the Analog and Button loops with curly braces to keep the style consistent.
2022-02-04main: Always remove the frameless window flag when restoring UI stateMorph1-0/+2
For unknown reasons, this flag may persist after the application has been closed. Removing this flag when restoring the UI state ensures that a frameless window will not be shown on startup.
2022-02-04input_common: Remove unused core includeMorph1-1/+0
2022-02-04service: pm: Implement AtmosphereGetProcessInfotech-ticks2-1/+46
2022-02-02yuzu: config: Vibrate the controller while configuring vibration strengthNarr the Reg5-8/+95
2022-02-02texture_cache: Ensure has_blacklisted is always initializedLioncash1-1/+1
Resolves a -Wmaybe_uninitialized warning
2022-02-02texture_cache: Remove dead code within SynchronizeAliasesLioncash1-13/+1
Since these were being copied by value, none of the changes applied in the loop would be reflected. However, from the looks of it, this would already be applied within CopyImage() anyways, so this can be removed.
2022-02-02texture_cache: Amend unintended bitwise OR in SynchronizeAliasesLioncash1-1/+1
2022-02-02yuzu: ui: Improve battery symbolsNarr the Reg4-39/+59
2022-02-02common_types: Remove NonCopyable structLioncash1-10/+0
Now that we're moved over to the YUZU_ defines, we can get rid of this struct.
2022-02-02general: Replace NonCopyable struct with equivalentsLioncash12-129/+219
2022-02-02general: Move deleted copy/move constructor/assignment operators to public interfaceLioncash7-11/+9
This allows for better compiler errors, where the compiler will state a copy or move couldn't occur due to the relevant function being deleted. Previously a compiler would warn about the relevant function not being accessible (which, while true, isn't as informative as it could be).
2022-02-02hle: kernel: KPageTable: Migrate locks to KScopedLightLock.bunnei2-34/+46
- More accurately reflects real kernel behavior by using guest locks.
2022-02-02configure_filesystem: Add missing changeEvent() overrideLioncash2-0/+10
This allows the dialog to be retranslated during runtime if the language is changed.
2022-02-02configure_filesystem: Normalize member function casingLioncash3-8/+8
All other dialog types we have use CamelCase naming.
2022-02-02yuzu: Disable auto repeat on hotkeys againNarr the Reg1-0/+1
2022-02-01configure_motion_touch: Use functor versions of invokeMethodLioncash1-18/+20
Same behavior, but ensures that the functions we're calling exist, since they can be checked at compile-time.
2022-02-01configure_input_player: Eliminate variable shadowingLioncash1-4/+5
2022-02-01configure_input_player: std::move input setters in HandleClickLioncash1-1/+1
2022-02-01configure_input_player: Avoid unnecessary ParamPackage copiesLioncash1-6/+6
Avoids churning allocations.
2022-02-01yuzu/game_list: Use non-deprecated version of QString's split() functionLioncash1-1/+1
The previous overload of split() was deprecated in 5.14.
2022-02-01common/file: Remove [[nodiscard]] from Open()Lioncash1-3/+2
Since this has a void return value, there's nothing that can actually be used.
2022-02-01video_core/shader_cache: Remove unused algorithm includeLioncash1-1/+0
2022-02-01video_core/shader_cache: Take std::span in RemoveShadersFromStorage()Lioncash2-3/+3
Same behavior, but without the need to move into the function to avoid an allocation.
2022-02-01svc: Add 32 bit SynchronizePreemptionStateNarr the Reg1-1/+1
Used by Espgaluda II
2022-02-01Rasterizer: Refactor inlineToMemory.Fernando Sahmkow9-15/+16
2022-01-31Vulkan: Fix Scheduler Chunks when their FuncType is 0.Fernando Sahmkow2-4/+6
2022-01-31input_common: Use attributes for analog range modifiersgerman771-4/+26
2022-01-30common: wall_clock: Check precision against the emulated CPU and CNTFRQMorph2-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.
2022-01-30common: wall_clock: Utilize constants for ms, us, and ns ratiosMorph3-5/+9
2022-01-30input_common: Add home and hard touch press buttons to UDP controllersgerman774-3/+22
2022-01-30emit_glsl_atomic: Implement 32x2 fallback atomic opsameerj1-9/+55
2022-01-30lower_int64_to_int32: Add 64-bit atomic fallbacksameerj3-11/+76
2022-01-30shaders: Add U64->U32x2 Atomic fallback functionsameerj9-1/+469
2022-01-29GPU: Improve syncing.Fernando Sahmkow1-3/+10
2022-01-29Rasterizer: Implement Inline2Memory Acceleration.Fernando Sahmkow14-6/+122
2022-01-29Inline2Memory: Flush before writting buffer.Fernando Sahmkow2-2/+3
2022-01-29spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomicsameerj2-3/+3
Some drivers do not support 64-bit atomics, and fallback to atomically modifying U32x2 vectors. This change ensures that U32x2 storage vectors are defined in the spir-v shader when 64-bit atomics are used. Fixes a hang on some devices, notably Intel GPUs, when booting Pokemon Legends Arceus
2022-01-28emit_spirv: Add Xfb execution mode when transform feedback is usedameerj1-3/+9
Fixes Transform Feedback on Vulkan AMD drivers.
2022-01-28hotkeys: Don't translate hotkey buttonsgerman771-16/+16
2022-01-28wall_clock: use standard wall clock if rtsc frequency is too lowgerman771-1/+3
2022-01-27buffer_cache: Reduce stream buffer allocations when expanding from the leftameerj1-0/+2
The existing stream buffer optimization accounts for size increases at the end of the allocated buffer. This adds the same optimization, increasing the size from the beginning of the buffer as well to reduce buffer allocations when expanding the same buffer from the left.
2022-01-27hle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated.bunnei2-23/+24
- Previously, it was possible for a thread migration to occur from core A to core B. - Next, core B waits on a guest lock that must be released by a thread queued for core A. - Meanwhile, core A is still waiting on the core B's current thread lock - resulting in a deadlock. - Fix this by try-locking the thread lock. - Fixes softlocks in FF8 and Pokemon Legends Arceus.
2022-01-27video_minimum_maximum: Implement src operand selectorsameerj1-12/+6
Used by Pokemon Legends: Arceus
2022-01-27input_common: Add DS5 to HD rumble listNarr the Reg1-2/+3
2022-01-26common/xbyak_api: Make BuildRegSet() constexprLioncash2-9/+9
This allows us to eliminate any static constructors that would have been emitted due to the function not being constexpr.
2022-01-25video_core/macro: Add missing <cstring> headerLioncash1-2/+3
Necessary since memcpy is used.
2022-01-25video_core/macro_interpreter: Move impl class to the cpp fileLioncash2-84/+86
Keeps the implementation hidden from the intended API and lessens the header dependencies on the interpreter's header.
2022-01-25video_core/macro_hle: Return unique_ptr directly from GetHLEProgram()Lioncash3-7/+7
Same behavior, but less code and header dependencies.
2022-01-25video_core/macro: Remove unused parameter from Execute()Lioncash3-4/+3
Simplifies the function interface.
2022-01-25video_core/macro_jit_x64: Remove unused impl class memberLioncash1-1/+0
Reduces the size of the impl class a tiny bit.
2022-01-25video_core/macro_jit_x64: Decouple PersistentCallerSavedRegs() from implLioncash1-5/+4
This doesn't depend on class state and can just be a regular function.
2022-01-25video_core/macro_jit_x64: Move impl class into cpp fileLioncash2-87/+86
Keeps the implementation internalized and also reduces API-facing header dependencies. Notably, this fully internalizes all of the xbyak externals.
2022-01-25video_core/macro_hle: Move impl class into cpp fileLioncash2-27/+19
Given it's intended to be an internal implementation class, we can move it into the cpp file to ensure that. This also lets us move some header dependencies into the cpp file as well.
2022-01-25gpu: Tidy up forward declarationsLioncash1-10/+0
Over time a few forward declarations became unnecessary, so we can remove these to tidy up the header a little bit.
2022-01-25gpu: Remove obsoleted CDMAPusher() accessorsLioncash1-6/+0
These were obsoleted in 2c47f8aa1886522898b5b3a73185b5662be3e9f3 but were accidentally overlooked.
2022-01-25vk_fsr: Replace comma operator with semicolonLioncash1-1/+1
Generally, we should be ending statements with a semicolon not a comma Resolves a clang diagnostic.
2022-01-25shader_recompiler: Remove unnecessary [[nodiscard]]Lioncash1-2/+1
Since ConvertLegacyToGeneric has a void return value, there's nothing that is actually returned by the function.
2022-01-24input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial stateLioncash1-1/+1
The default constructor of a UUID instance doesn't initialize the underlying array.
2022-01-24input_common/input_mapping: Simplify UUID validity checksLioncash1-3/+3
Makes the checks a little more intuitive to read and doesn't construct an extra UUID instance
2022-01-24input_common/input_mapping: Add missing includesLioncash2-1/+6
Ensures that the class always sees the types it needs.
2022-01-24input_common/input_mapping: Remove const from return valueLioncash4-4/+4
Top-level const on a return by value can inhibit move semantics, and is unnecessary.
2022-01-24input_common/input_mapping: Default constructorLioncash1-1/+1
2022-01-24input_common/main: Pass MappingData by const reference in callbacksLioncash2-3/+3
Avoids creating unnecessary 168 byte copies per callback invocation.
2022-01-24input_common/udp_client: Replace deprecated from_string()/to_ulong() functionsLioncash1-2/+2
These are deprecated and make_address variants and to_uint() should be used instead.
2022-01-24input_common/udp_client: Prevent unnecessary string copiesLioncash2-4/+4
We can also remove some redundant const on the return values, since these don't do anything
2022-01-24kernel/k_affinity_mask: Remove duplicated assertLioncash1-2/+0
This is already checked inside GetCoreBit()
2022-01-24input_common: Add option to configure gyro thresholdgerman774-6/+24
2022-01-24yuzu: Add setting to disable controller navigationgerman776-3/+28
2022-01-23Update FSR to 1.0.2Moonlacer1-1/+1
Updates yuzu's FSR implementation to 1.0.2
2022-01-23hle: kernel: KThread: Improve Increment/Decrement RunningThreadCount.bunnei3-24/+21
- Previously implementation was incorrect, and would occasionally underflow.
2022-01-23core: hle: kernel: KPageTable: Various improvements to MapPages and UnmapPages.bunnei1-22/+25
2022-01-23core: hle: kernel: KPageTable: MapProcessCode: Various cleanup.bunnei1-11/+12
2022-01-23core: hle: kernel: KPageTable: ReserveTransferMemory: Various cleanup.bunnei1-6/+6
2022-01-23core: hle: kernel: KPageTable: ResetTransferMemory: Various cleanup.bunnei1-6/+5
2022-01-23core: hle: kernel: KPageTable: SetMemoryAttribute: Various cleanup.bunnei1-2/+3
2022-01-22core: hle: kernel: KPageTable: Assert valid address on GetPhysicalAddr.bunnei1-1/+3
2022-01-22core: hle: kernel: KPageTable: Operate: Assert lock ownership.bunnei1-2/+2
2022-01-22core: hle: kernel: KPageTable: SetHeapSize: Cleanup & take physical memory lock.bunnei1-4/+7
2022-01-22core: hle: kernel: Refactor Un/MapPhysicalMemory to remove unnecessary methods.bunnei2-50/+39
2022-01-22core: hle: kernel: Rename Un/Map to Un/MapMeory.bunnei3-7/+6
2022-01-22yuzu: Add modifiers for keyboardNarr the Reg1-25/+34
2022-01-22hle: kernel: KThread: Ensure host (dummy) threads block on locking.bunnei4-0/+89
- But do not enter the priority queue, as otherwise they will be scheduled. - Allows dummy threads to use guest synchronization primitives.
2022-01-21service/wlan: Update function tablesLioncash1-1/+1
2022-01-21service/usb: Update function tablesLioncash1-27/+15
2022-01-21service/set: Update function tablesLioncash1-0/+2
2022-01-21service/ns: Update function tablesLioncash1-0/+6
2022-01-21service/nim: Update unknown function table entriesLioncash1-0/+6
2022-01-21service/friend: Update unknown function table entriesLioncash1-6/+6
2022-01-21service/filsystem: Update fsp-srv function tableLioncash1-0/+3
2022-01-21service/btm: Update function tablesLioncash1-0/+30
2022-01-21service/audio: Update audctl unknown function namesLioncash1-8/+8
2022-01-21service/am: Update omm function tablesLioncash1-0/+1
2022-01-21service/acc: Update unknown function namesLioncash2-4/+4
Switchbrew has the function names now.
2022-01-21Use Default Colorful theme by default outside of Windowsv19932-6/+11
On OSes with system-wide theming this allows yuzu to follow system style, regardless of its exact coloration, working well with both light and dark system themes. Dark /Colorful, on the other hand, forces dark theme regardless of user preferences set in system settings, making for a poor default. Use Colorful variation to keep in line with icon style of patron-voted Dark Colorful.
2022-01-21service: apm: Stub ISession SetCpuOverclockEnabledMorph1-1/+13
Since we don't currently support CPU overclocking within the emulated system, this can be stubbed for now, like APM IsCpuOverclockEnabled. - Used by Gravity Rider Zero
2022-01-21hle: kernel: Remove redundant tracking of dummy threads.bunnei1-9/+3
- These are already tracked by kernel's registered_objects member.
2022-01-21hle: kernel: KThread: DummyThread can be waited, ensure wait_queue is not nullptr.bunnei1-6/+6
2022-01-21hle: kernel: KThread: Decrease DummyThread priority to ensure it is never scheduled.bunnei3-2/+5
2022-01-21hle: kernel: service_thread: Ensure dummy thread is closed & destroyed on thread exit.bunnei1-0/+5
2022-01-21hle: kernel: KServerSession: Remove hack for CompleteSyncRequest.bunnei1-11/+0
- This does not appear to be necessary anymore.
2022-01-21hle: kernel: KServerSession: Simplify CompleteSyncRequest EndWait.bunnei2-12/+2
- Considering is_thread_waiting is never set, so we can remove IsThreadWaiting. - KThread::EndWait will take the scheduler lock, so we can remove the redundant lock.
2022-01-21hle: kernel: KThread: Ensure dummy threads never call EndWait.bunnei1-0/+5
- These are only used by host threads for locking and will never have a wait_queue.
2022-01-21hle: kernel: KScheduler: Ensure dummy threads are never scheduled.bunnei1-0/+5
- These are only used by host threads for locking.
2022-01-21hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.bunnei3-6/+6
- This will be used to ensure that we do not schedule dummy threads.
2022-01-20video_core: constify AVCodec for ffmpeg >= 5.0Jan Beich1-1/+1
src/video_core/command_classes/codecs/codec.cpp:177:16: error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers av_codec = avcodec_find_decoder(codec); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-01-19service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClampgerman771-1/+2
2022-01-19vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64FeaturesGeorg Lehmann1-1/+1
2022-01-17input_common: Report battery for UDP controllersNarr the Reg2-0/+25
2022-01-17shader_recompiler: fix potential OOB accessv19932-6/+8
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
2022-01-17hle: remove no-op codeValeri1-2/+0
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
2022-01-17input_common: nitpick about SetHatButton usageValeri1-1/+1
2022-01-17input_common: fix copy-paste errorValeri1-1/+1
Found by static analysis with PVS-Studio.
2022-01-17hid: fix std::transform callValeri1-1/+1
Found by static analysis with PVS-Studio.
2022-01-17uisettings: Add enumeration type for themesMorph2-3/+17
Eliminates the usage of a magic number to indicate the default index of the themes array,
2022-01-17config: Change default theme to Dark Colorfulgidoly1-2/+2
2022-01-17Correct assignment source for rotationsValeri1-1/+1
Found by static analysis with PVS-Studio
2022-01-17input_common: Reintroduce motion from mouse and use button namesgerman775-1/+64
2022-01-16astc_decoder: Combine FastReplicate functions to work around new NV driver bugameerj1-34/+46
The new Nvidia drivers have a bug where the FastReplicateTo6 function produces a lookup into the REPLICATE_TO_8 table rather than the REPLICATE_TO_6 table. This seems to be an optimization gone wrong. Combining the logic of the FastReplicate functions seems to address the bug.
2022-01-16audio/stream: Adjust volume scale factorgerman771-2/+2
2022-01-16yuzu: Add volume up/down hotkeysgerman773-4/+16
2022-01-15Xbox controller default name nit pickgidoly1-2/+2
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
2022-01-15yuzu: Remove speed limit hotkeysgerman773-24/+2
2022-01-15hle: kernel: k_memory_manager: Clear pages on allocation & free.bunnei5-16/+34
- Heap pages should be zero'd. - Also explicitly passed along heap allocation option.
2022-01-15Change default name for ps controllersgidoly1-0/+6
Minor nitpick Code is from narr
2022-01-15core: hle: kernel: KThread: Integrate with KWorkerTask and implement DoWorkerTaskImpl.bunnei2-2/+28
- This is used to terminate a thread asynchronously after it has been exited. - This fixes a crash that can occur in Pokemon Sword/Shield because a thread is incorrectly closed on svcExitThread, then, the thread is destroyed on svcCloseHandle while it is still scheduled. - Instead, we now wait for the thread to no longer be scheduled on all cores before destroying it from KWorkerTaskManager, which is accurate to HOS behavior.
2022-01-15core: hle: kernel: KProcess: Integrate with KWorkerTask and add unimplemented DoWorkerTaskImpl.bunnei2-3/+9
2022-01-15core: hle: kernel: KThread: Replace Suspend with UpdateState & various updates.bunnei2-33/+26
- This makes our implementations of these more closely match HOS.
2022-01-15core: hle: kernel: Instantiate a kernel instance of KWorkerTaskManager.bunnei2-0/+18
2022-01-15core: hle: kernel: Add KWorkerTask and KWorkerTaskManager.bunnei4-0/+96
- These primitives are used to dispatch asynchronous kernel tasks from KThread and KProcess.
2022-01-15common: fiber: YieldTo: Avoid hard crash on nullptr previous_fiber.bunnei1-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.
2022-01-15hle: kernel: Fix service_threads access to be thread safe V2.bunnei1-12/+11
- PR #7699 attempted to fix CreateServiceThread and ReleaseServiceThread to be thread safe, but inadvertently introduced a possible dead-lock. - With this PR, we use a worker thread to manage the service thread list, allowing it only to be accessed by a single thread, and guaranteeing threads will not destroy themselves. - Fixes a rare crash in Pokemon Sword/Shield, I've now run this game for ~12 hours non-stop and am quite confident this is a good solution for this issue.
2022-01-14core/hid: Increment shake forceNarr the Reg1-1/+1
With the current settings 2p mode in pokemon let's go wasn't showing up. By making the shake more violent we can make it appear without any effort using the keyboard
2022-01-14hle: kernel: Fix service_threads access to be thread safe.bunnei1-7/+27
- CreateServiceThread and ReleaseServiceThread can be accessed by different threads, uses a lock to make this thread safe. - Fixes a rare crash in Pokemon Sword/Shield that can occur when a new service thread is being created while an old one is being destroyed.
2022-01-13service/hid: Decrease motion update rateNarr the Reg1-1/+2
Motion stops working in Mario Tennis in swing mode if the update rate is too fast even when HW it updates at the same speed. 10ms it's the minimum period that the game needs to start working again.
2022-01-12core/hid: Reduce gyro threshold even moreNarr the Reg1-1/+1
2022-01-12hle: kernel: k_page_table: Update SetProcessMemoryPermission.bunnei6-45/+68
2022-01-12hle: service: ldr: UnmapCodeMemory BSS only when set.bunnei1-3/+7
2022-01-12hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite.bunnei3-18/+18
2022-01-12hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.bunnei4-20/+19
2022-01-12cmake: make tests optionalAlexandre Bouvier2-2/+5
2022-01-11common: bit_util: Add IsPow2 helper functionMorph1-0/+6
Makes use of std::has_single_bit() to check whether the value is a power of 2.
2022-01-10yuzu: main: Increase the open file limit on Windows to 8192Morph1-2/+2
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
2022-01-10logging/log.h: move enum class formatter to a separate file ...liushuyu6-22/+32
... to common/logging/formatter.h
2022-01-09logging/log: use `underlying_type` instead of hardcoding typesliushuyu1-2/+4
2022-01-08core: hle: kernel: svc: Updates to SetMemoryAttribute and SetMemoryPermission.bunnei3-45/+46
2022-01-08input_common: Handle errors on TAS scriptsgerman771-7/+24
2022-01-08core: hle: kernel: k_page_table: Update CheckMemoryState.bunnei4-116/+166
2022-01-08logging: adapt to changes in fmt 8.1liushuyu3-7/+20
2022-01-07yuzu: Use pad parameter to choose the correct controllergerman772-9/+14
2022-01-07input_common: Fix udp motion not automapping to both sidesgerman771-8/+16
2022-01-07yuzu: Add controller hotkeysgerman7714-79/+580
2022-01-07core/hid: Add home and screenshot button supportgerman773-1/+46
2022-01-07core/hid: Set minimum gyro thresholdgerman771-0/+1
2022-01-07input_common: Use accelerometer data for mappinggerman771-2/+10
2022-01-05configure_per_game: Initialize tabs after loading custom configurationlat9nq1-15/+9
Changes tab initialization to happen after the configuration is loaded, which means that it no longer happens as member initializers in the ConfigurePerGame constructor. Removes the cluster of ??_tab->SetConfiguration's that I added earlier to get around this issue initially. Fixes a regression in #6774
2022-01-05video_core: Remove unnecesary maybe_unused flagNarr the Reg1-1/+1
2022-01-05glsl: Remove unreachable returnNarr the Reg1-1/+0
2022-01-04gpu: Add shut down method to synchronize threads before destructionameerj3-0/+15
2022-01-04ShaderDecompiler: Add a debug option to dump the game's shaders.Fernando Sahmkow8-1/+98
2022-01-04Revert "Merge pull request #7668 from ameerj/fence-stop-token"ameerj3-10/+15
This reverts commit e7733544779f2706d108682dd027d44e7fa5ff4b, reversing changes made to abbbdc2bc027ed7af236625ae8427a46df63f7e7.
2022-01-03gpu: Use std::stop_token in WaitFence for VSync threadameerj3-15/+10
Fixes a hang that may occur when stopping emulation and the VSync thread is blocked on the syncpoint condition variable.
2022-01-02core/hid: Add fallback to fullkey controllersgerman772-4/+36
2022-01-02controller_applet: Only populate supported controllersgerman772-53/+68
2022-01-02yuzu: Fix UI elements not updating correctlygerman771-2/+2
2022-01-01texture_cache/util: Fix s32 overflow when resolving overlapsameerj1-5/+5
2021-12-31video_core/memory_manager: Fixes for sparse memory managementameerj2-14/+12
2021-12-31video_core/memory_manager: Deduplicate Read/WriteBlockameerj2-47/+32
2021-12-31core: hle: kernel: Implement thread pinning.bunnei10-14/+140
- We largely had the mechanics in place for thread pinning, this change hooks these up. - Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp.
2021-12-30core/hid: Fix controller type validationgerman775-17/+23
2021-12-30glsl: Add boolean reference workaroundameerj6-2/+15
2021-12-30glsl_context_get_set: Add alternative cbuf type for broken driversameerj6-24/+35
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
2021-12-30emit_glsl_integer: Use negation work aroundameerj1-2/+2
2021-12-30shader: Add integer attribute get optimization passameerj9-0/+86
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
2021-12-28Empty spacesMatías Locatti1-1/+1
2021-12-28Changes to avoid warnings in SSE4.2 optimized SPIR-VMatías Locatti1-0/+9
2021-12-28Remove invalid assertion statementFeng Chen1-3/+0
2021-12-28Remove invalid header includeFeng Chen1-1/+0
2021-12-28Implement few type in bufferqueue query methodFeng Chen2-0/+9
2021-12-28core: hle: kernel: Updated implementation of svcSetHeapSize.bunnei6-83/+141
- Updates our svcSetHeapSize with latest HOS, furthermore allowing heap size to properly be extended/shrunk. - Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_set_heap_size.cpp.
2021-12-25emit_glasm_context_get_set: Fix GetAttribute return value type.ameerj1-4/+4
GetAttribute expects an F32 result type at the IR level, this fixes the return value of attributes which were not returning an F32
2021-12-25emit_glsl_floating_point: Fix FPNeg on newer Nvidia driversameerj1-2/+2
2021-12-24vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows driversameerj4-20/+35
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
2021-12-24blit_image: Remove unused functionameerj2-50/+0
2021-12-24vk_texture_cache: Fix invalidated pointer accessameerj5-8/+21
The vulkan ImageView held a reference to its source image for rescale status checking. This pointer is sometimes invalidated when the texture cache slot_images container is resized. To avoid an invalid pointer dereference, the ImageView now holds a reference to the container itself.
2021-12-23core: hle: kernel: Implement SetMemoryPermission.bunnei4-1/+67
- Not seen in any games yet, but validated with kernel tests.
2021-12-23 core: hle: kernel: KThread: X18 should be a cryptographically random number.bunnei1-0/+2
- This was added with firmware 11.0.0 (https://switchbrew.org/wiki/11.0.0). - X18 is OR'd by kernel with 1, to make sure it is odd.
2021-12-22main: reword inhibit reasonliushuyu1-2/+3
2021-12-22main: fix wake lock in Flatpak ...liushuyu3-0/+63
... by using the XDP system
2021-12-22hle: kernel: svc: GetInfo: Fix error checking with IdleTickCount.bunnei1-14/+9
- Enforce tha the supplied handle is invalid, not valid. - This gets Witcher 3 booting.
2021-12-21Allow overriding SCM version infoAndrew Udvare1-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.
2021-12-19main: Refactor to reduce code duplication in ShowFullscreen()ameerj1-25/+16
2021-12-19main: Make render window borderless fullscreen toggle on the monitor it resides inameerj1-1/+1
Toggling borderless fullscreen on the separate render window made it fullscreen on the monitor which the main yuzu window resided in. This change allows the render window to go fullscreen on the monitor it resides in, independent of the main window location.
2021-12-19kernel: Manually destroy the current process during shut downameerj1-1/+4
Avoids a memory leak.
2021-12-18video_core/codecs: re-enable VAAPI/VDPAU on BSDs after 72aa418b0b41Jan Beich1-1/+1
2021-12-18core: loader: kip: Minimal changes to fix KIP loading.bunnei1-1/+7
- Allows us to boot KIP (kernal apps), useful for testing the kernel.
2021-12-18Address format clangvonchenplus3-38/+38
2021-12-18Vulkan: Fix the checks for primitive restart extension.Fernando Sahmkow3-21/+28
2021-12-18Remove spirv handle legacy related codevonchenplus4-190/+1
2021-12-18Remove glsl handle legacy related codevonchenplus3-103/+1
2021-12-18Vulkan: implement Logical Operations.Fernando Sahmkow2-3/+3
2021-12-18Vulkan: Implement VK_EXT_primitive_topology_list_restartFernando Sahmkow3-2/+40
2021-12-18core: hle: Remove global HLE lock.bunnei11-67/+1
- This was added early on as a hack to protect against some concurrency issues. - It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
2021-12-17[input_common] Move variable declaration closer to usagevperus1-2/+2
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD': local variable is initialized but not referenced" which is treated as an error. Circumvent it by moving constexpr variable directly into body of lambda function.
2021-12-16core/hid: Cancel any vibration after the testNarr the Reg5-23/+19
2021-12-16Suggestions from CrusadingNinjaMatías Locatti1-2/+2
2021-12-16Changed linkMatías Locatti1-1/+1
2021-12-16video_core/codecs: (re-spin) refactor ffmpeg searching and handlingliushuyu1-0/+6
2021-12-15Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"bunnei1-6/+0
2021-12-15yuzu/main: Fix host memory byte units. GB to GiBWunkolo1-4/+6
I have `134850146304` bytes of ram and Yuzu was saying that I had `125.59 GB` of ram. But `125.59` is actually the amount of gi**bi**bytes I have. In gi**ga**bytes I would have `134.9`. Additionally, I changed the `1024 / 1024 / 1024` here into the `_GiB` user-literals that I added a while ago(#6519). https://www.wolframalpha.com/input/?i=134850146304+bytes
2021-12-15core/hid: Fix faulty analog triggersNarr the Reg1-2/+2
2021-12-14input/SDL: Update SDL hintsValeri1-3/+4
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18. SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
2021-12-14CI: fix CI on Linuxliushuyu1-3/+0
2021-12-14video_core/codecs: skip decoders that use hw frames ...liushuyu1-0/+9
... this would resolve some edge-cases where multiple devices are present and ffmpeg is unable to auto-supply the hw surfaces
2021-12-14common/input: Avoid numerous large copies of CallbackStatusLioncash9-129/+171
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.
2021-12-14common/cpu_detect: Remove CPU family and modelMorph1-12/+0
We currently do not make use of these fields, remove them for now.
2021-12-14common/input: Remove unnecessary returnsLioncash1-6/+2
Given these return void, these can be omitted.
2021-12-14input_poller: Add missing override specifiersLioncash1-20/+19
2021-12-14input_mapping: Amend specification of parametersLioncash1-14/+14
param tags are supposed to specify the parameter name without any quoting. Silences several -Wdocumentation warnings.
2021-12-14input_poller: Remove several unnecessary @param tagsLioncash1-106/+106
Silences quite a bit of -Wdocumentation warnings, given the @param tag is only intended to be used to identify function parameters, not what it contains.
2021-12-14qt_software_keyboard: Fix out of bounds array accessMorph1-4/+19
We were unconditionally accessing the keyboard_buttons array, even if the bottom_osk_index was for the numberpad, leading to an out of bounds array access. Fix this by accessing the proper array for the current button when the index is for the numberpad.
2021-12-13tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash1-2/+2
We don't need to copy the whole pair
2021-12-13tas_input: Remove unnecessary semicolonLioncash1-1/+1
Resolves a -Wextra-semi warning
2021-12-13tas_input: Execute clear() even if emptyLioncash1-3/+2
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us.
2021-12-13tas_input: Remove unnecessary includesLioncash1-2/+2
Gets rid of indirect includes and includes only what the interface needs.
2021-12-13tas_input: std::move strings into vectorLioncash1-21/+24
While we're in the same area, we can also avoid performing std::stoi in a loop when it only needs to be performed once.
2021-12-13tas_input: Use istringstream over stringstreamLioncash1-2/+2
This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
2021-12-13tas_input: Use u8string_view instead of u8stringLioncash2-6/+7
Same behavior, but without the potential for extra allocations.
2021-12-13tas_input: Remove unused std::smatch variableLioncash1-2/+0
This also means we can get rid of the dependency on <regex>
2021-12-13tas_input: Amend -Wdocumentation warningsLioncash2-28/+30
Parameters shouldn't have the colon by their name.
2021-12-13tas_input: Make TasAxes enum an enum classLioncash2-5/+14
Prevents these values from potentially clashing with anything in other headers.
2021-12-13input_engine: Fix typo in TriggerOnAxisChange() parameter nameLioncash1-1/+1
2021-12-13input_engine: Simplify PreSet* family of functionsLioncash2-24/+14
We can make use of try_emplace() to insert values only if they don't already exist.
2021-12-13input_engine: Avoid redundant map lookupsLioncash1-16/+24
We can use iterators to avoid looking up into maps twice in the getter functions. At the same time we can also avoid copying the ControllerData structs, since they're 264 bytes in size.
2021-12-13input_engine: Remove left-over namespace qualifiersLioncash1-3/+3
These types are part of the InputCommon namespace.
2021-12-13input_engine: Iterate by reference rather than by value where applicableLioncash1-10/+10
Avoids creating copies of several object instances (some of which being over 100 bytes in size).
2021-12-13input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash3-6/+7
Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: std::move InputIdentifier in SetCallback()Lioncash1-1/+1
Allows avoiding std::function allocations.
2021-12-13input_engine: Pass LedStatus by const referenceLioncash3-3/+3
Avoids copies where reasonably applicable
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash7-12/+12
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableLioncash15-29/+29
We can allow the name to be moved into, allowing allocations to be avoided.
2021-12-13input_engine: Remove callback clearing in constructorLioncash1-3/+1
The callback map is a member variable, so this will always be empty on initial construction.
2021-12-13input_engine: Remove unnecessary semi-colonsLioncash1-6/+6
Silences -Wextra-semi warnings
2021-12-13input_engine: Remove unnecessary returnLioncash1-3/+1
This is a void function, so it doesn't need this.
2021-12-13Remove erroneous #pragma onceValeri1-2/+0
2021-12-13service/hid: Improve console motion accuracyNarr the Reg6-20/+32
2021-12-12game_list: Add persistent setting for the favorites row expanded stateameerj3-7/+17
Previously, the favorites row was always expanded on launch. This change introduces a persistent setting that allows the favorites row's expanded state to be remembered between launches.
2021-12-11maxwell_to_vk: Add ASTC_2D_5X4_UNORMMorph1-1/+1
2021-12-10Fix blit image/view not compatibleFeng Chen1-1/+6
2021-12-09maxwell_to_vk: Add ASTC_2D_8X5_UNORMMorph1-1/+1
- Used by Lego City Undercover
2021-12-08profiler: Use QWheelEvent position().toPoint()Morph1-1/+1
QWheelEvent::pos() is deprecated. Make use of position().toPoint() instead.
2021-12-08renderer_vulkan: Add R16G16_UINTMorph2-1/+2
- Used by Immortals Fenyx Rising
2021-12-07Update k_code_memory.hitsmeft241-6/+6
2021-12-07make KCodeMemory::GetSourceAddress constitsmeft241-1/+1
Co-authored-by: Mai M. <mathew1800@gmail.com>
2021-12-07main: Update video core popupMatías Locatti1-8/+5
Old version had formatting issues, and I want to provide an answer to the most common reason this pops up in the first place, outdated drivers.
2021-12-07hle: kernel k_scheduler: EnableScheduling: Remove redundant GetCurrentThreadPointer calls.bunnei1-3/+5
2021-12-07hle: kernel k_process: Remove unnecessary .at usage with thread pinning methods.bunnei1-3/+3
2021-12-07hle: kernel: Remove unnecessary virtual specifier on NotifyAvailable.bunnei1-2/+2
2021-12-07hle: kernel: Remove unnecessary virtual specifier on EndWait.bunnei1-1/+1
2021-12-07hle: kernel: k_light_condition_variable: Revert unnecessary license comment changes.bunnei1-1/+1
2021-12-07hle: kernel: k_condition_variable: Revert unnecessary style changes.bunnei1-2/+2
2021-12-07hle: kernel: Remove unnecessary virtual specifier on CancelWait.bunnei6-14/+14
2021-12-07hle: kernel: service_thread: Force stop threads on destruction.bunnei1-1/+7
2021-12-07hle: kernel: k_light_lock: Implement CancelWait.bunnei1-5/+10
- Fixes a crash in Megadimension Neptunia VII.
2021-12-07hle: kernel: service_thread: Use std::jthread.bunnei1-18/+19
- Fixes a potential deadlock on service thread shutdown.
2021-12-07hle: kernel: k_thread: Skip reschedule on DisableDispatch with SC.bunnei1-0/+5
2021-12-07hle: kernel: k_thread: Rename sleeping_queue -> wait_queue.bunnei2-17/+13
2021-12-07hle: kernel: svc: Fix deadlock that can occur with single core.bunnei1-10/+8
2021-12-07hle: kernel: k_thread: Treat dummy threads as a special type.bunnei2-1/+4
2021-12-07hle: kernel: fix timing on thread preemptionFernandoS271-4/+2
2021-12-07hle: kernel: fix scheduling ops from HLE host thread.FernandoS271-3/+3
2021-12-07hle: kernel: Add a flag for indicating that the kernel is currently shutting down.bunnei6-0/+49
2021-12-07hle: kernel: KSynchronizationObject: Fix variable shadowing.bunnei1-8/+8
2021-12-07hle: kernel: Cleanup to match coding style.bunnei6-26/+21
2021-12-07hle: kernel: KProcess: Improvements for thread pinning.bunnei2-8/+26
2021-12-07hle: kernel: KThreadQueue: Remove deprecated code.bunnei1-63/+0
2021-12-07hle: kernel: KConditionVariable: Various updates & simplifications.bunnei2-121/+65
2021-12-07hle: kernel: KThread: Migrate to updated KThreadQueue (part 2).bunnei1-29/+19
2021-12-07hle: kernel: KThread: Migrate to updated KThreadQueue (part 1).bunnei3-60/+71
2021-12-07hle: kernel: KConditionVariable: Migrate to updated KThreadQueue.bunnei1-12/+55
2021-12-07hle: kernel: KServerSession: Migrate to updated KThreadQueue.bunnei2-5/+11
2021-12-07hle: kernel: KLightConditionVariable: Migrate to updated KThreadQueue.bunnei3-54/+87
2021-12-07hle: kernel: KLightLock: Migrate to updated KThreadQueue.bunnei2-35/+36
2021-12-07hle: kernel: KAddressArbiter: Migrate to updated KThreadQueue.bunnei1-43/+39
2021-12-07hle: kernel: KThread: Remove tracking of sync object from threads.bunnei6-41/+21
2021-12-07hle: kernel: Update KThreadQueue and migrate KSynchronizationObject.bunnei8-75/+251
2021-12-07core: hle: kernel: Disable dispatch count tracking on single core.bunnei3-5/+14
- This would have limited value, and would be a mess to handle properly.
2021-12-07core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.bunnei1-1/+1
2021-12-07core: cpu_manager: Use invalid core_id on init and simplify shutdown.bunnei1-7/+3
2021-12-07core: hle: kernel: k_auto_object: Add GetName method.bunnei1-0/+4
- Useful purely for debugging.
2021-12-07core: hle: kernel: DisableDispatch on suspend threads.bunnei1-0/+3
2021-12-07core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.bunnei1-14/+9
2021-12-07core: cpu_manager: Use KScopedDisableDispatch.bunnei1-7/+8
2021-12-07core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.bunnei1-6/+2
2021-12-07core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.bunnei1-5/+0
2021-12-07core: hle: kernel: k_scheduler: Improve ScheduleImpl.bunnei1-6/+7
2021-12-07core: hle: kernel: k_scheduler: Improve Unload.bunnei1-17/+29
2021-12-07core: hle: kernel: k_process: DisableDispatch on main thread.bunnei1-0/+1
2021-12-07core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.bunnei2-0/+8
2021-12-07core: hle: kernel: k_thread: Add KScopedDisableDispatch.bunnei2-1/+47
2021-12-07core: hle: kernel: Ensure idle threads are closed before destroying scheduler.bunnei3-24/+22
2021-12-07core: hle: kernel: Reflect non-emulated threads as core 3.bunnei7-14/+17
2021-12-07CMakeLists: Specify /Zm200 when compiling in MSVCMorph1-0/+2
This increases the memory heap size for constructing precompiled headers to 2x the default.
2021-12-06service/notif: Add notif:a and stub ListAlarmSettings,Initializegerman776-0/+77
Used by ring fit adventure 1.2.0
2021-12-06fix formattingitsmeft241-1/+6
2021-12-06move private members below public membersitsmeft241-10/+11
2021-12-06fix formattingitsmeft241-4/+1
2021-12-06fix formattingitsmeft241-1/+1
Co-authored-by: Mai M. <mathew1800@gmail.com>
2021-12-06service/hid: Stub SetNpadCaptureButtonAssignment and ClearNpadCaptureButtonAssignmentgerman772-2/+35
Used by ring fit adventure 1.2.0
2021-12-06loader: Support loading subsdk{8,9}jam1garner1-2/+3
2021-12-06fix formattingitsmeft242-2/+2
2021-12-06Remove unnecessary includesitsmeft242-50/+13
2021-12-06emit_spirv: Reduce emit_spirv.h include overheadameerj20-3/+20
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
2021-12-06glasm: Move implemented instructions from not_implemented.cppameerj7-169/+220
2021-12-06shader_recompiler: Adjust emit_context includesameerj37-37/+37
2021-12-05service/hid: Implement SetNpadJoyAssignmentModegerman775-38/+174
2021-12-05Add copyright noticeitsmeft242-0/+8
2021-12-05shader_recompiler: Rename backend emit_context filesameerj7-6/+6
2021-12-05general: Add missing copyright noticesameerj5-0/+20
2021-12-05Add KCodeMemory to CMakeLists.txtitsmeft241-0/+2
2021-12-05vk_texture_cache: Add ABGR src format check for D24S8 conversionsameerj1-1/+5
2021-12-05renderer_opengl: Minor refactoring of filter selectionameerj1-30/+20
2021-12-05texture_cache: Fix image convert dimensions assertionameerj1-1/+12
2021-12-05blit_image: Refactor upscale factors usageameerj6-62/+53
The image view itself can be queried to see if it is being rescaled or not, removing the need to pass the upscale/down shift factors from the texture cache.
2021-12-05vk_texture_cache: Add a function to ImageView to check if src image is rescaledameerj2-4/+22
2021-12-05blit_image: Refactor ConvertPipeline functionsameerj2-29/+15
2021-12-05blit_image: Refactor ConvertPipelineEx functionsameerj2-33/+18
reduces much of the duplication between the color/depth variants
2021-12-05vk_blit_screen: Minor refactor of filter pipeline selectionameerj1-21/+16
2021-12-05Revert "Merge pull request #7395 from Morph1984/resolve-comments"ameerj3-16/+31
This reverts commit d20f91da11fe7c5d5f1bd4f63cc3b4d221be67a4, reversing changes made to 5082712b4e44ebfe48bd587ea2fa38767b7339cb.
2021-12-05kernel: svc: Implement Map/UnmapProcessMemory and Create/ControlCodeMemoryitsmeft2411-7/+636
Used by Skyline modding framework
2021-12-05core/hid: Add missing controller typegerman771-0/+2
2021-12-05Fixed #7502Adam Heinermann1-8/+9
2021-12-05core/hid: Ensure only valid npad are connectedgerman778-88/+147
2021-12-04Address feedbackFeng Chen5-17/+27
2021-12-04Texture Cache: Fix crashes on NVIDIA.Fernando Sahmkow1-3/+6
2021-12-04native_clock: Wait for less time in EstimateRDTSCFrequencyMorph1-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.
2021-12-03video_core/cmake: link against libva explicitly ...liushuyu1-0/+1
... to fix build on Flatpak (and self-builds)
2021-12-03video_core/codecs: more fixes for VAAPI detection ...liushuyu1-63/+25
* skip impersonated VAAPI implementaions ("imposter detection") * place VAAPI priority below CUDA/NVDEC/CUVID
2021-12-03video_core/codec: address commentsliushuyu1-8/+12
2021-12-03video_core/codecs: more robust ffmpeg hwdecoder selection logicliushuyu1-10/+27
2021-12-03service: am: ISelfController: Stub SaveCurrentScreenshotMorph3-2/+15
- Used by Disney Magical World 2: Enchanted Edition
2021-12-02yuzu: Implement basic controller navigationgerman779-8/+285
2021-12-02general: Replace high_resolution_clock with steady_clockMorph7-13/+13
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
2021-12-02Support multiple videos playingFeng Chen6-41/+36
2021-11-30service: friend: Implement GetCompletionEventMorph1-2/+21
- Used by Super Bomberman R Online
2021-11-30input_common: Fix error with thread nameNarr the Reg1-2/+1
2021-11-30input_interpreter: Make use of NpadButton instead of a u64Morph2-9/+9
Allows us to be more explicit with the representation of button states and use the provided bit manipulation operators
2021-11-30npad: Return NpadButton in GetAndResetPressStateMorph3-7/+6
We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used.
2021-11-30core: hid: hid_types: Add "All" to NpadButtonMorph1-0/+2
This represents a bitmask for all pressed buttons
2021-11-30qt_controller: Make use of (Enable/Disable)AllControllerConfigurationMorph1-8/+5
This also moves the use of DisableConfiguration to the destructor.
2021-11-29core: hid: hid_core: Add (Enable/DIsable)AllControllerConfigurationMorph2-0/+32
2021-11-29general: Fix handheld typoMorph2-17/+17
2021-11-29core: hid: Mark constructors as explicitMorph2-2/+2
2021-11-29core: hid: Cleanup and amend documentationMorph4-69/+76
2021-11-29Revert of b01aa72vperus1-35/+39
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
2021-11-29[input_common] Add completion test for CalibrationConfigurationJobvperus3-9/+151
2021-11-29Add missing pixel format mappingFeng Chen1-0/+2
2021-11-29qt_controller: Fix input when the controller applet is ignoredgerman771-0/+3
2021-11-28Texture Cache: Secure insertions against deletions.Fernando Sahmkow1-3/+13
2021-11-28core/ns: Implement GetReadOnlyApplicationControlDataInterfaceNarr the Reg2-1/+26
Used in checkpoint homebrew
2021-11-28core/pdm: Stub QueryPlayStatisticsByApplicationIdAndUserAccountIdNarr the Reg4-0/+107
Used in checkpoint homebrew
2021-11-28settings: Add debug setting to enable all controllersgerman778-0/+75
2021-11-27core/hid: Stub GetUniquePadsFromNpadNarr the Reg1-1/+13
Used in checkpoint homebrew
2021-11-27Texture Cache: Redesigning the blitting system (again).Fernando Sahmkow3-23/+64
2021-11-27config: Remove vibration configurationgerman777-104/+3
2021-11-27applet/controller: Enable configuring mode while the applet is opengerman771-7/+12
2021-11-26input_common: Fully implement UDP controllersNarr the Reg12-40/+397
2021-11-26Texture Cache: Further fix regressions.Fernando Sahmkow1-11/+15
2021-11-25service/hid: Finish converting LIFO objects and address some nitsNarr the Reg14-95/+50
2021-11-25yuzu: Fix TAS from rebasegerman773-9/+11
2021-11-25input_common: Move button names to the frontendgerman7712-52/+160
2021-11-25input_common: Fix SDL controller with inverted axisgerman772-24/+8
2021-11-25bootmanager: Use cross-platform keyboard inputgerman773-39/+58
2021-11-25kraken: Address comments from reviewgerman7717-66/+54
Fix compiler bug
2021-11-25core/hid: Improve accuary of mouse implementationgerman7714-48/+79
2021-11-25core/hid: Fully implement native mousegerman7721-1039/+323
2021-11-25input_common: Allow keyboard to be backwards compatiblegerman7710-48/+115
2021-11-25core/hid: Improve accuracy of the keyboard implementationgerman7713-313/+682
2021-11-25core/hid: Fix keyboard alignmentgerman772-12/+14
2021-11-25core/hid: Remove usage of native types, fix a couple of errors with motiongerman7711-428/+632
2021-11-25settings: Remove includes of core.hgerman7710-57/+55
2021-11-25service/hid: Remove includes of core.h and settings.hgerman7729-67/+67
2021-11-25 UI nitsLevi Behunin1-9/+6
Set top margin to 6 on Right Stick, LeftStick, Face Buttons, D-Pad. Change property on Input Device QComboBox from minimumSize to minimumContentsLength.
2021-11-25service/hid: Add support for new controllersgerman772-2/+31
2021-11-25settings: Fix controller preview not displaying the correct controllergerman773-4/+7
2021-11-25core/hid: Rename NpadType to NpadStyleIndexgerman7715-215/+228
2021-11-25config: Cleanup and documentationgerman778-99/+46
2021-11-25input_common: Fix motion from 3 axisgerman771-0/+2
2021-11-25core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman775-36/+77
2021-11-25core/hid: Fully emulate motion from buttongerman777-37/+97
2021-11-25second commit lion reviewgerman7728-42/+73
2021-11-25settings: Fix Debug controller type optionsgerman7713-95/+77
2021-11-25kraken: Address comments from reviewgerman7731-466/+534
start lion review
2021-11-25input_common: Revert deleted TAS functionsgerman777-48/+122
2021-11-25core/hid: Explain better what a temporary value doesgerman772-24/+28
2021-11-25input_common: Fix GC adapter initializationgerman771-12/+12
Fix GC controller
2021-11-25core/hid: Update structs to 13.1.0german7712-50/+107
2021-11-25core/hid: Add TAS inputgerman776-13/+82
2021-11-25input_common: Fix UDP uuidgerman773-2/+16
2021-11-25input_common: Add multiple vibration curvesgerman772-15/+28
2021-11-25core/hid: Rework battery mappingsgerman779-46/+109
2021-11-25input_common: Add manual update options to input devicesgerman775-0/+56
2021-11-25service/hid: Fix memory allocated incorrectlygerman775-7/+7
2021-11-25settings: Fix mouse and keyboard mappingsgerman7710-105/+102
2021-11-25web_applet: Replace HIDButton with NpadButtongerman773-36/+44
2021-11-25Morph review first wavegerman7723-136/+117
2021-11-25service/hid: Match shared memory closer to HWgerman772-26/+75
2021-11-25yuzu: Fix loading input profilesgerman772-0/+9
2021-11-25kraken: Address comments from reviewgerman7715-56/+56
review fixes
2021-11-25service/hid: Use ring buffer for gesturesgerman772-79/+52
2021-11-25service/hid: Fix gesture inputgerman778-91/+159
2021-11-25configuration: Migrate controller settings to emulated controllergerman7712-127/+141
2021-11-25core/hid: Fix rumble too strong at 1%german773-13/+48
2021-11-25core/hid: Only signal when neededgerman7711-153/+240
2021-11-25hid: Fix controller connection/disconnectiongerman7710-65/+226
2021-11-25core/hid: Documment some filesgerman774-52/+265
2021-11-25kraken: Fix errors from rebase and format filesgerman7720-53/+83
2021-11-25core/hid: Add output devicesgerman7720-144/+312
2021-11-25core: Update input interpretergerman774-54/+18
2021-11-25yuzu: Update overlay appletgerman772-16/+21
2021-11-25core/frontend: Update appletsgerman772-10/+15
2021-11-25core: Remove frontend/inputgerman771-217/+0
2021-11-25service/hid: Rewrite npad to use ring lifo and the emulated controllergerman772-890/+605
2021-11-25service/hid: Update console sixaxis to the emulated consolegerman772-28/+26
2021-11-25service/hid: Update mouse and keyboard to use ring lifo and the emulated devicegerman774-158/+71
2021-11-25service/hid: Update touch and gestures to use ring lifo and the emulated consolegerman774-370/+191
2021-11-25service/hid: Update debug pad, xpad, stubbed and controller base to use ring lifo and the emulated controllergerman777-166/+80
2021-11-25service/hid: Use remove duplicated code, update namesgerman772-64/+30
2021-11-25service/hid: Create ring LIFOgerman772-1/+55
2021-11-25Qt_applets: Use new inputgerman775-49/+68
2021-11-25settings: Cleanup settingsgerman776-9/+16
2021-11-25debugger/controller: Remove TASgerman772-46/+5
2021-11-25core/emu_window: Remove touch inputgerman772-113/+15
2021-11-25yuzu: Update frontendgerman7713-1010/+822
2021-11-25core: Register HIDgerman773-4/+25
2021-11-25core/hid: Add emulated controllersgerman779-0/+2025
2021-11-25yuzu_cmd: Use new inputgerman773-45/+39
2021-11-25yuzu: Use new input on main and bootmanagergerman773-68/+59
2021-11-25input_common: Rewrite main and add the new driversgerman772-49/+330
2021-11-25input_common: Remove obsolete filesgerman775-444/+0
2021-11-25input_common: Rewrite SDLgerman776-1757/+950
2021-11-25input_common: Rewrite udp clientgerman775-441/+54
2021-11-25input_common: Rewrite tas inputgerman775-840/+2
2021-11-25input_common: Rewrite gc_adaptergerman778-827/+848
2021-11-25input_common: Rewrite touchgerman773-0/+99
2021-11-25input_common: Rewrite mousegerman777-751/+217
2021-11-25input_common: Rewrite keyboardgerman7711-614/+95
2021-11-25input_common: Move touch and analog from button. Move udp protocolgerman7710-132/+172
2021-11-25input_common: Create input poller and mappinggerman776-0/+1305
2021-11-25input_common: Create input_enginegerman772-0/+585
2021-11-25core/hid: Move motion_input, create input converter and hid_typesgerman776-0/+1164
2021-11-25core/hid: Move input_interpreter to hidgerman774-4/+4
2021-11-25common: Rewrite and move core/frontend/input.h to commongerman772-0/+243
2021-11-25Refactor menu states and shortcuts in GMainWindow. (#7419)Adam Heinermann3-237/+175
Refactor menu states and shortcuts in GMainWindow. - Removed "Start", since it was always disabled unless it was "Continue" which has now been moved to "Pause". - Allow hotkeys to be used while in fullscreen. - Removed the load amiibo hotkey.
2021-11-25video_core/codec: address commentsliushuyu1-17/+11
2021-11-25video_core/codecs: fix multiple decoding issues on Linux ...liushuyu1-2/+47
* when someone installed Intel video drivers on an AMD system, the decoder will select the Intel VA-API decoding driver and yuzu will crash due to incorrect driver selection; the fix will check if the currently about-to-use driver is loaded in the kernel * when using NVIDIA driver on Linux with a ffmpeg that does not have CUDA capability enabled, the decoder will crash; the fix simply making the decoder prefers the VDPAU driver over CUDA on Linux
2021-11-22Texture Cache: Fix issue with blitting 3D textures.Fernando Sahmkow1-2/+4
2021-11-22arm: dynarmic: Cleanup icache op handlingjam1garner1-10/+9
2021-11-22arm: dynarmic: Implement icache op handling for 'ic iallu' instructionjam1garner1-0/+3
2021-11-22arm: dynarmic: Implement icache op handling for 'ic ivau' instructionjam1garner1-0/+18
2021-11-22const fixesAdam Heinermann2-3/+3
2021-11-22Apply clang formatAdam Heinermann1-1/+0
2021-11-22Added TAS controls to the menu under ToolsAdam Heinermann5-57/+153
2021-11-22Texture Cache: Correct conversion shaders.Fernando Sahmkow2-2/+2
2021-11-22Texture Cache: Always copy on NVIDIA.Fernando Sahmkow1-0/+5
2021-11-22TextureCache: Simplify blitting of D24S8 formats and fix bugs.Fernando Sahmkow10-195/+73
2021-11-21VulkanTexturECache: Use reinterpret on D32_S8 formats.Fernando Sahmkow1-2/+7
2021-11-21HostShaders: Fix D24S8 convertion shaders.Fernando Sahmkow6-23/+47
2021-11-21configure_general: Allow framerate cap to be used in custom game configsKewlan5-27/+99
2021-11-21TextureCache: Eliminate format deduction as full depth conversion has been supported.Fernando Sahmkow2-29/+5
2021-11-21kernel: svc: Move all IsValid functions to an anonymous namespaceMorph1-3/+15
2021-11-21kernel: svc: Implement SetProcessMemoryPermissionMorph1-1/+41
- Used by Skyline modding framework
2021-11-21kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermissionMorph4-8/+8
2021-11-21vk_texture_cache: Mark VkBufferUsageFlags as static constexprMorph1-3/+3
2021-11-21vk_blit_image: Consolidate CreatePipelineTargetEx functionsMorph2-28/+13
2021-11-21service: pm: Implement AtmosphereGetProcessIdMorph1-0/+24
- Used by Skyline modding framework
2021-11-21service: pm: Add all relevant result codesMorph1-3/+8
2021-11-21service: pm: Rename title id to program idMorph1-6/+6
2021-11-20Fix screenshot dimensions when at 1x scaleameerj5-20/+8
This was regressed by ART. Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size. This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
2021-11-20TextureCache: Refactor and fix linux compiling.Fernando Sahmkow3-9/+11
2021-11-20TextureCache: Assure full conversions on depth/stencil write shaders.Fernando Sahmkow3-6/+6
2021-11-20TextureCache: Implement buffer copies on Vulkan.Fernando Sahmkow6-9/+193
2021-11-20TextureCache: Add R16G16 to D24S8 converter.Fernando Sahmkow5-0/+38
2021-11-19TextureCache: Add B10G11R11 to D24S8 converter.Fernando Sahmkow5-13/+84
2021-11-19TextureCache: Further fixes on resolve algorithm.Fernando Sahmkow2-16/+17
2021-11-19Implement convert legacy to genericFeng Chen6-1/+108
2021-11-19TextureCache: Implement additional D24S8 convertions.Fernando Sahmkow6-0/+86
2021-11-19TextureCache: force same image format when resolving an image.Fernando Sahmkow2-2/+9
2021-11-19main: Fix default AA nameMorph1-4/+4
By default, no AA is applied, not FXAA
2021-11-19configure_graphics_ui: AMD's -> AMDMorph1-1/+1
AMD officially markets FSR as AMD FidelityFX™️ Super Resolution
2021-11-19main: Shorten AMD FSR status bar textMorph1-1/+1
AMD'S FIDELITYFX SR -> FSR
2021-11-19TextureCache: Fix regression caused by ART and improve blit detection algorithm to be smarter.Fernando Sahmkow2-10/+27
2021-11-19Vulkan: implement D24S8 <-> RGBA8 convertions.Fernando Sahmkow6-0/+166
2021-11-18renderer_vulkan: Implement S8_UINT stencil formatMorph3-0/+18
It should be noted that on Windows, only nvidia gpus support this format natively as of this commit.
2021-11-18gl_texture_cache: Round format conversion PBO to next power of 2ameerj1-1/+5
2021-11-18Fix crash on exit due to static scoped dummy threadsAdam Heinermann1-8/+14
2021-11-17renderer_opengl: Implement S8_UINT stencil formatMorph3-6/+25
2021-11-17video_core: Add S8_UINT stencil formatMorph4-3/+21
2021-11-17hotkeys: Don't allow hotkeys to spamgerman771-0/+2
2021-11-17Prevent window flickering when holding EscValeri1-1/+1
Reported on discord by Levlight. Don't try to exit fullscreen if it's already off.
2021-11-17Fix image update/download error when width too smallFeng Chen2-10/+18
2021-11-17texture_cache: Use pixel format conversion when supported by the runtimeameerj5-0/+15
2021-11-17gl_texture_cache: Make FormatConversionPass more genericameerj1-7/+12
This allows the usage of the FormatConversionPass to be applied to more than the previously used BGR conversion scenarios.
2021-11-17gl_texture_cache: Rename BGRCopyPass to FormatConversionPassameerj2-21/+18
2021-11-17TextureCache: Fix Automatic Anisotropic.Fernando Sahmkow1-6/+5
2021-11-17TextureCache: OGL query device memory if possible.FernandoS272-2/+14
2021-11-17TextureCache: Fix OGL cleaningFernando Sahmkow5-0/+43
2021-11-16TextureCache: Add automatic anisotropic filtering and refactor code.Fernando Sahmkow5-16/+22
2021-11-16TextureCache: Make a better Anisotropic setter.Fernando Sahmkow4-24/+21
2021-11-16Texture Cache: revert Image changes.Fernando Sahmkow1-0/+4
2021-11-16ShaderCache: Better fix for Shuffling gl_FragCoordFernando Sahmkow1-2/+13
2021-11-16HostShader: fix Gaussian filter.FernandoS271-2/+2
2021-11-16Texture Cahe/Shader decompiler: Resize PointSize on rescaling, refactor and make reaper more agressive on 4Gb GPUs.FernandoS275-22/+29
2021-11-16texture_cache: Refactor Render Target scaling functionameerj2-14/+24
2021-11-16gl_resource_manager: Ensure non EXT_framebuffer objects are createdameerj2-13/+8
2021-11-16Texture Cache: Fix memory usage on ScaleDown.FernandoS271-4/+0
2021-11-16OpenGL: Fix viewport/Scissor scaling on downscaling.FernandoS271-6/+28
2021-11-16Vulkan: fix regression.FernandoS271-14/+17
2021-11-16host_shaders: Misc copyright/style changesameerj4-10/+12
2021-11-16configure_graphics.ui: Cleanup scaling options and fix duplicate name warningameerj1-5/+5
2021-11-16FSR: Fix GCC build errorsameerj3-43/+50
2021-11-16Vulkan: Reimplement FSR constant generation functions to avoid GCC warningsMarshall Mohror2-9/+145
2021-11-16vk_blit_screen: Fix AA destruction orderameerj1-9/+10
2021-11-16Presentation: Only use FP16 in scaling shaders on supported devices in VulkanMarshall Mohror14-116/+197
2021-11-16renderer_vulkan/blit_image: Use generic color state on Depth to Color blitsameerj1-1/+1
Fixes Bayonetta 2 on AMD
2021-11-16vk_texture_cache: Refactor 3D scaling helpersameerj2-113/+74
2021-11-16gl_rasterizer: Fix ScissorTest and Clear when scalingameerj1-10/+6
2021-11-16gl_texture_cache: Simplify scaling proceduresameerj2-57/+28
2021-11-16OpenGlTextureCache: Fix state invalidation on rescaling.Fernando Sahmkow3-2/+17
2021-11-16VulkanBufferCache: Avoid adding barriers between multiple copies.Fernando Sahmkow3-5/+43
2021-11-16HostShader: Fix gaussian and add attribution.Fernando Sahmkow1-23/+19
2021-11-16Yuzu UI: Add button for Anti AliasFernando Sahmkow3-0/+45
2021-11-16Vulkan: Fix FXAA in AMD.Fernando Sahmkow1-2/+40
2021-11-16Texture Cache: Fix blitting.Fernando Sahmkow1-2/+2
2021-11-16Vulkan: Implement FXAAFernandoS273-22/+387
2021-11-16OpenGL: fix FXAA with scalingMarshall Mohror2-9/+31
2021-11-16OpenGL: Implement FXAAMarshall Mohror6-35/+194
2021-11-16Frontend: Add anti-aliasing method settingMarshall Mohror5-0/+70
2021-11-16Settings: Add anti-aliasing method settingMarshall Mohror2-0/+7
2021-11-16QtGUI: Add buttton to toggle the filter.FernandoS275-1/+61
2021-11-16VideoCore: Add gaussian filtering.FernandoS278-2/+140
2021-11-16TextureCache: Improve Reaper.FernandoS272-14/+26
2021-11-16Vulkan: fix waiting on semaphore.FernandoS271-1/+3
2021-11-16Update scaleforce to use FP16Marshall Mohror1-88/+55
2021-11-16VideoCore: Add more rescaling option.FernandoS273-7/+38
2021-11-16TextureCache: fix rescaling in aliases and overlap joins.FernandoS274-23/+48
2021-11-16Presentation: Fix turning FSR on and off in settingsMarshall Mohror1-0/+11
2021-11-16Video Core: fix building for GCC.Fernando Sahmkow5-24/+42
2021-11-16Vulkan Rasterizer: Fix clears on integer textures.FernandoS273-1/+84
2021-11-16Texture cache: fix Intel with rescaler.FernandoS271-2/+2
2021-11-16TextureCache: Fix blitting filter in Vulkan and correct viewport/scissor calculation when downscaling.FernandoS272-20/+44
2021-11-16Texture Cache: fix memory managment and optimize scaled downloads, uploads.Fernando Sahmkow7-28/+57
2021-11-16Texture Cache: ease the requirements of textures being blacklisted.Fernando Sahmkow2-22/+7
2021-11-16Vulkan: Fix Blit Depth StencilFernando Sahmkow2-14/+20
2021-11-16Texture Cache: Fix downscaling and correct memory comsumption.Fernando Sahmkow8-36/+147
2021-11-16Presentation: add Nearest Neighbor filter.Fernando Sahmkow6-14/+67
2021-11-16vulkan: Implement FidelityFX Super ResolutionMarshall Mohror11-17/+643
2021-11-16Texture Cache: Rescale conversions between depth and colorFernandoS276-25/+37
2021-11-16Texture cache: Fix memory consumption and ignore rating when a depth texture is rendered.Fernando Sahmkow3-7/+19
2021-11-16vulkan: Fix rescaling push constant usageameerj8-69/+78
2021-11-16Texture Cahe: Fix downscaling on SMO.Fernando Sahmkow5-0/+11
2021-11-16texture_cache_base: Remove unused function declarationsameerj1-8/+0
2021-11-16yuzu: Fix build errorsameerj1-1/+1
2021-11-16vk_texture_cache: Use 3D to scale images when blit is unsupportedameerj4-29/+87
2021-11-16texture_cache: Fix infinitely recursive ImageCanRescale checkameerj3-10/+13
2021-11-16vk_texture_cache: Fix BlitScale of non-2D imagesameerj1-10/+9
2021-11-16video_core: Refactor resolution scale functionameerj4-46/+34
2021-11-16texture_cache: Fix image resolves when src/dst are not both scaledameerj1-5/+8
2021-11-16yuzu_cmd: Read resolution_setup and scaling_filter from configlat9nq2-0/+25
Also adds descriptions and the settings to the default config.
2021-11-16video_core,yuzu: Move UpdateRescalingInfo call to video_corelat9nq3-5/+2
This only needs to happen once per game boot, so we can just call it during CreateGPU and be done with it, avoiding the need to call it in the frontends.
2021-11-16gl_texture_cache: Disable scissor test when scaling texturesameerj1-0/+8
Fixes a bug on BOTW where some objects were no longer being rendered after blitting
2021-11-16vk_texture_cache: Fix unsupported blit format error checkingameerj2-9/+9
2021-11-16vk_texture_cache: Fix early returns on unsupported scalesameerj2-19/+11
2021-11-16video_core: Misc resolution scaling related refactoringameerj8-47/+51
2021-11-16texture_cache: Refactor scaled image size calculationameerj2-12/+13
2021-11-16Texture Cache: Fix calculations when scaling.Fernando Sahmkow1-0/+12
2021-11-16gl_texture_cache: Fix BGR pbo size for scaled texturesameerj1-11/+10
2021-11-16rescaling_pass: Fix IR errors when unscalable texture types are encounteredameerj1-0/+28
2021-11-16Texture Cache: Fix Rescaling on MultisampleFernando Sahmkow3-8/+21
2021-11-16TextureCache: Base fixes on rescaling.Fernando Sahmkow2-4/+6
2021-11-16rescaling_pass: Logic simplification and minor style cleanupameerj2-33/+17
2021-11-16rescaling_pass: Scale ImageFetch offset if it existsameerj1-59/+37
Plus some code deduplication
2021-11-16rescaling_pass: Enable PatchImageQueryDimensions on fragment stagesameerj1-5/+4
2021-11-16vk_texture_cache: Simplify scaled image managementameerj2-107/+34
2021-11-16gl_texture_cache: Fix scaling backup logicameerj2-20/+16
2021-11-16vk_rasterizer: Fix scaling on Y_NEGATEameerj1-3/+9
2021-11-16vk_texture_cache: Use nearest neighbor scaling when availableameerj4-29/+36
2021-11-16gl_texture_cache: Fix depth and integer format scaling blitsameerj2-16/+61
2021-11-16gl_texture_cache/rescaling_pass: minor cleanupameerj3-16/+10
2021-11-16vk_texture_cache: Minor cleanupameerj2-11/+8
2021-11-16rescaling_pass: Fix and simplify shuffle/fragcoord passameerj1-26/+20
2021-11-16Shader: Don't rescale FragCoord if used by ShuffleFernando Sahmkow2-2/+55
2021-11-16image_info: Mark MSAA textures as non-rescalableameerj1-2/+2
Blitting or resolving multisampled images requires the dimensions of the src and dst to be equal for valid usage, making them difficult for resolution scaling using the current implementation.
2021-11-16bootmanager: Fix screenshot resolution factor usageameerj7-20/+13
Fixes screenshots at non integer scaling
2021-11-16gl_texture_cache: Simplify scalingameerj2-31/+39
We don't need to reconstruct new textures every time we ScaleUp/ScaleDown. We can scale up once, and revert to the original texture whenever scaling down. Fixes memory leaks due to glDeleteTextures being deferred for later handling on some drivers
2021-11-16Renderers: Unify post processing filter shadersameerj7-211/+36
2021-11-16gl_texture_cache: fix scaling on uploadameerj1-0/+7
2021-11-16Renderer: Implement Bicubic and ScaleForce filters.Fernando Sahmkow15-34/+620
2021-11-16Texture Cache: fix scaling on upload and stop scaling on base resolution.Fernando Sahmkow1-14/+32
2021-11-16shader, video_core: Fix GCC build errorsameerj3-14/+3
2021-11-16emit_spirv: Fix RescalingLayout alignmentameerj3-4/+8
2021-11-16TextureCache: Fix Buffer Views Scaling.Fernando Sahmkow2-5/+9
2021-11-16RescalingPass: Agregate pixels on texelFetch while on Fragment ShaderFernando Sahmkow1-3/+97
2021-11-16Texture Cache: Correctly fix Blits Rescaling.Fernando Sahmkow1-9/+12
2021-11-16shader: Fix TextureSize check on rescaling.Fernando Sahmkow1-27/+21
2021-11-16texture_cache: Disable dst_image scaling in BlitImageameerj1-5/+7
Fixes scaling in Super Mario Party
2021-11-16emit_spirv: Fix RescalingLayout alignmentameerj2-3/+3
2021-11-16shader: Properly scale image reads and add GL SPIR-V supportReinUsesLisp25-77/+228
Thanks for everything!
2021-11-16shader: Properly blacklist and scale image loadsReinUsesLisp5-11/+31
2021-11-16texture_cache: Add getter to query if image view is rescaledReinUsesLisp5-22/+12
2021-11-16vk_rasterizer: Minor style changeReinUsesLisp1-2/+2
2021-11-16gl_texture_cache: Fix scaling blitsReinUsesLisp1-20/+12
2021-11-16glsl/glasm: Pass and use scaling parameters in shadersReinUsesLisp9-28/+51
2021-11-16gl_rasterizer: Properly scale viewports and scissorsReinUsesLisp1-23/+24
2021-11-16gl_texture_cache: Fix multi layered texture Scaleameerj1-11/+15
2021-11-16gl_compute_pipeline: Add downscale factor to shader uniformsameerj1-0/+9
2021-11-16gl_rasterizer: Fix rescale dirty state checkingameerj1-4/+9
2021-11-16gl_graphics_pipeline: Add downscale factor to shader uniformsameerj4-5/+19
2021-11-16texture_cache: Fix blacklists on computeReinUsesLisp1-1/+1
2021-11-16texture_cache: Simplify image view queries and blacklistingReinUsesLisp16-192/+192
2021-11-16Vulkan: Fix downscaling Blit.Fernando Sahmkow1-14/+18
2021-11-16Texture Cache: Implement Rating System.Fernando Sahmkow5-15/+47
2021-11-16OpenGL: set linear mag filter when blitting a downscaled image.Fernando Sahmkow1-0/+1
2021-11-16Vulkan: Fix AA when rescaling.Fernando Sahmkow1-1/+1
2021-11-16Texture Cache: Implement Blacklisting.Fernando Sahmkow5-4/+90
2021-11-16main: Add resolution scale label in the status barMorph2-2/+12
Shows the resolution scale as "Scale: {}x" in the status bar, where {} is a floating point value representing the current resolution scaling factor.
2021-11-16vulkan: Implement rescaling shader patchingReinUsesLisp8-27/+103
2021-11-16vk_texture_cache: Properly scale blit source imagesReinUsesLisp1-2/+2
2021-11-16vk_graphics_pipeline: Use Shader::NumDescriptors when possibleReinUsesLisp1-18/+6
2021-11-16opengl: Use Shader::NumDescriptors when possibleReinUsesLisp3-46/+20
2021-11-16spirv: Implement rescaling patchingReinUsesLisp8-5/+86
2021-11-16shader/rescaling_pass: Patch more instructionsReinUsesLisp1-4/+101
2021-11-16shader: Add IsTextureScaled opcodeReinUsesLisp10-0/+34
2021-11-16texture_cache: Add image gettersReinUsesLisp2-0/+16
2021-11-16shader: Add copy constructor to instructionsReinUsesLisp4-1/+20
2021-11-16shader: Add integer division opcodesReinUsesLisp9-0/+37
2021-11-16common/settings: Remove unused scaling optionsReinUsesLisp2-18/+7
2021-11-16shader: Fix rescaling passReinUsesLisp1-1/+1
2021-11-16gl_texture_cache: Simplify rescalingameerj2-19/+15
2021-11-16texture_cache: Fix typo in aliased image rescalingameerj1-1/+1
2021-11-16vk_texture_cache: Simplify and optimize scaling blitsReinUsesLisp1-106/+62
2021-11-16vk_texture_cache: Fix scaling blit validation errorsReinUsesLisp1-81/+78
2021-11-16shader: Fix resolution scaling passReinUsesLisp5-35/+32
2021-11-16shader: Add resolution down factor opcodeReinUsesLisp9-0/+25
2021-11-16gl_texture_cache: Implement ScaleDownameerj2-26/+36
2021-11-16gl_texture_cache: Rescale fixes for multi-layered texturesameerj2-16/+32
2021-11-16Texture Cache: Implement Rescaling on Aliases and Blits.Fernando Sahmkow1-5/+53
2021-11-16Fix blits with mipsReinUsesLisp1-12/+16
2021-11-16Fix blitsReinUsesLisp1-10/+10
2021-11-16renderer_gl: Resolution scaling fixesameerj3-61/+107
2021-11-16TextureCache: Fix rescaling of ImageCopiesFernando Sahmkow3-18/+67
2021-11-16TextureCache: Modify Viewports/Scissors according to Rescale.Fernando Sahmkow6-35/+93
2021-11-16Settings: eliminate rescaling_factor.Fernando Sahmkow7-37/+19
2021-11-16Texture Cache: More rescaling fixes.Fernando Sahmkow4-84/+96
2021-11-16gl_texture_cache: WIP texture rescaleameerj2-3/+69
2021-11-16Texture Cache: Implement Vulkan UpScaling & DownScalingFernando Sahmkow6-42/+327
2021-11-16ShaderDecompiler: Add initial support for rescaling.Fernando Sahmkow2-0/+73
2021-11-16Settings: Add resolution scaling to settings.Fernando Sahmkow6-5/+155
2021-11-16VideoCore: Initial Setup for the Resolution Scaler.Fernando Sahmkow11-18/+255
2021-11-16Replace keys error pop upMatías Locatti1-2/+2
Fight me.
2021-11-14Replace "Light" theme by "Default"Romain Failliot2-25/+27
This reflects the current behavior: Light = System default. If your system is set to dark theme, then Light = Dark, which is a bit confusing for the end user. In this PR, I propose to change "Light" with "Default". This way, the user has "Default" and "Default Colorful", which will apply the system theme. Now that the Flatpak respects the system theme, I think this makes much more sense. I also simplified the theme update. Before the code was branching between the default theme and the others, but I think we can have something simpler by forcing the default theme if no theme is defined in the settings, or if the selected theme doesn't exist. And if there's an error, tell the theme name in the error message.
2021-11-13codes: Rename ComposeFrameHeader to ComposeFrameameerj7-14/+14
These functions were composing the entire frame, not just the headers. Rename to more accurately describe them.
2021-11-13vp8: Implement header compositionameerj4-6/+90
Enables frame decoding with FFmpeg
2021-11-13codecs: Add VP8 codec classameerj9-20/+90
2021-11-11program_metadata: Add default ThreadInfo kernel capabilityOatmealDome1-1/+4
2021-11-08applets/swkbd: Fix text check message encodingMorph1-7/+15
The text check message can be encoded in UTF-8.
2021-11-08applets/swkbd: Skip text checking if the text has been confirmedMorph8-26/+36
Confirm means that the text has already been checked by the application to be correct, but is asking the user for confirmation. The confirmation text itself seems to be corrupted though, this needs to be investigated. Fixes the software keyboard in Famicom Detective Club: The Missing Heir
2021-11-05service/pctl: Stub EndFreeCommunicationNarr the Reg1-1/+8
- Used by Just Dance 2022
2021-11-05vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatPropertiesFeng Chen1-0/+1
- Used by Dragon Quest Builders
2021-11-05core: Reorder perf_stats destruction order on Shutdownameerj1-1/+1
Avoids the gpu_core using perf_stats after it's been freed.
2021-11-04general: Get the current process program id directly from the systemMorph21-56/+42
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
2021-11-04general: Rename GetTitleID to GetProgramIDMorph24-43/+46
2021-11-04service: aoc: Stub NotifyUnmountAddOnContentMorph2-1/+9
Used by Animal Crossing: New Horizons v2.0.0 DLC
2021-11-04service: aoc: Stub NotifyMountAddOnContent and NotifyMountAddOnContentMorph2-0/+21
Used by Animal Crossing: New Horizons v2.0.0 DLC
2021-11-04service/acc: Rename Unknown160 to InitializeApplicationInfoV2german773-3/+3
2021-11-04service: acc: Stub acc:u0 '160'Morph3-0/+9
- Used by Animal Crossing: New Horizons v2.0.0 Since the name is currently unknown, '160' is used as a placeholder.
2021-11-04core: Fix transitive include build errorsameerj5-0/+9
2021-11-04core: Remove unused includesameerj133-221/+1
2021-11-04Simply legacy attribute implementFeng Chen3-152/+125
2021-11-03svc: Correct WaitSynchronization num_handles param typeMorph2-4/+4
num_handles is a s32
2021-11-02general: Remove MakeResult helpersMorph13-69/+48
This is made obsolete by the presence of implicit constructors.
2021-11-02hle/result: Amend ResultVal documentationMorph1-12/+10
This amends the documentation slightly to reflect the updated interface.
2021-11-02hle/result: Reimplement ResultVal using Common::ExpectedMorph1-117/+63
Common::Expected effectively provides the same functions as ResultVal, so we can implement it with this. This can be replaced with std::expected with minimal effort should it be standardized in the C++ Standard Template Library.
2021-11-02common: Implement a subset of P0323 (std::expected)Morph2-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
2021-11-02 Refactor Logging ImplLevi Behunin4-28/+41
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.
2021-11-02Shader Cahe: Fix Phi Nodes on GLASM.Fernando Sahmkow1-1/+1
2021-11-01ShaderCache: Fix Phi Nodes Type on OGL.Fernando Sahmkow3-2/+30
2021-11-01gl_rasterizer: Remove unused includesMorph1-4/+2
This removes unused includes, especially the core includes which were causing this file to be recompiled every time files included by those headers are modified.
2021-10-31ShaderCache: Order Phi Arguments from farthest away to nearest.Fernando Sahmkow5-0/+37
2021-10-31Support gl_FogFragCoord attributevonchenplus3-48/+58
2021-10-30yuzu qt: Disable the screensaver with SDL2lat9nq2-1/+23
Disables the screen saver when a game boots using SDL2 so that it works on any supported platform.
2021-10-30profile_manager: Resize any image bigger than 256pgerman771-0/+11
2021-10-29CMakeLists: Document the /GT compile optionMorph1-0/+1
2021-10-29file_sys: control_metadata: Add BrazilianPortugueseMorph2-2/+4
2021-10-29ns: language: Add BrazilianPortuguese to ApplicationLanguageMorph2-1/+26
It seems that Nintendo finally filled that last empty spot in ApplicationLanguage for a total of 16 supported languages.
2021-10-29gl_device: Force GLASM on NVIDIA drivers 495-496lat9nq1-0/+15
GLSL shaders currently do not render correctly on the recent NVIDIA drivers. This adds a check that forces assembly shaders for these drivers since they seem unaffected and adds a warning informing of the decision. Developers can disable the check by enabling graphics debugging.
2021-10-28hle/result: Declare copy/move constructor/assignment as noexceptMorph1-3/+3
While we're at it, we can also declare these copy/move constructor/assignment as noexcept.
2021-10-28hle/result: Add move assignment operator in ResultValMorph1-0/+20
ResultVal was missing a move assignment operator, add it.
2021-10-28hle/result: Remove cv-qualifiers from Arg in MakeResultMorph1-2/+2
This removes the const qualification for types when MakeResult(arg) is used in a const member function, allowing for automatic deduction and removing the need to manually specify the non-const type as the template argument.
2021-10-27Fix dangling kernel objects when exitingFeng Chen2-11/+13
2021-10-27Revert PR7009Feng Chen2-15/+5
2021-10-27Fix memory leakFeng Chen4-0/+38
2021-10-26Support gl_BackSecondaryColor attributevonchenplus3-0/+33
2021-10-26Support gl_FrontSecondaryColor attributevonchenplus3-0/+33
2021-10-26Support gl_BackColor attributevonchenplus3-0/+33
2021-10-26Geometry property removal and rewordingMoonlacer2-9/+1
2021-10-24TexturePass: Fix clamping of images as this allowed negative indices.Fernando Sahmkow1-1/+1
2021-10-24Fixed ARM_Dynamic_64 StepAndrew Strelsky1-1/+1
2021-10-24Fixup channel submit IOCTL syncpoint parametersBilly Laws2-21/+9
The current arguments worked by happenstance as games only ever submit one syncpoint and request one fence back, if a game were to do something other than this then the arguments would've been parsed entirely wrong.
2021-10-23Vulran Rasterizer: address feedback.Fernando Sahmkow1-3/+5
2021-10-23Revert "input_common: Fix data race on GC implementation"Fernando S2-120/+115
2021-10-22Fix vulkan viewport issueFeng Chen1-0/+1
2021-10-20common/alignment: Fix VS2022 compilationameerj1-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.
2021-10-20input_common: Fix VS2022 compilation errorsameerj1-39/+35
2021-10-17emit_spirv_image: Fix depth image implicit lod sample in computeameerj1-5/+16
Ensures all drivers behave the same way in this case.
2021-10-17settings: Remove std::chrono usageameerj7-24/+20
Alleviates the dependency on chrono for all files that include settings.h
2021-10-17add_linkMoonlacer1-2/+2
remove_accident fix_whoopsie
2021-10-17Shader Compiler: avoid overflowed indices on indixed samplers.Fernando Sahmkow1-1/+2
2021-10-16SVC: Implement svcInfo:IdleTickCountFernando Sahmkow2-0/+22
Used by the Witcher 3
2021-10-16main: fix typo in warning messageRomain Failliot1-1/+1
2021-10-16main: Add missing make_unique for uiMorph1-1/+1
2021-10-16service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184)Feng Chen1-1/+11
2021-10-16qt_web_browser: Add missing QApplication includeMorph1-0/+1
2021-10-16NvHost/Core: Address Feedback.Fernando Sahmkow3-19/+27
2021-10-16Suspend temporallyFernandoS273-1/+31
2021-10-16NVHost_Ctrl: Force wait if the gpu falls behind too long.FernandoS272-0/+13
2021-10-15ui: fix crash when closing configure windowRomain Failliot1-2/+5
This crash happens 100% of the time (on Linux at least), you just need to open the configure window and click OK. It seems to happen when the tabs are destroyed and once all the tabs are destroyed, a final signal is sent with `index == -1`. So `debug_tab_tab` doesn't exist anymore when this happens, so the crash.
2021-10-15bootmanager: Forward declare System and SystemResultStatusMorph1-1/+5
2021-10-15yuzu: Construct system in GMainWindowMorph2-81/+83
2021-10-15core: Move ResultStatus outside of SystemMorph7-67/+69
Allows it to be a forward declaration in other header files.
2021-10-15yuzu_cmd: Remove remaining static system instancesMorph1-3/+2
2021-10-15core: Remove static system instanceMorph2-28/+5
2021-10-15Hide mouse cursor by defaultRomain Failliot1-1/+1
2021-10-15main: Slightly refactor NCA entry installation in InstallNCA (#7181)Creak1-8/+6
* main: Slightly refactor NCA entry installation in InstallNCA Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-10-15main: Use std::unique_ptr for uiMorph2-137/+142
2021-10-15configuration: Use std::make_unique instead of operator new for uiMorph13-14/+15
2021-10-15config: Read network_interfacelat9nq2-0/+9
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
2021-10-15settings_ui: Better NVDEC Description For Each Video Rendering Option (#7165)Moonlacer1-3/+3
* better_description * Revert "better_description" This reverts commit 3a152a6ba6f2d6e02530b69a8194e4db302c8acd. * better_nvdec_wording * best_performance * update_word_stuff * another_update
2021-10-14string_util: Make use of std::string_view and add bounds checkingMorph2-5/+5
Makes use of std::string_view in StringFromFixedZeroTerminatedBuffer and add bounds checking
2021-10-14string_util: Prevent out of bounds access in u16string_view bufferMorph1-2/+2
2021-10-13KPageTable: Perform ranged invalidation when unmapping code memoryMorph1-0/+2
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
2021-10-12common/fs/path_util: Slightly refactor PathManagerImpl's constructorCreak1-12/+15
This moves all GenerateYuzuPath calls outside of the platofrm-specific #ifdefs, replacing them with assignments to paths.
2021-10-12Create local variables for mouse and wheel positionsRomain Failliot1-5/+9
2021-10-12Fix a few warningsRomain Failliot3-6/+5
- configure_input_player_widget.cpp: always better to use `const auto &` whenever possible - profiler.cpp: `ev->pos()` is deprecated, replace with `ev->position()`, which returns floats, thus the addition of `.toPoint()` (same as what's happening in `pos()`) - game_list.cpp: `QString::SplitBehavior` is deprecate, use `Qt::` namespace instead
2021-10-11input_common/sdl: Fix joystick rangegerman771-3/+4
2021-10-11main: Add option to reset window size to 900pameerj3-36/+53
2021-10-11applets/web: Fallback to loader to get the manual romfs if none is foundFeng Chen1-0/+10
2021-10-11vic: Use the minimum of surface/frame dimensions when writing the final frame to the GPUameerj1-16/+15
Addresses possible buffer overflow behavior.
2021-10-10h264: Use max allowed max_num_ref_frames when using CPU decodingFeng Chen1-1/+6
2021-10-09vic: Allow surface to be higher than frameValeri1-2/+3
Touhou Genso Wanderer Lotus Labyrinth R decodes 1920x1080 videos into 1920x1088 surface. Only allow mismatch for height, since larger width would result in increasingly offset rows and somewhat defeat entire purpose of this check.
2021-10-08Update configure_tas.uiLevi Behunin1-8/+0
Remove the geometry property again(7045) after 7090 re-added.
2021-10-08vic: Avoid memory corruption when multiple streams with different dimensions are decodedameerj1-0/+9
This is a work around to avoid buffer overflow errors until multi channel/multi stream decoding is supported.
2021-10-07vic: Refactor frame writing methodsameerj2-138/+146
2021-10-07discord_impl: Remove global system instanceslat9nq3-6/+13
2021-10-07game_list: Remove global instances of Core::Systemlat9nq5-13/+19
2021-10-07configuration: Add const qualifier where ablelat9nq18-31/+28
2021-10-07yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq69-636/+688
2021-10-07kernel: hle_ipc: Foward declare KAutoObjectMorph2-1/+2
2021-10-07service: Reduce header include overheadMorph31-39/+11
2021-10-07vic: Implement RGBX frame formatameerj2-3/+15
2021-10-04Vulkan: Fix failing barrier on refresh.Fernando Sahmkow1-1/+2
2021-10-04RasterizerInterface: Correct size of CPU addresses to cache.FernandoS271-1/+1
2021-10-04Vulkan: Fix the master SemaphoreFernandoS271-4/+12
2021-10-03nvflinger: Use jthread and stop_token for VSync threadameerj2-32/+8
Avoids a destruction data race that may occur on the vsync thread
2021-10-03nvhost_ctrl: Refactor usage of gpu.LockSync()ameerj3-35/+16
This seems to only be used to protect a later gpu function call. So we can move the lock into that call instead.
2021-10-03gpu: Migrate implementation to the cpp fileameerj19-632/+875
2021-10-02service: am: Make use of Exit to exit the currently running applicationMorph1-2/+2
This also moves the call to the end to ensure services are properly destructed on exit.
2021-10-02yuzu: main: Register a callback for ExitMorph4-0/+17
2021-10-02core: Add Exit and ExitCallbackMorph2-0/+25
This allows ISelfController::Exit to stop the currently running application. This is typically used by homebrew to exit back to the homebrew menu after calling consoleExit with libnx.
2021-10-02service: Replace service event creation with ServiceContext::CreateEventMorph26-271/+367
The service context helps to manage all created events and allows us to close them upon destruction.
2021-10-02network: Do not log IP addressMorph1-2/+0
Logging this may be a privacy concern for some users.
2021-10-02common/logging: Reduce scope of fmt includeameerj4-1/+5
2021-10-02common/logging: Move Log::Entry declaration to a separate headerameerj12-17/+48
This reduces the load of requiring to include std::chrono in all files which include log.h
2021-10-01main: Don't add an extra separator when the title version is absentlat9nq1-2/+7
Some titles, such as homebrew, do not have any version string. Because yuzu hard codes the title bar string assuming a version string is preset, booting homebrew causes yuzu to add an extra separator with no content between. This uses a lambda expression to prevent that from happening.
2021-09-30prevent access violation from iob in Memory::IsValidVirtualAddressAndrew Strelsky1-1/+5
2021-09-29Fixed invalid iterator usageAndrew Strelsky1-1/+1
2021-09-29style: Remove extra space preceding the :: operatorMorph8-10/+10
2021-09-29CMakeLists: Remove BoxCat build optionMorph1-4/+0
2021-09-29settings: Remove BCAT settingsMorph5-17/+0
2021-09-29configure_network: Remove BCATMorph3-208/+0
2021-09-29service: bcat: Remove BoxCat BCAT implementationMorph4-631/+0
The current implementation of BoxCat as it stands is non-functional due to the reliance on a server providing BCAT files. This implementation will eventually be replaced with one that allows the use of local BCAT files dumped from a Nintendo Switch.
2021-09-29configure_tas: Remove help button from dialog windowMoonlacer1-0/+1
2021-09-29configure_tas: Ensure dialog buttons always stay at the bottomMoonlacer1-146/+187
Previously, the dialog buttons would be floating in-place when the dialog is stretched downwards. This change ensures that the dialog buttons always stay at the bottom of the window.
2021-09-29externals: Remove libzipMorph1-1/+1
2021-09-29file_sys: Remove vfs_libzipMorph3-103/+0
2021-09-29Fix KShareMemory object leakFeng Chen5-3/+106
2021-09-28vk_graphics_pipeline: Force patch list topology when tessellation is usedameerj1-1/+10
Fixes a crash on some drivers when tessellation is used but the IA topology is not patch list.
2021-09-27service/es: Update to 13.0.0german771-0/+6
2021-09-27service/npns: Update to 13.0.0german771-0/+1
2021-09-27service/vi: Update to 13.0.0german772-0/+2
2021-09-27service/am: Update to 13.0.0german771-0/+4
2021-09-27service/audio: Update to 13.0.0german772-1/+10
2021-09-27service/hid: Update to 13.0.0german772-0/+10
2021-09-27service/btdrv: Update to 13.0.0german771-0/+4
2021-09-27service/usb: Update to 13.0.0german771-3/+3
2021-09-25Fix KScopedAutoObject object leak when SendSyncRequestFeng Chen1-6/+8
2021-09-25service: bsd: Stub ReadMorph1-6/+5
- Used by Diablo II: Resurrected
2021-09-24service: bsd: Implement ReadMorph2-1/+15
- Used by Diablo II: Resurrected
2021-09-24general: Update style to clang-format-12ameerj13-66/+62
2021-09-24video_core: Fix jthread related hangs when stopping emulationameerj2-2/+2
jthread on some compilers is more picky when it comes to the order in which objects are destroyed.
2021-09-24vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlierameerj3-11/+22
Fixes rainbow textures on BOTW.
2021-09-24Vulkan Query Cache: make sure to wait for the query result.Fernando Sahmkow1-1/+2
2021-09-24QueryCache: Flush queries in order of running.Fernando Sahmkow1-4/+4
2021-09-23Use subdirectory of main data directory for QtWebEngine storagev19931-0/+3
Previously, an unrelated directory was used for this. Keep everything together for consistency.
2021-09-23Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.Fernando Sahmkow6-3/+29
2021-09-23core/profile_select: Avoid uninitialized read in SelectProfile()Lioncash1-1/+2
The default constructor of UUID doesn't initialize its data members, so we need to directly initialize it to be invalid.
2021-09-22common/uuid: Add validity checking functions to interfaceLioncash4-7/+14
Given we have a function to invalidate, we should also have ones to query the validity. Also makes the code more straightforward to read.
2021-09-22Clean-up and nitsLevi Behunin1-121/+60
Remove redundent label, rearange checkboxs to keep same 3 per column layout, remove unneeded properties.
2021-09-21Clean-upLevi Behunin1-44/+14
Numerize names, remove unneeded properties and spacer.
2021-09-20maxwell_dma: Minor refactoringameerj2-33/+33
2021-09-20buffer_cache: Minor fixesameerj2-6/+4
Loop through the tmp_intervals by reference, rather than by copy, and fix gl clear buffer size calculation.
2021-09-19Tas configure ui nitsLevi Behunin1-4/+4
Text looked cramped on my pc (Ubuntu 21.04). Re-flowed text as well for nicer read.
2021-09-18UI: Relocate tas menu and add brief descriptiongerman7710-68/+148
2021-09-18input_common/tas: new update methodgerman775-17/+4
2021-09-18input_common/tas: Document the main classgerman778-51/+153
2021-09-18input_common/tas: Add swap controllergerman778-39/+99
2021-09-18input_common/tas: overwrite file dialoggerman773-20/+16
2021-09-18input_common/tas: Fallback to simple updateMonsterDruide110-102/+60
2021-09-18config: Move TAS options to it's own menugerman7719-184/+452
2021-09-18core: Hacky TAS syncing & load pausingMonsterDruide19-107/+140
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.
2021-09-18main: TAS Playback state labelMonsterDruide12-0/+10
During script playback/recording, the user has to see what happens currently. For that, a new label has been added to the bottom-left corner, always displaying the current state of the TASing system.
2021-09-18settings: File selector & other settingsMonsterDruide19-2/+104
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.
2021-09-18input_common/tas: Base playback & recording systemMonsterDruide114-9/+818
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>
2021-09-18If not on Windows, disable raw inputValeri1-0/+4
This way, if someone copies their Windows config to other OS, they won't be stuck without web applet for no apparent reason.
2021-09-18Hide XInput bypass on non-Windows OSesValeri1-0/+4
Follow-up to #6950. This option is a no-op on other OSes and only serves to spread confusion there.
2021-09-17host_shaders: Remove opengl_copy_bgra.compameerj4-19/+0
2021-09-17gl_texture_cache: Migrate BGRCopyPass from util_shadersameerj4-42/+48
The BGR copies no longer use shaders.
2021-09-16vulkan_device: Reorder Float16Int8 declarationameerj1-1/+2
This variable was going out of scope before its usage in the vulkan device creation, causing a crash on very specific drivers.
2021-09-16Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver"ameerj1-13/+1
This reverts commit 62e88d0e7455e37840db7e2a8e199bc6ca176966, reversing changes made to edf3da346f4ec0ca492b427f4f693d56e84abc52.
2021-09-16fix_clang_errorMoonlacer1-1/+0
2021-09-16util_shaders: Unify BGRA copy passesameerj5-82/+36
2021-09-16fix_accidental_deletionMoonlacer1-1/+2
2021-09-16remove-audio-stretching-settingMoonlacer8-30/+1
2021-09-16vk_scheduler: Use std::jthreadameerj2-17/+9
2021-09-16gpu: Use std::jthread for async gpu threadameerj5-69/+18
2021-09-16threadsafe_queue: Add std::stop_token overload to PopWaitameerj1-5/+22
Useful for jthreads which make use of the threadsafe queues.
2021-09-15audin_u: Return a buffer event in RegisterBufferEventlat9nq2-2/+12
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2021-09-15audin_u: stub Start, RegisterBufferEvent, AppendAudioInBufferAutolat9nq2-26/+57
This also moves IAudioIn's definition to the header. Required for Splatoon 2 LAN play.
2021-09-15Build System: Build with JCC Erratum MitigationFernando Sahmkow1-0/+5
2021-09-15Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.Fernando Sahmkow1-1/+7
2021-09-15ngct: Stub MatchNarr the Reg1-1/+14
Needed for Cruis'n Blast
2021-09-14renderers: Log total pipeline countMorph2-0/+4
2021-09-14vfs: Partially implement GetFileTimeStampRawMorph8-1/+83
Gets rid of homebrew warnings using this func
2021-09-14core: Destroy main_process during shutdownameerj1-3/+12
The main_process was never being cleaned up, causing a noticeable memory leak after subsequent launches. This change cleans up the memory during Core Shutdown, mitigating the leak.
2021-09-14vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errorsameerj1-0/+1
This validation error is spammed on some titles, asserting that VkDescriptorSet 0x0[] was destroyed. This is likely a validation layer bug when using VK_KHR_push_descriptor, which can avoid using traditional VkDescriptorSet. It should be safe to ignore for now.
2021-09-13Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD since it's broken.Fernando Sahmkow1-6/+20
2021-09-13Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1Fernando Sahmkow1-1/+13
2021-09-13Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver.Fernando Sahmkow3-3/+14
2021-09-13common_funcs: Add enum flag bitwise shift operator overloadsMorph1-0/+16
This adds bitwise shift operator overloads (<<, >>, <<=, >>=) in the macro DECLARE_ENUM_FLAG_OPERATORS(type)
2021-09-13vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS is unlockedameerj3-4/+38
Allows drivers that do not support VK_PRESENT_MODE_MAILBOX_KHR the ability to present at a framerate higher than the monitor's refresh rate when the FPS is unlocked.
2021-09-12vk_rasterizer: Fix dynamic StencilOp updating when two faces are enabledameerj1-6/+8
This function was incorrectly using the stencil_two_side_enable register when dynamically updating the StencilOp.
2021-09-12vk_state_tracker: Remove unused functionameerj1-4/+0
2021-09-12FS: Mark recursive CreateDirectory as inaccurate and temporaryMorph1-0/+5
2021-09-12main: Apply confirm exit setting in exit locked scenariosameerj1-11/+9
Some titles set an exit lock through HLE, which prompts an exit confirmation when stopping emulation if the system is locked. This change allows bypassing this confirmation if the setting to confirm exits has been disabled by the user.
2021-09-11shader_environment: Add missing <algorithm> includeMorph1-0/+1
2021-09-11vk_descriptor_pool: Add missing <algorithm> includeMorph1-0/+1
2021-09-11slot_vector: Add missing <algorithm> includeMorph1-0/+1
2021-09-11video_core/memory_manager: Add missing <algorithm> includeMorph1-0/+2
2021-09-11kernel: Add missing <functional> includeMorph1-0/+1
2021-09-11file_sys/kernel_executable: Add missing <string> includeMorph1-0/+1
2021-09-11codec: Add missing <string_view> includeMorph1-0/+1
2021-09-11common_funcs: Replace <algorithm> with <iterator>Morph1-1/+1
2021-09-11common: Move error handling to error.cpp/hMorph6-18/+34
This allows us to avoid implicitly including <string> every time common_funcs.h is included.
2021-09-10am: Implement GetNotificationStorageChannelEventgerman772-2/+16
2021-09-10hid: Stub SetTouchScreenConfigurationgerman773-1/+28
2021-09-10input_common: Enable steam controllers and 8 player supportgerman778-11/+35
2021-09-10api_version: Update and add AtmosphereTargetFirmwareMorph1-5/+12
2021-09-08Addressed issuesChloe1-1/+1
Co-authored-by: Mai M. <mathew1800@gmail.com>
2021-09-08Mark is_complete as atomicChloe Marcec2-4/+5
2021-09-08Addressed issuesChloe Marcec3-15/+14
2021-09-08Detail adjustmentFeng Chen1-13/+14
2021-09-08Detail adjustmentFeng Chen2-28/+35
2021-09-07Re-implement get unused locationFeng Chen1-30/+30
2021-09-07Move attribute related definitions to spirv anonymous namespaceFeng Chen4-30/+26
2021-09-07input_common: Add alternative string for joyconsgerman771-2/+16
2021-09-07nvflinger: Use external surface format for framebuffer creationameerj3-7/+8
The format member the IGBPBuffer may not always specify the correct desired format. Using the external format member ensures a valid format is provided when creating the framebuffer. Fixes homebrew using the wrong framebuffer format.
2021-09-07Fix blend equation enum errorFeng Chen1-4/+4
2021-09-06Second part of Golden's PRMoonlacer2-3/+3
2021-09-06Rename all shader cache references to pipeline cacheMatías Locatti1-4/+4
After Hades, both OpenGL and Vulkan use a pipeline cache instead of single stages of the graphics pipeline. Renamed the Remove menu entries to match.
2021-09-06address name shadowing with systemChloe Marcec1-2/+2
2021-09-06account: EnsureTokenIdCacheAsyncChloe Marcec4-19/+154
Closes #2547, #6946
2021-09-06FS: Recursively create directories for CreateDirectoryChloe Marcec1-8/+13
Originally we only created the parent directory, this caused issues for creating directories which also contained subdirectories, eg `/Folder1/Folder2` This allows the ultimate mod manager homebrew to at least boot
2021-09-06Dynamic get unused locationFeng Chen1-27/+49
2021-09-06Implement intput and output fixed fnc texturesFeng Chen4-19/+25
2021-09-05core: hle: service: buffer_queue: Improve management of KEvent.bunnei3-14/+24
2021-09-04core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei4-16/+30
2021-09-04core: cpu_manager: Use jthread.bunnei2-18/+13
2021-09-03Rename parametersFeng Chen5-14/+24
2021-09-03Fix create GraphicsPipelines crashFeng Chen1-5/+5
2021-09-02renderer_vulkan: Wait on present semaphore at queue submitameerj5-26/+33
The present semaphore is being signalled by the call to acquire the swapchain image. This semaphore is meant to be waited on when rendering to the swapchain image. Currently it is waited on when presenting, but moving its usage to be waited on in the command buffer submission allows for proper usage of this semaphore. Fixes the device lost when launching titles on the Intel Linux Mesa driver.
2021-09-02Add input/output locationFeng Chen1-5/+13
2021-09-02common/logging: Add missing includegerman771-0/+1
2021-08-31emit_glsl_warp: Fix shuffle ops for 64-thread warp sizesameerj1-24/+36
2021-08-31emit_glsl_warp: Fix ballot related ops for 64-thread warp sizesameerj1-24/+38
2021-08-31emit_spirv_warp: Fix shuffle ops for 64-thread warp sizesameerj1-1/+29
2021-08-31emit_spirv_warp: Fix ballot related ops for 64-thread warp sizesameerj1-10/+11
2021-08-31Add colorfront and txtcoord supportFeng Chen5-0/+57
2021-08-30structured_control_flow: Skip reordering nested demote branches.ameerj1-0/+11
Nested demote branches add complexity with combining the condition if it has not been initialized yet. Skip them for the time being.
2021-08-30structured_control_flow: Conditionally invoke demote reorder passameerj7-10/+23
This is only needed on select drivers when a fragment shader discards/demotes.
2021-08-29Garbage Collection: Make it more agressive on high priority mode.Fernando Sahmkow3-5/+5
2021-08-29Garbage Collection: Adress Feedback.Fernando Sahmkow4-17/+23
2021-08-29vulkan_device: Enable VK_KHR_swapchain_mutable_format if availableameerj3-0/+27
Silences validation errors when creating sRGB image views of linear swapchain images
2021-08-29vk_swapchain: Prefer linear swapchain format when presenting sRGB imagesameerj3-11/+10
Fixes broken sRGB when presenting from a secondary GPU.
2021-08-28Garbage Collection: enable as default, eliminate option.Fernando Sahmkow9-26/+2
2021-08-28VideoCore: Rework Garbage Collection.Fernando Sahmkow6-101/+213
2021-08-28structured_control_flow: Add DemoteCombinationPassameerj1-1/+107
Some drivers misread data when demotes are interleaved in the program. This moves demote branches to be checked at the end of the program. Fixes "wireframe" issue in Pokemon SwSh on some drivers
2021-08-27ngct: Stub NGCT:U servicegerman776-0/+72
2021-08-27Revert "logging: Display backtrace on crash"Morph2-114/+1
2021-08-27service: nifm: Populate fields in GetCurrentNetworkProfileMorph1-29/+37
Populates the current_address, subnet_mask, and gateway fields from the selected network interface.
2021-08-27service: nifm: Cleanup GetCurrentIpConfigInfoMorph1-26/+21
2021-08-27network_interface: Cleanup codeMorph1-76/+83
2021-08-27network_interface: Replace default return value with std::nulloptMorph1-6/+6
2021-08-27emit_spirv_context_get_set: Fix Get FrontFace return valueameerj1-2/+3
The IR expects GetAttribute to return an F32 value. This case was returning a U32 instead.
2021-08-26Revert "kernel: Various improvements to scheduler"bunnei23-224/+140
2021-08-26vp9_types: Minor refactor of VP9 info structs.ameerj1-32/+29
2021-08-26vp9_types: Remove unused Vp9PictureInfo membersameerj2-24/+1
2021-08-25vulkan_device: Add a check for int8 supportameerj3-9/+19
Silences validation errors when shaders use int8 without specifying its support to the API
2021-08-24logging: Fix log filter during initializationameerj4-12/+16
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.
2021-08-22CMakeLists: Ensure proper numerusform tags are generated for pluralized translationsLioncash1-1/+8
If we don't set an explicit source and target language for the base english translation, then we'll generate an incorrect number of <numerusform> tags (which Transifex doesn't like).
2021-08-21settings: Amend language_index maximum setting rangeMorph1-1/+1
The maximum is now 17 with the addition of Brazilian Portuguese
2021-08-21vk_rasterizer: Only clear depth and stencil buffers when set in attachment aspect maskameerj3-6/+24
Silences validation errors for clearing the depth/stencil buffers of framebuffer attachments that were not specified to have depth/stencil usage.
2021-08-19GPU_MemoryManger: Fix GetSubmappedRange.Fernando Sahmkow1-0/+1
2021-08-19Replace QPoint with QPointF where applicableValeri1-16/+18
Previously, floats were implicitly cast to integers
2021-08-19qt_software_keyboard: fix copy-paste errorValeri1-1/+1
2021-08-19video_core: eliminate constant ternaryValeri1-1/+1
`via_header_index` is already checked above, so it would never be true in this branch
2021-08-19applet_error: Fix 64-bit error code conversionMorph1-6/+25
2021-08-19SPIR-V: Merge two ifs in EmitGetAttributeValeri1-6/+2
2021-08-19Fix crash in logging in CreateStrayLayerValeri1-1/+1
It was trying to log value of layer_id which is specifically known not to exist, potentially leading to segfault. Log display_id instead.
2021-08-19Fix check is thread current in GetThreadContextValeri1-1/+1
Misplaced break made it only check for the first core.
2021-08-16h264: Lower max_num_ref_framesameerj1-1/+2
GPU decoding seems to be more picky when it comes to the maximum number of reference frames.
2021-08-16configure_graphics: Add GPU nvdec decoding as an optionameerj12-27/+120
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>
2021-08-16codec: Improve libav memory alloc and cleanupameerj2-14/+19
2021-08-16codec: Fallback to CPU decoding if no compatible GPU format is foundameerj2-22/+32
2021-08-16cmake: Add VDPAU and NVDEC support to FFmpeglat9nq1-0/+1
Adds {h264_,vp9_}{nvdec,vdpau} hwaccels.
2021-08-16vk_blit_screen: Fix non-accelerated texture size calculationameerj2-9/+3
Addresses the potential OOB access in UnswizzleTexture.
2021-08-16kernel: Optimize GetHostThreadIDBreadFish641-10/+13
2021-08-16network_interface: correct formattingSönke Holz1-1/+1
2021-08-16network_interface: fix mingw-w64 buildspholz1-1/+1
2021-08-16network: retrieve subnet mask and gateway infoSönke Holz5-24/+137
2021-08-15xbyak: Update include pathMerry3-3/+3
2021-08-14core: hle: kernel: Disable dispatch count tracking on single core.bunnei3-5/+12
- This would have limited value, and would be a mess to handle properly.
2021-08-13threadsafe_queue: Fix deadlockyzct123451-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.
2021-08-13logging: Display backtrace on crashyzct123452-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.
2021-08-13logging: Simplify and make thread-safeyzct123458-292/+243
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.
2021-08-13configuration: fix mingw-w64 buildSönke Holz1-2/+2
2021-08-13network: don't use reinterpret_cast in GetAvailableNetworkInterfacesspholz1-7/+4
2021-08-13network: fix mingw-w64 buildSönke Holz1-4/+4
The header "combaseapi.h" of mingw-w64 defines "interface" as "struct".
2021-08-13network: don't use assert to check if no network interfaces are returnedSönke Holz1-2/+4
2021-08-13configuration: move network_interface include to source fileSönke Holz2-2/+1
2021-08-13network: use Common::BitCast instead of std::bit_castSönke Holz1-2/+3
2021-08-13network: narrow down scope of "result" in win32 code forSönke Holz1-4/+5
GetAvailableNetworkInterfaces
2021-08-13configuration: use tr instead of QStringLiteral for "None" item inSönke Holz1-1/+1
network interface combobox
2021-08-13network: use explicit bool conversions in GetAvailableNetworkInterfacesSönke Holz1-1/+1
2021-08-13network: initialize ip_addr in GetHostIPv4Address()Sönke Holz1-1/+1
2021-08-13nifm: use operator*() instead of .value() to get value of std::optionalSönke Holz1-2/+2
2021-08-13nifm: treat a missing host IP address as a non-critical errorSönke Holz1-2/+2
2021-08-12network: correct formatting in network.cpp and network_interface.cppSönke Holz2-8/+6
2021-08-12configuration: add option to select network interfacespholz15-90/+278
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.
2021-08-12input_common: Disable sdl raw input modegerman771-0/+3
2021-08-12codec: Replace deprecated av_init_packet usageameerj1-9/+13
2021-08-12nvdec: Implement GPU accelerated decoding for all platformsameerj2-70/+92
Supplements the VAAPI intel gpu decoder by implementing the D3D11VA decoder for Windows, and CUVID/VDPAU for Nvidia and AMD on drivers linux respectively.
2021-08-12decoders: Templates allow memcpy optimizationsyzct123451-57/+116
2021-08-11settings: Fix MSVC issueslat9nq1-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.
2021-08-10vic: Specify sws_scale height stride.ameerj1-3/+2
Silences a sws_scale runtime warning about unaligned strides.
2021-08-08yuzu-cmd/CMakeLists: Correct attribution for this function.Fernando Sahmkow2-0/+2
2021-08-08vp9: Ensure the first frame is completeameerj2-3/+3
Silences a runtime error due to the first frame missing the frame data, and being set to hidden despite being a key-frame.
2021-08-08texture_cache: Address ameerj's reviewyzct123453-7/+4
2021-08-08configure_general: Swap positions of speed limit and frame limit optionsameerj1-30/+30
2021-08-08input_common: Improve SDL joystick and hide toggle optiongerman774-33/+76
2021-08-07input_common: Fix data race on GC implementationRodrigo Locatti2-115/+120
2021-08-07main: Avoid stopping emulation when taking a screenshotgerman771-5/+2
2021-08-07core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard.bunnei1-1/+1
2021-08-07core: cpu_manager: Use invalid core_id on init and simplify shutdown.bunnei1-7/+3
2021-08-07core: hle: service: buffer_queue: Improve management of KEvent.bunnei3-14/+24
2021-08-07core: hle: kernel: k_auto_object: Add GetName method.bunnei1-0/+4
- Useful purely for debugging.
2021-08-07core: hle: service: nvflinger/vi: Improve management of KEvent.bunnei4-16/+30
2021-08-07core: hle: kernel: DisableDispatch on suspend threads.bunnei1-0/+3
2021-08-07core: hle: kernel: k_scheduler: Improve DisableScheduling and EnableScheduling.bunnei1-14/+9
2021-08-07core: cpu_manager: Use KScopedDisableDispatch.bunnei1-7/+8
2021-08-07core: hle: kernel: Use CurrentPhysicalCoreIndex as appropriate.bunnei1-6/+2
2021-08-07core: hle: kernel: k_scheduler: Remove unnecessary MakeCurrentProcess.bunnei1-5/+0
2021-08-07core: hle: kernel: k_scheduler: Improve ScheduleImpl.bunnei1-6/+7
2021-08-07core: hle: kernel: k_scheduler: Improve Unload.bunnei1-17/+29
2021-08-07core: hle: kernel: k_process: DisableDispatch on main thread.bunnei1-0/+1
2021-08-07core: hle: kernel: k_handle_table: Use KScopedDisableDispatch as necessary.bunnei2-0/+8
2021-08-07core: hle: kernel: k_thread: Add KScopedDisableDispatch.bunnei2-1/+47
2021-08-07core: hle: kernel: Ensure idle threads are closed before destroying scheduler.bunnei3-24/+22
2021-08-07core: hle: kernel: Reflect non-emulated threads as core 3.bunnei7-13/+15
2021-08-07core: cpu_manager: Use jthread.bunnei2-18/+13
2021-08-07vulkan_memory_allocator: Respect bufferImageGranularityRobin Kertels2-2/+8
2021-08-07nvdec: Better logging for unimplemented codecsameerj1-1/+1
2021-08-07memory: Address lioncash's reviewyzct123451-52/+6
2021-08-07memory: Dedup Read and Write and fix logging bugsyzct123451-129/+115
2021-08-07texture_cache: Address ameerj's reviewyzct123454-10/+5
2021-08-07network: GetAndLogLastError: ignore Errno::AGAINSönke Holz1-1/+5
If non-blocking sockets are used, they generate a lot of Errno::AGAIN errors when they didn't receive any data. These errors shouldn't be logged.
2021-08-07network: GetCurrentIpConfigInfo: return host IP addressSönke Holz1-1/+4
Service::NIFM::IGeneralService::GetCurrentIpConfigInfo currently hardcodes 192.168.1.100 as the IP address, which prevents LAN play from working correctly.
2021-08-07nvhost_nvdec_common: Remove BufferMapameerj2-76/+0
This was mainly used to keep track of mapped buffers for later unmapping. Since unmap is no longer implemented, this no longer seves a valuable purpose.
2021-08-07vp9: Cleanup unused variablesameerj3-58/+17
With reference frames refreshes fix, we no longer need to buffer two frames in advance. We can also remove other unused or otherwise unneeded variables.
2021-08-07vp9: Fix reference frame refreshesameerj2-48/+31
This resolves the artifacting when decoding VP9 streams.
2021-08-07nvhost_nvdec_common: Stub UnmapBuffer Ioctlameerj1-23/+4
Skip unmapping nvdec buffers to avoid breaking the continuity of the VP9 reference frame addresses, and the risk of invalidating data before the async GPU thread is done with it.
2021-08-06network: fix fcntl cmdsSönke Holz1-2/+2
F_SETFL/F_GETFL are the correct commands to set a socket to be non-blocking
2021-08-06common: uuid: Add hash function for UUIDMorph1-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.
2021-08-05memory: Clean up CopyBlock tooyzct123451-36/+15
2021-08-05Update configure_graphics_advanced.uigidoly1-2/+5
add description too fast gpu time
2021-08-05texture_cache: Don't change copyright yearyzct123454-4/+4
2021-08-05texture_cache: Address ameerj's reviewyzct1234512-1821/+1821
2021-08-05memory: Address lioncash's reviewyzct123452-7/+8
2021-08-05memory: Clean up codeyzct123452-329/+81
2021-08-05assert: Verify formattingyzct123451-2/+6
2021-08-05assert: Avoid empty macrosyzct123451-2/+2
2021-08-05texture_cache: Split templates outyzct123457-1532/+1533
2021-08-05applet_swkbd: Include the null terminator in the buffer size calculationMorph1-2/+4
Some games may interpret the read string as a null-terminated string instead of just reading the string up to buffer_size.
2021-08-05hex_util: Fix incorrect array size in AsArrayMorph1-1/+1
Although this isn't used, this is a potential bug as HexStringToArray will perform an out-of-bounds read.
2021-08-04config: Read connected setting for controllerslat9nq1-0/+3
Currently yuzu will read the mapping but does not connect a controller despite adding subsequent configurations for it. Read the `connected` setting for now as a boolean like the Qt frontend.
2021-08-04settings_ui: Add emulated joystick position dot to controller previewgerman772-21/+46
2021-08-04common: uuid: Add hex string to UUID constructorMorph2-0/+73
This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer.
2021-08-04nvdec: Implement VA-API hardware video acceleration (#6713)yzct123455-72/+175
* nvdec: VA-API * Verify formatting * Forgot a semicolon for Windows * Clarify comment about AV_PIX_FMT_NV12 * Fix assert log spam from missing negation * vic: Remove forgotten debug code * Address lioncash's review * Mention VA-API is Intel/AMD * Address v1993's review * Hopefully fix CMakeLists style this time * vic: Improve cache locality * vic: Fix off-by-one error * codec: Async * codec: Forgot the GetValue() * nvdec: Address ameerj's review * codec: Fallback to CPU without VA-API support * cmake: Address lat9nq's review * cmake: Make VA-API optional * vaapi: Multiple GPU * Apply suggestions from code review Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com> * nvdec: Address ameerj's review * codec: Use anonymous instead of static * nvdec: Remove enum and fix memory leak * nvdec: Address ameerj's review * codec: Remove preparation for threading Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-08-03config: Only read/write current_user on global configlat9nq1-5/+6
2021-08-02network: fix ternary operator in Socket::SendTospholz1-1/+1
2021-08-02decoders: Optimize swizzle copy performance (#6790)yzct123451-9/+43
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
2021-08-01yuzu-cmd: hide cursor when in fullscreensan4-0/+9
Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor.
2021-08-01game_list: Make game list folder icons smaller (#6762)Malte Jürgens6-28/+70
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
2021-08-01service: set: Correct copy amount in GetAvailableLanguageCodesMorph1-1/+2
2021-08-01astc_decoder: Reduce workgroup sizeameerj3-5/+5
This reduces the amount of over dispatching when there are odd dimensions (i.e. ASTC 8x5), which rarely evenly divide into 32x32.
2021-08-01astc_decoder: Compute offset swizzles in-shaderameerj4-109/+25
Alleviates the dependency on the swizzle table and a uniform which is constant for all ASTC texture sizes.
2021-08-01astc_decoder: Make use of uvec4 for payload dataameerj1-79/+43
2021-08-01astc_decoder: Simplify Select2DPartitionameerj1-38/+19
2021-08-01astc_decoder: Optimize the use EncodingDataameerj6-138/+108
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation. We can take advantage of its sorted property to optimize its usage in the shader. Thanks to wwylele for the optimization idea.