mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
resolve register space -> primary module space in all visualizers which work on, broadly speaking, ranges of memory
This commit is contained in:
@@ -3962,6 +3962,16 @@ RD_VIEW_UI_FUNCTION_DEF(bitmap)
|
|||||||
Temp scratch = scratch_begin(0, 0);
|
Temp scratch = scratch_begin(0, 0);
|
||||||
Access *access = access_open();
|
Access *access = access_open();
|
||||||
|
|
||||||
|
//////////////////////////////
|
||||||
|
//- rjf: if parameterized by a register-space evaluation, interpret as an
|
||||||
|
// address in the primary module.
|
||||||
|
//
|
||||||
|
if(e_space_match(eval.space, e_base_ctx->thread_reg_space))
|
||||||
|
{
|
||||||
|
eval = e_value_eval_from_eval(eval);
|
||||||
|
eval.space = e_base_ctx->primary_module->space;
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
//- rjf: evaluate expression
|
//- rjf: evaluate expression
|
||||||
//
|
//
|
||||||
@@ -4544,6 +4554,16 @@ RD_VIEW_UI_FUNCTION_DEF(geo3d)
|
|||||||
Access *access = access_open();
|
Access *access = access_open();
|
||||||
RD_Geo3DViewState *state = rd_view_state(RD_Geo3DViewState);
|
RD_Geo3DViewState *state = rd_view_state(RD_Geo3DViewState);
|
||||||
|
|
||||||
|
//////////////////////////////
|
||||||
|
//- rjf: if parameterized by a register-space evaluation, interpret as an
|
||||||
|
// address in the primary module.
|
||||||
|
//
|
||||||
|
if(e_space_match(eval.space, e_base_ctx->thread_reg_space))
|
||||||
|
{
|
||||||
|
eval = e_value_eval_from_eval(eval);
|
||||||
|
eval.space = e_base_ctx->primary_module->space;
|
||||||
|
}
|
||||||
|
|
||||||
//////////////////////////////
|
//////////////////////////////
|
||||||
//- rjf: unpack parameters
|
//- rjf: unpack parameters
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user