Commit Graph

2686 Commits

Author SHA1 Message Date
Shawn Hoffman 8ad15321f2 Make the HLE'd OSPanic print out the associated message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4498 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-05 07:05:33 +00:00
Marko Pusljar 0d7d699710 DSPLLE - small fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4497 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 14:10:56 +00:00
Marko Pusljar 10fb287311 DSPLLE stuff - no real progress, mostly useful as a reference for HLE improvement, Pikmin 1 has sound in intro though (can't be sure if its ok, because its too slow)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4496 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 12:49:26 +00:00
nakeee 099b89d9e9 DSPLLE: some bad code clean up pointed out by lordmark
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4495 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 10:06:47 +00:00
sl1nk3.s 6c0c97cffe Fixed TLB games support for the iCache, games using the TLB Hack should now work as before (fixes issue 1218)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-01 01:24:30 +00:00
Rodolfo Osvaldo Bogado 78fa929c70 Some errors in the values passed to e pixel shader caused the menu error, no they are fixed, thanks to LordMark for help me with the testing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 13:40:53 +00:00
Shawn Hoffman 2913d1fd9e Fix some wii IPC stuff:
/dev/fs: IOCTLV_GETUSAGE
/dev/es: IOCTL_ES_GETCONSUMPTION
IOCTL_ES_GETTITLECONTENTSCNT
IOCTL_ES_GETTITLECONTENTS
IOCTL_ES_SETUID

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4489 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 09:20:24 +00:00
Shawn Hoffman 1d666bf109 remove some newlines from FileUtil logs.
add ___blank to HLE'd debug logging.
add long long support to HLE_OS::GetStringVA
take care of those annoying sdio 0x40 and 0x41 commands...not that they do much in the first place...
some cleanup on the IPC net devices

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 09:17:37 +00:00
Shawn Hoffman b7bd9dc5d9 fix bug with ascii memview: make '\0' be ' ' instead of string end.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4487 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 09:12:31 +00:00
Rodolfo Osvaldo Bogado ec77ba3e99 fixed z textures, don't know where this is used but a fix is a fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 03:35:36 +00:00
Rodolfo Osvaldo Bogado 9a59619560 Extra small commit but ...
Fix Paper mario and any games that uses SETZSCALE or SETZOFFSET
c# is making me soft i don't see the cast error


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30 22:28:59 +00:00
Rodolfo Osvaldo Bogado dd7f6f991f small code cleanup, and little fixing of errors introduced by mi in my first commit :(
fixed scissor test in direct 3d


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4480 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30 04:14:43 +00:00
nakeee 9d57502f1a Init X multithread support on linux.
Should fix some linux crash issues


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4479 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 21:12:11 +00:00
Shawn Hoffman af921d56d0 fix silly typo in last commit that broke jit...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4478 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 05:59:34 +00:00
Shawn Hoffman 5b4d12c1f3 small code cleanup in JIT: use JITIL's nice JITDISABLE macro
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4477 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 04:40:26 +00:00
Shawn Hoffman 31e61da40d fix Jit64::fmrx (well, fixes soul calibur 2 SPS at least) cottonvibes wrote this :)
fmrx can do some different behavior depending on the current mode of the fpr, but we *seem* to not have a problem ignoring this behavior...
add a tiny comment to the PECopy register - some sources call the half_scale bit "mipmap"

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 04:01:31 +00:00
Rodolfo Osvaldo Bogado 7602f7ab3e rewrite the tev stages generator to make it more hardware like, thanks to godisgovernment for he documentation. Also make it faster using lockup tables.
thinking going to get a lot of -1 for this one but is the only for of really test it.
hope this fix something and don't break to much ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 03:28:38 +00:00
hrydgard 2a99dfb261 tiny change: get rid of a couple of uses of "long". better to use int or the explicitly sized typedefs. possibly really minor speedup of zelda ucode audio on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-28 22:51:00 +00:00
Rodolfo Osvaldo Bogado a31eb24955 small commit,but should fix 2 big issues:
* clear and flicker problem in d3d, backbuffer clearing was commented out, (if this was on right let me know and I'll revert).
* alpha problem introduced by my modifications to the tev, must been sleeping when i wrote that code, should be fixed now.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4471 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-28 02:00:13 +00:00
Rodolfo Osvaldo Bogado 08b2686d90 as sl1nk3.s say make the updates directly to the viewport and let the scale fixed in 2^24.
please test specially in paper mario and Killer 7 that where games where supposedly this was used.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4470 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-26 02:38:23 +00:00
Rodolfo Osvaldo Bogado 0511d6e185 some work on zscale and zoffset, don't know if this is correct but at least it seem to fix one or two games.
thanks a lot to chaoscode he make possible to test this on nvidia. please test this a lot and give me feedback :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4468 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 23:10:30 +00:00
nakeee 1adc944115 compile fix(linux)?\024
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4467 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 16:38:06 +00:00
Shawn Hoffman 04a0e630db little fix to __write_console logging, the char* is in r4, not r3, heh
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 03:26:39 +00:00
Rodolfo Osvaldo Bogado 227d363881 small code clean up:
d3d: remove the depth texture path it will not work so for now only lockable textures were available. i thing the only way will be a use a secondary render target and do a depth pass to mimic depth textures.
opengl: minor cleanup here and there and a possible fix to issue 1509, but not tested because in my system the errors remarked in the issue don't show.
commond: code reorganization an optimization in the pixel shader  generator, trying to understand the tev stages, make some changes to make the generator faster (not much only started for the alpha test and fog).
this changes try start solving the diferences bethen the hardware plugins and the soft plugin.
i hope with i don't brake nothing but please test this a lot.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4465 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 02:35:21 +00:00
Shawn Hoffman 7bff609ad8 clean up HLE funcs for debug logging a little, add "__write_console", gives some interesting messages in wii sysmenu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4464 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 02:10:23 +00:00
Shawn Hoffman 73fda8cfbf Fix a possible crash on close due to INANDContentLoader objects getting deleted twice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4463 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 02:03:45 +00:00
sl1nk3.s 1ce145e86e Sorry, r4459 stole the GUI keyboard input (damn thief ! D:), this also fix issue 1556.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4462 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 21:31:28 +00:00
nakeee 02527b21ff lp's fix for bundle name
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4461 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 20:29:52 +00:00
Shawn Hoffman 5123ece26a fix some warnings, compile Plugin_VideoSoftware against the plain multithreaded version of libc instead of the MT DLL version.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 01:00:45 +00:00
sl1nk3.s 9154424841 Fix a small misspell in OGL config, Fix the toggle fullscreen button when rendering to separate window + a weird issue related to rendering to main.
Code cleanup in nJoy i had around for a while, it also adds code to support SDL 1.3's force feedback API and is more stable (will not crash anymore on stop when rumble is enabled)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 00:18:21 +00:00
XTra.KrazzY bf4ae6aaa0 Fixed AR codes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 21:47:53 +00:00
tmator f432250893 CoreAudio for osx : replace all deprecated functions, now it not block dolphin, but it not work, i'm not a sound specialist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4457 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 17:10:27 +00:00
Shawn Hoffman 78c7c08daf git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4456 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-10-23 15:30:35 +00:00
Shawn Hoffman ac157105c5 small code cleanup: rename "dual core" stuff to CPUThread, bOnThread, etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 15:26:35 +00:00
Shawn Hoffman d538a09942 Change UseDualCore to true by default, by demand :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 14:23:09 +00:00
Shawn Hoffman 520a2a68ac Change some default settings:
Core:
bLockThreads = false
m_EXIDevice[2] = EXIDEVICE_NONE
Video:
bKeepAR43 = true
iMaxAnisotropy = 1
bCopyEFBToRAM = true
Trying to find good high compatibility settings for default setup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4453 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 05:48:54 +00:00
sl1nk3.s 833341696b Fix issue 1549, issue 1400, a crash when pressing reset while no game were running and better fix for issue 1556
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 19:13:22 +00:00
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