File tree 1 file changed +7
-9
lines changed
Core/Libraries/Source/WWVegas/WWStub
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
** Command & Conquer Generals Zero Hour(tm)
3
- ** Copyright 2025 TheSuperHackers
3
+ ** Copyright 2025 TheSuperHackers
4
4
**
5
5
** This program is free software: you can redistribute it and/or modify
6
6
** it under the terms of the GNU General Public License as published by
@@ -30,13 +30,12 @@ char* TheCurrentIgnoreCrashPtr = NULL;
30
30
void DebugLog (const char *format, ...)
31
31
{
32
32
// Print it to the console
33
- char theBuffer[8192 ];
34
33
35
34
va_list arg;
36
35
va_start (arg, format);
37
- vsprintf (theBuffer, format, arg);
36
+ vprintf ( format, arg);
38
37
va_end (arg);
39
- }
38
+ }
40
39
41
40
#endif
42
41
@@ -45,14 +44,13 @@ void DebugLog(const char *format, ...)
45
44
void DebugCrash (const char *format, ...)
46
45
{
47
46
// Print it to the console
48
- char theCrashBuffer[ 8192 ];
47
+
49
48
va_list arg;
50
49
va_start (arg, format);
51
- vsprintf (theCrashBuffer, format, arg);
50
+ vprintf ( format, arg);
52
51
va_end (arg);
53
52
54
- // Quit
55
- exit (EXIT_FAILURE);
53
+ // No exit in this stub
56
54
}
57
55
58
- #endif
56
+ #endif
You can’t perform that action at this time.
0 commit comments