Commits

spencercw committed cd3fc9a

Fix loading of debugger plugins not in the current directory.

  • Participants
  • Parent commits a3850a1

Comments (0)

Files changed (1)

File gb_emulator/src/gb.cpp

 		if (starts_with(filename.native(), L"gb_debugger_") &&
 			ends_with(filename.native(), L".dll"))
 		{
-			pluginFiles.push_back(filename);
+			pluginFiles.push_back(it->path());
 		}
 	}
 
 	for (vector<fs::path>::const_iterator file = pluginFiles.begin(), end = pluginFiles.end();
 		file != end; ++file)
 	{
-		clog << "loading debugger " << *file << "...";
+		clog << "loading debugger " << *file << "...\n";
 
 		// Load the file
 		fs::path path = fs::absolute(*file);