upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/library_loader.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 18:47:24 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 18:47:24 -0500
commitb06d096ad0943d5eda9bf1b17b3c3346688fc1f6 (patch)
tree3bfef3cbd5215cf0c7aa6b933419d31313fa3f3c /runtime/shims/library_loader.cpp
parentdfd62d7e2637f181516cfe14d7cbfd0e6dc0710d (diff)
parent94c9e43154c003acfb0b659104560c58423a7c5d (diff)
Merge main into RT-ALLOC9 (#395)
Merged on top of the merge made for #391 (main 507029d1e plus RT-QUEUE35). One conflict, in docs/d3d12_vulkan.md: both sides added a row at the same place of the Xbox-only table. Both are kept: this branch's "Command-allocator slot 9" row, then main's "Device slot 81, queue PresentX/SuspendX/ResumeX" row. The code and the tests merged without conflicts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/library_loader.cpp')
-rw-r--r--runtime/shims/library_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/shims/library_loader.cpp b/runtime/shims/library_loader.cpp
index 82dd75493..250fe0209 100644
--- a/runtime/shims/library_loader.cpp
+++ b/runtime/shims/library_loader.cpp
@@ -266,7 +266,7 @@ FARPROC WINAPI get_proc_address(HMODULE module, LPCSTR name) {
266 SetLastError(ERROR_PROC_NOT_FOUND); 266 SetLastError(ERROR_PROC_NOT_FOUND);
267 return nullptr; 267 return nullptr;
268 } 268 }
269 if (module && !IS_INTRESOURCE(name)) { 269 if (module) {
270 const DWORD error = GetLastError(); 270 const DWORD error = GetLastError();
271 const std::string dll = host_module_name(module); 271 const std::string dll = host_module_name(module);
272 void* shim = dll.empty() ? nullptr : find(dll, what); 272 void* shim = dll.empty() ? nullptr : find(dll, what);