diff --git a/AppleWin/docs/Debugger_Changelog.txt b/AppleWin/docs/Debugger_Changelog.txt index 00c88338..db00ec96 100644 --- a/AppleWin/docs/Debugger_Changelog.txt +++ b/AppleWin/docs/Debugger_Changelog.txt @@ -1,4 +1,5 @@ /* + .9 Fixed: Bookmarks weren't initialized to zero. .8 Added: New command PWD to display the current debugger directory. This is the directory used for scripts, loading/saving memory, and trace files. Currently the debugger uses the same directory that the last disk image was loaded from. diff --git a/AppleWin/source/Debugger/Debug.cpp b/AppleWin/source/Debugger/Debug.cpp index 93f84cf5..1dd373a0 100644 --- a/AppleWin/source/Debugger/Debug.cpp +++ b/AppleWin/source/Debugger/Debug.cpp @@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #define ALLOW_INPUT_LOWERCASE 1 // See /docs/Debugger_Changelog.txt for full details - const int DEBUGGER_VERSION = MAKE_VERSION(2,7,0,8); + const int DEBUGGER_VERSION = MAKE_VERSION(2,7,0,9); // Public _________________________________________________________________________________________ @@ -46,7 +46,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Bookmarks __________________________________________________________________ // vector g_aBookmarks; - int g_nBookmarks; + int g_nBookmarks = 0; Bookmark_t g_aBookmarks[ MAX_BOOKMARKS ]; // Breakpoints ________________________________________________________________ @@ -461,7 +461,7 @@ void _Bookmark_Reset() //=========================================================================== int _Bookmark_Size() { - int g_nBookmarks = 0; + g_nBookmarks = 0; int iBookmark; for (iBookmark = 0; iBookmark < MAX_BOOKMARKS; iBookmark++ )