Homebrew Millisecond Timer in devkitpro for Rhythm Game

Eeveelution

New Member
Newbie
Joined
Sep 10, 2020
Messages
4
Reaction score
0
Trophies
0
Age
34
XP
74
Country
Poland
Hello, this is my first thread on here so I apologize if there is something that already explains the topic im asking for, or if i in general sound weird.

I'm looking to build a homebrew app of a osu!taiko player on the 3ds,
For that to work i would need a Timer in that can be started, and from which i could pull how many milliseconds have passed since the Timer has been started.
How could i achieve something like that on the 3ds?

I'm using devKitPro for homebrew development. I'm very new to the homebrew community/scene here so please explain everything with detail please!

Thanks in advance!
 
thank you very much! this is perfect, from looking into it i can get the milliseconds out of that, by dividing the svcGetSystemTick() result by CPU_TICKS_PER_MSEC (which is (SYSCLOCK_ARM11 / 1000.0)) which gives me a accurate millisecond time since the poweron of the game. thank you very much again!
 

Site & Scene News

Popular threads in this forum