aboutsummaryrefslogtreecommitdiff
path: root/tests/src/chr-ram.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-10 12:46:21 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-01-10 12:46:21 +0100
commit126e5eba61c3ca2b74fb9e7d52c91d90e8315a0c (patch)
tree21c66cecebb27df553f09f2cc60c7b2ace3f6a30 /tests/src/chr-ram.s
parent68ce788d00fe0b8353b7e6aee5ce8dfae564ea5a (diff)
downloadtools.nes-126e5eba61c3ca2b74fb9e7d52c91d90e8315a0c.tar.gz
tools.nes-126e5eba61c3ca2b74fb9e7d52c91d90e8315a0c.zip
Properly fill the context stack when forcing it
When calling `force_context_switch` the stack was mindlessly pushing the given name without taking into consideration how scopes are to be laid out. This made some variables/addresses that were previously preserved no longer reachable when crunching pending nodes. This patch also makes `force_context_switch` reset the stack before doing anything at all, which means that `force_context_pop` was no longer relevant. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'tests/src/chr-ram.s')
0 files changed, 0 insertions, 0 deletions