提交 fdedb3ab 编写于 作者: Y Yinan Xu

emu: move compile time printf to emu.cpp

上级 ef8a1797
......@@ -74,6 +74,7 @@ Emulator::Emulator(int argc, const char *argv[]):
cycles(0), hascommit(0), trapCode(STATE_RUNNING)
{
args = parse_args(argc, argv);
printf("Emu compiled at %s, %s UTC\n", __DATE__, __TIME__);
// srand
srand(args.seed);
......
......@@ -100,7 +100,6 @@ void init_ram(const char *img) {
assert(0);
}
printf("Emu compiled at %s, %s\n", __DATE__, __TIME__);
printf("The image is %s\n", img);
fseek(fp, 0, SEEK_END);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册