Skip to content

Commit c94ff68

Browse files
committed
move mupenplus rom db to gamedb folder
1 parent 1b18be5 commit c94ff68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
File renamed without changes.

src/BizHawk.Emulation.Cores/Consoles/Nintendo/Mupen64/Mupen64.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Threading;
44
using BizHawk.BizInvoke;
55
using BizHawk.Common;
6+
using BizHawk.Common.PathExtensions;
67
using BizHawk.Emulation.Common;
78
using static BizHawk.Emulation.Cores.Consoles.Nintendo.Mupen64.Mupen64Api;
89

@@ -79,7 +80,7 @@ public Mupen64(CoreLoadParameters<object, SyncSettings> loadParameters)
7980
_debuggerUpdateCallback = DebuggerUpdateCallback;
8081
Mupen64Api.DebugSetCallbacks(_debuggerInitCallback, _debuggerUpdateCallback, null);
8182

82-
ThrowIfError(Mupen64Api.CoreStartup(FRONTEND_API_VERSION, null, Path.Combine(AppContext.BaseDirectory, "dll"), IntPtr.Zero, _debugCallback, IntPtr.Zero, _stateCallback), "CoreStartup failed");
83+
ThrowIfError(Mupen64Api.CoreStartup(FRONTEND_API_VERSION, null, Path.Combine(PathUtils.ExeDirectoryPath, "gamedb"), IntPtr.Zero, _debugCallback, IntPtr.Zero, _stateCallback), "CoreStartup failed");
8384

8485
IntPtr coreConfigSection = IntPtr.Zero;
8586
Mupen64Api.ConfigOpenSection("Core", ref coreConfigSection);

0 commit comments

Comments
 (0)