Skip to content

Commit 36b5098

Browse files
committed
fix conditional breakpoints, post demon2/ctrl passes
1 parent 32114c3 commit 36b5098

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ctrl/ctrl_core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2923,7 +2923,7 @@ ctrl_thread__run(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg)
29232923
//
29242924
CTRL_Entity *thread = ctrl_entity_from_machine_id_handle(ctrl_state->ctrl_thread_entity_store, CTRL_MachineID_Local, event->thread);
29252925
Architecture arch = thread->arch;
2926-
U64 thread_rip_vaddr = dmn_rsp_from_thread(event->thread);
2926+
U64 thread_rip_vaddr = dmn_rip_from_thread(event->thread);
29272927
DMN_Handle module = {0};
29282928
String8 module_name = {0};
29292929
U64 module_base_vaddr = 0;

src/df/core/df_core.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -8036,9 +8036,9 @@ df_core_begin_frame(Arena *arena, DF_CmdList *cmds, F32 dt)
80368036
{
80378037
df_entity_equip_color_hsva(bp_ent, hsva);
80388038
}
8039-
if(cond_cfg->string.size != 0)
8039+
if(cond_cfg->first->string.size != 0)
80408040
{
8041-
String8 cond_raw = df_cfg_raw_from_escaped_string(scratch.arena, cond_cfg->string);
8041+
String8 cond_raw = df_cfg_raw_from_escaped_string(scratch.arena, cond_cfg->first->string);
80428042
DF_Entity *cond = df_entity_alloc(0, bp_ent, DF_EntityKind_Condition);
80438043
df_entity_equip_name(0, cond, cond_raw);
80448044
}

src/df/gfx/df_view_rules.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ DF_GFX_VIEW_RULE_BLOCK_UI_FUNCTION_DEF(bitmap)
979979
UI_Column UI_Padding(ui_pct(1.f, 0.f))
980980
UI_PrefHeight(ui_px(img_dim, 1.f))
981981
{
982-
ui_image(texture, r2f32(v2f32(0, 0), v2f32((F32)topology_info.width, (F32)topology_info.height)), v4f32(1, 1, 1, 1), 10.f*(1-state->loaded_t), str8_lit("image_box"));
982+
ui_image(texture, r2f32(v2f32(0, 0), v2f32((F32)topology_info.width, (F32)topology_info.height)), v4f32(1, 1, 1, state->loaded_t), 10.f*(1-state->loaded_t), str8_lit("image_box"));
983983
}
984984
}
985985

0 commit comments

Comments
 (0)