Search found 46 matches

by fincs
Tue Apr 16, 2019 12:13 pm
Forum: Switch Development
Topic: Import not recognized
Replies: 1
Views: 797

Re: Import not recognized

1) Are you sure you have latest tools and libraries? Please do pacman -Syu to ensure you're upgraded. 2) You're missing console init/deinit code, and other scaffolding code. Please take a look at the template source code to see what a typical console homebrew application should look like. 3) iostrea...
by fincs
Sat Mar 30, 2019 5:38 pm
Forum: Switch Development
Topic: Undefinied reference __locale_ctype_ptr linker error with latest Devkit update
Replies: 1
Views: 273

Re: Undefinied reference __locale_ctype_ptr linker error with latest Devkit update

At some point in the past, it looks like you have tried compiling and installing libnx from git, which overwrote the one from pacman. When you tried upgrading your install pacman failed to replace it with a newer version because it is different from what pacman had previously installed. Basically yo...
by fincs
Mon Mar 11, 2019 5:08 pm
Forum: DS Development
Topic: Sinewave sound
Replies: 9
Views: 2239

Re: Sinewave sound

You don't actually need to change volumes quickly; because DS sound channels already support playing back PCM samples.
by fincs
Wed Mar 06, 2019 6:27 pm
Forum: Switch Development
Topic: How to use svcSetThreadCoreMask
Replies: 2
Views: 639

Re: How to use svcSetThreadCoreMask

As a bonus, C11 threads as implemented by libnx are preemptively multithreaded & load balanced across cores.
by fincs
Sat Feb 23, 2019 4:23 pm
Forum: devkitARM
Topic: arm-none-eabi-gcc can't actually compile anything
Replies: 3
Views: 502

Re: arm-none-eabi-gcc can't actually compile anything

Hi, Windows version of tools rely on being put on PATH in order to find certain DLLs. If you're getting started with GBA development, we recommend checking out the GBA examples , including the template project . We designed a build system that allow any project to compile on any supported OS (Window...
by fincs
Fri Feb 22, 2019 4:19 pm
Forum: 3DS Development
Topic: Best way to draw a line Citro2d
Replies: 5
Views: 548

Re: Best way to draw a line Citro2d

Currently there's no function to do so. Therefore, you'll have to manually draw two triangles using C2D_DrawTriangle . I'm starting to think that adding a helper function to draw a line (of configurable thickness) with a rotated rectangle (two tris) might not be such a bad idea after all. Stay tuned.
by fincs
Sun Feb 17, 2019 9:54 pm
Forum: 3DS Development
Topic: Citro2d/3d Documentation
Replies: 1
Views: 431

Re: Citro2d/3d Documentation

citro2d documentation can be found here: https://citro2d.devkitpro.org/
citro3d documentation on the other hand doesn't exist; like you pointed out only examples are available.
by fincs
Sun Feb 17, 2019 12:10 pm
Forum: devkitARM
Topic: tried to install on arch and terminal says "Error: failed"
Replies: 1
Views: 481

Re: tried to install on arch and terminal says "Error: failed"

You typo'd the pacman.conf edit. It's dkp, not dpk.
by fincs
Mon Feb 11, 2019 9:24 pm
Forum: 3DS Development
Topic: Best way to draw a line Citro2d
Replies: 5
Views: 548

Re: Best way to draw a line Citro2d

Like I said on GitHub, lines cannot be drawn efficiently on the PICA200. You'd have to either draw degenerate triangles (I'm not sure if those work at all), or draw rotated rectangles. That is the reason why there is no DrawLine command. The main motivation for citro2d was creating a helper library ...
by fincs
Mon Jan 07, 2019 9:40 pm
Forum: Announcements
Topic: Belated New Year's Switch & 3DS update
Replies: 2
Views: 7025

Re: Belated New Year's Switch & 3DS update

switch-sdl2 port now updated for the latest switch-mesa changes.