Re: Re: Expanded Windows Compile Guide

Home › Forums › Development › Expanded Windows Compile Guide › Re: Re: Expanded Windows Compile Guide

#25997
cadbusca
Member

Seems to be the wrong place to look for #define debug, but if one were looking for #define DEBUG_MEM2_LEVEL it would be.

So assuming that is the target, it looks like this change would work. That’s a lot simpler than modifying libogc.

It would certainly be a better practice, and save a lot of wasted time, if the SVN’s were committed with such changes in place.

C:WIIMCsourceutilsmem2_manager.c

– //1: critical errors 2: detailed info
– #define DEBUG_MEM2_LEVEL 1 // to get info about used mem, it’s an approximation because of memory fragementation

+ // to get info about used mem, it’s an approximation because of memory fragmentation
+ //0: turn off debug 1: critical errors 2: detailed info
#define DEBUG_MEM2_LEVEL 0