Homebrew Clarification Thread - What is going on?

Status
Not open for further replies.
D

Deleted User

Guest
Again...
WTF does "Pack KTimer struct" mean? Stevice10 just put in a new commit. (found it by chance not spam)

After like 7 hours it should be at least some progress, right? (not trying to be an ass)

Sorry, it should say: "Does anyone have an idea on what "Pack KTimer struct" mean?
 
Last edited by ,

Mythrandir

Life-long Learner
Member
Joined
Nov 12, 2015
Messages
189
Trophies
0
XP
916
Country
United States
mmm having to format my SD card? Gonna have to read more if i can copy back my data after cuz it would suck losing all my saves

so when this is released ..We downgrade to 9.2 (I assume this is the themable one ?) but the link that is noob friendly is for N3DS @.@ oh lord I hope when this is all said and done that there is one thread with everything perfectly laid out .....this is harder and more confusing then mailbombing back when I owned the first Wii @.@
There are plenty of friendly members who frequent the 3DS NOOB PARADISE thread (https://gbatemp.net/threads/3ds-noob-paradise-ask-questions-here.359035/) willing to assist and guide gw/cfw newbies. I'd recommend bookmarking the thread for future use.
 
  • Like
Reactions: AshleyCummings

Selver

13,5,1,14,9,14,7,12,5,19,19
Member
Joined
Dec 22, 2015
Messages
219
Trophies
0
XP
426
Country
(what) does "Pack KTimer struct" mean? Stevice10 just put in a new commit. (found it by chance not spam)

A compiler may choose to align a structure for faster access. For example, on a 64-bit machine, the compiler may choose to align a pointer on a 64-bit boundary, even if that causes "extra space" in the structure. I believe (but am not certain) that the commit you are referring to was his ensuring that the compiler would not add any space to his structure for alignment purposes.

struct {
byte bRandomVal;
// Most compilers will insert padding here
// to ensure that pSomethingElse is aligned
// on a pointer-sized memory address. Thus:
// For 16-bit pointers, add 1 byte padding
// For 32-bit pointers, add 3 bytes padding
// For 64-bit pointers, add 7 bytes padding
void* pSomethingElse;
}


But, I've been wrong before.
 
Last edited by Selver,
  • Like
Reactions: Pandaxclone2
D

Deleted User

Guest
A compiler may choose to align a structure for faster access. For example, on a 64-bit machine, the compiler may choose to align a pointer on a 64-bit boundary, even if that causes "extra space" in the structure. I believe (but am not certain) that the commit you are referring to was his ensuring that the compiler would not add any space to his structure for alignment purposes.

But, I've been wrong before.
Correct. It was adding extra space to my KTimer structure, throwing off field offsets.
 

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
    +1
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
    +1
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No. 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +2
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
  • BigOnYa @ BigOnYa:
    I still have some old no 7, bout to mix with some coke, and get "California Sober".
    +1
    BigOnYa @ BigOnYa: I still have some old no 7, bout to mix with some coke, and get "California Sober". +1