Commit Graph

  • 15eb779c01 Move sampler state setting outside the drawQuad utility functions. Use linear filtering for various buffer copies, improves visual quality a lot. NeoBrainX 2010-07-17 15:18:52 +00:00
  • 5abed9d5a4 Dependency cleanup in DX9. Dynamically load a d3dx9 dll at runtime (I tested Dolphin with the first d3dx9 dll and it even worked fine there). Should fix the flood of users asking why they can't select the DX9 plugin :P NeoBrainX 2010-07-17 11:42:28 +00:00
  • 25efe443ea Fix an issue that made it so that the emulator could not be resized in the nowx build on linux. Also some code cleanup in the OpenGL and Software plugins. Glenn Rice 2010-07-16 21:56:40 +00:00
  • aa88d8b790 Since apparently no one feels like fixing SMG FIFO overflows, commit iceman4love77's fix. No idea if it works or what it does, he seemed pretty confident that it works though. NeoBrainX 2010-07-16 21:51:35 +00:00
  • ec9871e2bc Fix an undefined symbol in the WiimoteNew plugin on linux. The inputuicommon lib must be earlier in the list than inputcommon and common. Glenn Rice 2010-07-16 20:08:38 +00:00
  • 697480f5cc Remove long-rotted vestiges of SDL video output. Soren Jorvang 2010-07-16 19:17:35 +00:00
  • aa998896ac Allow C code to use the Dolphin log manager so that Wiiuse text output can go to the log window like with other subsystems. Soren Jorvang 2010-07-16 19:08:26 +00:00
  • 02ce753b76 This is basicall linux code cleanup. We don not need to pass the X display handle from the video plugin anymore. The wiimote plugins now open their own display handles, and the GUI uses the display handle of the main window frame. Only the window handle from the video plugin is needed. The pWindowHandle variable now passes this instead of the display handle. Glenn Rice 2010-07-16 14:14:57 +00:00
  • 665d83ed45 some more minor optimizations introduced by aavindraa, i only corrected evaluation order using some (). Rodolfo Osvaldo Bogado 2010-07-16 12:36:55 +00:00
  • c2ee89b170 include the MP compiler option, which will allow for faster compiling + some minorly stuff :p luisr142004 2010-07-16 09:22:53 +00:00
  • ddaf442e9e DX11: fix mem leak on closing a game (Fixes issue #2836, thanks to aavindra) luisr142004 2010-07-16 06:16:03 +00:00
  • deffc95794 New Wiimote Plugin: Moved Linux cursor position code into ControllerInterface/Xlib. (absolute cursor position can be mapped to something other than IR camera) (code fixed by Glennrics) Put the UDP Wiimote dialog's Update Buttons,Update IR,Update Nunchuk... checkboxes in an "Update" group box. Fixed some Linux config dialog problems. (thanks Glennrics again) Some other minor cleanup in ControllerInterface. (changed some std::string/stringstream to char[] where possible) Removed a warning in DX11 plugin. Jordan Woyak 2010-07-16 03:43:11 +00:00
  • f438532879 Added back the 3rd argument on the Set() calls dapetcu21 2010-07-14 20:20:25 +00:00
  • bbb48603be Added nunchuck acceleration support to UDPWii . Moved some UDPWii stuff to the nunchuck attachment because I needed calibration data for the nunchuck... dapetcu21 2010-07-14 17:33:14 +00:00
  • 61bd545f80 A little iterator bug and a compiler warning in the OpenGL code. Soren Jorvang 2010-07-12 20:11:19 +00:00
  • 9cb41e7c70 hopefully fixed zww issue with new efb to ram. implemented new efb to ram in opengl modified TextureConversionShader preparing the implementation of new efb to ram in dx11 please test for regressions Rodolfo Osvaldo Bogado 2010-07-12 19:30:25 +00:00
  • dcc51e0ef8 DX9/DX11, improvement to r5870: Instead of skipping SetViewport(), fix the viewport to match the old EFB dimensions. Should reduce or even fix most graphical glitches caused by huge viewports in HD resolutions. NeoBrainX 2010-07-12 15:10:27 +00:00
  • ff917cb0c9 DX9/DX11: Workaround the viewpoint/EFB creation issues in e.g. SMG2 on NVIDIA hardware or when using HD. Will most likely cause glitches, but prevents crashing. Correct behavior can't be implemented in Direct3D, so this is the best option we have. NeoBrainX 2010-07-11 16:26:46 +00:00
  • 3997243143 [Core] Added a wait before a spin wait. nodchip 2010-07-11 03:16:52 +00:00
  • addb89fecc Allow full-length Unix pathnames. Soren Jorvang 2010-07-10 21:17:08 +00:00
  • 379706b25a On linux check to see if the xrandr extension is present and don't use it if not. This fixes issue 2920. Glenn Rice 2010-07-10 12:35:16 +00:00
  • 91dafccd27 Oops, I disabled tilting. Jordan Woyak 2010-07-10 06:54:42 +00:00
  • a0aa506453 GCPad/Wiimote New: Added a set defaults button to the config dialog. (gave new wiimote plugin a few default buttons, not done) Moved MSWindows cursor position code to ControllerInterface/DInput (plan on moving Linux's cursor code to Xlib as well). IR Up,Down,L,R now must have Cursor X/Y/-+ mapped for regular mouse control on Windows. (hopefully this isn't too confusing, the reset to default button automatically sets this up). Renamed One,Two,Minus,Plus to 12-+ (you will have to reconfigure these buttons, sorry). Added text labels for the button and trigger preview bitmaps. -other minor stuff. Jordan Woyak 2010-07-10 06:48:24 +00:00
  • 2bcdf4f5a4 Remove NSAutoreleasePools that are no longer necessary now that pools are properly declared at thread entry/exit. I am leaving the ones in Wiiuse while there's still a small hope that it may be used outside of Dolphin, though. Soren Jorvang 2010-07-09 22:31:04 +00:00
  • 1e4f3c589d New Wiimote Plugin: Made UDPWiimote use the regular "Nunchuk" extension setting. Having a separate "UDPNunchuk" was really ugly. -some other minor changes. Jordan Woyak 2010-07-09 22:11:12 +00:00
  • d0c9a38681 2 commits in one: fix frame dumping and screenshots in d3d9 and opengl some improvements to the new efb to ram please test to see if the issues introduced by the new efb to ram are solved by this commit Rodolfo Osvaldo Bogado 2010-07-09 20:56:16 +00:00
  • df32603ba4 When refreshing real wiimotes in linux, make sure that real wiimotes have been initialized first. Thanks Billiard. Glenn Rice 2010-07-09 04:02:36 +00:00
  • 0284a7a1df Some more attempts at cleaning up the scons build and more clearly identifying which options and parameters go with which platforms etc. Soren Jorvang 2010-07-09 01:26:53 +00:00
  • 07973f726e Fix a segfault when the debugger is used and dolphin exits. Put the filename back into the "Saving settings ..." notice log (soren don't remove this again.) Added a "batch" mode command line option. Now dolphin will not exit with the emulator if a file is run from the command line unless you also use the "batch" option. For example in linux "dolphin-emu -b -e filename". Glenn Rice 2010-07-08 23:27:51 +00:00
  • 543bb3ae4c Glenn's iconv code seems to work fine on OS X. Soren Jorvang 2010-07-08 17:59:56 +00:00
  • 75871dab65 Fix wii iso name and comment loading for linux. You will have to delete your cache files to get your existing iso's information to be updated. Glenn Rice 2010-07-08 17:46:32 +00:00
  • f1154f9146 A few more Readme updates. Soren Jorvang 2010-07-08 17:27:17 +00:00
  • 17e6c16bf1 When running a game from the command line, exit after emulation stops. Soren Jorvang 2010-07-08 17:25:20 +00:00
  • a4a61ae95c Restore a line deleted by accident. Soren Jorvang 2010-07-08 15:56:09 +00:00
  • 1d535c9e50 Forgot to add Version.cpp in previous. Soren Jorvang 2010-07-08 15:44:39 +00:00
  • 39ae36398f Copy the version string obtained from svnversion at runtime instead of using it as a constant in several places. Saves a few bytes and the time it takes to recompile a bunch of files whenever svnversion twitches. Soren Jorvang 2010-07-08 15:25:01 +00:00
  • 75be9ce40d Fix the nowx build. Do we still want to keep the nowx build? If you do speak up now because soren wants to remove it. Glenn Rice 2010-07-08 00:52:46 +00:00
  • 0cdfef4056 fix for msaa in opengl Rodolfo Osvaldo Bogado 2010-07-07 22:09:52 +00:00
  • 0a47e12b18 Add back AfterInit which essentially does such actions that would normally (on a fresh install) be triggered by the user clicking on the GUI. Soren Jorvang 2010-07-07 22:00:41 +00:00
  • 0ad71eda6b Revise the way that cdrom and dvd rom drives are identified in linux to remove reduntant drive listings. Also no longer checking mount points (in fstap and mtab). This can give redundant listings, and GC/Wii backup discs can not be mounted anyway. This prevents multiple listings from appearing in the GameListCtrl when "Show Drives" is selected. Glenn Rice 2010-07-07 19:47:45 +00:00
  • c37bca75b6 Make the refresh button on the Wiimote New plugin add new wiimotes in linux, instead of disconnecting and reconnecting those that were already connected. This makes it possible to connect new wiimotes during a game by openning the wiimote configuration dialog and refreshing. You still need to tell dolphin that a new wiimote is connected using Ctrl+F5-F8 or the corresponding menu entries. Glenn Rice 2010-07-07 02:19:16 +00:00
  • 539f63b58b ok, here goes a really experimental commit: replace efb to ram implementation by a hybrid approach. explanation: when copying from efb to texture, instead of make a copy to a texture or to the ram, copy the data to both, in hi quality to the texture and in native quality to the ram. then instead of re-decoding the data from ram (very slow) use the data in the texture. to improve this even more, test if the cpu has modified the data in the ram copy, if so, update the texture in memory and mark it as dynamic to avoid redundant work in future frames. having all this implemented this is what is archived: sms: full quality with scaled efb copies and fully functional goop cleaning :) ztp: efb to texture speed with full map support. nsmbw: this is a hard to emulate game, as it make a lot of shading and texture modification in cpu. it only have 35 fps in my system with new efb to ram but is 10 fps faster than normal efb to ram. this game also show me another unimplemented feature, copy efb to multiple textures at the same time (is used to animate coins and other things in the world). this is a remaining todo in efb to texture. a lot of games should improve, so please test and let me know any regresion caused by this commit. if everyone likes this the next step is, implement efb to multilpe textures and merge efb to ram and efb to texture. then port to the other plugins. enjoy. Rodolfo Osvaldo Bogado 2010-07-06 22:27:13 +00:00
  • 464bac82ff somo improvements in vertex manager in dx11, may spedd up things a little. i made this changes trying to found the origin of the sps in zww and sms but no look so far. the code is looking nice so commit it Rodolfo Osvaldo Bogado 2010-07-06 22:10:15 +00:00
  • 0f5998d358 little fix for error introduced in shader generator in R5842 Rodolfo Osvaldo Bogado 2010-07-06 17:21:24 +00:00
  • 0e2b4d8306 Implement proper thread naming on linux. This fixes a segmentation fault with thte wiimote new configuration dialog when a thread was named without first calling ThreadInit. Glenn Rice 2010-07-06 16:16:07 +00:00
  • e9e12ff100 cleanup + some eolz luisr142004 2010-07-06 13:14:51 +00:00
  • 5133793c6c Swapped out UNLIMITED_ICACHE for FAST_ICACHE in both the JIT and JITIL recompilers. The ICACHE is the instruction cache emulation of the CPU. In my testing, FAST_ICACHE was more compatible than UNLIMITED_ICACHE. This also means the icache emulation will be consistent between the PPC recompilers and the interpreter. skidau 2010-07-06 07:21:35 +00:00
  • 3e08208f42 Linux build fix, code cleanup, and compiler warning removal. Glenn Rice 2010-07-06 01:37:34 +00:00
  • 19cdaaae89 little fx to solve issue 2897 Rodolfo Osvaldo Bogado 2010-07-05 19:27:08 +00:00
  • f3901b6b43 Fixed linux buid... hopefully. Sorry it took this long.... I had to do a complete rebuild :p dapetcu21 2010-07-05 18:31:57 +00:00
  • bd4d583ea9 Non-intrusive nunchuk stick. The received stick only kicks in when the stick configured in settings is untouched. dapetcu21 2010-07-05 14:57:25 +00:00
  • c8ddcb9df1 Added nunchuck through UDP support in the new plugin. dapetcu21 2010-07-05 13:51:01 +00:00
  • ca827b9930 Added UDPWii support to the new plugin. Hopefully I didn't made a mess... Nunchuck support not implemented yet. I want to make it a separate extension. dapetcu21 2010-07-05 10:46:32 +00:00
  • fccacd7f62 Build fix skidau 2010-07-05 03:58:59 +00:00
  • f158ca82af Debugger enhancements: * Added JIT breakpoints functionality * Added a menu option to disable the JIT block cache * Enabled single stepping in JIT mode as a run-time option (automatically enabled when the debugger is used) * Enabled the missing JIT Off menu options * Removed the JIT Unlimited Cache hack skidau 2010-07-05 02:05:47 +00:00
  • 8e4ef9b9e5 Slightly change my last commit with sorens idea of using CG_VERSION_NUM instead. j4ck.fr0st 2010-07-03 21:21:28 +00:00
  • 2e6a9f9805 New Wiimote/GCPad: Fix segfault prob in Linux.(thanks glennrics) Some minor changes to real wiimote: force continuous reporting off, since only the last data report is used currently. Jordan Woyak 2010-07-03 20:14:57 +00:00
  • 6cc3e4ba14 Add the patch from Dragonlord for broken Cg 2.1 on Linux with ATI cards (Fixes Issue 2508). Shouldn't affect anything else than Linux, please test it there. j4ck.fr0st 2010-07-03 19:10:23 +00:00
  • 2074b2ef8e Fix the undefined symbol in the new wiimote plugin on linux. Glenn Rice 2010-07-03 17:08:41 +00:00
  • e34a8baa82 Fix a segmentation fault when attempting to load an invalid plugin. Removed an erroneous fprintf. Glenn Rice 2010-07-03 16:47:49 +00:00
  • 2ed8a4331e Fixing delayed input issues in new and old wiimote plugin for real wiimotes. Having more than 1 real wiimote connected but not connected all of them also ingame it, caused heavy delays of active wiimote input. snzgoo 2010-07-03 13:05:55 +00:00
  • a054cc71b6 Fix some fail logic and a lil prob with UI when changing source and clicking "Refresh". Jordan Woyak 2010-07-03 11:20:38 +00:00
  • dc8778e2d9 On Windows, wiiuse_find implicitly does the equivalent of wiiuse_connect as an accident of implementation. On other platforms, an explicit call to wiiuse_connect is required. Soren Jorvang 2010-07-03 10:54:55 +00:00
  • 10e625a11a PluginWiimoteNew now needs libwiiuse. Soren Jorvang 2010-07-03 10:34:13 +00:00
  • 2a3aa881fd Rename the /e command line option to exec. Caused some confusion in Issue 2891 since it is not limited to ELF only. j4ck.fr0st 2010-07-03 10:24:55 +00:00
  • 0bf3dfda03 New Wiimote Plugin: Added real wiimote support.(only tested on Windows, still a few probs: after refresh alt+F{5..8} x2 is needed) New Wiimote/GCPad: Re-merged Keyboard+Mouse for easier kb+mouse configuration, like before.(DirectInput doesn't support individual kb/mice anymore like I thought it did) Fixed some bugs and maybe leaks in GUI.(got rid of evil dynamic_cast) Renamed stuff from DirectInput to DInput, cause it's shorter and rhymes with XInput, I guess. (I remembered eol-style native, shuffle lost his job :P) Jordan Woyak 2010-07-03 08:04:10 +00:00
  • 0dc8833396 A multi-interface listener, threaded approach to UDPWii dapetcu21 2010-07-03 04:56:37 +00:00
  • 12a676c273 this is a pure optimization commit: return to the old values in constants in pixelshader, the old values give mi 3 or 4 fps more,(maybe some kind of compiler optimization) in some games and with the current algorithm i notice no difference with this values, please report any problem. optimizes SSAA to make it a little faster and, the quality should be the same but with a little speedup. change the way the frame is processed depending is xfb is enabled or not to make this a little faster. please test and report any problem Rodolfo Osvaldo Bogado 2010-07-02 17:09:53 +00:00
  • 6cacc52ebf Fix a bug in wiiuse that prevented a wiimote from being disconnected properly in linux. Also fixed a bug in wiiuse_set_leds on all platforms. Glenn Rice 2010-07-02 15:48:42 +00:00
  • 2455037d26 little fix for an error introduced in my last commit, thanks to Soren for pointing the error Rodolfo Osvaldo Bogado 2010-07-01 12:51:55 +00:00
  • 89c4068663 Fix a bug in DSP Jit where branches had a blockSize of zero. Add some useful checking to J_CC/SetJumpTarget. Refactor increment/decrement and reuse code with increase/decrease. j4ck.fr0st 2010-06-30 16:17:20 +00:00
  • 599a4c974d add some patterns to hgignore Shawn Hoffman 2010-06-29 22:51:40 +00:00
  • 46b70bbaae eolz Shawn Hoffman 2010-06-29 22:44:09 +00:00
  • a52d2f0ccc little fix for may last commit Rodolfo Osvaldo Bogado 2010-06-29 16:54:15 +00:00
  • d511b50612 this commit is divided in 4 parts: 1 - Optimize pixelshadergen to avoid redundant register overflow math, with this if a game don't need this will be not applied. this must bring some fill rate back and improve speed a little in fill rate limited systems. 2- some corrections to vertexshadergen to avoid uninitialized texture coordinates, dono if is the correct way to fix it but t least it will make house of the dead overkill playable in dx11. the bad thing: still missing geometri in dx9, in dx11 it works exactly as on opengl. 3 - some optimization made to improve fps a little wih the latests changes made to fifo. * back to the original code in beginfield as now it will work right. * check for efb access more often as a lot of time is lost waiting for efb access 4 - apply a little fix for missing textures in nvidia opengl tanks to Wagnard28 for finding that nvidia does not like invalid shader id :) please test for any regression Rodolfo Osvaldo Bogado 2010-06-29 14:40:37 +00:00
  • 4afe48a0fb Check for weakly linked OpenCL. Soren Jorvang 2010-06-29 10:23:40 +00:00
  • aa43f0a575 Fix DebugFast/win32 build configuration j4ck.fr0st 2010-06-29 10:23:15 +00:00
  • 8315aa1432 Fix some projects to include CLRun/include to find the OpenCL headers. Orphis 2010-06-29 09:15:29 +00:00
  • 685bae34e5 Dynamically load OpenCL on Windows with CLRun. There shouldn't be the need to make a separate build now or download a big SDK to link Dolphin. If compilation fails, rebuild the whole solution as Visual Studio struggles with the not so complex project dependencies. ATI users still need to install the Stream SDK as it's the only way to have an OpenCL driver. NVidia users just have to install a recent driver (version 197 is tested and working). Orphis 2010-06-29 02:23:09 +00:00
  • 374999d750 Use the int/wxString[] ctor for empty wxChoice instead of the wxArrayList& one (which is probably a bad idea when passing NULL). j4ck.fr0st 2010-06-27 17:52:02 +00:00
  • d256dd2083 Drop d3dcompiler_xx.dll dependence, using D3DX11CompileFromMemory instead. Hopefully solves the remaining issues from r5805. NeoBrainX 2010-06-27 16:08:54 +00:00
  • 18ccffdb64 Load the d3dx11 dll at runtime instead of linking directly against it. Should make DX11 usuable again if the DX SDK used for compiling is newer than the runtime dlls used. Various little tweaks and fixes, mostly to fix D3D11 debug layer warnings. NeoBrainX 2010-06-27 14:04:49 +00:00
  • d18085c3ad Don't bother using autoconfiguration to find the OpenCL and Cg frameworks on OS X. Soren Jorvang 2010-06-26 19:17:43 +00:00
  • 9de9ec1fb6 It would appear that FindFocus() is (differently) broken on Windows. Soren Jorvang 2010-06-26 18:50:22 +00:00
  • b372fe4329 Set g_Config.bNumberRealWiimotes as volatile. Otherwise connected real wiimotes are not acted on. Glenn Rice 2010-06-26 16:48:57 +00:00
  • 8bfb17bba1 Config.h needs to be included in CommonPaths.h because CommonPaths.h is included in Common.h before Config.h is. If you want to find an alternate way to fix this so that Config.h is only included in Common.h watch for circular inclusions next time. Glenn Rice 2010-06-26 14:54:43 +00:00
  • 79992ca7e0 Make OpenCL builds "not" the default for linux and OSX. If OSX wants OpenCL to be part of the default build you can change this specifically for your platform. At this point there is no standard OpenCL library for linux. Glenn Rice 2010-06-26 14:16:19 +00:00
  • 20fd23752f Put back the store removed in r5790. JIT on OS X crashes without it. Soren Jorvang 2010-06-26 14:10:02 +00:00
  • 958e9bd1e0 Oops. Soren Jorvang 2010-06-26 13:56:29 +00:00
  • 10b76db391 Link the OpenCL framework weakly on OS X, so that a binary built on 10.6 with OpenCL will also run on 10.5 without OpenCL. Soren Jorvang 2010-06-26 13:29:44 +00:00
  • 8c3ed5dc46 Lint. Soren Jorvang 2010-06-26 13:12:28 +00:00
  • 7ce5e5d1bd Config.h should never be included directly, but rather through Common.h for portability. Soren Jorvang 2010-06-26 13:11:34 +00:00
  • 2be444965a When checking to see if the rendering window has focus, there are a few different variations that can be true depending on circumstances. Soren Jorvang 2010-06-26 13:07:33 +00:00
  • a53d0cb6d5 The ControllerInterface API has the notion of an "id" which is presumably meant as a ideally persistent device instance number. Soren Jorvang 2010-06-26 13:03:25 +00:00
  • ebbfba62a0 On OS X, add autorelease pools to the cpu and emu threads to avoid leaking memory. This is necessary because the wxgl code called from those threads relies on deferred release. Soren Jorvang 2010-06-26 12:52:57 +00:00
  • 67d5d89388 Starfox Adventures DTK audio loop fix (thanx to James333) Marko Pusljar 2010-06-26 10:46:13 +00:00
  • e07a9b107a JIT fix. Brings back the speed lost in r5378. The memmap function was incorrectly marking virtual memory as real memory. Fixes issue 2653. skidau 2010-06-26 03:07:07 +00:00
  • ebb49c28f7 Fix scons build. Soren Jorvang 2010-06-26 03:02:57 +00:00
  • f6d844dac1 MAJOR and long ago overdue wiiuse and real wiimote sourcecode cleanup. Removed "recording" in old wiimote plugin and other not necessary functions(EEPROM reading, we 'll just do a reconnect instead to use default accel calibration data etc). Recording is not needed anymore(playback of recorded moves should be still working). Everything the recording feature offered, the new wiimote plugin does as well and even more. The cleanup will ease the port of the real wiimote feature into new wiimote plugin, which is still only offering emulated wiimote support. Billiard said he's now on it.:) Wiimotes are now slighty more responsive and multiple wiimotes should harmonize now slighty better. This clean up was requested/inevitable and should have be done way more earlier. This "might" break osx/linux builds, so please test. If your aware of any "real wiimote" issues please post it in the comments as well(dont forget to state your OS). snzgoo 2010-06-26 02:08:30 +00:00
  • 434e6b1198 Small update to fix some cmpr alpha issues with games that use linear filtering. Apparently the colour values matter even though alpha = 0. Also, remove redundant ANDs. xsacha 2010-06-25 19:31:26 +00:00