1
0

ダイレクトモードが正常に動かなかった問題を修正

This commit is contained in:
otya128
2016-09-03 10:46:47 +09:00
parent 5e1d3c40ef
commit 805f79a225

View File

@@ -129,7 +129,7 @@ class VM
}
void processBreakPoint()
{
if (currentSlot.debugInfo.location[pc].isBreakPoint)
if (currentSlot.debugInfo.location.length > pc && currentSlot.debugInfo.location[pc].isBreakPoint)
{
//TODO:まともにする
writefln("break point\nslot:%d,pc:%d,line:%d", currentSlotNumber, pc, currentSlot.debugInfo.location[pc].location.line);