help must now be in the same directory as fceux.exe
now the vcproj copies the chm to the output directory (which could be complex and contain other useful files)
This commit is contained in:
parent
952671c6b5
commit
fc66466f09
|
@ -6,7 +6,7 @@ void OpenHelpWindow(const char *subpage)
|
|||
{
|
||||
char helpFileName[MAX_PATH];
|
||||
strcpy(helpFileName, BaseDirectory);
|
||||
strcat(helpFileName, "\\help\\fceux.chm");
|
||||
strcat(helpFileName, "\\fceux.chm");
|
||||
if (subpage)
|
||||
{
|
||||
strcat(helpFileName, "::/");
|
||||
|
|
|
@ -2251,6 +2251,15 @@
|
|||
<File
|
||||
RelativePath="..\src\drivers\win\help\fceux.chm"
|
||||
>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine="copy /y ..\src\drivers\win\help\fceux.chm $(OutDir)"
|
||||
Outputs="$(OutDir)\fceux.chm"
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\fds.cpp"
|
||||
|
|
Loading…
Reference in New Issue