Project

General

Profile

Actions

Emulator Issues #939

closed

(Mac OS X) Unable to find plugins

Added by peter.schwarz about 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. compile the app using nowx=true
  2. Run the DolphinNoGui

What is the expected output? What do you see instead?
The app should run the game.

Actual results:
51:50:141 N: BOOT Loading Settings from ./User/Config/Dolphin.ini
handler instance 0x0
51:50:174 E: * Warning: Error loading
/Users/pschwarz/Development/opensource/emulators/dolphin-emu-read-only/Binary/Darwin-i386/Dolphin.app/Contents/PlugInslibPlugin_DSP_HLE.dylib:
can't find file
Error loading
/Users/pschwarz/Development/opensource/emulators/dolphin-emu-read-only/Binary/Darwin-i386/Dolphin.app/Contents/PlugInslibPlugin_DSP_HLE.dylib:
can't find file
51:50:174 E: * Warning: Can't init DSP Plugin
Can't init DSP Plugin
51:50:174 E: * Warning: Couldn't init the core.
Check your configuration.
Couldn't init the core.
Check your configuration.

What version of the product are you using? On what operating system?
SVN rev 3173 on Mac OS X 10.5.6

Please provide any additional information below.
This is due to a problem with FileSearch, and the GetPluginsDirectory() in
FileUtil.

On APPLE builds, it does not append a '/' to the end of the plugin
directory. When the defaults are set, there is no separator placed between
the plugin dir and the plugin names. FileSearch automatically puts a slash
between the search dir (in this case, the plugin dir) and the found files.
When actually using the plugins, this file names don't match up, so the
PluginInfo's aren't found (the filenames don't match).

I've attached a diff with the changes I've made to fix the issue.

Actions

Also available in: Atom PDF