From 431bbac5a99abbccf33500e22aa353ec792eff94 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 13 May 2009 15:29:51 +0200 Subject: * adding -Wno-long-long to all Makefiles * adding execute operator to cinstruction * added labels map for better performance --- ue3/mycpu/ccpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ue3/mycpu/ccpu.cpp') diff --git a/ue3/mycpu/ccpu.cpp b/ue3/mycpu/ccpu.cpp index b1539a4..16209e2 100644 --- a/ue3/mycpu/ccpu.cpp +++ b/ue3/mycpu/ccpu.cpp @@ -66,7 +66,7 @@ void CCPU::run() throw runtime_error("Programcounter is out of bound"); /* execute instruction */ - m_program->at(pc)->execute(this); + (*m_program->at(pc))(this); ++m_registers[0]; } } -- cgit v1.2.3