Search found 1386 matches

by WinterMute
Wed May 08, 2019 10:23 pm
Forum: Suggestions and Feedback
Topic: Suggested Update to Wiki: Installing devkitPPC for WSL 1
Replies: 4
Views: 1427

Re: Suggested Update to Wiki: Installing devkitPPC for WSL 1

I've added changes to https://devkitpro.org/wiki/devkitPro_pacman and also https://github.com/devkitPro/installer/releases/latest to help make this clearer. We don't advise adding devkitPPC to the PATH permanently via .bashrc or any other method though. The standard Makefile based templates we use a...
by WinterMute
Wed May 08, 2019 8:08 pm
Forum: Switch Development
Topic: Line Drawing
Replies: 1
Views: 510

Re: Line Drawing

There are no line drawing functions in libnx, no. The switch has a fairly advanced GPU which is more than capable of drawing wireframe cubes by itself - see https://github.com/switchbrew/switch-examples/tree/master/graphics/opengl which should be in your installation under /opt/devkitpro/examples/sw...
by WinterMute
Wed May 08, 2019 6:52 pm
Forum: DS Development
Topic: maxmod program hangs after pressing a key
Replies: 2
Views: 1053

Re: maxmod program hangs after pressing a key

I've edited your post to add the source code in question - for small chunks like this it can be easier to look at code in place rather than grabbin an archive & extracting it in order to compile locally. The most immediately obvious problem is this :- loadedsound = MOD_ENIGMA; printf("Key pressed");...
by WinterMute
Wed May 08, 2019 11:02 am
Forum: Switch Development
Topic: dlfcn.h cannot be imported
Replies: 5
Views: 1480

Re: dlfcn.h cannot be imported

You'll need to elaborate on your question a bit. What precisely are you asking? What's the OIS library and what about it?
by WinterMute
Sun May 05, 2019 4:53 am
Forum: GBA Development
Topic: Code with filename *.iwram.c not placed in IWRAM
Replies: 5
Views: 1460

Re: Code with filename *.iwram.c not placed in IWRAM

This uses a standard Makefile with roughly the set of changes I mentioned https://github.com/pinobatch/gsmplayer-gba/compare/master...WinterMute:standardise I can PR that for you to merge if you like. Something that particularly concerns me with your current makefile is this https://github.com/pinob...
by WinterMute
Sun May 05, 2019 2:28 am
Forum: GBA Development
Topic: [Beginner] error: gba.specs: No such file or directory
Replies: 1
Views: 519

Re: [Beginner] error: gba.specs: No such file or directory

So I'm following this tutorial https://www.reinterpretcast.com/writing-a-game-boy-advance-game. And I'm trying to compile the first example but this sudo arm-none-eabi-gcc main.o -mthumb-interwork -mthumb -specs=gba.specs -o main.elf causes the error arm-none-eabi-gcc: error: gba.specs: No such fil...
by WinterMute
Sun May 05, 2019 2:12 am
Forum: Gamecube/Wii Development
Topic: Audio callback function that works on hardware
Replies: 1
Views: 690

Re: Audio callback function that works on hardware

It's difficult to provide help without seeing some code. It would also be good to know the nature of the problem - are we talking distorted sound or something more severe?
by WinterMute
Sun May 05, 2019 2:01 am
Forum: Switch Development
Topic: dlfcn.h cannot be imported
Replies: 5
Views: 1480

Re: dlfcn.h cannot be imported

We don't support dynamic libraries and have no plans to add support so you should patch out use of libdl where possible. There are numerous difficulties involved in attempting this on a console we're not supposed to run code on using an OS we don't control.
by WinterMute
Sun May 05, 2019 1:57 am
Forum: Switch Development
Topic: OpenSceneGraph on the Switch?
Replies: 1
Views: 775

Re: OpenSceneGraph on the Switch?

I'm not that familiar with OSG so it's very difficult to say how easy it might be to port without trying. Ideally any cmake based project should be using the devkitPro supplied cmake toolchain file rather than unofficial and unsupported ones from elsewhere. It will most likely need extending and a l...
by WinterMute
Sun May 05, 2019 12:23 am
Forum: GBA Development
Topic: Code with filename *.iwram.c not placed in IWRAM
Replies: 5
Views: 1460

Re: Code with filename *.iwram.c not placed in IWRAM

I'm trying to port GSM Player from devkitARM circa R21, which is no longer available, to current devkitARM. The problem I'm running into is that the linker is no longer placing gsmcode.iwram.c in IWRAM. Instead, it is placed in ROM and running from ROM. I can tell because grep gsm_decode .map shows...