Add raw prv ev method to specify the time
This commit is contained in:
parent
31e3f1218f
commit
9b39e4d69e
9
prv.c
9
prv.c
@ -3,6 +3,7 @@
|
||||
|
||||
#include "ovni.h"
|
||||
#include "emu.h"
|
||||
#include "prv.h"
|
||||
|
||||
void
|
||||
prv_ev(FILE *f, int row, int64_t time, int type, int val)
|
||||
@ -10,10 +11,16 @@ prv_ev(FILE *f, int row, int64_t time, int type, int val)
|
||||
fprintf(f, "2:0:1:1:%d:%ld:%d:%d\n", row, time, type, val);
|
||||
}
|
||||
|
||||
void
|
||||
prv_ev_thread_raw(struct ovni_emu *emu, int row, int64_t time, int type, int val)
|
||||
{
|
||||
prv_ev(emu->prv_thread, row, time, type, val);
|
||||
}
|
||||
|
||||
void
|
||||
prv_ev_thread(struct ovni_emu *emu, int row, int type, int val)
|
||||
{
|
||||
prv_ev(emu->prv_thread, row, emu->delta_time, type, val);
|
||||
prv_ev_thread_raw(emu, row, emu->delta_time, type, val);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user