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:
authorVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 19:08:54 +0100
committerVonsek <45567075+Vonsek@users.noreply.github.com>2026-11-22 19:08:54 +0100
commit3af42c619253941610d9809e8a28a07e8dfdfdf2 (patch)
treea675793195f8bc69c3caebb0e9614ecfb65e1c4c /runtime/shims/registry.cpp
parente6af0a0931639ff33cdd4a28289da984f194c87e (diff)
parentec8ec4c9a46c6623f1a9c125afd3566da97f1e0c (diff)
merge: preserve upstream changes alongside the asset fix
Diffstat (limited to 'runtime/shims/registry.cpp')
-rw-r--r--runtime/shims/registry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/shims/registry.cpp b/runtime/shims/registry.cpp
index 52c168484..37ff540c5 100644
--- a/runtime/shims/registry.cpp
+++ b/runtime/shims/registry.cpp
@@ -422,11 +422,11 @@ void* find_loaded_bundled_module(const std::string& dll_lower) {
422 return nullptr; 422 return nullptr;
423} 423}
424 424
425void* load_bundled_module(const std::string& dll_lower, bool& handled) { 425void* load_bundled_module(const std::string& dll_lower, uint32_t flags, bool& handled) {
426 handled = false; 426 handled = false;
427 for (const auto& entry : snapshot_bundled_loaders()) { 427 for (const auto& entry : snapshot_bundled_loaders()) {
428 bool loader_handled = false; 428 bool loader_handled = false;
429 void* h = entry.ops->load_bundled(entry.ctx, dll_lower, loader_handled); 429 void* h = entry.ops->load_bundled(entry.ctx, dll_lower, flags, loader_handled);
430 if (loader_handled) { 430 if (loader_handled) {
431 handled = true; 431 handled = true;
432 return h; 432 return h;