提交 addeafae 编写于 作者: W William Wang

chore: print emu compile time in main()

上级 c49379fb
...@@ -8,6 +8,8 @@ std::function<double()> get_sc_time_stamp = []() -> double { return 0; }; ...@@ -8,6 +8,8 @@ std::function<double()> get_sc_time_stamp = []() -> double { return 0; };
double sc_time_stamp() { return get_sc_time_stamp(); } double sc_time_stamp() { return get_sc_time_stamp(); }
int main(int argc, const char** argv) { int main(int argc, const char** argv) {
printf("Emu compiled at %s, %s\n", __DATE__, __TIME__);
setbuf(stderr, mybuf); setbuf(stderr, mybuf);
auto emu = new Emulator(argc, argv); auto emu = new Emulator(argc, argv);
......
...@@ -100,7 +100,6 @@ void init_ram(const char *img) { ...@@ -100,7 +100,6 @@ void init_ram(const char *img) {
assert(0); assert(0);
} }
printf("Emu compiled at %s, %s\n", __DATE__, __TIME__);
printf("The image is %s\n", img); printf("The image is %s\n", img);
fseek(fp, 0, SEEK_END); fseek(fp, 0, SEEK_END);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册