Allow loading .so files for libretro, again, and throw a nice message
This commit is contained in:
parent
335c8104b6
commit
8c5bb6715a
|
@ -1564,7 +1564,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
ofd.RestoreDirectory = true;
|
||||
ofd.Filter = new FilesystemFilter("Libretro Cores", new[] { "dll" }).ToString();
|
||||
ofd.Filter = new FilesystemFilter("Libretro Cores", new[] { OSTailoredCode.IsUnixHost ? "so" : "dll" }).ToString();
|
||||
|
||||
if (ofd.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
|
|
|
@ -23,6 +23,8 @@ namespace BizHawk.Emulation.Cores.Libretro
|
|||
// TODO: codepath just for introspection (lighter weight; no speex, no controls, etc.)
|
||||
public LibretroCore(CoreComm nextComm, IGameInfo game, string corePath)
|
||||
{
|
||||
if (OSTailoredCode.IsUnixHost) throw new NotImplementedException("required library LibretroBridge is not yet available for Linux");
|
||||
|
||||
ServiceProvider = new BasicServiceProvider(this);
|
||||
_SyncSettings = new SyncSettings();
|
||||
CoreComm = nextComm;
|
||||
|
|
Loading…
Reference in New Issue