remove unused code from goddard

This commit is contained in:
CrashOveride95 committed 2021-06-26 15:31:49 -04:00
1 parent 2e534b1ab2
commit 8181edd10f
10 files changed
-896

No files matched your search

-30
View File
@@ -320,26 +320,6 @@ void split_all_timers(void) {
}
}
/**
* Unused - records the start time for all timers
*/
void start_all_timers(void) {
s32 i;
struct GdTimer *timer;
if (!sTimingActive) {
return;
}
for (i = 0; i < ARRAY_COUNT(sTimers); i++) {
timer = get_timernum(i);
if (timer->name != NULL) {
timer->start = gd_get_ostime();
}
}
}
/**
* Records the current time before performing an operation
*/
@@ -432,15 +412,6 @@ f32 get_scaled_timer_total(const char *name) {
return timer->scaledTotal;
}
/**
* Unused - returns the raw total for the specified timer
*/
f32 get_timer_total(const char *name) {
struct GdTimer *timer = get_timer_checked(name);
return (f32) timer->total;
}
/*
* Miscellaneous debug functions
@@ -849,7 +820,6 @@ struct GdFile *gd_fopen(const char *filename, const char *mode) {
for (i = 0; i < sizeof(struct UnkBufThing); i++) {
*bufbytes++ = gGdStreamBuffer[filecsr++];
}
stub_renderer_13(&buf);
fileposptr = &gGdStreamBuffer[filecsr];
filecsr += buf.size;