Homebrew Millisecond Timer in devkitpro for Rhythm Game

Eeveelution

New Member
OP
Newbie
Joined
Sep 10, 2020
Messages
4
Trophies
0
Age
30
XP
19
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!
 

Eeveelution

New Member
OP
Newbie
Joined
Sep 10, 2020
Messages
4
Trophies
0
Age
30
XP
19
Country
Poland
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!
 
General chit-chat
Help Users
  • kenenthk @ kenenthk:
    Our terms state that food poisoning is curable and you'll be back next week anyway
    Gift
  • kenenthk @ kenenthk:
    Anyone that questions this will have their dick bitten off by our Chihuahua
    Gift
  • Veho @ Veho:
    "Yo quiero Taco Bell and your wiener, motherfucker." ~Chihuahua
    +2
    Gift
  • The Real Jdbye @ The Real Jdbye:
    @SG854 every phone i have owned for the last decade has been OLED lol no there's nothing 3D about them
    Gift
  • The Real Jdbye @ The Real Jdbye:
    legit kind of want a shamwow now
    Gift
  • The Real Jdbye @ The Real Jdbye:
    but i see where he fooled them
    Gift
  • kenenthk @ kenenthk:
    It's not recommended for splooge clean ups
    Gift
  • The Real Jdbye @ The Real Jdbye:
    he made sure to soak the rug thoroughly so every part of it is evenly soaked, even if it doesn't get rid of the stain completely you can't tell because it's all evenly stained
    Gift
  • Veho @ Veho:
    Life hack: if you can't remove the stain, stain the rest of the surface.
    Gift
  • kenenthk @ kenenthk:
    If a bleach spill just get more bleach
    Gift
  • The Real Jdbye @ The Real Jdbye:
    if all else fails pour the bleach in your eyes so you can't see the stain anymore
    Gift
  • The Real Jdbye @ The Real Jdbye:
    if you can't see it, it's not there
    Gift
  • kenenthk @ kenenthk:
    Have you tried drinking it its a good substitute for monster energy
    Gift
  • The Real Jdbye @ The Real Jdbye:
    yeah it cured my aspergers
    Gift
  • Veho @ Veho:
    Apply orally for
    Aspergers, apply rectally for COVID.
    Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Vodka for everything else lol
    Gift
  • Veho @ Veho:
    Eye drops.
    Gift
  • Gift
  • Veho @ Veho:
    I recently reactivated my panini press and I'm lovin' it. And your video reminded me that I should try tortillas in it. Should be gud.
    Gift
  • kenenthk @ kenenthk:
    Do be sure it's ready by testing your dick and balls inside the press first
    Gift
  • Gift
  • kenenthk @ kenenthk:
    Italian sausage paniness
    Gift
  • Veho @ Veho:
    Penis paninis.
    Gift
  • kenenthk @ kenenthk:
    Well 128gb SD card came in just waiting on ups to get here come midnight tomorrow
    Gift
  • kenenthk @ kenenthk:
    Cool might be delivered today if I get lucky in a city 20 minutes away
    +1
    Gift
    kenenthk @ kenenthk: Cool might be delivered today if I get lucky in a city 20 minutes away +1