<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/code/code_800FC620.c, branch main</title>
<subtitle>Decompilation of The Legend of Zelda: Ocarina of Time</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/'/>
<entry>
<title>libu64 (#2267)</title>
<updated>2024-11-01T22:47:12+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-11-01T22:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=5b27899b9fea7cc704cee9c0e740c00fbf24ddab'/>
<id>5b27899b9fea7cc704cee9c0e740c00fbf24ddab</id>
<content type='text'>
* libu64

* logutils.o -&gt; debug.o in spec

* stackcheck.c is part of libu64

* review

* add paragraph about Overlay_Load calling an external function

* audio code*</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* libu64

* logutils.o -&gt; debug.o in spec

* stackcheck.c is part of libu64

* review

* add paragraph about Overlay_Load calling an external function

* audio code*</pre>
</div>
</content>
</entry>
<entry>
<title>[headers 13] osMalloc.h -&gt; include/libc64/os_malloc.h (#2175)</title>
<updated>2024-09-08T21:47:25+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-09-08T21:47:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=fb37d7c6cd930ebe170874eb88abc32678403669'/>
<id>fb37d7c6cd930ebe170874eb88abc32678403669</id>
<content type='text'>
* [headers 13] osMalloc.h -&gt; include/libc64/os_malloc.h

* also update the #includes :)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* [headers 13] osMalloc.h -&gt; include/libc64/os_malloc.h

* also update the #includes :)</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some boot and code data (#2155)</title>
<updated>2024-09-07T12:10:52+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-09-07T12:10:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=a30f130eb9e48d55d8d7c935fb708af1156fee42'/>
<id>a30f130eb9e48d55d8d7c935fb708af1156fee42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ntsc-1.2] Match __osMalloc.c and code_800FC620.c (new/delete) (#2106)</title>
<updated>2024-09-04T09:10:14+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-09-04T09:10:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=c6d7cc7697c67989b1f018ae2bc934f6677c09b7'/>
<id>c6d7cc7697c67989b1f018ae2bc934f6677c09b7</id>
<content type='text'>
* Match __osMalloc

* Match src/code/code_800FC620.c (new/delete)

* Wrap versions-specific files in ifdefs to fix compilation

* Fix bss

* Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64

* Fix __osMalloc data splits, add unused strings

* __osMalloc.h -&gt; osMalloc.h

* Fix merge</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match __osMalloc

* Match src/code/code_800FC620.c (new/delete)

* Wrap versions-specific files in ifdefs to fix compilation

* Fix bss

* Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64

* Fix __osMalloc data splits, add unused strings

* __osMalloc.h -&gt; osMalloc.h

* Fix merge</pre>
</div>
</content>
</entry>
<entry>
<title>More data fixes (#1929)</title>
<updated>2024-03-23T16:30:09+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-03-23T16:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=872940d6645518456e4438ca7e6fb9220406298a'/>
<id>872940d6645518456e4438ca7e6fb9220406298a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Match stackcheck.c and code_800FC620.c (#1656)</title>
<updated>2024-02-02T04:17:17+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-02-02T04:17:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=3be307bf35e99624edc328206061ab4503a48251'/>
<id>3be307bf35e99624edc328206061ab4503a48251</id>
<content type='text'>
* Match stackcheck.c

* Match code_800FC620.c</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match stackcheck.c

* Match code_800FC620.c</pre>
</div>
</content>
</entry>
<entry>
<title>Fix misc 21 (#1573)</title>
<updated>2023-11-12T21:59:52+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2023-11-12T21:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=4c75260097135edb171501942e451474fce66c50'/>
<id>4c75260097135edb171501942e451474fce66c50</id>
<content type='text'>
* Make `sNew` in (unused) `code_800FC620.c` a string

It is passed as a filename to `__osMallocDebug` so should be a nul-terminated string, not a char[3] missing an explicit \0

* Fix gcc warning in `JpegDecoder_ParseNextSymbol` about SLL on negative value

-1U is an unsigned value, aka 0xFFFFFFFF
I keep -1 because it seems that's what a jpeg standard has too

References:
https://stackoverflow.com/questions/40508958/shifting-a-negative-signed-value-is-undefined
https://www.w3.org/Graphics/JPEG/itu-t81.pdf (page 105, figure F.12)

* Small cleanup

* Fix few mistakes (thanks gcc warnings)

* Add `@bug` in file select settings draw code, using the wrong array

* format

* format main

* rename arg for a happy formatter

* Move important function call out of a printf</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make `sNew` in (unused) `code_800FC620.c` a string

It is passed as a filename to `__osMallocDebug` so should be a nul-terminated string, not a char[3] missing an explicit \0

* Fix gcc warning in `JpegDecoder_ParseNextSymbol` about SLL on negative value

-1U is an unsigned value, aka 0xFFFFFFFF
I keep -1 because it seems that's what a jpeg standard has too

References:
https://stackoverflow.com/questions/40508958/shifting-a-negative-signed-value-is-undefined
https://www.w3.org/Graphics/JPEG/itu-t81.pdf (page 105, figure F.12)

* Small cleanup

* Fix few mistakes (thanks gcc warnings)

* Add `@bug` in file select settings draw code, using the wrong array

* format

* format main

* rename arg for a happy formatter

* Move important function call out of a printf</pre>
</div>
</content>
</entry>
<entry>
<title>Fix many missing NULLs (#1389)</title>
<updated>2022-10-04T05:18:50+00:00</updated>
<author>
<name>Roman971</name>
<email>32455037+Roman971@users.noreply.github.com</email>
</author>
<published>2022-10-04T05:18:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=2f4c25da53b3a23251a6f2ab477d588b4da38475'/>
<id>2f4c25da53b3a23251a6f2ab477d588b4da38475</id>
<content type='text'>
* Fix many missing NULLs

* Fix a raw actor id in en_horse</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix many missing NULLs

* Fix a raw actor id in en_horse</pre>
</div>
</content>
</entry>
<entry>
<title>Overlay Functions Cleanup (#1235)</title>
<updated>2022-05-31T18:28:17+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2022-05-31T18:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=bd6b51a869b34c1695397dcfc9ef3248faa2e5b0'/>
<id>bd6b51a869b34c1695397dcfc9ef3248faa2e5b0</id>
<content type='text'>
* Cleanup load functions

* Some cleanup

* forgot .

* Split off Overlay_Load

* review

* OverlayRelocationType -&gt; MIPSRelocationType

* Reloc type macro and mips relocations</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup load functions

* Some cleanup

* forgot .

* Split off Overlay_Load

* review

* OverlayRelocationType -&gt; MIPSRelocationType

* Reloc type macro and mips relocations</pre>
</div>
</content>
</entry>
<entry>
<title>Fix misc 12 (#1222)</title>
<updated>2022-05-15T14:38:31+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2022-05-15T14:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=811b2d6ad2215a00e9f80546d1a55319f0264205'/>
<id>811b2d6ad2215a00e9f80546d1a55319f0264205</id>
<content type='text'>
* (light) `src` to `src/code/code_8006C510.c`

* `setup + entrance` -&gt; `entrance + setup`

* Decimal for `gdSPDefLights1` args (colors, unit vector)

* Run formatter

* `firstDone` bool -&gt; `materialFlag`

* `ENTR_MAX`: 0x613 -&gt; 0x614

* revert `materialFlag` to bool++ for now</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* (light) `src` to `src/code/code_8006C510.c`

* `setup + entrance` -&gt; `entrance + setup`

* Decimal for `gdSPDefLights1` args (colors, unit vector)

* Run formatter

* `firstDone` bool -&gt; `materialFlag`

* `ENTR_MAX`: 0x613 -&gt; 0x614

* revert `materialFlag` to bool++ for now</pre>
</div>
</content>
</entry>
</feed>
