diff --git a/pkg/osx/IWADController.m b/pkg/osx/IWADController.m index a22bd8ab..2b11eae6 100644 --- a/pkg/osx/IWADController.m +++ b/pkg/osx/IWADController.m @@ -15,6 +15,8 @@ #include #include #include + +#include "config.h" #include "IWADController.h" typedef enum @@ -367,7 +369,7 @@ static const char *NameForIWAD(IWAD iwad) NSString *base = [array objectAtIndex:0]; return [NSString pathWithComponents: - [NSArray arrayWithObjects: base, @"chocolate-doom", @"autoload", + [NSArray arrayWithObjects: base, @PACKAGE_TARNAME, @"autoload", IWADFilenames[selectedIWAD], nil]]; }