提交 1a75a473 编写于 作者: W wangkaifan

difftest: do some cleanup

上级 b3a2a1f7
...@@ -343,7 +343,6 @@ uint64_t Emulator::execute(uint64_t max_cycle, uint64_t max_instr) { ...@@ -343,7 +343,6 @@ uint64_t Emulator::execute(uint64_t max_cycle, uint64_t max_instr) {
break; break;
} }
} }
if (trapCode != STATE_RUNNING) break;
#ifdef VM_SAVABLE #ifdef VM_SAVABLE
static int snapshot_count = 0; static int snapshot_count = 0;
...@@ -625,4 +624,6 @@ void Emulator::snapshot_load(const char *filename) { ...@@ -625,4 +624,6 @@ void Emulator::snapshot_load(const char *filename) {
long sdcard_offset = 0; long sdcard_offset = 0;
stream.read(&sdcard_offset, sizeof(sdcard_offset)); stream.read(&sdcard_offset, sizeof(sdcard_offset));
if(fp) if(fp)
fse fseek(fp, sdcard_offset, SEEK_SET);
\ No newline at end of file }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册