Search found 7 matches

by LiquidFenrir
Sun Jan 10, 2021 2:20 pm
Forum: Homebrew Show and Tell
Topic: [3DS] Scientific calculator with natural display
Replies: 0
Views: 10138

[3DS] Scientific calculator with natural display

Hello all, I'm here to show off CalculaThreeDS today. As the title says it's a scientific calculator for the 3DS that prints the formula you're typing in a way similar to c*sio Graph35, or at least tries to be similar. https://user-images.githubusercontent.com/16072534/104121441-80dd5a00-533e-11eb-9...
by LiquidFenrir
Mon Jun 29, 2020 10:22 pm
Forum: devkitARM
Topic: ANSI C remove vs posix remove bug
Replies: 0
Views: 4534

ANSI C remove vs posix remove bug

Hello, I'm not sure if this is the right forum for this or if it is even really a bug, but I'm having an issue with C++17's std::filesystem::remove ( https://en.cppreference.com/w/cpp/filesystem/remove ). In the gcc implementation (and devkitARM as well), it calls stdio.h's remove, which resolves to...
by LiquidFenrir
Fri Jun 26, 2020 7:21 am
Forum: Bug Reports
Topic: devkitARM gcc 10 strncpy false positive warning
Replies: 3
Views: 2344

Re: devkitARM gcc 10 strncpy false positive warning

Oh actually by switching the keywords a bit and not being dead tired while searching, i found this very bug already on the gcc bugzilla... Not dkp's fault, sorry to have wasted your time. Seems like it's only a warning and doesnt impact the program, if I'm reading correctly. https://gcc.gnu.org/bugz...
by LiquidFenrir
Thu Jun 25, 2020 10:53 pm
Forum: Bug Reports
Topic: devkitARM gcc 10 strncpy false positive warning
Replies: 3
Views: 2344

devkitARM gcc 10 strncpy false positive warning

Hello, I just found out a weird warning in the linking step of a c++17 3ds homebrew, that I haven't been able to replicate except on every compilation of that specific (unreleased for now) source: I have a mInfo struct with a few char array members, the first of size 8, followed by sizes 16, 128 (mS...
by LiquidFenrir
Thu May 28, 2020 4:39 pm
Forum: 3DS Development
Topic: Off-screen targets cannot be cleared with C2D_TargetClear
Replies: 4
Views: 3218

Re: Off-screen targets cannot be cleared with C2D_TargetClear

Thank you so much! I never knew this, it will work nicely, I hope.
and thanks also for the clear information, I'll fix my game :)

Have a good day
by LiquidFenrir
Thu May 28, 2020 2:44 pm
Forum: 3DS Development
Topic: Off-screen targets cannot be cleared with C2D_TargetClear
Replies: 4
Views: 3218

Re: Off-screen targets cannot be cleared with C2D_TargetClear

Oh I'm sorry, I actually forgot to add the zip with the example! I added your changes, putting the rendertarget creation before the main loop and the destruction after the loop, but it still doesn't clear the target on console... And don't worry, it goes C3D_FrameBegin(C3D_FRAME_SYNCDRAW); // draw t...
by LiquidFenrir
Thu May 28, 2020 11:24 am
Forum: 3DS Development
Topic: Off-screen targets cannot be cleared with C2D_TargetClear
Replies: 4
Views: 3218

Off-screen targets cannot be cleared with C2D_TargetClear

Hello! I made a game with citro2d that uses off screen targets/drawing to textures to be more efficient and easier to scale and tint, but there is a bug when clearing them with C2D_TargetClear. I didn't encounter it before release because I got lazy and only tested with Citra, where it doesn't occur...