mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:35:36 +00:00
* ExampleBrowser.cs: Correctly use the assembly location to locate
the Source directory.
This commit is contained in:
parent
3ec54fce34
commit
28a6600619
|
@ -443,6 +443,8 @@ namespace Examples
|
|||
// Tries to detect the path that contains the source for the examples.
|
||||
static string FindSourcePath(string guess)
|
||||
{
|
||||
guess = Path.GetDirectoryName(guess);
|
||||
|
||||
// Typically, our working directory is either "[opentk]/Binaries/OpenTK/[config]" or "[opentk]".
|
||||
// The desired source path is "[opentk]/Source/Examples/[ExampleCategory]"
|
||||
if (CheckPath(ref guess))
|
||||
|
|
Loading…
Reference in a new issue