global.set has been implemented, but not diff xmit for globals
This commit is contained in:
@@ -9,8 +9,10 @@ static void if_error_print_and_exit(const std::string_view str) {
|
||||
}
|
||||
}
|
||||
|
||||
static void dprintf_callback(const char *oneline) {
|
||||
fprintf(stderr, "DPRINTF: %s\n", oneline);
|
||||
static void dprint_callback(const char *oneline, size_t size) {
|
||||
fwrite("DPRINT:", 1, 7, stderr);
|
||||
fwrite(oneline, 1, size, stderr);
|
||||
fwrite("\n", 1, 1, stderr);
|
||||
fflush(stderr);
|
||||
}
|
||||
|
||||
@@ -546,7 +548,7 @@ class Driver {
|
||||
// Load the DLL and gain access to its functions.
|
||||
call_init_engine_wrapper(&engw);
|
||||
engw.replay_cb_sent_outgoing = replay_cb_sent_outgoing;
|
||||
engw.hook_dprintf(dprintf_callback);
|
||||
engw.hook_dprint(dprint_callback);
|
||||
|
||||
// If argv contains "replay <filename>", do a replay,
|
||||
// and then skip everything else.
|
||||
|
||||
Reference in New Issue
Block a user