You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Comment out username printing during debug builds because people use their real names on their computers
I still wanna give people the option so
This commit is contained in:
committed by
Mr-Wiseguy
parent
2118234f9b
commit
51f8ccfbb0
@@ -311,7 +311,9 @@ void thread3_main(UNUSED void *arg) {
|
||||
|
||||
#ifdef DEBUG
|
||||
osSyncPrintf("Super Mario 64\n");
|
||||
#if 0 // if your PC username isn't your real name feel free to uncomment
|
||||
osSyncPrintf("Built by: %s\n", __username__);
|
||||
#endif
|
||||
osSyncPrintf("Compiler: %s\n", __compiler__);
|
||||
osSyncPrintf("Linker : %s\n", __linker__);
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#include "version.h"
|
||||
#include "src/game/version_data.h"
|
||||
|
||||
#if 0 // if your PC username isn't your real name feel free to uncomment
|
||||
char __username__[] = __USERNAME__;
|
||||
#endif
|
||||
char __compiler__[] = __COMPILER__;
|
||||
char __linker__[] = __LINKER__;
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#ifndef VER_H
|
||||
#define VER_H
|
||||
|
||||
#if 0 // if your PC username isn't your real name feel free to uncomment
|
||||
extern char __username__[];
|
||||
#endif
|
||||
extern char __compiler__[];
|
||||
extern char __linker__[];
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
echo "#ifndef VER_DATA_H"
|
||||
echo "#define VER_DATA_H"
|
||||
echo "#define __USERNAME__ \"`whoami`@`hostname`\""
|
||||
echo "#define __DATETIME__ \"`date`\""
|
||||
echo "#define __COMPILER__ \"$1gcc version `$1gcc -dumpfullversion`\""
|
||||
echo "#define __LINKER__ \"$1ld: `$1ld -v`\""
|
||||
echo "#endif"
|
||||
Reference in New Issue
Block a user