hocclk: reduce memory usage for real this time

This commit is contained in:
souldbminersmwc
2026-04-11 18:25:30 -04:00
parent 6369382de1
commit b7440a38a5
2 changed files with 7 additions and 10 deletions

View File

@@ -82,9 +82,6 @@ namespace fileUtils {
FILE* file = fopen(FILE_LOG_FILE_PATH, "a"); FILE* file = fopen(FILE_LOG_FILE_PATH, "a");
if (file) { if (file) {
struct timespec now;
clock_gettime(CLOCK_REALTIME, &now);
fprintf(file, "[%lu] ", armGetSystemTick()); fprintf(file, "[%lu] ", armGetSystemTick());
vfprintf(file, format, args); vfprintf(file, format, args);
fprintf(file, "\n"); fprintf(file, "\n");

View File

@@ -55,20 +55,20 @@ extern "C"
NvServiceType __nx_nv_service_type = NvServiceType_Factory; NvServiceType __nx_nv_service_type = NvServiceType_Factory;
// Ty to MasaGratoR for this! // Ty to MasaGratoR for this!
//This is done to save some space as they have no practical use in our case // This is done to save some space as they have no practical use in our case
void* __real___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *)); __attribute__((used)) void* __real___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *));
void* __real__Unwind_Resume(); __attribute__((used)) void* __real__Unwind_Resume();
void* __real___gxx_personality_v0(); __attribute__((used)) void* __real___gxx_personality_v0();
void __wrap___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *)) { __attribute__((used)) void __wrap___cxa_throw(void *thrown_exception, void *pvar, void (*dest)(void *)) {
abort(); abort();
} }
void __wrap__Unwind_Resume() { __attribute__((used)) void __wrap__Unwind_Resume() {
return; return;
} }
void __wrap___gxx_personality_v0() { __attribute__((used)) void __wrap___gxx_personality_v0() {
return; return;
} }