diff --git a/Capy64/Runtime/Sandbox.cs b/Capy64/Runtime/Sandbox.cs index 6e1872c..ccae526 100644 --- a/Capy64/Runtime/Sandbox.cs +++ b/Capy64/Runtime/Sandbox.cs @@ -164,6 +164,9 @@ internal class Sandbox var libname = L.CheckString(1); var searchpath = L.CheckString(2); + + libname = libname.Replace('.', '/'); + var possiblePaths = searchpath .Split(';') .Select(p => p.Replace("?", libname));