Commit Graph

12 Commits

Author SHA1 Message Date
Antonio Niño Díaz
3ba35ba48e docs: build: library: examples: Set BlocksDS as main toolchain
Until now the main makefiles of Nitro Engine have been the ones of
devkitPro, forcing users to go through extra steps to build everything
under BlocksDS.

Now, the easy makefiles are the BlocksDS ones, and additional notes have
been added to warn about the limitations of devkitPro:

- No GRF support in libnds.
- NitroFS doesn't work in melonDS.
2024-06-02 17:38:52 +01:00
Antonio Niño Díaz
82171bbf69 chore: Simplify copyright years in notices
Instead of listing every individual year, keep only the first and last
years.
2024-03-09 01:42:29 +00:00
Antonio Niño Díaz
47c8061168 examples: test: Refactor to avoid global variables
Using global variables is generally discouraged. Now that NE_ProcessArg()
and NE_ProcessDualArg() exist, it's better to show how to use them instead
of NE_Process() and NE_ProcessDual() while using global variables.

Also, switch from "int main(void)" to "int main(int argc, char *argv[])".
2024-03-08 18:44:02 +00:00
Antonio Niño Díaz
d659bc8915 build: docs: Support BlocksDS 2023-04-01 15:15:02 +01:00
Antonio Niño Díaz
8c42302c23 build: Small changes to assets.sh scripts and ROM titles 2023-04-01 14:35:09 +01:00
Antonio Niño Díaz
6e53a01d83 library: tests: Add function to search free space within a range
This is needed to load compressed textures, as it is needed to look for
empty space in two banks at the same time.
2022-10-29 14:10:35 +01:00
Antonio Niño Díaz
73787ec488 tests: Add one more allocation test 2022-10-28 01:29:21 +01:00
Antonio Niño Díaz
50ae7c30da tests: Test new function to allocate at specific addresses 2022-10-28 01:13:20 +01:00
Antonio Niño Díaz
307d6f87e3 test: Make allocator test use the debug version of the library 2022-10-28 01:13:01 +01:00
Antonio Niño Díaz
3b09697a91 library: tests: Add function to allocate from end of pool
Add tests for it.
2022-10-27 23:07:28 +01:00
Antonio Niño Díaz
1caee47b6f tests: Add additional check to allocator test 2022-10-27 01:31:20 +01:00
Antonio Niño Díaz
b56c8dbf27 tests: Add tests for the memory allocator
The allocator in NEAlloc.c and NEAlloc.h didn't have tests, which made
it hard to refactor the code.
2022-10-27 01:24:09 +01:00