Glenn Maynard
fba01c798c
split directx-specific stuff out of RageUtil
2006-09-18 22:20:54 +00:00
Glenn Maynard
8ad2856209
GetBuf -> GetBuffer
2006-09-18 21:46:39 +00:00
Renaud Lepage
0a872c8c77
Code cleanup.
2006-09-15 15:01:50 +00:00
Renaud Lepage
7f4797e7af
Secondary fix for the PAL and Video values. This is more clean, while as working as the previous commit.
2006-09-15 14:54:43 +00:00
Renaud Lepage
12a7250def
Feature patch: Xbox Crash Handling.
...
Seems that the Xbox had debugger detection routines and a way to have a Debug Break. this patch activates it.
2006-09-15 14:06:27 +00:00
Steve Checkoway
125fccc33c
Simplify. Don't pass the button pressed bool along. This can be derived from the level every time.
2006-09-15 08:31:53 +00:00
Steve Checkoway
a0e54b55e9
Support rotations. I'm not sure what it means to rotate left, right, etc., so I just picked left to be negative values to be left/up and positive values to be right/down.
...
Use make_pair.
2006-09-15 08:04:21 +00:00
Steve Checkoway
6e8d262f8f
Simplify and optimize by building a reverse lookup table the first time it is called.
2006-09-14 07:21:44 +00:00
Steve Checkoway
8612011f08
Add license.
2006-09-13 10:22:37 +00:00
Steve Checkoway
af2bd3b70a
Launching via the Finder includes a single argument that looks like: -psn_0_3801089. there's some mapping between this number and pids but I don't know what off hand (or why it's even used at all). Don't pass it along to our main().
2006-09-13 10:20:25 +00:00
Steve Checkoway
4f83f9b9ae
Cleanup.
2006-09-13 09:57:14 +00:00
Steve Checkoway
e9651a568f
Undef.
2006-09-08 05:40:39 +00:00
Steve Checkoway
c06c8470a3
Fix prototype.
2006-09-08 05:36:29 +00:00
Steve Checkoway
3a34bcad8a
HOOKS is now set.
2006-08-12 22:08:00 +00:00
Jason Felds
9d7f1ef0c0
Adjust pragmas.
2006-08-10 22:06:46 +00:00
Steve Checkoway
8ecb0c6c8d
Fix compile.
2006-08-10 09:34:31 +00:00
Jason Felds
7927af2e37
Adjust warnings, add #define to fix compile.
2006-08-10 04:54:12 +00:00
Steve Checkoway
a001f04f35
Header was only for testing.
2006-08-06 07:26:15 +00:00
Jason Felds
9dc02dd3ab
VC8 #pragma warning disablings. Shouldn't said #pragmas eventually be removed and the true warnings fixed?
2006-08-06 06:47:25 +00:00
Steve Checkoway
a4061b645d
Add a timeout while waiting for the parent to finish clean up or die.
2006-08-06 03:52:46 +00:00
Steve Checkoway
5eb4341786
Add build date and architecture. (Date is already in Windows crash report but architecture isn't and I can't build for windows so someone else can do it if so desired.)
2006-08-05 02:39:58 +00:00
Steve Checkoway
50e35457dc
Cleanup.
2006-08-05 01:48:11 +00:00
Steve Checkoway
cfdb3b9ae1
Simplify. IntValue() already checks that.
2006-08-05 01:37:31 +00:00
Steve Checkoway
13be8ec089
Cleanup.
2006-08-05 01:27:21 +00:00
Steve Checkoway
b95f8b15e7
Unneeded header.
2006-08-05 01:08:45 +00:00
Steve Checkoway
eeb4720b23
Wrong header.
2006-08-05 01:03:36 +00:00
Steve Checkoway
a693421b06
Unused.
2006-07-26 01:46:52 +00:00
Glenn Maynard
b5c16eb9c1
cleanup
2006-07-21 18:45:11 +00:00
Steve Checkoway
a07e194cf1
Revert. Fixes Linux build.
2006-07-18 05:51:37 +00:00
Jason Felds
11cff15f6f
Fix VC8 macro redef warning. (DONE!)
2006-07-18 03:58:34 +00:00
Steve Checkoway
bd7422ef6e
Specialize on aligned loads for sse since misaligned loads are much slower.
2006-07-17 00:42:46 +00:00
Thad Ward
381c7f0b69
VC6 fixes:
...
remove duplicate typedef
add typedefs for new PSDK types
move the disabling of warnings to the top of the file. (4786 was going off
on the templates directly below the new location)
2006-07-14 08:07:06 +00:00
Glenn Maynard
87cc6c593f
real fix for VC6
2006-06-24 05:40:12 +00:00
Steve Checkoway
7c8b1903e4
The sse version works correctly and is implemented portable. The only problem is that at least for linux, memory allocated on the heap isn't guaranteed to be 16 byte aligned and FastSoundRead() depends on both dest and src being 16 byte aligned. This could easily be overcome in the same way as FastSoundWrite.
2006-06-19 05:24:41 +00:00
Steve Checkoway
7dce2e2825
Fix the (unused) float version for sse.
2006-06-19 05:21:10 +00:00
Steve Checkoway
b8e1db595a
Fix the (unused) float version for altivec.
2006-06-19 04:04:10 +00:00
Steve Checkoway
7ba8eefebf
Apparently we want data1 before data2. (Tested.)
2006-06-19 03:21:25 +00:00
Steve Checkoway
7dbdc89b8c
Fix misaligned load/store. Also, these are little endian so merge the low order bytes first. Since this code _is_ portable, I can test it on x86 linux.
2006-06-19 02:53:14 +00:00
Steve Checkoway
36f6042ef0
Cleanup.
2006-06-18 18:49:23 +00:00
Steve Checkoway
de4a22d9e0
Reuse variables. (I'm hope gcc was smart enough to reuse the registers on its own, but I didn't actually check. This way we should be using fewer than 32.)
2006-06-18 18:41:22 +00:00
Steve Checkoway
66dfad63b0
Be careful not to read past the end of the data. With aligned loads (which are every load in altivec), it is always okay to load a vector if you can access any element of that vector. It is not always okay to load the next vector.
2006-06-18 18:30:28 +00:00
Steve Checkoway
acf04db9f9
Implement with SSE but don't enable since I can't test it. It should be portable since I used Intel's intrinsics.
2006-06-18 18:10:14 +00:00
Steve Checkoway
aef9e00016
Implement IsDebuggerPresent() and DebugBreak() in OS X. This uses an unstable api so it will only be in debug builds.
2006-06-16 07:18:39 +00:00
Glenn Maynard
f0b7631e3a
use standard name "isfinite", not "finite"
2006-06-15 03:15:41 +00:00
Steve Checkoway
af5f6f4edb
Cleanup.
2006-06-13 12:41:40 +00:00
Steve Checkoway
b7c1412a70
Re-enable vector code. FastSoundWrite can now handle a dest that is not 16 byte aligned although it will be fastest if dest is 16 byte aligned and size is a multiple of 8.
2006-06-13 12:30:51 +00:00
Steve Checkoway
f30c1d797e
Disable vector code for now until I fix the case where dest is unaligned.
2006-06-13 07:58:58 +00:00
Steve Checkoway
e0d0cb0c3a
Just copy the rest of the macros.
2006-06-12 06:06:39 +00:00
Chris Danford
e2eb5135e5
add international keyboard support
2006-06-11 07:12:01 +00:00
Steve Checkoway
2754fd0f18
Perform the same loop unrolling for Read. This eliminate all stalls in the loop for all processors with altivec (well, at least both G4s (IBM 7400 and 7450) and the G5 (IBM 970) processors. I didn't bother for the other read function since it isn't actually used and is included more for completeness than anything else (plus, these were a lot of fun to write).
2006-05-17 09:59:34 +00:00