Commit Graph

  • a72339b086 Work on JIT branches part #2/2: * Code cleanup * Reduce the cost of RFI instruction (heavily used on PowerPC) * Implement missing cases in bclrx dok.slade 2010-07-28 21:24:23 +00:00
  • f09c5ad6c1 Work on JIT branches part #1/2: Try to merge cmpXX with all types of conditional branches (not only bcx) dok.slade 2010-07-28 21:21:30 +00:00
  • 1f119d5e73 Revert the conversion from u32 to size_t from my last commit to reduce compiler warnings in windows. Fix an issue that made it impossible to close the console and log windows in windows. Glenn Rice 2010-07-28 15:54:22 +00:00
  • 71d4ece44e Fix an issue that caused the DSP-LLE window to be openned twice in windows. (Thanks shuffle2). Fix an issue that prevented the code window settings from taking effect on application start. (Thanks shuffle2, skid_au, and sanchez). Fix a potential segmentation fault with the DSP-LLE debugger window. Glenn Rice 2010-07-28 15:22:27 +00:00
  • a122a4dc2c Sory, I've forgot to delete my logs in my last commit. :) Marcos Vitali 2010-07-28 10:24:54 +00:00
  • 688fda1a0e When the new FIFO is being attached We make sure there wont be SetFinish event pending if so reset this. This protection fix Eternal Darkness booting, because the second SetFinish event when it is booting seems invalid or has a bug and hang the game. This is EXPERIMENTAL, in theory don't break any game but if so Revert this commit immediately please. Note: Beside Eternal Darkness needs DirectX 11 or DirectX 9 with Zelda Hack to works fine. Marcos Vitali 2010-07-28 02:57:17 +00:00
  • 9fea384ed3 Fix some more resizing and saving of such. Glenn Rice 2010-07-27 22:12:19 +00:00
  • 67e6ae5fac BPHack option removed (it was not used anymore) Marko Pusljar 2010-07-27 10:29:34 +00:00
  • 586f24645a Fix an issue using render to main in combination with the log window or console window, in which the renderer was not resized when the panes were resized. Also refresh the log window at that time so artifacts are cleared. A little more code cleanup of the debugger windows. Glenn Rice 2010-07-27 02:39:12 +00:00
  • 99ffecd675 Merge JIT instructions when loading 32-bits immediate values : PowerPC needs 2 instructions to load a 32-bits immediate value in a register (lis + addi; lis + ori). We can merge both instructions into a single SetImmediate(). This commit shares code with r5799, so to prevent another flame war on OSX vs Windows, I added #ifdef around the "bad" lines... dok.slade 2010-07-26 23:06:34 +00:00
  • ce3eb85d96 Fix an issue introduced in my last commit. When the debugger is not used and the log or console windows are closed from the menu the notebook is not closed. Glenn Rice 2010-07-26 13:22:42 +00:00
  • 5be58c6772 Gecko codes: Added parenthesis where they were needed.(thanks to glennrics and soren) Fixed a copy paste error with write & fill 8bit codes. Also forgot to remove a return false;.(some more codes should work (fixed issue 2968)) New Wiimote Plugin: Added emulated swinging.(seems to work) Changed the emulated calibration data to some nice values. ControllerInterface: moved and constified some stuff. Jordan Woyak 2010-07-26 05:30:50 +00:00
  • 0eaa7352fd More work on the FrameAui: Added a default perspective for the debugger. Save all perspectives, and not just the active one. Glenn Rice 2010-07-26 03:46:14 +00:00
  • 37217d7857 Fixes a crash in the new wiimote plugin when using real wiimotes plus making real wiimotes work again. snzgoo 2010-07-25 20:56:48 +00:00
  • d340b9497e Commit r5970 part #5: Removed unneeded MOV in branch instructions dok.slade 2010-07-25 19:10:50 +00:00
  • 673f18837b Commit r5970 part #4: Merge some loops in PPCAnalyst::Flatten() dok.slade 2010-07-25 19:01:32 +00:00
  • 16129f6f6d Commit r5970 part #3.1: Forgot to remove code unused since r5974 dok.slade 2010-07-25 18:52:02 +00:00
  • c7b4df19d7 Commit r5970 part #3: Inline the call to computeCR: it now costs a few more memory bytes per JITed instruction but it removes the CPU overhead of the CALL. This allowed to remove some unneeded MOV as well. dok.slade 2010-07-25 18:44:34 +00:00
  • cba42fab1d Commit r5970 part #2: Jit64::GenerateCarry() don't need a temporary register anymore dok.slade 2010-07-25 18:14:48 +00:00
  • 68c8f345d7 Commit r5970 part #1: Fix what seems to be a bug in PowerPC instruction RFI: the wrong bit was cleared in MSR dok.slade 2010-07-25 18:03:14 +00:00
  • fa2cfcd089 Revert r5970 before committing again part by part (except modifications about CR union) dok.slade 2010-07-25 17:54:03 +00:00
  • cbc66f9467 More performance work on the PowerPC JIT compiler: dok.slade 2010-07-25 15:37:56 +00:00
  • 15b741706d JitIL: Fixed the code which were pointed out in r5968. nodchip 2010-07-25 09:56:39 +00:00
  • 1cf1711149 JitIL: Added operand folding rules to increase speed. nodchip 2010-07-25 03:28:52 +00:00
  • 2d3b9860f7 Produce usable global+destdir tarballs with pathnames relative to / . This is a bit hacky as SCons' built-in tar handling basically makes this impossible. I should just write a "relative path" tarball Builder. Soren Jorvang 2010-07-24 23:09:43 +00:00
  • f99a36ccfa Some refinements to (r5955+r5962+r5964): Soren Jorvang 2010-07-24 17:39:17 +00:00
  • ad99d2a4eb Just a small thing that I forgot to change earlier. The new default wiiuse wiimote read timeout of 30ms has been overridden previously by the default 10ms from the wiimoteplugin. snzgoo 2010-07-24 17:00:31 +00:00
  • bd3f837ebf Fix scons stuff broken in revision 5962. The prefix must be conditional on whether the build is global or local. Help should be shown after tests are performed so that the actual values reported are not just an echo of the default values. The bundle is separate from the destdir option. Glenn Rice 2010-07-24 14:21:05 +00:00
  • 840334ad97 Fixes issue 2958 / 2960 Removed wiiuse linkage to common.lib and removed inclusion of log.h(r5944) under windows, since it's obviously causing problems. snzgoo 2010-07-24 14:20:50 +00:00
  • d906dcee27 More SConstruct cleanup. Soren Jorvang 2010-07-24 13:10:54 +00:00
  • 53f5bc682d Make Cg conditional on those platforms for which it is available. Of course, this doesn't do much good without another shader compiler.. Soren Jorvang 2010-07-24 10:24:16 +00:00
  • 7828a689e7 Hopefully fix string concatenation on unicode builds. Soren Jorvang 2010-07-24 07:31:48 +00:00
  • 43cbff64b5 More FrameAui work. Some more segmentation faults resolved. And a little more code clean up. Glenn Rice 2010-07-24 02:36:22 +00:00
  • 949b873dc8 Further *BSD portability. Soren Jorvang 2010-07-23 23:51:34 +00:00
  • 2d06b4114b Some cases where where uses of wxFileSelector with wxFileSelectorDefaultWildcardStr had been copy-pasted and changed to use specific filetypes had retained the extranous format arguments to wxString::Format. Soren Jorvang 2010-07-23 23:50:09 +00:00
  • 669de4890a abs() works on ints, not floats. Use fabsf() to avoid the double conversions. Soren Jorvang 2010-07-23 23:48:04 +00:00
  • 4000df2c66 Simplify SConstruct. Soren Jorvang 2010-07-23 23:16:28 +00:00
  • f8ce075ab1 Commit patch submitted in issue 2951 (PowerPC JIT optimizations) dok.slade 2010-07-23 19:30:00 +00:00
  • c72b5c8bdc Remove references to dead "io.h". Soren Jorvang 2010-07-23 18:29:10 +00:00
  • 919ccb469a Merging Externals/WiiUse/Src and Externals/WiiUseSrc as requested. snzgoo 2010-07-23 18:19:38 +00:00
  • 27665e5bbd Buildfix for wiiuse/windows (broken since r5944) and more wiiuse clean up, plus merging external and internal wiiuse.h as requested. snzgoo 2010-07-23 15:03:49 +00:00
  • 04da34ceb7 Lil fix for Gecko code endifs. ((CT7 CST1) error messages) Jordan Woyak 2010-07-23 06:39:07 +00:00
  • a3e3155678 Added a button to the "Gecko Codes" panel to download/parse codes from geckocodes.org. Codes that require modifiers (the XXXX business) will still not work properly, though they should load/save fine. A few more code types should work now. (All non-ASM type codes should at least attempt to run :p) Hacked a param into IniFile::GetLines to disable removal of text after # chars, so codes with # in the name/notes should load fine. Jordan Woyak 2010-07-23 05:22:12 +00:00
  • 2e6c5b36ab Fix a segmentation fault when changing perspectives. Some general code clean up. Glenn Rice 2010-07-23 03:53:18 +00:00
  • ba67333053 Hopefully fix Windows build. Soren Jorvang 2010-07-22 08:58:23 +00:00
  • 8d2ed5975e Use the Linux install hierarchy conventions on other Unices as well. Soren Jorvang 2010-07-22 08:09:14 +00:00
  • 09b5dfbd53 Prevent Python from stripping off the final newline of the main(){} autoconfiguration tests. Some versions of gcc care enough about ANSI C to complain about this. Soren Jorvang 2010-07-22 07:55:35 +00:00
  • 6c7e666a75 Report on the bluetooth queue depth watermark to help diagnose cases where Dolphin blocks long enough to lose packets. Soren Jorvang 2010-07-22 06:05:08 +00:00
  • 637e5e542a Double warning fix! Thanks to Nakeeeee and BhaaL! :p Jordan Woyak 2010-07-22 05:39:57 +00:00
  • 41f5379c8c A slightly modified(fixed a memleak and sizer spacing) version of avindra's patch to improve the layout of the new "Cheat Search" dialog. Jordan Woyak 2010-07-22 05:28:24 +00:00
  • 6795551a8c Linux build fix ... again. Glenn Rice 2010-07-22 04:38:45 +00:00
  • 987832cbb0 External/wiiuse clean up, part 2. - More removal of unnecessary code - Windows: Modification of Wiiuse_Find under windows, instead of always deleting and recreating the whole wiimote_t struct, we do maintain the old one, adding/removing new wiimotes to/from it - some wiimote bugfixes, see below for details snzgoo 2010-07-22 04:31:36 +00:00
  • 4230c2501e Fix small copy-paste error in Timer.cpp Shawn Hoffman 2010-07-22 04:21:10 +00:00
  • 0d7e4703fb I *think* this is how XK envisioned the DTM structs...let us know if it is or isn't... Shawn Hoffman 2010-07-22 04:16:51 +00:00
  • 35395366bd Revert to using ftime() on Windows which doesn't have gettimeofday(). Untested. Soren Jorvang 2010-07-22 04:15:11 +00:00
  • 48abd94113 small fix for svnrev.h generation: now (again) dolphinwx project will cause the build number to be updated as well. Shawn Hoffman 2010-07-22 04:11:28 +00:00
  • 75dbad3610 Build but don't install the dsptool/tester/MemcardManager tools which aren't really useful to typical users. Soren Jorvang 2010-07-22 03:38:32 +00:00
  • 83883cee45 Port to *BSD. It runs but isn't terribly useful without Cg. Soren Jorvang 2010-07-22 03:29:35 +00:00
  • cdce0ec322 Build fix on linux. Glenn Rice 2010-07-22 02:46:15 +00:00
  • b4ce9c90b6 make generation of svnrev.h slightly more sane, by using vbscript instead of just batch script. Shawn Hoffman 2010-07-22 02:46:11 +00:00
  • 3859a7dce2 Lots more work on making the frame aui stuff functional. Glenn Rice 2010-07-22 02:05:28 +00:00
  • fb36de2338 WIP Gecko(ocarina) code support: There are a bunch code types that need coding/fixing/cleanup, but many codes should be functional. The game properties and "Cheats Manager"(formally Action Replay Manager) dialogs now have a "Gecko Codes" tab to view/enable/disable codes. Currently, you must click "Edit Config" and manually add your codes to the [Gecko] inifile section of your gameinis for them to be displayed.(same format as the AR codes) I'm going to add Add/Edit dialogs similar to the AR codes and support codes with modifiers. I added the new files to scons as best as I could without testing :p. Jordan Woyak 2010-07-22 01:48:48 +00:00
  • a103576a54 Add an option for EFB scaled copy to the OpenGL configuration dialog. Glenn Rice 2010-07-21 12:07:24 +00:00
  • 666ff28f80 fix for mii faces in mkwii. efb scaled copy still not fixed. working on it. please test Rodolfo Osvaldo Bogado 2010-07-21 02:34:59 +00:00
  • 9f3e2ac2cc JitIL: Added operand folding rules for speed improvement. nodchip 2010-07-21 02:23:55 +00:00
  • 16c765dc9c Merge-o. Soren Jorvang 2010-07-20 04:57:04 +00:00
  • 4ffea2c8b9 Less confused about absolute/relative/symbolic pathnames now. Fixes Linux global build. Soren Jorvang 2010-07-20 04:50:43 +00:00
  • 8c7bdebf1e Fix the global build on linux. Glenn Rice 2010-07-20 04:19:25 +00:00
  • 244448014a Prevent double inclusion of CommonPaths.h as pointed out by Glenn. Soren Jorvang 2010-07-20 03:23:25 +00:00
  • 6813a75ab2 Some pathnames are used both by SCons and cpp which can be a bit tricky. Should revisit and make the distinction more explicit. Soren Jorvang 2010-07-20 02:45:31 +00:00
  • c9855f2c22 JitIL: Implemented linear scan algorithm for register allocation. This is for speed improvement. nodchip 2010-07-19 15:07:19 +00:00
  • 8c57ef548e Fixed windows build... dapetcu21 2010-07-19 13:00:40 +00:00
  • b08230512b dsphle - small mail protocol fix for zelda light type Marko Pusljar 2010-07-19 12:34:11 +00:00
  • 9074df896a UDPWii: Broadcasting it's presence on IPv4 to 255.255.255.255 once every 1.5 seconds. 3-arg Set()-s only worked on strings and doubles :P . Added int and bool variants. dapetcu21 2010-07-19 10:36:30 +00:00
  • a2b1f829cb Get rid of a number of unnecessary env.Clones. Soren Jorvang 2010-07-19 03:42:37 +00:00
  • 4ecfa3b7a2 Specify union members of new ARAddr type when printing it. Soren Jorvang 2010-07-19 03:32:50 +00:00
  • b175397cb7 Some work on cleaning up the FrameAui code. Primarily this fixes the debugger windows for the audio and video plugins. They are now all subclasses of a wxPanel, instead of a mix of wxFrames and wxDialogs. This makes them work correctly in linux, windows (they really didn't before), and most likely on MacOSX too! Glenn Rice 2010-07-19 02:09:34 +00:00
  • 3457ead880 A bunch of cleanup and some fixes to ActionReplay: Fixes crashes with certain conditional codes.(such as the Wind Waker test rooms) When these conditions fail, they should skip all lines until a "00000000 40000000"(endif) line is reached.(the endif line was being handled as a regular code) There are still some codes which crash the emu, such as most of the Melee unlock codes. These Melee codes seem to have a bogus first line which tells AR to write .5 MB of zeros.(without this line they work) Codes from the net do not have this line. (The game inis seem to have some bad codes) Jordan Woyak 2010-07-19 02:08:34 +00:00
  • e1cc37d825 Workaround a bug on Mac OS in witch dolphin would crash whenthe OpenGL config window would be opened. It seems that wxDialog::Center() is completely useless on Mac OS X, and not only useless, but it crashes when the window is bigger than the screen. dapetcu21 2010-07-18 20:06:24 +00:00
  • 66d2bc477a Plugin_VideoSoftware fix Marko Pusljar 2010-07-18 16:53:49 +00:00
  • a2e39a84f3 Delete various unused files. NeoBrainX 2010-07-18 16:15:43 +00:00
  • 378d3aaa52 Make FIFO watermark tightness configurable instead of hardcoding it. To change it, right click the affected game in the iso list, select Properties, and enter some constant for "Watermark tightness". Reasonable values range from 20 to 200. NeoBrainX 2010-07-18 15:47:28 +00:00
  • e8ed50854a Remove code which got obsoleted by r5890. NeoBrainX 2010-07-18 15:19:24 +00:00
  • 961bac32b3 Use the correct calling convention for OpenCL function pointers. Fixes issue 2927, thanks to dimitri_le_bon_pilote for the patch ;) NeoBrainX 2010-07-18 14:18:37 +00:00
  • a96b00a16e Bitfields of sub-int size are promoted to (signed) ints even if unsigned. Soren Jorvang 2010-07-18 10:36:20 +00:00
  • da4c3a5f29 Committing some cleanups by avindra: - fix numerous warnings - make some variables unsigned - remove redundant code and header inclusions - make code more compact in lots of cases NeoBrainX 2010-07-18 10:11:34 +00:00
  • b0041f00a3 I missed some cases in r5901: Soren Jorvang 2010-07-18 08:30:40 +00:00
  • faf586e8f1 Because we only ever call Pos_ReadDirect (and through that, DataRead<T>) from JIT generated code, the compiler may not get the heads-up to properly prepare for run-time instantiation of those template functions. Soren Jorvang 2010-07-18 05:31:51 +00:00
  • 2c419382c9 Slightly cleanup of mmap(2) flags: Soren Jorvang 2010-07-18 05:17:09 +00:00
  • caeabf8bea Slightly cleanup of mmap(2) flags: Soren Jorvang 2010-07-18 05:15:16 +00:00
  • 8208903fed Added a "Cheat Search" tab to the "Tools->Action Replay Manager" dialog.(issue 8) You can currently search for values in memory and create AR codes from a found address/value. The code where a new ARCode is created/added to the gameini is a bit hacky, but the cheat searching works decently. There currently isn't any way to remove ARCodes or create codes with multiple commands, other than stopping the game and opening the game properties.(needs improvement) Made the AR Manager dialog a bit less ugly as well.(it resizes better) Jordan Woyak 2010-07-18 04:13:16 +00:00
  • 60e3a17d0d little bug fix for my last commit Rodolfo Osvaldo Bogado 2010-07-18 00:49:08 +00:00
  • f78133f261 big changes here: - Eliminate the useless check for cpu modifications option from efb to ram as it must be enabled always - use constant names in dx11 for buffer length calculation instead to simplify code reading - implemented scaled efb copy in opengl, still bugy in some games, the option is not in the gui but will add it when it works perfect - Change the depth calculation behavior: if the game use z textures is exactly the same as before. if the game do not use z texture calculate z values in the vertex shader. the advantage id this approach is that early z culling is applied, improving fill rate. this mus speed up things, even with ssaa and msaa enabled. please test for regression and enjoy. Rodolfo Osvaldo Bogado 2010-07-18 00:18:31 +00:00
  • 4b1a3152b6 Plugin_VideoOGL has been using an old duplicate of VertexLoaderManager.cpp. Soren Jorvang 2010-07-17 23:36:03 +00:00
  • 4e7682f507 wxNEEDS_CHARPP has been set automatically since at least wxWidgets 2.8. Soren Jorvang 2010-07-17 21:12:24 +00:00
  • 3e383aa8eb Maintaining Leopard binary compatibility turns out be a a bit cumbersome. Soren Jorvang 2010-07-17 19:43:26 +00:00
  • 11d34fa964 Fix issue 2836: static local variables are evil. NeoBrainX 2010-07-17 16:13:37 +00:00
  • 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