Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 2ea476c3a7 Don't use GetMainAndSubTitlesFromFullTitle reading SMs 2004-03-24 06:45:04 +00:00
Glenn Maynard a37645f421 fewer chunks 2004-03-24 06:10:38 +00:00
Glenn Maynard 93ccc8d571 call RageSound_Generic_Software::Update 2004-03-24 06:09:50 +00:00
Glenn Maynard b64a709ace tolerate null song 2004-03-24 03:10:12 +00:00
Glenn Maynard 811ef94991 fix m_textSurviveTime ordering 2004-03-24 03:09:10 +00:00
Glenn Maynard 593ff71a22 checkpoint delivered screen messages 2004-03-24 03:08:24 +00:00
Glenn Maynard 6762ebf0ad cleanup
block SIGPIPE
2004-03-24 00:21:43 +00:00
Glenn Maynard c00aa7dc01 mostly whitespace changes 2004-03-23 22:50:09 +00:00
Glenn Maynard a898686c59 cleanup
tweak
2004-03-23 22:41:44 +00:00
Glenn Maynard d9f0e5819b save lower quality jpeg to memcards 2004-03-23 22:35:30 +00:00
Glenn Maynard 1057cf4237 MemoryCardManager::PathIsMemCard 2004-03-23 22:33:14 +00:00
Glenn Maynard 1acc77a16f bHighQual jpeg parameter 2004-03-23 22:31:46 +00:00
Glenn Maynard e639ef21a0 increase jpeg output quality 2004-03-23 22:12:30 +00:00
Glenn Maynard 3abe83c71e readlink(/proc/pid/exe) instead of using argv[0] 2004-03-22 05:27:25 +00:00
Glenn Maynard 9dfa382497 fix warning 2004-03-22 02:49:06 +00:00
Glenn Maynard 936ba519b8 simple lock test 2004-03-22 02:27:05 +00:00
Glenn Maynard d168a65016 fix Song::RevertFromDisk when playing autogen steps 2004-03-21 23:07:46 +00:00
Glenn Maynard fd248f087b fix false positives 2004-03-21 09:30:15 +00:00
Glenn Maynard 026908a3c2 disable for now 2004-03-21 09:17:42 +00:00
Glenn Maynard d48f416ec3 implement mutex order tracking 2004-03-21 08:36:43 +00:00
Glenn Maynard a220a6fb55 can't use CircBuf for InputFilter; many input threads may be coming in with
events and it's only threadsafe for one writer
2004-03-21 08:20:30 +00:00
Glenn Maynard 4f7432794a include the name of threads and the mutex on mutex deadlock 2004-03-21 04:28:38 +00:00
Glenn Maynard 642b9ba141 failed PtraceAttach isn't fatal 2004-03-21 04:27:21 +00:00
Glenn Maynard e779e80350 give RageMutexes names, so they can be identified more easily 2004-03-21 04:10:43 +00:00
Glenn Maynard 527be89140 cleanup 2004-03-21 03:40:26 +00:00
Glenn Maynard dfec26c3b2 backtrace: attempt to recover from lost frame pointers 2004-03-21 03:36:54 +00:00
Glenn Maynard 8d435c2b4d use pthread directly
deadlock handling in pthreads
2004-03-20 22:01:40 +00:00
Glenn Maynard 2e5bf2fb03 plain pthreads check 2004-03-20 22:00:15 +00:00
Glenn Maynard d9ef0e1b14 pthread_mutex_timedlock, ranlib check 2004-03-20 21:47:09 +00:00
Glenn Maynard 4091e0cfaa ForceCrashHandlerDeadlock 2004-03-20 21:36:10 +00:00
Glenn Maynard 040e76cecf Don't change to SORT_SORT_MENU or SORT_MODE_MENU if they don't have at least two choices. 2004-03-20 18:19:36 +00:00
Glenn Maynard 54d3c41c9d check IsPlayable for sort/mode menu 2004-03-20 18:11:58 +00:00
Glenn Maynard d9daa9fc04 no battle in doubles 2004-03-20 18:11:17 +00:00
Glenn Maynard a2a7b51d1b GameState::PlayerUsingBothSides 2004-03-20 17:53:04 +00:00
Glenn Maynard e2a4d21679 sanity check
fix m_sprMore in doubles
2004-03-20 17:46:25 +00:00
Glenn Maynard 78fea60b31 GameState::GetNumHumanPlayers 2004-03-20 17:45:34 +00:00
Glenn Maynard c5f47ff882 only validate PlayMode and Style if one or the other is being set 2004-03-20 17:23:50 +00:00
Glenn Maynard d66673fa6f infinite recursion checking 2004-03-20 10:24:42 +00:00
Glenn Maynard bee82fe187 update 2004-03-20 06:50:21 +00:00
Glenn Maynard b6e2805cd5 cleanup 2004-03-19 23:14:30 +00:00
Glenn Maynard 0b61b60baa whitespace cleanup only 2004-03-19 22:08:21 +00:00
Glenn Maynard 3e8664fd61 whitespace cleanup only 2004-03-19 21:56:45 +00:00
Glenn Maynard b44cd86843 cleanup 2004-03-19 21:37:31 +00:00
Glenn Maynard 4e5d430926 simplify
don't need esp
2004-03-19 21:28:59 +00:00
Glenn Maynard 60e2a38dc7 cleanup Linux GetBacktrace 2004-03-19 21:17:44 +00:00
Glenn Maynard 77509653d9 cleanup 2004-03-19 21:01:40 +00:00
Glenn Maynard 44812ba91f InitializeCrashHandler, so ASSERT, etc. work (does not install signal handler) 2004-03-19 20:46:58 +00:00
Glenn Maynard 248c99f5fa update 2004-03-19 20:44:01 +00:00
Glenn Maynard 5ead4a6530 GetThreadBacktraceContext leaves the given thread suspended 2004-03-19 20:39:15 +00:00
Glenn Maynard 5dd5bda234 remove GetThreadBacktraceContext; GetBacktrace( x, NULL ) gets the current backtrace 2004-03-19 09:25:45 +00:00
Glenn Maynard 361a88f4b9 no GetSignalBacktraceContext or CrashSignalHandler on DARWIN 2004-03-19 08:48:47 +00:00
Glenn Maynard ff4291bc43 fix "crash handler crashed" detection 2004-03-19 08:41:46 +00:00
Glenn Maynard 61bcf2295b cleanup 2004-03-19 08:40:55 +00:00
Glenn Maynard 2311b8ccf9 oops 2004-03-19 08:29:11 +00:00
Glenn Maynard 308c68dc05 move SignalCodeName to CrashHandlerChild; not used on DARWIN 2004-03-19 08:28:14 +00:00
Glenn Maynard f4b442cf23 const fix 2004-03-19 08:18:54 +00:00
Glenn Maynard f64db13d4d fix 2004-03-19 08:18:22 +00:00
Glenn Maynard 0b34216843 OS X crash handling cleanup 2004-03-19 08:17:44 +00:00
Glenn Maynard 27b31c86dd use ForceCrashHandler 2004-03-19 07:32:06 +00:00
Glenn Maynard 53ba5a735f signal.h 2004-03-19 07:08:40 +00:00
Glenn Maynard 58067a1625 cleanup 2004-03-19 07:03:42 +00:00
Glenn Maynard f7d681e72f add CrashData struct
log more detailed signal information
2004-03-19 06:56:18 +00:00
Glenn Maynard 01acd9442c const fix 2004-03-19 06:25:45 +00:00
Glenn Maynard 4d4493c449 cleanup 2004-03-19 05:04:04 +00:00
Glenn Maynard 7f7667cac7 use ucontext_t 2004-03-19 05:03:19 +00:00
Glenn Maynard 97d6a7f3b0 int signal, siginfo_t *si, const ucontext_t *uc 2004-03-19 05:01:53 +00:00
Glenn Maynard 8b5d89b8f8 pass siginfo_t and ucontext_t to signal handlers 2004-03-19 05:01:23 +00:00
Glenn Maynard 4ad45bbd7f sa.sa_handler -> sa.sa_flags
use SA_NODEFER
2004-03-19 04:43:24 +00:00
Glenn Maynard 03c9ff66e4 Block SIGPIPE in CrashSignalHandler. 2004-03-19 03:23:42 +00:00
Glenn Maynard 877cb324d1 better output on extra signal 2004-03-19 03:13:27 +00:00
Glenn Maynard 5a33daf6c7 fix sprite 2004-03-19 02:44:26 +00:00
Glenn Maynard 96ee7b6028 improve output 2004-03-19 02:44:04 +00:00
Glenn Maynard a330623cab show edit name, not ambiguous "EDIT" 2004-03-19 02:30:46 +00:00
Glenn Maynard f5d2ddb719 fix stealth (can't multiply fVisibleAdjust; it starts at 0) 2004-03-19 02:21:51 +00:00
Glenn Maynard c069732f02 fix vorbis when only static libraries are available 2004-03-19 02:05:55 +00:00
Glenn Maynard e490422f82 cleanup 2004-03-19 01:32:55 +00:00
Glenn Maynard 45097b9811 simplify 2004-03-19 01:32:03 +00:00
Glenn Maynard a4adcfae28 fix Windows compile (nobody noticed?) 2004-03-19 01:21:35 +00:00
Glenn Maynard a0c58e3c04 simplify RageSound_DSound_Software with RageSound_Generic_Software 2004-03-18 04:27:22 +00:00
Glenn Maynard ae07456590 simplify RageSound_WaveOut with RageSound_Generic_Software 2004-03-18 04:19:03 +00:00
Glenn Maynard cd3feefb6c update 2004-03-18 04:17:16 +00:00
Glenn Maynard 5224689df7 fix warning 2004-03-18 04:15:01 +00:00
Glenn Maynard 82ac2755b9 add base class for generic software-mixing sound drivers 2004-03-18 04:12:41 +00:00
Glenn Maynard 4c9be566f1 fix alloc error 2004-03-18 04:10:50 +00:00
Glenn Maynard dcb33fe120 split out GetDataToPlay from GetPCM 2004-03-18 03:30:36 +00:00
Glenn Maynard f59f22d1fd RageSoundManager::CommitPlayingPosition, RageSoundManager::FlushPosMapQueue 2004-03-18 03:04:44 +00:00
Glenn Maynard 8df036b3d8 more missing stdint types 2004-03-18 01:39:05 +00:00
Glenn Maynard 5788f354e6 typo 2004-03-18 01:32:40 +00:00
Glenn Maynard 6ea531d584 give each RageSound instance a unique ID 2004-03-18 01:31:34 +00:00
Glenn Maynard 7c001d6370 add offset param to SundMixBuffer::write() 2004-03-18 01:23:35 +00:00
Glenn Maynard 9ae558482a fix trace 2004-03-17 05:06:49 +00:00
Glenn Maynard ee2ebf509f split target vars 2004-03-17 02:30:05 +00:00
Glenn Maynard 5e1aed24fe better debug output 2004-03-16 05:02:57 +00:00
Glenn Maynard 59703ade1d fix CreateDirectories on paths starting with / 2004-03-16 05:01:35 +00:00
Glenn Maynard 623b25407a fix tests linking 2004-03-16 04:10:40 +00:00
Glenn Maynard eb86c76b9f Make CircBuf are lock-free, threadsafe buffer. (We don't actually
take advantage of this yet.)
2004-03-16 03:06:10 +00:00
Glenn Maynard 8fea22b51d since m_iMaxHighScoresPerList is configurable, don't bail if records
graphics don't go high enough
2004-03-15 04:27:52 +00:00
Glenn Maynard 725cdd7e5b unmount fix 2004-03-15 03:51:39 +00:00
Glenn Maynard ed17ae0d3e better error output 2004-03-15 03:43:43 +00:00
Glenn Maynard 7fb89b6f7a explicitly unmount previous mounts 2004-03-15 03:15:22 +00:00