mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-27 09:50:10 +00:00
memory view: globals & procedures annotations, changed & bad visualization
This commit is contained in:
@@ -647,8 +647,12 @@ rdi_first_voff_from_scope(RDI_Parsed *rdi, RDI_Scope *scope)
|
||||
RDI_PROC RDI_U64
|
||||
rdi_opl_voff_from_scope(RDI_Parsed *rdi, RDI_Scope *scope)
|
||||
{
|
||||
RDI_U64 *voffs = rdi_element_from_name_idx(rdi, ScopeVOffData, scope->voff_range_opl);
|
||||
RDI_U64 result = *voffs;
|
||||
RDI_U64 result = 0;
|
||||
if(scope->voff_range_opl != 0)
|
||||
{
|
||||
RDI_U64 *voffs = rdi_element_from_name_idx(rdi, ScopeVOffData, scope->voff_range_opl-1);
|
||||
result = *voffs;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user