From 561936d536f35bd5f5f4213dfd7c02e6860011d1 Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 31 Jul 2008 18:32:07 +0000 Subject: [PATCH] Memwatch Menu > Memwatch Commands now opens memory watch chapter in the help .chm --- src/drivers/win/memwatch.cpp | 5 +- vc8/fceux.vcproj | 210 +++++++++++++++++------------------ 2 files changed, 109 insertions(+), 106 deletions(-) diff --git a/src/drivers/win/memwatch.cpp b/src/drivers/win/memwatch.cpp index 6a96ec78..30780344 100644 --- a/src/drivers/win/memwatch.cpp +++ b/src/drivers/win/memwatch.cpp @@ -24,7 +24,8 @@ #include "../../debug.h" #include "debugger.h" #include "../../utils/xstring.h" - +#include "help.h" +#include const int NUMWATCHES = 24; const int LABELLENGTH = 64; const int ADDRESSLENGTH = 16; @@ -41,6 +42,7 @@ bool fileChanged = false; bool MemWatchLoadOnStart = false; bool MemWatchLoadFileOnStart = false; static HMENU memwmenu = 0; +std::string memwhelp = "{01ABA5FD-D54A-44EF-961A-42C7AA586D95}"; //Name of memory watch chapter in .chm (sure would be nice to get better names for these!" char *memw_recent_files[] = { 0 ,0 ,0 ,0 ,0 }; @@ -739,6 +741,7 @@ static BOOL CALLBACK MemWatchCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA break; case MEMW_HELP_WCOMMANDS: + OpenHelpWindow(memwhelp); break; default: diff --git a/vc8/fceux.vcproj b/vc8/fceux.vcproj index d9bbbb69..cc6ce9b8 100644 --- a/vc8/fceux.vcproj +++ b/vc8/fceux.vcproj @@ -103,6 +103,88 @@ CommandLine="xcopy /y /d "$(ProjectDir)\..\src\drivers\win\7z.dll" "$(OutDir)" " /> + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + @@ -2234,15 +2243,6 @@ CompileAs="1" /> - - - @@ -2294,7 +2294,7 @@ />