diff options
| author | Chi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com> | 2025-06-09 14:16:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-09 08:16:43 +0200 |
| commit | caba957426f5a93a1e4d6db5a9894708b1ed71b8 (patch) | |
| tree | 44d92980ab14d398516fcfb2967492f2271a8318 /src/dynarec/dynablock.c | |
| parent | 873be3cf879e3635a996bcdc34b3e3a6c15969a0 (diff) | |
| download | box64-caba957426f5a93a1e4d6db5a9894708b1ed71b8.tar.gz box64-caba957426f5a93a1e4d6db5a9894708b1ed71b8.zip | |
Refine the naming scheme in rbtree (#2717)
Replaced all occurrences of `rb_get_righter` with `rb_get_rightmost` and `rb_get_lefter` with `rb_get_leftmost` for improved semantic clarity. Also updated related function declarations, definitions, and usage across: - rbtree.c - rbtree.h - custommem.c - dynablock.c - env.c - box64context.c
Diffstat (limited to 'src/dynarec/dynablock.c')
| -rw-r--r-- | src/dynarec/dynablock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/dynablock.c b/src/dynarec/dynablock.c index 2556f137..2c935e0a 100644 --- a/src/dynarec/dynablock.c +++ b/src/dynarec/dynablock.c @@ -61,7 +61,7 @@ dynablock_t* InvalidDynablock(dynablock_t* db, int need_lock) if(db_size && my_context) { uint32_t n = rb_dec(my_context->db_sizes, db_size, db_size+1); if(!n && (db_size >= my_context->max_db_size)) { - my_context->max_db_size = rb_get_righter(my_context->db_sizes); + my_context->max_db_size = rb_get_rightmost(my_context->db_sizes); dynarec_log(LOG_INFO, "BOX64 Dynarec: lower max_db=%d\n", my_context->max_db_size); } } @@ -103,7 +103,7 @@ void FreeDynablock(dynablock_t* db, int need_lock) if(db_size && my_context) { uint32_t n = rb_dec(my_context->db_sizes, db_size, db_size+1); if(!n && (db_size >= my_context->max_db_size)) { - my_context->max_db_size = rb_get_righter(my_context->db_sizes); + my_context->max_db_size = rb_get_rightmost(my_context->db_sizes); dynarec_log(LOG_INFO, "BOX64 Dynarec: lower max_db=%d\n", my_context->max_db_size); } } |