This commit is contained in:
Deleted user 2021-09-02 16:32:28 -04:00 committed by GitHub
commit 6e5cbb1fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -289,6 +289,7 @@ enum Config {
#ifdef DEBUGMENU
#define MISSION_SWITCHER // from debug menu
#endif
//#define LOG_TO_FILE
// Rendering/display
//#define EXTRA_MODEL_FLAGS // from mobile to optimize rendering

View File

@ -1860,6 +1860,10 @@ WinMain(HINSTANCE instance,
int
main(int argc, char *argv[])
{
#endif
#ifdef LOG_TO_FILE
freopen("re3_log.txt", "w", stdout);
freopen("re3_errors.txt", "w", stderr);
#endif
RwV2d pos;
RwInt32 i;