Closed mayawarrier closed 3 years ago
Thanks for patch, it is correct but it has two issues:
g_win32_get_package_installation_directory_of_module
function is used in more places.@AmatCoder Just made the required fixes. Let me know if more changes are needed.
hey @AmatCoder, just following up on this PR :)
Merged. Thanks very much!
It seems from reading the code that the intent is to look in the process directory for mednafen.cfg.
g_win32_get_package_installation_directory_of_module()
returns the parent directory when the path contains "bin" or "lib".I switched out
g_win32_get_package_installation_directory_of_module(NULL)
with new functionwin32_get_process_directory()
instead.Resolves #129