mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-22 19:54:59 -07: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");
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
@@ -12716,11 +12716,11 @@ rd_frame(void)
|
||||
RD_Window *ws = rd_window_open(window_dim, preferred_monitor, RD_CfgSrc_User);
|
||||
if(monitor_dim.x < 1920)
|
||||
{
|
||||
rd_cmd(RD_CmdKind_ResetToCompactPanels);
|
||||
rd_cmd(RD_CmdKind_ResetToCompactPanels, .window = rd_handle_from_window(ws));
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
// 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
|
||||
if(command_ready)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user