upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/registry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/shims/registry.cpp')
-rw-r--r--runtime/shims/registry.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/shims/registry.cpp b/runtime/shims/registry.cpp
index 37ff540c5..047645401 100644
--- a/runtime/shims/registry.cpp
+++ b/runtime/shims/registry.cpp
@@ -80,7 +80,10 @@ std::vector<Lookup> g_lookups;
80// xaudio2_9.dll XAudio2Create: HRESULT (learn.microsoft.com/windows/win32/api/xaudio2/ 80// xaudio2_9.dll XAudio2Create: HRESULT (learn.microsoft.com/windows/win32/api/xaudio2/
81// xaudio2_9redist.dll nf-xaudio2-xaudio2create). xaudio2_9.dll is the console name (docs/d3d12_vulkan.md §7). 81// xaudio2_9redist.dll nf-xaudio2-xaudio2create). xaudio2_9.dll is the console name (docs/d3d12_vulkan.md §7).
82// dstorage.dll DStorageGetFactory: HRESULT (learn.microsoft.com/windows/win32/api/dstorage/ 82// dstorage.dll DStorageGetFactory: HRESULT (learn.microsoft.com/windows/win32/api/dstorage/
83// dstorage_xs.dll nf-dstorage-dstoragegetfactory). dstorage_xs.dll is the console name. 83// dstorage_xs.dll nf-dstorage-dstoragegetfactory, and the GDK's gaming/gdk/docs/reference/system/dstorage/
84// xcrdapi.dll functions/dstoragegetfactory). dstorage_xs.dll is the console name; xcrdapi.dll is a
85// console module the title may import it from (docs/directstorage.md). dstorage.cpp serves
86// it; the class is kept for a build without that shim.
84const char* const kNotHResult[] = { 87const char* const kNotHResult[] = {
85 "XAsyncCancel", "XAsyncComplete", 88 "XAsyncCancel", "XAsyncComplete",
86 "XTaskQueueCloseHandle", "XTaskQueueDispatch", "XTaskQueueGetCurrentProcessTaskQueue", 89 "XTaskQueueCloseHandle", "XTaskQueueDispatch", "XTaskQueueGetCurrentProcessTaskQueue",
@@ -111,7 +114,7 @@ ReturnClass classify(const std::string& dll, const std::string& name) {
111 if (name == "XAudio2Create") return ReturnClass::HResult; 114 if (name == "XAudio2Create") return ReturnClass::HResult;
112 } else if (dll == "gameinput.dll") { 115 } else if (dll == "gameinput.dll") {
113 if (name == "GameInputCreate") return ReturnClass::HResult; 116 if (name == "GameInputCreate") return ReturnClass::HResult;
114 } else if (dll == "dstorage.dll" || dll == "dstorage_xs.dll") { 117 } else if (dll == "dstorage.dll" || dll == "dstorage_xs.dll" || dll == "xcrdapi.dll") {
115 if (name == "DStorageGetFactory") return ReturnClass::HResult; 118 if (name == "DStorageGetFactory") return ReturnClass::HResult;
116 } else if (dll == "xgameruntime.dll") { 119 } else if (dll == "xgameruntime.dll") {
117 if (name == "XGameRuntimeInitialize" || name == "XGameEventWrite") return ReturnClass::HResult; 120 if (name == "XGameRuntimeInitialize" || name == "XGameEventWrite") return ReturnClass::HResult;