hopefully some one is able to help me with this but im having issues with using snprintf. basically what happens is that when i got to inject my menu and load a option that uses snprintf inside it will shut my xbox off.
for example i was testing to see if it was the snprintf causing the xbox shut down and it was.
im 99.9% this below is correct and is how i've been doing it for months but i've never once found myself in this position where it freezes my xbox..
void testSNPRINTF(char* blah){
char test[100];
snprintf(test, sizeof(test), "%s test", blah);
textDraw(test, 0, 0.5, 0.2, 0.3, 0.3, 255, 255, 255, 255);
}
if anyone is able to help id appreciate it :)
for example i was testing to see if it was the snprintf causing the xbox shut down and it was.
im 99.9% this below is correct and is how i've been doing it for months but i've never once found myself in this position where it freezes my xbox..
void testSNPRINTF(char* blah){
char test[100];
snprintf(test, sizeof(test), "%s test", blah);
textDraw(test, 0, 0.5, 0.2, 0.3, 0.3, 255, 255, 255, 255);
}
if anyone is able to help id appreciate it :)