Commit Graph
13 Commits
Author SHA1 Message Date
Shenjoku 1d1f37380e Make sure StreamDisplay children are deleted 2013-04-29 16:38:37 -04:00
Shenjoku 91b1892d09 Fix leak in MenuTimer 2013-04-29 16:33:32 -04:00
Shenjoku 569ca0f984 fix leak in LifeMeterTime 2013-04-29 16:30:54 -04:00
Shenjoku aac47c9777 Fix potential leak in Font 2013-04-29 16:29:55 -04:00
Shenjoku b59d3e9a8f Fixed the non-const definition of the TimingData::GetSegmentAtRow() function,
which was missing the class specifier and casting the data wrong.
2013-04-22 22:20:40 -07:00
Shenjoku fea35b5486 Merge with memoryLeakDetection branch. 2013-04-19 20:36:59 -07:00
Shenjoku 0792db752a Removed the smnew macro and the call to _CrtSetDbgFlag() to get ready for
merging with the main branch.
2013-04-19 20:34:11 -07:00
Shenjoku dac4493fe5 Fixed all remaining memory leaks that I could figure out except for a 4 byte
leak that isn't being caught by the smnew macro for some reason. It might be in
one of the third party libraries or something, I'm not sure.
2013-04-18 22:27:24 -07:00
Shenjoku 01456ed0b9 Fixed a lot of memory leaks caused by static globals never getting
deleted and some other objects not getting deleted properly due to missing
destructors.
2013-04-18 21:17:57 -07:00
Shenjoku 5f7001ef0a Added a new branch that implements support for outputting all memory leaks to
the debug output for the Debug and FastDebug project configurations. This
requires replacing all instances of new with a macro, smnew, that defines a
special form of new which outputs file and line number information along with
the memory leak details. This makes finding memory leaks much easier since you
can just double-click the leak in the output window and it will take you to the
line that caused it.
2013-04-17 20:42:29 -07:00
Shenjoku 05cf6d8cd8 Cleaned up the paths in the VS2008 and VS2010 projects to use '\' character
instead of '/' for consistency and general correctness.

Also added the DirectX include and library paths to the VS2010 project and fixed
the /MP switch for all configurations (it was conflicting with the minimal
rebuild setting).
2013-04-16 23:17:54 -07:00
Shenjoku ba0d2d1838 Upgraded the DirectX 8 rendering to DirectX 9. Updated Direct Input to work with
the latest SDK as well.
2013-04-08 21:13:47 -07:00
Shenjoku 19150cdf9e Added DirectX SDK include and library paths to the 2008 project using the
DXSDK_DIR macro, which is an environment variable added by the SDK installer.
This way the project no long requires messing with the visual studio options to
manually add the paths.

Fixed the Release-SSE2 build configuration so that the /MP switch works.

Some other minor tweaks resetting things to use the defaults that didn't need to
be changed.
2013-04-08 20:52:21 -07:00