Commit Graph

2772 Commits

Author SHA1 Message Date
omegadox 00f2a30b71 Some AR Fixes, and speedup Patch Event so AR can apply Code increments faster than the game execution, this helps fixes Jump code in some games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4551 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 01:26:26 +00:00
Shawn Hoffman f38aaca614 apply deathknight13579's other changes from issue 1630
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4550 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 01:19:43 +00:00
John Peterson d47e4827f7 Build (minor) > Fix to last commit, missing an ending " in some instances
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4546 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 23:10:36 +00:00
John Peterson 2de805da0a Build (minor) > Fixed target paths, had accidentally broken one of the configurations
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4545 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 22:51:28 +00:00
John Peterson 18450737be Gamepads (minor change) > Fixed it so it doesn't always check for new pads on startup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4543 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 21:14:41 +00:00
John Peterson 7a6eb0f350 GUI > Fixed the restart to debugging/non-debugging option, GetModuleFileName use the full path now, should not fail
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4541 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:50:45 +00:00
John Peterson 013a27b13b Externals > Fixed SDL include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4538 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:26:25 +00:00
John Peterson 71506bc0f7 Wiimote and nJoy > Gamepad changes
1. Added LiveUpdates, while the configuration window is open nJoy and Wiimote will check for connected/disconnected pads
2. Removed the 'Nintendo RVL-CNT-01' device from the device list, and other SDL devices with no axes/buttons
3. Added SDL (from the current SVN) to get debugging information for SDL.dll
4. Added 'Upright Wiimote' option to emulated Wiimote options

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4534 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 18:57:35 +00:00
Marko Pusljar b858befba2 DSPLLE small mul fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 16:17:22 +00:00
luisr142004 1ba75a05d0 Fix some plugin communication with the video plugins (fixes Esc button) and apply an opengl equivalent of my first commit :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4532 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 07:18:31 +00:00
donkopunchstania dee90fa7aa The WGP does not loop if the write pointer is set beyond the end of the fifo. Updated the video plugins this time.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 01:51:40 +00:00
Sonicadvance1 ebc696c58e Fix GCC 4.5 Compiling. -fvisibility=hidden seems to break it, so it was removed. Non-POD objects are now errors instead of warnings in 4.5, so I had to remove the wxString::Format. and a Fix where GCC 4.5 introduced strndup. Compiling with nowx=true gave me linker problems for some reason, and I added the -flto flag but commented out. Dunno what it will do yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4530 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 11:07:04 +00:00
Shawn Hoffman e4ec0ba33b add deathknight13579's actionreplay fixes from issue 1630
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4529 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 06:18:37 +00:00
donkopunchstania 8d6aa79389 Revert WGP change. The previous change was correct, but the video plugins need to be updated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4528 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 04:32:57 +00:00
donkopunchstania 52da977c73 Fixes to the software plugin command processor. Made it easy to use the command processor in place of the one in video common. Use frame skip setting from the application in the software plugin instead of the internal frame skipping config setting. The WGP does not loop if the write pointer is set beyond the end of the fifo.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 03:14:38 +00:00
Rodolfo Osvaldo Bogado c2a4e33313 Implemented secondary path for hardware with no multiples render target support, so please a lot of testing from people with problems in the last release.
corrected a little depth textures still broken but now at least i discover the reason, the ultra bad news for d3d lover is, the only correct way to implement depth textures will be do a firs depth only pass disabling blending. 
This is because blending is affecting the values stored in the depth texture, so to store the true values, blending mus be deactivated.
this will degrade performance but is the only "Correct" way in d3d 9. the other possibility is dx10 but that's a complete different story ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4526 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-10 12:45:03 +00:00
sl1nk3.s 07408d7625 Fix issue 1523, disable x64 path on Jit64::lXz causing issue 615, and revert the FPU change from r4441, as it's causing weird issues in SSBM
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4522 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 23:12:35 +00:00
nakeee 1c95100eb1 DSPLLE: moved breakpoint to debug to gain some speed
clrl fix from lordmark


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 21:37:38 +00:00
Rodolfo Osvaldo Bogado 0ac07e8aa8 Big Commit this will break a lot, fix a lot, but i thing is a good step:
Implemented all the correct format conversions in efb to texture copy.
replaced all the stretcrect calls with quad draws this must improve speed a bit.
A BIGGGGGGGGGG cleanup in the code and reorganization.
reimplemented zpeek using a secondary render target ( this still is buggy so many issues left)
please a lot off feedback.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 20:35:11 +00:00
Sonicadvance1 84c6135bfd Oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4519 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 10:37:53 +00:00
Sonicadvance1 3fa2c9fbac Fix Linux compiling entirely
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4518 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 10:37:04 +00:00
luisr142004 6c88f9e652 disable the full screen button while no game has been loaded and move a change from rev 4492
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 09:13:42 +00:00
Sonicadvance1 3cf6a9e014 Some more fixes, not quite sure where const_iterator is defined at
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4516 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 09:07:24 +00:00
nakeee 60f142ce96 Begining of porting the luainteface to linux + some other small fixes.
(could use some help with lua macros)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4515 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 08:54:09 +00:00
XTra.KrazzY dcb9967e75 Lua is officially supported on Dolphin. (thanks for the linkage fix shuffle2!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4512 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 00:15:58 +00:00
XTra.KrazzY db372f0e32 Lua now has GUI and is fully functional! But it doesn't link if I don't ignore libcmt.lib so commented all the LuaInterface calls until someone fixes it...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 23:54:10 +00:00
nakeee 2bff17d9f5 missing include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 22:27:58 +00:00
XTra.KrazzY a0129e51a3 LUAInterface should have all its functionality now (excluding input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4507 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 20:01:39 +00:00
hrydgard ebaad032eb forgot something
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4506 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 18:54:37 +00:00
hrydgard 2d0f714546 Rewrite memory management, _hopefully_ banishing "failed to map 1 gb contiguous memory" 32-bit Dolphin errors to history.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4505 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 18:53:10 +00:00
Shawn Hoffman 42cd2838a3 jit bcctrx and misc code cleanup. NES games launched from animal crossing work, but have major video problems...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 17:56:01 +00:00
XTra.KrazzY 5579a9169d LUA: Huge warning cleanup (no more warnings)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4503 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 22:15:06 +00:00
XTra.KrazzY 9f97b26332 LUA code is now portable. Now all that's left is the 20 more TODOs in there...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 21:52:36 +00:00
Marko Pusljar 10d7e1bf3e DSPLLE dissasm fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4501 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 13:28:03 +00:00
Shawn Hoffman 281636b79b Some cleanup of BBA code. No behavioral changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4500 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 06:43:01 +00:00
nakeee 7a0055e113 DSPLLE: made not into notc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-05 09:06:21 +00:00
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
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
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
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
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
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
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