]> khamidou — GitHub mirrors - debuggers.git/commitdiff
fixed link
authorkarim hamidou <khamidou@gmail.com>
Tue, 8 Jul 2014 07:26:45 +0000 (09:26 +0200)
committerkarim hamidou <khamidou@gmail.com>
Tue, 8 Jul 2014 07:26:45 +0000 (09:26 +0200)
_posts/2014-07-08-Marc-André-Cournoyer.markdown

index 05074d74b8352ee6d56bebf0f0ac6fc8fcb2da49..909b61feef6ea38853fe07b715d7ee58bbc886cb 100644 (file)
@@ -27,7 +27,7 @@ However, some of those instructions also play with the `pc`. One in particular i
 
 Here's the bug. Remember from earlier, I was incrementing the `pc` right after executing an instruction. That means each time an `if` was executed the VM would jump to a memory address **+ 2**. Two bytes too far.
 
-The solution was to increment the `pc` before executing the instruction: https://github.com/greatcodeclub/chip8/blob/master/vm.js#L37.
+The solution was to increment the `pc` before executing the instruction: [https://github.com/greatcodeclub/chip8/blob/master/vm.js#L37](https://github.com/greatcodeclub/chip8/blob/master/vm.js#L37).
 
 # Anything else to add?