From 6283d3561879e700c7a273f7dd53fe4236c1b40b Mon Sep 17 00:00:00 2001 From: urchlay Date: Tue, 28 Jun 2005 12:20:06 +0000 Subject: [PATCH] One-liner fix for "sticky trap" bug pointed out by Lee Fastenau: the justHitTrap flag wasn't getting reset after a trap was hit. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@577 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/emucore/m6502/src/M6502Hi.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stella/src/emucore/m6502/src/M6502Hi.cxx b/stella/src/emucore/m6502/src/M6502Hi.cxx index 88e5fe06f..b2eef0c29 100644 --- a/stella/src/emucore/m6502/src/M6502Hi.cxx +++ b/stella/src/emucore/m6502/src/M6502Hi.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: M6502Hi.cxx,v 1.7 2005-06-21 05:00:46 urchlay Exp $ +// $Id: M6502Hi.cxx,v 1.8 2005-06-28 12:20:06 urchlay Exp $ //============================================================================ #include "M6502Hi.hxx" @@ -89,6 +89,7 @@ bool M6502High::execute(uInt32 number) if(justHitTrap) { + justHitTrap = false; if(myDebugger->start()) { return true; }