mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 10:03:20 -08:00
fix artifact cache replaced-value deletion - this CAN NOT run if the new value == the old value
This commit is contained in:
1 parent
52da228efe
commit
de35a86505
8 files changed
+142
-26
No files matched your search
@@ -10488,9 +10488,14 @@ rd_frame(void)
|
||||
//////////////////////////////
|
||||
//- rjf: do per-frame resets
|
||||
//
|
||||
arena_clear(rd_frame_arena());
|
||||
rd_state->top_regs = &rd_state->base_regs;
|
||||
rd_regs_copy_contents(rd_frame_arena(), &rd_state->top_regs->v, &rd_state->top_regs->v);
|
||||
{
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
rd_state->top_regs = &rd_state->base_regs;
|
||||
rd_regs_copy_contents(scratch.arena, &rd_state->top_regs->v, &rd_state->top_regs->v);
|
||||
arena_clear(rd_frame_arena());
|
||||
rd_regs_copy_contents(rd_frame_arena(), &rd_state->top_regs->v, &rd_state->top_regs->v);
|
||||
scratch_end(scratch);
|
||||
}
|
||||
if(rd_state->next_hover_regs != 0)
|
||||
{
|
||||
rd_state->hover_regs = rd_regs_copy(rd_frame_arena(), rd_state->next_hover_regs);
|
||||
|
||||
Reference in new issue
Block a user