Commit Graph
226 Commits
Author SHA1 Message Date
Steve Checkoway 510daea1de Quiet noisy trace. Input problems were (probably) not SM's fault. 2008-10-06 06:10:55 +00:00
Steve Checkoway c4cb740e3a Fix comment. 2008-10-05 09:32:09 +00:00
Steve Checkoway 46fbd1dce6 Not needed...I think. 2008-10-05 09:29:30 +00:00
Steve Checkoway a060bd33cb Log a successful device open. 2008-10-05 09:18:54 +00:00
Steve Checkoway 5fc76284c1 Log actually adding to the queue. 2008-10-05 08:53:19 +00:00
Steve Checkoway c4d53c94b1 Fix typo. 2008-10-05 08:35:38 +00:00
Steve Checkoway 5e7ea06c5f Use IOHIDElementCookie which is really a void* rather than int. 2008-10-05 08:25:31 +00:00
Steve Checkoway 93c649d33d Warn if addElement fails. 2008-10-05 07:31:21 +00:00
Steve Checkoway 56d19ddd69 Different noisy logging. Remote debugging is painful. 2008-10-05 07:15:06 +00:00
Steve Checkoway f46a18b4e9 Add noisy logging. Will be removed shortly. 2008-10-05 07:05:33 +00:00
Steve Checkoway f92d70163c Add logging. 2008-10-05 05:53:29 +00:00
Steve Checkoway 6654fa2e1d Mac OS X does not need glFlush() called, swapping the buffers does it implicitly. 2008-07-29 09:26:41 +00:00
Steve Checkoway acb706d550 The debug version of the STL is absurdly slow. Do not enable it here. 2008-07-28 04:30:04 +00:00
Steve Checkoway 6eeb7aaf70 More targeted includes. It might be worth getting away from Carbon eventually; however, many of the replacement APIs are either in 10.4 or 10.5 and we still target 10.3.9. 2008-07-22 07:01:03 +00:00
Steve Checkoway 1c01c8f4b0 Enable STL assertions in debug builds. 2008-05-16 12:31:56 +00:00
Steve Checkoway 6a8d514c5b This hasn't been needed for a while. Ever since we dumped 10.2.8 support. It just got overlooked. 2008-04-20 08:33:09 +00:00
Steve Checkoway 98aae96424 Unneeded. This code was a neat idea, build up a list of actions to be performed on the main thread. Ultimately it just made the code look ugly. 2008-03-21 10:48:48 +00:00
Steve Checkoway c681e3bb3b Revert. ogg wants __MACOSX__. 2008-01-05 04:35:43 +00:00
Steve Checkoway 715200afc9 MACOSX is sufficient. 2008-01-05 04:21:52 +00:00
Steve Checkoway 898e0ddcae Remove more unnecessary checks. 10.3.9 is only missing C99 functions like llabs() 2008-01-05 04:19:15 +00:00
Steve Checkoway ec58789644 Remove code needed for supporting 10.2.8 since we don't any more. 2008-01-03 03:32:56 +00:00
Steve Checkoway 74a2028160 If glGetError is slow on a platform, define GL_GET_ERROR_IS_SLOW. Define this on OS X only for now. It's fast on Windows. 2008-01-03 02:45:00 +00:00
Steve Checkoway ffbf3ec2a9 hash -> has 2007-11-16 20:29:23 +00:00
Steve Checkoway 6282d6b0b5 Cleanup unused. 2007-07-23 05:26:37 +00:00
Steve Checkoway dd78150ab6 Remove copied code since we don't use 10.2.8 any more. Minimum requirements are 10.3.9. 2007-07-23 05:25:24 +00:00
Steve Checkoway 7671e73bb6 Use sysctlbyname. 2007-07-23 05:23:30 +00:00
Steve Checkoway 11262ae912 Use GoToURL since HOOKS is set up by this point. 2007-05-16 08:02:01 +00:00
Steve Checkoway fe516372cf Partial revert. I'm not sure what I was thinking. The first argument is the binary run. 2007-05-12 23:17:12 +00:00
Steve Checkoway b8c95a7938 Increment argv to skip the process serial number in the arguments list passed to SM_main. Also, "-psn_" has 5 characters. 2007-05-08 11:29:39 +00:00
Steve Checkoway 8505ea0578 This was moved to global.h. 2007-03-22 06:30:12 +00:00
Steve Checkoway dfa844b24a Make SM play nice with ffmpeg. 2007-03-21 11:56:58 +00:00
Steve Checkoway 3c73e111fd Change set precedence api to return an error message. 2007-03-12 03:37:24 +00:00
Steve Checkoway 92fd82b630 RString no longer allows NULL. (I have no idea how it took me so long to catch this.) 2007-02-16 07:28:43 +00:00
Steve Checkoway a9b94093bd CRASH_HANDLER 2007-02-03 06:37:36 +00:00
Steve Checkoway 631a595bce Too noisy. This was only for debugging anyway. (Finding stuff in log.txt is a pain.) 2007-02-02 11:33:11 +00:00
Steve Checkoway 58715e319f It seems that gcc decided that even though _mm_load_ps and _mm_loadu_ps are static inline functions calling a gcc builtin, it should emit a call to them because they were used as template parameters. Oh well, the code is short enough to just copy. 2007-01-28 23:12:06 +00:00
Steve Checkoway 1bb3190d62 Year. 2007-01-28 22:27:52 +00:00
Steve Checkoway 3813d5dbd2 Remove unneeded header and comment. 2007-01-28 22:27:25 +00:00
Steve Checkoway f4d616e7a2 Update for floating point. No need to bother with the integer read because OS X doesn't use it. 2007-01-27 17:09:15 +00:00
Glenn Maynard 675d991de4 remove HAVE_CRYPTOPP 2007-01-24 09:41:16 +00:00
Steve Checkoway 2984456ba3 Simplify. 2007-01-18 12:46:02 +00:00
Steve Checkoway cde616c5e8 Unused header. 2007-01-18 12:45:35 +00:00
Steve Checkoway 4f228d3a30 Use IsJoystick() and IsPump(). 2007-01-18 12:35:13 +00:00
Steve Checkoway ff32e1ff9d Add support for the hat switch. This only works if the hid device uses 3 or 7 values plus a null position for the hat and furthermore, the minimum value needs to correspond to up with increasing values moving clockwise. 2007-01-18 12:30:35 +00:00
Steve Checkoway 44baf35a73 Actually check that PumpDevices have the correct vid/pid. 2007-01-18 07:18:41 +00:00
Steve Checkoway 4517499f0f lroundf -> lrintf. 2007-01-03 05:05:28 +00:00
Steve Checkoway eb0b26cd82 Float to int is slow on ppc. It requires a store, a big stall, and then a load. It's even worse on a G5 if the compiler is dumb (and let's face it, I'm using gcc here...). Just use lroundf when we want an int. It will certainly be no slower. 2007-01-02 23:36:44 +00:00
Steve Checkoway 768c25ed1b Comment. 2006-12-11 13:31:10 +00:00
Steve Checkoway 02282d4a14 Loosen sse read restrictions. Tested. 2006-12-11 13:26:12 +00:00
Steve Checkoway 0c539b83ce Loosen altivec read restrictions. The src buffer still needs to be 16 byte aligned but the dest buffer only needs to be aligned for the type (2 bytes for int16_t and 4 for float). 2006-12-11 13:02:57 +00:00