Commit Graph

  • 824b509d2e Make the SSE3.1 VideoCommon code available in GCC builds. Soren Jorvang 2010-07-31 14:40:01 +00:00
  • 840bd3613f Use GetClientRect in the GameListCtrl OnSize function, but removed the +5 padding. This seems to look best on windows and linux. Unfortunately wxWidgets on linux doesn't account for visibility of the vertical scrollbar in this or any calculation I have found. Also fixed an issue with the saving of the log/console window size. Glenn Rice 2010-07-31 14:14:01 +00:00
  • c88689381f Merged JIT crXXX instructions (thanks XTra.KrazzY) dok.slade 2010-07-31 10:29:08 +00:00
  • d5a698f188 JitIL: Removed unused variables reviewed in r6010. nodchip 2010-07-31 10:12:11 +00:00
  • aaa083f8f0 JitIL: Added instruction combining rules for speed up. nodchip 2010-07-31 03:26:25 +00:00
  • 432335cda5 Fixed some boundary issues in PPCAnalyst. This fixes Rogue Leader and other MMU games. skidau 2010-07-31 02:29:11 +00:00
  • 12be9952ab Implemented more JIT instructions dok.slade 2010-07-30 21:28:20 +00:00
  • 87043879f8 Fix a hang in linux with the wiimote new plugin caused by a critical section not being exited. Also removed the original wiiuse_find function and replaced it with my wiiuse_find_more function with a little tweak to speed up wiimote discovery. Glenn Rice 2010-07-30 18:55:36 +00:00
  • 6ed3357066 Experimental: Implement skid's MMU Demand Paging in JitIL. This one needs a lot of testing, since I don't have any games that need it, except Rogue Leader (GSWP64) - and I didn't do more "testing" than watching the stormtroopers dance due to speed reasons (altho it seems twice as fast as JIT for me; it does spit out a lot more warnings too) j4ck.fr0st 2010-07-30 17:51:05 +00:00
  • 1d2f4283d1 Added a self modifying code option in the game properties. Turn this on for Monster House and other games that hang or show memory errors. Turn it off for everything else. This fixes Legends of Wrestling. skidau 2010-07-30 17:12:59 +00:00
  • 84b5824670 Quick fix to get Monster Hunter Tri working. Minor changes resulting from code review comments. skidau 2010-07-30 16:54:16 +00:00
  • 1fb47e6393 Modal windows must be closed with EndModal(), not just Destroy()'ed. Soren Jorvang 2010-07-30 13:14:53 +00:00
  • 2d108f8d57 Fix a mistake in the menu from revision 5999. Glenn Rice 2010-07-30 12:52:35 +00:00
  • 72494a0363 Use the portable SLEEP() macro in place of Sleep(). Soren Jorvang 2010-07-30 11:58:18 +00:00
  • bae8c6ed9c Fixed the crash that occurred while loading and saving states. This change freezes the system while a save state is being made or loaded, ensuring that the sub-systems (e.g. CPU and GPU) is in a consistent state when the save-state is created. Removed the clearing of the JIT cache as invalidated memory would sometimes be jumped to from the block descriptors, causing the crash. Removed the saving of the old JIT unlimited icache from the state as this now serves only as transient data to track what has been compiled in the JIT (and it took up a lot of space). The icache is now saved inside the PPCState. skidau 2010-07-30 09:24:23 +00:00
  • 06fb0c292a Removed the hackery that was being done with the plugin configuration dialogs on windows. That was unnecessary and ugly. The HWND type is dead for non windows. Also cleaned up the gui a little. Glenn Rice 2010-07-30 03:51:49 +00:00
  • 75bd5ed645 Add fifoWait property of Event Object to SaveStates. Marcos Vitali 2010-07-30 00:35:33 +00:00
  • 8223dcd32c New Wiimote Plugin: Keep track of the io_write report sizes instead of just sending MAX_PAYLOAD bytes. (Should fix the issues of my last commit) Jordan Woyak 2010-07-29 20:11:55 +00:00
  • f081710800 Oops, removed one <sys/stat.h> too many. Soren Jorvang 2010-07-29 17:52:43 +00:00
  • 24fdf942a4 Use .cpp suffix when detecting libraries. On some systems, g++ is required to correctly link with C++ libraries like wxw. Soren Jorvang 2010-07-29 13:29:15 +00:00
  • 9ff5e836eb Implemented MMU Demand Paging * Emulated correct behaviour of DSI and ISI exceptions * Added memory exception checks * Added fast TLB cache implementation (written by booto) * Added "Enable MMU" option in the game properties * Renamed old TLBHack to "MMU speed hack" skidau 2010-07-29 12:17:47 +00:00
  • b70f134c88 New Wiimote Plugin: Added a real wiimote io_write queue like the old plugin. A combination of locks and lack of a write queue were the cause of the real wiimote slowdown. - new plugin should work as good as the old one with real wiimotes now.(but still lacking a pairup button) Other stuff: Disabled execution of Gecko Codes when Dolphin has cheats disabled.(fixes issue 2971) Allow the range of an input to be increased to 500% (will make ps3 controller's tilt more usable) Jordan Woyak 2010-07-29 10:21:48 +00:00
  • 25accdec23 I add a CriticalSection in RemoveThreadsafeEvent for safety Marcos Vitali 2010-07-29 04:02:45 +00:00
  • 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