diff options
| author | Zelllll <56516451+Zelllll@users.noreply.github.com> | 2021-07-05 18:14:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-05 21:14:27 -0400 |
| commit | 6db3fc7b323e8d81ba848a2baa372b3295a1d29e (patch) | |
| tree | dc04ab357e99fc3df634d81005932dd8374e71a8 /src/code/z_actor.c | |
| parent | 0e51bf35a169f3f73c7fb7e9f31f6ccafb4ebb25 (diff) | |
Document most of global context (#198)
* doesn't build for some reason..?
* some formatting fixes
* windows calculator is trash
* fix!
* fix2
* most of global context documented
* interfacectx
* hopefully fix interface
* document restrictions
* envCtx done
* revert accidental change
* fix
* pause ctx done
* fixxxxxxxxxxxxxxx
* remove unintended zapd change
* fix..?
* format files
* Update include/z64.h
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* ocarinstaff
* Update include/z64.h
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Update include/z64.h
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* suggestions
* fix mistake in pausectx
* typo
* door context
* renames
* all nb removed
* Update include/z64.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Update include/functions.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* fix kanfont, new docs
* format files, merge master
* fix typo in linker script
* extract asm properly
* door context rename
* fixes in door context
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index 4a947be9c..94b941c56 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -736,7 +736,7 @@ void Actor_DrawAllSetup(GlobalContext* globalCtx) { void Actor_FreeOverlay(ActorOverlay* entry) { void* ramAddr; - if (entry->nbLoaded == 0) { + if (entry->numLoaded == 0) { ramAddr = entry->loadedRamAddr; if (ramAddr != NULL) { // Bit 1 - always loaded |
