<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/code/system_malloc.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>[headers 9] Add src/libc64/ and new "z64" rand.h (#2164)</title>
<updated>2024-09-08T21:11:41+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-09-08T21:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=c7ec814d7897456ecdf1772e395a13f048b5133d'/>
<id>c7ec814d7897456ecdf1772e395a13f048b5133d</id>
<content type='text'>
* rand.h -&gt; libc64/qrand.h

* Add rand.h with z64 rand wrappers

* yeet comment

* code/rand.c -&gt; libc64/qrand.c

* fixup

* move libc64 source to src/libc64/

* fix

* bss

* update file splits disasm metadata</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rand.h -&gt; libc64/qrand.h

* Add rand.h with z64 rand wrappers

* yeet comment

* code/rand.c -&gt; libc64/qrand.c

* fixup

* move libc64 source to src/libc64/

* fix

* bss

* update file splits disasm metadata</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>[ntsc-1.2] Match system_malloc.c (#2080)</title>
<updated>2024-08-27T01:49:33+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-08-27T01:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=160d8f41920f9cefa174b9cf665f1e9a2892fd73'/>
<id>160d8f41920f9cefa174b9cf665f1e9a2892fd73</id>
<content type='text'>
* Match ntsc-1.2 system_malloc.c

* CLEAR_INTERRUPTS -&gt; DISABLE_INTERRUPTS</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match ntsc-1.2 system_malloc.c

* CLEAR_INTERRUPTS -&gt; DISABLE_INTERRUPTS</pre>
</div>
</content>
</entry>
<entry>
<title>Add T macro for translated debug strings (#2064)</title>
<updated>2024-08-22T20:33:50+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-08-22T20:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=98ba7ad2ab05be017722c9dc46b0929e5c911f55'/>
<id>98ba7ad2ab05be017722c9dc46b0929e5c911f55</id>
<content type='text'>
* Add T macro for translated debug strings

* Hyral -&gt; Hyrule

* put some more care into z_std_dma</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add T macro for translated debug strings

* Hyral -&gt; Hyrule

* put some more care into z_std_dma</pre>
</div>
</content>
</entry>
<entry>
<title>Filename &amp; line number args cleanup (#1891)</title>
<updated>2024-02-27T07:37:33+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2024-02-27T07:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=dcf61174e90725bea9aeeae9176fd377e0358188'/>
<id>dcf61174e90725bea9aeeae9176fd377e0358188</id>
<content type='text'>
* Filename &amp; line number args cleanup

* Use int for line number args over s32/u32

* Add missing const qualifiers from filename args

* Fix gcc warning in game.c

* Add comment to weird assignments in GameState_Init</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Filename &amp; line number args cleanup

* Use int for line number args over s32/u32

* Add missing const qualifiers from filename args

* Fix gcc warning in game.c

* Add comment to weird assignments in GameState_Init</pre>
</div>
</content>
</entry>
<entry>
<title>Match retail system_malloc.c and z_malloc.c (#1683)</title>
<updated>2024-02-02T20:01:49+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-02-02T20:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=8db76a27dab8b1b6423776b6d91d78269b03f6d5'/>
<id>8db76a27dab8b1b6423776b6d91d78269b03f6d5</id>
<content type='text'>
* Match system_malloc.c and z_malloc.c

* Rename CHECK_POINTER</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match system_malloc.c and z_malloc.c

* Rename CHECK_POINTER</pre>
</div>
</content>
</entry>
<entry>
<title>Replace most osSyncPrintf calls with PRINTF macro (#1598)</title>
<updated>2024-01-12T15:38:13+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-01-12T15:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=324db1d57830dcb2a45720445ac5d7904a6f5c6a'/>
<id>324db1d57830dcb2a45720445ac5d7904a6f5c6a</id>
<content type='text'>
* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -&gt; OOT_DEBUG</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -&gt; OOT_DEBUG</pre>
</div>
</content>
</entry>
<entry>
<title>Fix misc 16 (#1371)</title>
<updated>2022-08-30T21:35:00+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2022-08-30T21:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=2e18eb334bad77db0625549c62849333705214b8'/>
<id>2e18eb334bad77db0625549c62849333705214b8</id>
<content type='text'>
* Replace tabs in exceptasm.s source

* Replace tabs with \t in strings

* Fix grammar in various comments

* Fix "initalize" typos in code

* (fix typo) `__osMallocIsInitalized` -&gt; `__osMallocIsInitialized`

* Some Link -&gt; Player

* Use `EXCH_ITEM_` more

* "bgm music" -&gt; "background music"

* Fix typos in `place_title_cards.xml`

* `SkelAnime_Update` returns a boolean

* Run formatter</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace tabs in exceptasm.s source

* Replace tabs with \t in strings

* Fix grammar in various comments

* Fix "initalize" typos in code

* (fix typo) `__osMallocIsInitalized` -&gt; `__osMallocIsInitialized`

* Some Link -&gt; Player

* Use `EXCH_ITEM_` more

* "bgm music" -&gt; "background music"

* Fix typos in `place_title_cards.xml`

* `SkelAnime_Update` returns a boolean

* Run formatter</pre>
</div>
</content>
</entry>
<entry>
<title>Format all translation comments like `// "..."` (hopefully all of them) (#986)</title>
<updated>2021-09-28T23:53:56+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2021-09-28T23:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=c57c0f13fcd2d83d412641e71de05153c20fd6d3'/>
<id>c57c0f13fcd2d83d412641e71de05153c20fd6d3</id>
<content type='text'>
* Format all translation comments like `// "..."` (hopefully all of them)

* Move translation comments to before on long lines

Located them with `grep -r src -e '^[^(]*);[ ]*//'`
Regex `osSyncPrintf\([^;]*\n.*//` didn't find more

* Format two more</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Format all translation comments like `// "..."` (hopefully all of them)

* Move translation comments to before on long lines

Located them with `grep -r src -e '^[^(]*);[ ]*//'`
Regex `osSyncPrintf\([^;]*\n.*//` didn't find more

* Format two more</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup translation comments (#924)</title>
<updated>2021-09-04T13:33:19+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2021-09-04T13:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=81830a6e8bfa62681924c0b535cfd1adf0423860'/>
<id>81830a6e8bfa62681924c0b535cfd1adf0423860</id>
<content type='text'>
* `// Translates to:` -&gt; `//`

* `// Translation: ([^"].*)` -&gt; `// "$1"`

* Manual cleanup

* Manual cleanup in `src/code/`

* Use more lowercase for some all caps translations

* Move translations to end of lines where it fits under 100 bytes

* Move one translation to end of line manually

* Run formatter

* Cleanup in EnHeishi1 as suggested by Roman

* Update src/code/z_play.c

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `// Translates to:` -&gt; `//`

* `// Translation: ([^"].*)` -&gt; `// "$1"`

* Manual cleanup

* Manual cleanup in `src/code/`

* Use more lowercase for some all caps translations

* Move translations to end of lines where it fits under 100 bytes

* Move one translation to end of line manually

* Run formatter

* Cleanup in EnHeishi1 as suggested by Roman

* Update src/code/z_play.c

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;

Co-authored-by: Roman971 &lt;32455037+Roman971@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
