Commit Graph

47 Commits

Author SHA1 Message Date
Unknown W. Brackets
da03b80c97 Standardize on just one mutex implementation. 2016-03-06 14:49:15 -08:00
Henrik Rydgard
35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
da78ec0b4d Use USING_WIN_UI for desktop Windows console. 2016-01-03 15:10:50 -08:00
Henrik Rydgard
6d5bde9748 Fix more buggy string arithmetic in LogManager 2015-10-04 11:09:44 +02:00
Henrik Rydgard
60bbe16c89 Make LogManager string handling code safer. 2015-09-19 15:55:49 +02:00
Unknown W. Brackets
41631eb2b1 Try a different format of HLE logging. 2015-03-22 20:49:42 -07:00
Unknown W. Brackets
f3654795a3 Minor warning fixes. 2015-01-11 14:23:42 -08:00
Henrik Rydgard
a9b010b0cd Add a basic debug console UI to the devmenu that shows some log scrollback and has a little command line.
Useful for debugging on non-Windows in the future. For now non-mobile only (although may lift that restriction later)
2015-01-05 01:25:23 +01:00
Henrik Rydgård
374e12afc3 Merge pull request #5590 from unknownbrackets/xbox
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Unknown W. Brackets
ca938bf353 Cut down on locking in DEBUG_LOG.
Reduces GenericLog() from 13.8% to 1.5% in Where Is My Heart?, will
probably help other games to a lesser extent.
2014-03-02 22:03:02 -08:00
Ced2911
418d2ac8ce [xbox] 360 support for common 2014-03-02 12:15:10 -08:00
sum2012
de78674d62 Set default DEBUG when produce a debug build 2014-02-16 12:09:59 +08:00
sum2012
d96fc0858c Enable produce DEBUG_LOG rather tha INFO_LOG without install Visual studio express in windows
Default is INFO_LOG
More people can post DEBUG_LOG.
2014-02-16 12:04:31 +08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
3e18027b8d Fix some type comparison warnings. 2013-10-19 14:57:45 -07:00
The Dax
26e17e0e7f Disable default logging(--log still works fine), delete CommonPaths.h, and remove unused funcs in FileUtil. 2013-10-18 10:35:28 -04:00
The Dax
a9a6e7b384 Move default log file to g_Config.memCardDirectory/PSP/SYSTEM/Logs/ppsspp.log. 2013-10-18 10:35:28 -04:00
adrian17
5f86bc44d4 Deleted some doubled #includes. 2013-09-27 21:38:07 +02:00
Unknown W. Brackets
08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Henrik Rydgard
26c5ee4a6d Add screen to control debug levels. Will make it easier to access later. 2013-09-07 13:38:37 +02:00
Henrik Rydgard
78d3ee3d6a Misc cleanup, mostly logging code 2013-09-07 13:01:19 +02:00
Henrik Rydgard
6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
The Dax
528d81151a Initial support for disabling logging, to provide a possible boost in performance for games that spam the log like crazy. 2013-07-27 19:39:49 -04:00
Unknown W. Brackets
8c7506e2eb Mobile: Enable console logging in debug mode. 2013-03-16 00:25:41 -07:00
Unknown W. Brackets
47e2e6f718 Retain the first directory level in logging. 2013-03-11 02:27:28 -07:00
Unknown W. Brackets
a34cf0bb79 Add a VERBOSE logging level, for noisy logging.
The debug log is hard to look at because it has so much unneeded info.
2013-03-10 22:32:48 -07:00
Unknown W. Brackets
118050485f Show the current thread name in the log file.
This is very useful, although it kinda entwines the logging a bit
more than might be desired.
2013-03-10 22:25:03 -07:00
Henrik Rydgard
c0e8fb1499 Revert turning on debug thing 2013-02-27 18:01:23 +01:00
Henrik Rydgard
ba0362d817 PGF font support. Mostly an adaptation and cleanup of JPCSP's font system. 2013-02-27 17:41:39 +01:00
Sacha
1540869e95 All mobile devices now have file logging disabled. Change save dir on blackberry/symbian. Update native. 2013-02-20 13:12:03 +10:00
Unknown W. Brackets
251f4a0b47 Avoid some memory copying when logging. 2013-02-02 15:40:48 -08:00
Unknown W. Brackets
e813833c18 Disable OutputDebugString logging by default. 2013-01-30 21:21:30 -08:00
Henrik Rydgard
8ce9ce10bf Merge branch 'master' into armjit
Conflicts:
	Common/ArmEmitter.h
	Common/CPUDetect.cpp
2013-01-14 20:46:17 +01:00
Henrik Rydgard
8277d901e2 Smash some memory leaks 2013-01-13 16:46:45 +01:00
Henrik Rydgard
8915677241 More progress but it weirds out... 2013-01-08 21:24:42 +01:00
Unknown W. Brackets
6f9f9e1c98 Merge branch 'master' into mediaengine.
Note: doesn't compile, just fixes conflicts.

Conflicts:
	Core/HLE/sceKernel.cpp
	Core/HLE/sceKernelThread.cpp
	Core/HLE/sceKernelThread.h
2012-12-28 22:32:56 -08:00
TMaul
d950ccc1a3 Clean up more warnings 2012-12-27 20:42:19 +00:00
Unknown W. Brackets
7fb65a5997 Add a switch to Windows to save to a log file. 2012-12-22 09:49:29 -08:00
Henrik Rydgard
bc214dcf37 Merge branch 'master' into mediaengine
Conflicts:
	Common/LogManager.cpp
	Core/CMakeLists.txt
	Core/Core.vcxproj
	Core/Core.vcxproj.filters
	Core/CoreParameter.h
	Core/HLE/sceAudio.cpp
	Core/HLE/sceKernel.cpp
	Core/HLE/sceKernelThread.cpp
	Core/HLE/sceMpeg.cpp
	android/jni/Android.mk
2012-12-17 18:48:32 +01:00
Henrik Rydgard
1400237d0e Lots of various work on sceSas. ADSR envelopes, correct looping, etc etc... Still far from perfect but better. 2012-12-17 18:07:25 +01:00
Sacha
a1781b854a Symbian support for project.
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Henrik Rydgård
a3fe130c0f Fix/paper-over some build compatibility issues. Warning fixes. 2012-12-07 01:09:15 +07:00
Henrik Rydgard
1127c72124 some initial mediaengine work 2012-11-12 20:53:16 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00