summaryrefslogtreecommitdiffstats
path: root/ue3/mycpu/ccpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ue3/mycpu/ccpu.cpp')
-rw-r--r--ue3/mycpu/ccpu.cpp2
1 files changed, 1 insertions, 1 deletions
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()
66 throw runtime_error("Programcounter is out of bound"); 66 throw runtime_error("Programcounter is out of bound");
67 67
68 /* execute instruction */ 68 /* execute instruction */
69 m_program->at(pc)->execute(this); 69 (*m_program->at(pc))(this);
70 ++m_registers[0]; 70 ++m_registers[0];
71 } 71 }
72} 72}