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.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/shims/registry.cpp b/runtime/shims/registry.cpp
index 37ff540c5..3f084f45a 100644
--- a/runtime/shims/registry.cpp
+++ b/runtime/shims/registry.cpp
@@ -76,9 +76,11 @@ std::vector<Lookup> g_lookups;
76// left out on purpose. 76// left out on purpose.
77// gameinput.dll GameInputCreate: HRESULT (gaming/gdk/docs/reference/input/gameinput/functions/ 77// gameinput.dll GameInputCreate: HRESULT (gaming/gdk/docs/reference/input/gameinput/functions/
78// gameinputcreate). The shim implements it (runtime/shims/gameinput.cpp); the class is 78// gameinputcreate). The shim implements it (runtime/shims/gameinput.cpp); the class is
79// listed anyway for a build or import it misses. 79// listed anyway for a build or import it misses. "#1" is the same function by ordinal:
80// ordinal 1 is GameInputCreate in the console export inventory (docs/d3d12_vulkan.md §7).
80// xaudio2_9.dll XAudio2Create: HRESULT (learn.microsoft.com/windows/win32/api/xaudio2/ 81// 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). 82// xaudio2_9redist.dll nf-xaudio2-xaudio2create). xaudio2_9.dll is the console name (docs/d3d12_vulkan.md §7).
83// "#1" is XAudio2Create by ordinal, ordinal 1 verified in the same inventory.
82// dstorage.dll DStorageGetFactory: HRESULT (learn.microsoft.com/windows/win32/api/dstorage/ 84// 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. 85// dstorage_xs.dll nf-dstorage-dstoragegetfactory). dstorage_xs.dll is the console name.
84const char* const kNotHResult[] = { 86const char* const kNotHResult[] = {
@@ -108,9 +110,9 @@ ReturnClass classify(const std::string& dll, const std::string& name) {
108 name == "DXGIDeclareAdapterRemovalSupport") 110 name == "DXGIDeclareAdapterRemovalSupport")
109 return ReturnClass::HResult; 111 return ReturnClass::HResult;
110 } else if (dll == "xaudio2_9.dll" || dll == "xaudio2_9redist.dll") { 112 } else if (dll == "xaudio2_9.dll" || dll == "xaudio2_9redist.dll") {
111 if (name == "XAudio2Create") return ReturnClass::HResult; 113 if (name == "XAudio2Create" || name == "#1") return ReturnClass::HResult;
112 } else if (dll == "gameinput.dll") { 114 } else if (dll == "gameinput.dll") {
113 if (name == "GameInputCreate") return ReturnClass::HResult; 115 if (name == "GameInputCreate" || name == "#1") return ReturnClass::HResult;
114 } else if (dll == "dstorage.dll" || dll == "dstorage_xs.dll") { 116 } else if (dll == "dstorage.dll" || dll == "dstorage_xs.dll") {
115 if (name == "DStorageGetFactory") return ReturnClass::HResult; 117 if (name == "DStorageGetFactory") return ReturnClass::HResult;
116 } else if (dll == "xgameruntime.dll") { 118 } else if (dll == "xgameruntime.dll") {