Commit graph

4477 commits

Author SHA1 Message Date
Shawn Hoffman
5e3fdf5067 add timing of the OpenCL compile functions...they're really slow here, almost 20seconds total...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 03:53:47 +00:00
Orphis
7a2bad4efb OpenCL: Fixed and enabled CMPR decompression
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 01:42:21 +00:00
Shawn Hoffman
500497ec2d Use the SIPoll register to determine how frequent to poll SI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 05:24:45 +00:00
Shawn Hoffman
d33295a9c4 HLE the ___blank(char*, ...) func. seems to show some interesting, but limited messages.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4446 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 04:26:34 +00:00
Shawn Hoffman
68ea37f2fb make SystemTimers's DSP_PERIOD setting be dependent on which dsp plugin you are using. Too ugly to do it this way -> revert :)
Put PatchEngine into it's own event.
Also, why is DSP_PERIOD 12000, and the value sent to DSP_Update() is 12000/6??
Shouldn't it be GetTicksPerSecond()/6 (=81MHz or 121MHz) ?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 04:24:36 +00:00
Shawn Hoffman
224009ee3e fix small typo in DI that could cause asserts at the wrong time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4444 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 04:06:13 +00:00
LPFaint99
767818bcb2 update OpenCL.rules to work on paths that include spaces
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 01:00:27 +00:00
sl1nk3.s
4c3e405c47 Revert the the Fifo changes from r3984 (Pokemon XD still somewhat works) this should fix hangs/desyncs in a couple of games (burnout, metroid, spyro, soulcalibur, nightfire...) see issue 1524
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 00:01:07 +00:00
sl1nk3.s
c600926710 Trying a fix to floating point single (issue 1556), Sonic Unleashed now have correct projections, also re-enabled color buffer clear on OpenGL plugin (was causing flickering in fullscreen and garbage on sides...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 23:09:44 +00:00
Shawn Hoffman
d40ce3f1e5 fix compiling if opencl is not enabled at compile time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4440 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 02:11:50 +00:00
Orphis
094c73a080 OpenCL: Moved the OpenCL code from the compiled source to a separate file TextureDecoder.cl and added a .rules files to copy the updated version to the build directory.
Fixed RGB5A3 decoding with alpha
New CMPR decoding, blocks with no alpha are great, still have to figure the problems with transparent blocks. Disabled for now.
Added a better error reporting to the base OpenCL functions

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 00:55:07 +00:00
nakeee
e81d25562d Linux compile fix (shuffle please review..)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4438 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 18:28:47 +00:00
Shawn Hoffman
93b83f8d65 Add tmbinc's patch for triforce emulation.
This adds triforce-specific SI and EXI devices, as well as changes DI behavior when in triforce mode. (Selecting both AM devices from main config will force the DI into triforce mode)
Also fixes up a few EXI bugs dealing with interrupts and the like (memcard insertion should work well now, and maybe BBA can progress farther :> )
Also adds real "null" EXI devices, so software won't think the dummy device is some strange unknown device anymore.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4437 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 15:14:48 +00:00
Shawn Hoffman
f5f0823867 apply patches in the gamecube's bs2 hle, good for things that need to have patches applied very early.
misc cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4436 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 15:09:22 +00:00
death2droid
091a454c50 D3D: Change it so the windows mode resolution displays all usable resolutions like full screen does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4435 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 12:13:35 +00:00
hrydgard
ff3d6027fa Disable annoying error messages in the D3D plugin, they're meant for debugging
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4434 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 09:27:08 +00:00
hrydgard
f82e5eb673 fix duplicate entries in lists when opening d3d config multiple times.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4433 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 09:09:52 +00:00
Shawn Hoffman
1bf3c00683 add MSR to RegisterView and throw in some missing break;s (thanks lpfaint :p)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 07:17:49 +00:00
omegadox
c741ddd082 Make ActionReplay update codes safely, should prevent crashes when applying code changes to fast.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4431 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 00:32:22 +00:00
Shawn Hoffman
bedc0b039e allow editing of ppc registers through debugger(all the exposed ones, except the interrupt mask/cause...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4430 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 00:10:22 +00:00
Marko Pusljar
c8fc5e8f37 DSPHLE/ZeldaUcode/AFC5 improvement (can be heard when you jump on/talk to ppl in Super Mario Sunshine)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4429 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-16 15:56:36 +00:00
nakeee
5834fa6710 Pulse audio empty struct implementation. Working on it though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 17:28:23 +00:00
Shawn Hoffman
a05fbd8525 change stack shown in ppc debugger to show LR as the last item, as well as make all values point to where the code path came from, instead of the raw stack (where it will return to)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 15:43:51 +00:00
nakeee
8e44891b3a Audio: alsa is now default on linux, scons switch openal off by default (openal=yes to enabled)
minor clean up in audio config code


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4426 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 06:50:04 +00:00
Shawn Hoffman
cecac2f087 re-arrange the gc bs2 hle to be a little more intuitive...to me. add some values from yagcd
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4425 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 04:08:46 +00:00
Shawn Hoffman
feea7ebed5 Turns out that if one fails to use pkg-config to configure alsa, some other ancient library gets linked in or something. - TD-Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4424 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 02:04:27 +00:00
Marko Pusljar
b8bdb7cb8b AFC looping disabled, will be back when its properly fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4423 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-14 23:30:27 +00:00
XTra.KrazzY
540f59ef07 OpenCL: More formats (thanks, orphis) RGBA8, RGB565, RGB5A3. Optimized the buffer creation. There is a visible performance boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4422 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-14 22:28:23 +00:00
nakeee
9f8a2986a2 Videocommon: setlocale for shader compilation, should fix problem with runaway , in certain locales.
Please test issues 1533 and 1496


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4418 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-14 01:58:39 +00:00
XTra.KrazzY
fb60b10c7b OpenCL: Implemented I4 and corrected IA8 (huge thanks to Orphis for fixes, implementation and optimization)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-13 21:51:27 +00:00
nakeee
9fc1fc0346 VSW can't inline api function?
finally works on linux


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-13 06:36:50 +00:00
nakeee
11d90813ff VSW: Copied rasterfont from ogl to prevent inter plugin dependencies
Added it to scons to fix the unresolved symbol on scons build



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4415 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-13 06:12:58 +00:00
omegadox
80f3c5f638 Small changes to config window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-13 04:45:11 +00:00
nakeee
787fdbbdc0 SW plugin: compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 20:33:01 +00:00
hrydgard
489d7dfc3c SW GFX plugin: Make dualcore mode work better, and make it exit more cleanly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4412 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 19:12:09 +00:00
XTra.KrazzY
a887a475e3 SWV: Software Video now compiles and runs on x64
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 17:39:09 +00:00
XTra.KrazzY
c2ae2e8d58 Started fixing SW video compilation for linux, must go home now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 16:29:32 +00:00
Shawn Hoffman
34e887527c fix some diff-fail :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4409 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 16:24:24 +00:00
Shawn Hoffman
7e621119b2 add "view as" to the memory view, so we can see ascii interpretation as well as floating points
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 16:20:31 +00:00
donkopunchstania
9b16c36014 Adding software rendering plugin. This is aimed at accurate emulation, not fast. Its more like a debugging tool than actually useful.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4407 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 00:48:24 +00:00
Sonicadvance1
ab8d182c37 Fix Linux compiling/Running
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 00:01:29 +00:00
Shawn Hoffman
a6dbb1b6df fix typos in /dev/di...note the comment, on real hw i'm pretty sure there is a 0x4 flag set...things running in dolphin don't like this, though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:47:21 +00:00
Shawn Hoffman
97b2f4c1ac log more writes to exi mask rom, i honestly forget what i saw using this, but here it is...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4404 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:46:01 +00:00
Shawn Hoffman
2cfbd4327f just some misc cleanup that's been setting around
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4403 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:44:58 +00:00
XTra.KrazzY
9da9346274 OpenCL: Kernels are now more general...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4402 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:21:36 +00:00
XTra.KrazzY
fc1c77b60d OpenCL: Set up ground for more texture formats. Implemented the IA8 format (still buggy, no transparency)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4401 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 21:14:02 +00:00
Shawn Hoffman
eeb9e7770e Credit segher for reversing the bootrom keystream generator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4400 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 20:57:50 +00:00
XTra.KrazzY
449abdb01d OpenCL: Solved the IA4 case (some byteswapping was necessary, hope there's a vectorized function for that). Some \n fixing I guess
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4399 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 20:03:55 +00:00
Shawn Hoffman
6a537dd095 remove some files that haven't been committed yet from the vcproj file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4398 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 18:11:21 +00:00
Shawn Hoffman
c2356445c8 fix small redundancy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4397 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 16:21:33 +00:00