Search found 108 matches

by fincs
Tue Feb 25, 2025 7:05 pm
Forum: DS/DSi Development
Topic: Compilation issues in migrating to libnds 2.0
Replies: 7
Views: 84234

Re: Compilation issues in migrating to libnds 2.0

In order to ease transition to libnds v2, we changed some of the common Makefile infrastructure to automatically supply some of the new required flags. However, it's possible you may have customized your Makefile a bit "too much", and the logic we added does not work. Could you post your Makefile ...
by fincs
Sun Feb 09, 2025 11:41 pm
Forum: 3DS Development
Topic: Citro2d is not being included?
Replies: 8
Views: 48244

Re: Citro2d is not being included?

How are you invoking make, msys2 shell or some other shell? What do you have in your PATH, DEVKITPRO, DEVKITARM environment variables when running make?

by fincs
Sun Feb 09, 2025 12:36 pm
Forum: 3DS Development
Topic: Citro2d is not being included?
Replies: 8
Views: 48244

Re: Citro2d is not being included?

Do you have citro2d installed?

pacman -S citro2d

Also, you should not build the examples directly in the devkitPro folder, since that folder is managed by pacman and that can cause issues while updating our tools and libraries. You should copy the examples you want to build somewhere else, like ...
by fincs
Mon Jan 27, 2025 7:21 pm
Forum: DS/DSi Development
Topic: updating dslibris for libnds 2.0
Replies: 1
Views: 50452

Re: updating dslibris for libnds 2.0

libnds 2.0/calico currently do not support setting the DS Lite or DSi backlight brightness. The function you mention (fifoSendValue32) is an internal function used for ARM7<->ARM9 communication, which has been superseded by the new PXI interface. In the meantime, you can comment out all calls to ...
by fincs
Sat Dec 14, 2024 12:04 pm
Forum: 3DS Development
Topic: C3D: Textures are weirdly colored
Replies: 2
Views: 49819

Re: C3D: Textures are weirdly colored

You need two texenv stages to blend the texture color with the fragment lighting color, like this:


environment = C3D_GetTexEnv(0);
C3D_TexEnvSrc(environment, C3D_Both, GPU_FRAGMENT_PRIMARY_COLOR, GPU_FRAGMENT_SECONDARY_COLOR, 0);
C3D_TexEnvFunc(environment, C3D_Both, GPU_ADD);

environment ...
by fincs
Thu Oct 31, 2024 11:49 pm
Forum: 3DS Development
Topic: What would happen if I put to MOVA instructions next to eachother
Replies: 1
Views: 14997

Re: What would happen if I put to MOVA instructions next to eachother

It just means the GPU will crash, and the 3DS will need to be rebooted in order to work again. Don't worry, it will not cause your 3DS to explode ;)

by fincs
Sun Oct 27, 2024 7:49 pm
Forum: 3DS Development
Topic: Do I need to free resources on app end?
Replies: 3
Views: 16515

Re: Do I need to free resources on app end?

While freeing heap resources on exit generally doesn't matter, is there any particular reason why you're trying to figure out if it's ok to avoid freeing resources? Could you post code, so that we can understand where you're coming from a bit better?

by fincs
Mon Sep 16, 2024 11:20 pm
Forum: Announcements
Topic: September 2024 updates
Replies: 8
Views: 93734

3ds-examples: 20240917

Recommended and supported installation is through devkitPro pacman

by fincs
Mon Sep 16, 2024 11:19 pm
Forum: Announcements
Topic: September 2024 updates
Replies: 8
Views: 93734

libctru: 2.4.0

Added full support of all QTM services , with extensive documentation and technical details in qtm.h and qtmc.h ** (breaking change); examples have been updated for this
Added MCUHWC_SetInfoLedPattern
Added ndspChnGetFormat
Fixed PTMSYSM_CheckNew3DS
Fixed NDMU_QueryStatus
Fixed a few service ...
by fincs
Tue Sep 03, 2024 5:53 pm
Forum: 3DS Development
Topic: How should I implement __tls_get_addr (if it shouldn't be implemented already)
Replies: 5
Views: 18103

Re: How should I implement __tls_get_addr (if it shouldn't be implemented already)

Dynamic linking does not exist on 3DS, so there is effectively no difference between initial-exec and local-exec. In any case, using local-exec makes it explicit that we assume all TLS variables to be contained within the same (only) module.

Usually it should not be necessary to explicitly specify ...