Repository navigation
Release v0.13.0 - #721
Merged
Merged
Release v0.13.0#721
Conversation
… or retiring a swapchain Closes #612 Co-authored-by: Tzeentchnet <58480142+Tzeentchnet@users.noreply.github.com>
…he settings overlay
…its timeout Co-authored-by: scrieve <86650480+scrieve@users.noreply.github.com>
Co-authored-by: scrieve <86650480+scrieve@users.noreply.github.com>
Co-authored-by: gtguerreiro-max <295622337+gtguerreiro-max@users.noreply.github.com>
Co-authored-by: LaLemniscata <352506590+LaLemniscata@users.noreply.github.com>
… to match an offline console (#697)
Tracy's POSIX crash handler installs its own SIGSEGV handler, which replaces the runtime's write-watch fault handler on Linux and macOS. Define TRACY_NO_CRASH_HANDLER on non-Windows builds so write watches keep working when Tracy is enabled.
Graine25
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This release fixes many kernel, XAM, GPU and macOS issues and adds new settings, input, and filesystem features.
Caution
This release has breaking changes. Migration steps are at the bottom.
Settings
GetActionsSettingsRegistry::Savemerges the choices of the user into the config file instead of writing every setting that differs from its defaultReset()returns a setting to its default at any layer below the lock layer, and the nextSaveremoves its entrySetting<T>::Set(layer, value)for a typed write at a named layer, andSettingBase::GetEntryfor the value with the layer it came fromheadless,user_languageandvideo_driver. A value set under one of them is ignored and logs a warning. The full list is under Removed Names in the settings referenceAllowedfor every setting type, and list the allowed values of every type in the settings overlayAddAliaswith one gives a notice and changes nothingRuntime / App
App::GetCommandLinefor the named command line valuesTitleApp::OnStopREX_environment variables can setapp.single_instanceApp::ReportUnknownSettingsreturnsvoidapp.cache_rootdefaults to{app.user_root}/cache. An empty value keeps no cacheTitleRuntime::AllocateThunkto give a host function a guest address that guest code can callGetTitleExitReasonNamefor the lowercase name of each exit reasonInput
conflict_masktoBindingConfig. Two bindings conflict when their masks share a bit, and the group decides only when either mask is zeroshares_withtoBindingConfig, the names of other bindings in the set that may use the same inputIBindingSet::FindConflictwithFindConflictsto return every conflicting bindingrex::EnumSetinrex/bit.hfor sets of index enum values, and use it for pad button masksKeyCaptureConfig::pad_cancel_maskandIKeyCapture::SetPadButtonstakeEnumSet<PadInput>in place of au32maskPadInput::kCountreplaceskPadButtonCounthid.sdl.background_eventsto keep pads working while the window does not have focusUI
IDialog::WantsExclusiveInput. A dialog that returns true holds the input block while it is added.DialogBasereturns falseIUISystem::IsExclusiveInputActiveIUISystem::ShowMessageuses the message box of the platform when there is no window (a native box on Windows, a line on stderr elsewhere), unlessui.driverisnonekOpenFoldersfile dialog mode for picking one or more foldersHostLocalefromrex::uiinrex/ui/window.htorex::platforminrex/platform/locale.hplatform::GetPreferredLocalesto read the host locales without the UI driver, andxam::GetLanguageForLocalesto pick from the languages a title acceptsFilesystem
title.game_root. A disc image is always read onlyIsDeviceNameinrex/platform/file.hKernel
GuestVectortoGuestStdVector, and addGuestStdVectorLayout::kWithAllocatorfor title vectors that store an allocator word firstREX_GUEST_GLOBAL, for a type that holds a commaKernelThread::SelfSuspendreturnsX_STATUSand writes the previous count to an out parameterplatform::Event::Set,ResetandPulsereturn the previous signal stateX_FILE_BASIC_INFORMATION::attributesis abe_u32followed by paddingBaseHeap::QueryProtectWorkspaceHeapGraphics / GPU
WAIT_REG_MEMmemory waitLogging and Profiling
REXLOG_CAT_FIRSTand the*_WARN_FIRSTmacros to log only the first hits of a siteREX_PROFILE_PLOT_CONFIGto set the format of a plotrexglueshows SDK log lines atwarnand above by default.--log-levelor--verboseshows the restBuild / CMake
REXTEST_BENCHMARK_WARMUP_MSandREXTEST_BENCHMARK_HIGH_PRIORITYto the benchmark targetInterface Version Changes
IAudioSystemIGraphicsSystemIInputSystemIUISystemISettingsRegistryIObjectTablePerformance
REX_INTERFACElookups per interfaceTests
Fixes
Kernel
NtRemoveIoCompletiontimeoutNtOpenFilein order, and ignore the attributes of a basic information setXMA_LOOP_DATAof the title inXMASetLoopDataXAM and networking
XamGetLanguageFIONREADand privileged port binds for title socketsXNetLogonGetTitleIDandXamUserGetAgeGroupCodegen
Graphics
num_formattexture fetches to the guest rangeBase and platform
ThreadStopand catch it at the Windows thread entry to prevent an uncaught stop outsiderexbasestd::filesystemSettings
SettingsRegistry::FindSave, not on every host file writeFilesystem and UI
SetLimitskeeps itResetMigration
rexglue codegen <project.toml>once after updating when the project has mid function hooks. The build does not rerun codegen for an SDK updateGuestVectortoGuestStdVectorFindConflictwithFindConflicts. It returns astd::vector<size_t>, empty when nothing conflicts, in place of astd::optional<size_t>kPadButtonCountwithPadInput::kCount, and pass anEnumSet<PadInput>in place of au32mask toSetPadButtonsandpad_cancel_maskui::HostLocalewithplatform::HostLocalefromrex/platform/locale.h. A UI driver returns that type fromGetPreferredLocalesIDialogand notDialogBaseimplementsWantsExclusiveInputplatform::Eventreturns the previous signal state fromSet,ResetandPulseKernelThread::SelfSuspendpass a pointer for the previous count and check the returnedX_STATUSX_FILE_BASIC_INFORMATION::attributesreads 32 bitsApp::ReportUnknownSettingsrex::detail::ForgetAppInterfaceswhen theQueryInterfaceof a module returns a different interface while the app runsapp.cache_rootto empty to keep no shader or pipeline cacheThanks
Thank you to everyone who contributed to this release!
NtRemoveIoCompletiontimeout, page query and old protection fixesXNetLogonGetTitleIDandXamUserGetAgeGroupTitleRuntime::AllocateThunk, thekOpenFoldersfile dialog mode andhid.sdl.background_eventsNtOpenFileargument fix, the title audio silence on terminate and theThreadStopexportSetLimitsaspect ratio fixapp.cache_rootdocsXamGetLanguage, the XEX header patch delta list, the texture unwatch and D3D12 back face stencil fixes, and the transcendental roundingWAIT_REG_MEMbackend hook, the texture fetch constant log, the timed wait back off and the cache defaultXMASetLoopData, the Tracy crash handler and the privileged port testnum_formattexture fetches