summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index 282e7fe4..217446ed 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -628,6 +628,14 @@ public:
return (btGetMaskBit32(m_flags1, 9, 9) ? true : false);
}
+ void set_rt_prio_mode(bool enable) {
+ btSetMaskBit32(m_flags1, 10, 10, (enable ? 1 : 0) );
+ }
+
+ bool get_rt_prio_mode() {
+ return (btGetMaskBit32(m_flags1, 10, 10) ? true : false);
+ }
+
public:
void Dump(FILE *fd);