I meant that I understood and didn't need anymore help, but thanks for the effortint time = (int)time(NULL);
I meant that I understood and didn't need anymore help, but thanks for the effortint time = (int)time(NULL);

Is there any way to get the current date ?
Can't seem to find a function that would give it
Also, is it normal that svcGetSystemTick() returns 0 ?
That should run just fine on 3ds with very little change. I believe wintermute copied the console library straight from libnds, even leaving the rgb565 color in lol. (much to everyone's chagrin)So today I "finished" a port to the DS of a program I wrote in my CS class - a craps simulator. I've made some adjustments to it, including adding a credits system and, today, a dice tossing mechanism. What I'd like to know is if it'd be "acceptable" to make a text-only homebrew and release it as a way for me to practice coding in C++ as I'm doing in class. Would anyone mind if I ported a simple text-based application that doesn't really do much?
btw, if you want to try the NDS version, you can get it here: https://dl.dropboxusercontent.com/u/34957059/craps-ds.nds It gives an idea of what the application will behave like, although it'll get adjusted to account for a 3DS screen width and whatnot.
Yeah, the code is relatively simple. I'm just getting familiar with the concepts of C++ and working without intellisense and all the tools that I've come to use in VS and Netbeans, so perhaps I'll try making a 3DS version of it as well just to play around and get used to coding in different ways for different platforms.That should run just fine on 3ds with very little change. I believe wintermute copied the console library straight from libnds, even leaving the rgb565 color in lol. (much to everyone's chagrin)
Be aware that, from my experience, your CIA will not work on firmware versions before 8.0.0 or so, whenever ir:rst was added.Alright, to answer my own question, all we have to do is add ir:rst to our CIA RSF and it works, at least with Reinand..no clue about Gateway/the other CFWs.
Edit: Works fine in Gateway too. I guess it was a libctru or makerom problem back when we couldn't enable it..
True. I suppose it really isn't as much of an issue now anyway, as unlike before when the 4.x CFW was somewhat common, just about every CIA user is either using a relatively high sysNAND version or the latest emuNAND.That's not really a big deal, can just have the makefile spit out a non-ir:rst CIA.![]()
I made one in LUA, but I am assuming you are using C or C++I've got some trouble with displaying an image, and i can't directly find an example for this.
someone got an easy example which loads and displays an image from the SD?
Thanks
I would prefer cI made one in LUA, but I am assuming you are using C or C++
Well, if you don't get anything better, feel free to look at my homebrew that displays an image on the top screen and an image on the bottom screen.[RELEASE] Capture Card Alignment Tool It isn't in C, but like I said, if you don't get anything better.I would prefer c

I've got some trouble with displaying an image, and i can't directly find an example for this.
someone got an easy example which loads and displays an image from the SD?
Thanks
Could you give us the source of that?Or you can use something simple to load JPEG's or PNGs. It really isn't hard to blit images to the framebuffer, once you sort things out.
![]()

Could you give us the source of that?