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:
CrashOveride95
2022-04-10 10:47:12 -04:00
committed by Mr-Wiseguy
parent 2118234f9b
commit 51f8ccfbb0
4 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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__;

View File

@@ -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__[];

View File

@@ -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"