mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 05:48:40 +00:00
fix first-time startup not being parameterized by startup window
This commit is contained in:
@@ -401,6 +401,17 @@ type_coverage_eval_tests(void){
|
|||||||
TestFunction *function = mule_get_module_function("dll_type_eval_tests");
|
TestFunction *function = mule_get_module_function("dll_type_eval_tests");
|
||||||
function();
|
function();
|
||||||
|
|
||||||
|
int abc = 0;
|
||||||
|
for(int i = 0; i < 1000; i += 1)
|
||||||
|
{
|
||||||
|
if(i == 500)
|
||||||
|
{
|
||||||
|
abc+= 1;
|
||||||
|
}
|
||||||
|
int a = i + abc;
|
||||||
|
int b = a*5;
|
||||||
|
}
|
||||||
|
|
||||||
int x = (int)(Anonymous_D);
|
int x = (int)(Anonymous_D);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12716,11 +12716,11 @@ rd_frame(void)
|
|||||||
RD_Window *ws = rd_window_open(window_dim, preferred_monitor, RD_CfgSrc_User);
|
RD_Window *ws = rd_window_open(window_dim, preferred_monitor, RD_CfgSrc_User);
|
||||||
if(monitor_dim.x < 1920)
|
if(monitor_dim.x < 1920)
|
||||||
{
|
{
|
||||||
rd_cmd(RD_CmdKind_ResetToCompactPanels);
|
rd_cmd(RD_CmdKind_ResetToCompactPanels, .window = rd_handle_from_window(ws));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rd_cmd(RD_CmdKind_ResetToDefaultPanels);
|
rd_cmd(RD_CmdKind_ResetToDefaultPanels, .window = rd_handle_from_window(ws));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -14463,6 +14463,13 @@ rd_frame(void)
|
|||||||
rd_cmd(RD_CmdKind_CancelQuery);
|
rd_cmd(RD_CmdKind_CancelQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// rjf: unset command register slot, if we keep old input (and thus need
|
||||||
|
// to re-query user)
|
||||||
|
if(info->query.flags & RD_QueryFlag_KeepOldInput)
|
||||||
|
{
|
||||||
|
ws->query_cmd_regs_mask[slot/64] &= ~(1ull<<(slot%64));
|
||||||
|
}
|
||||||
|
|
||||||
// rjf: push command if possible
|
// rjf: push command if possible
|
||||||
if(command_ready)
|
if(command_ready)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user