Commit Graph

  • fec9234aca IPC HLE: don't automatically make all addresses the cached one, leave them as however they have been written. Shawn Hoffman 2010-08-16 00:14:08 +00:00
  • b83d3e8970 make memory breakpoints log the PC when hit. if the PC makes no sense, it's probably because some HLE has done the access. perhaps we should wrap accesses from IOS HLE, so that we can trace it? dunno if it presents that much of a problem anymore. Shawn Hoffman 2010-08-16 00:13:23 +00:00
  • dac2666236 New Wiimote Plugin: Fix hang on close issue of my last commit.(thanks to glennrics) Made profile saving/deleting a bit more user friendly. Jordan Woyak 2010-08-15 23:03:15 +00:00
  • 7c7257b825 New Wiimote Plugin: Give each real wiimote an individual thread.(eliminates multi-wiimote delay)(fixes issue 3037 for the new plugin) Fix a mem-leak in the input config dialog.(GCPad/NewWiimote) Jordan Woyak 2010-08-15 20:33:07 +00:00
  • 0a606d7356 fixes for my previous commits Marko Pusljar 2010-08-14 09:07:28 +00:00
  • 5cef906467 dspspy working again Marko Pusljar 2010-08-14 08:53:05 +00:00
  • 1f9dbb5afe Warning fixes and some cleanups. Correct me if I was wrong when changing those 0s to '\0's. NeoBrainX 2010-08-13 19:07:59 +00:00
  • 0c1977dc45 JitIL: Added code which deal with psq_st/psq_l in the case of inst.W == 1. nodchip 2010-08-12 12:31:15 +00:00
  • a26f744c98 UpdateSystemActivity() is defined in OSServices/Power.h which is erroneously #ifndef _LP64 in the 10.5 SDK. Since OSServices is a sub-framework of the CoreServices, Power.h cannot be included directly without specifying the long and messy path to it. Just declare it extern here as well instead. Soren Jorvang 2010-08-11 20:53:19 +00:00
  • df8ffa69bb Used a less hacked way of making the multiboot games work. Instructions are now executed at their proper number of cycles. The timeslice has instead been increased to compensate. Increases VPS in some games. skidau 2010-08-11 12:49:38 +00:00
  • e82c128043 Applied the multiboot dol fix to JITIL too. skidau 2010-08-11 11:15:59 +00:00
  • 6918a9e1d6 Added support for multiboot dols. This allows demo discs, bonus discs etc to be played. skidau 2010-08-11 10:45:27 +00:00
  • 9f57345c11 Fix the wiimote refresh button in the new wiimote plugin on linux. Glenn Rice 2010-08-11 04:00:27 +00:00
  • 97f894ffbd Fix a problem in the old wiimote plugin in which a bitmap could be created with size 0x0. This fails an assertion in wxWidgets. wxWidgets complains about it in the debug build. Also cleaned that file up. That is probably an exercise in futility though. Glenn Rice 2010-08-11 02:28:40 +00:00
  • 1afcf4cc69 Use the debug option for conf.CheckWXConfig on OS X as on Unix. Soren Jorvang 2010-08-10 08:30:04 +00:00
  • db072e1986 Add Common::AtomicDecrement for gcc to match win32. Soren Jorvang 2010-08-10 08:29:15 +00:00
  • 3b7a6ce336 I've observed that "FIFO is overflown by GatherPipe" is not real overflow. Really that happens because the fifo.CPReadWriteDistance is negative. Example: CPReadWriteDistance: -864 CPEnd: 10092672 fifo.CPBase: 9568416 In SMG this is because PI_FIFO_RESET is writing and after fifo.CPReadWriteDistance will be setted to 0. To Prevent that, I've Implemented AbortFrame function in the CommmandProcessor. It should fix overflown because of that. Note: There is other issue (Issue 2846) where the fifo.CPReadWriteDistance is negative too but the effect is different. I'm working to solve this. Marcos Vitali 2010-08-10 07:25:35 +00:00
  • 2b45e87b3e New Wiimote Plugin: Added a "Hybrid Wiimote" input source type. This allows a real wiimote to be used with an emulated extension.(and in the future, real wiimote with emulated motion plus) If the emulated extension is set to "None", a real extension can be used. Real/Emulated buttons are combined. Real acceleration data is used. Currently, emulated IR data is used.(might change this to allow both) Switching between an emulated and a real extension in-game is a bit testy right now, but if you switch the emu-extension to "None" before connecting a real extension, it usually works. Jordan Woyak 2010-08-10 04:12:32 +00:00
  • a1daa636c2 Take care of some compiler warnings from unused variables, and a little code cleanup. Glenn Rice 2010-08-10 01:08:22 +00:00
  • 55d7f93e0c Revert r6076 and r6077 since they broke x64 builds dok.slade 2010-08-09 19:00:24 +00:00
  • 468b9bfe68 Fix the OpenGL depth buffer values from the vertex shader. pierre 2010-08-08 22:27:35 +00:00
  • 244191f18f Fixed some mistakes from r6076: * Fixed missing UnlockAllX * Fixed 64-bits compilation dok.slade 2010-08-08 18:53:00 +00:00
  • 5a248b46a1 JIT compiler: * Improved constants folding in load instructions * Merged load instructions * Fixed the register allocator so that it can restore the registers state after jumping to the dispatcher (in case of a conditional jump) dok.slade 2010-08-08 18:12:58 +00:00
  • 95b0abb737 dsplle - another small fix Marko Pusljar 2010-08-08 16:35:10 +00:00
  • 2ac8691911 ok...svnrev crap finally under control? please? Shawn Hoffman 2010-08-08 16:34:32 +00:00
  • ecec048f0f DX9/OGL: Remove some superfluous checks (this is already done in VideoCommon). NeoBrainX 2010-08-08 16:28:03 +00:00
  • 4ae77b2d70 revert last two commits. screw it. Shawn Hoffman 2010-08-08 15:37:18 +00:00
  • 78add0ca9b must've gotten too excited, forgot a file Shawn Hoffman 2010-08-08 15:22:25 +00:00
  • 7823eddd4e kill that annoying relinking once and for all! Shawn Hoffman 2010-08-08 15:21:29 +00:00
  • 208ecd698e Debugger enhancements: * Added working Step Over function. * Added hard-coded hotkeys for step into (F11), step over (F10) and toggle breakpoint (F9). The hotkeys are only active when the debugger is enabled. They function as before when the debugger is disabled. * Added Debug menu item. * Removed obsolete NotifyBreakpoint function from JIT and JITIL. skidau 2010-08-08 06:00:22 +00:00
  • 7b8863dc9c r6066, part two: learning to count Shawn Hoffman 2010-08-08 00:54:04 +00:00
  • 957e7c415e Several little things: Clean up of the input selected for the opengl x window in linux. Fix a potential segfault when taking a screenshot (happens consistently when using "Save Targets" from the video debugger window). Fix a memory corruption error that results from the wrong image size being passed when dumping textures. Make the screenshot hotkey configurable. Glenn Rice 2010-08-08 00:13:05 +00:00
  • 105c05bb7e make_svnrev.h.vbs: look for "Last committed at revision [0-9]+" instead of "Updated to revision [0-9]+" for svn Shawn Hoffman 2010-08-07 23:18:43 +00:00
  • 521c7558bc Change make_svnrev.h.vbs so that it won't cause svnrev.h to be regenerated if it's already at the current revision (saves re-linking all the time) Shawn Hoffman 2010-08-07 21:22:15 +00:00
  • b2791b2d79 Added code to unlock the reg in lwzux. Fixes issue 3017 (thanks j4ck.fr0st). skidau 2010-08-07 13:26:53 +00:00
  • 1faff6aeb7 JIT compiler: * Improved constant folding/propagation in integer instructions * Merged boolean instructions dok.slade 2010-08-06 19:35:40 +00:00
  • 05401aeb0e Fixes NeobrainX's new method for toggling the ZTP Hack. The game properties is a much more appropriate place for the hack (I didn't even know about that menu:) ) Thanks to NeobrainX for the code cleanup, and to Mandrix999 for the fix. Also noticed a minor typo. Fircrestsk8 2010-08-06 02:53:09 +00:00
  • 92b180b71f Opengl and D3D are doing the perspective division differently pierre 2010-08-05 23:04:34 +00:00
  • d5d7beb6c7 Move the ZTP hack to the game properties (reverted all changes from r6057 to the video plugins) due to some obvious reasons. Also some fixes to the coding style. NeoBrainX 2010-08-05 18:41:02 +00:00
  • 8dc01b685f dsp stuff - the same ucode hash under lle and hle now (had to rename couple of dissasms), ucode dumping under hle (debug only), small dsp:read32 change (needed for some homebrew) Marko Pusljar 2010-08-05 17:00:32 +00:00
  • ca9c174450 Stability fix for JIT load/stores skidau 2010-08-05 10:01:27 +00:00
  • 040a6e1eb3 This commit addresses the Hyrule field slowdown issue in Zelda: Twilight Princess, as discussed in Xtreme2damax's thread: http://forums.dolphin-emu.com/thread-10638.html. It can be activated in the DX9, DX11, and OpenGL plugin GUI's. Enabling the hack while playing other games besides ZTP will likely have either an undesirable or no(more likely) effect. Fircrestsk8 2010-08-05 03:24:13 +00:00
  • 9e4ff175ec Set z-position for opengl, too pierre 2010-08-05 00:09:33 +00:00
  • 7a80e8e409 Added missing unlocks from r6053 (thanks mylek4) dok.slade 2010-08-04 23:30:47 +00:00
  • e5f629da37 Fix saving states on mesa3d and clean up the handling of asynchronous requests (those originating from a thread other than the gpu thread) pierre 2010-08-04 21:02:32 +00:00
  • 9b6180ab27 Fixed JIT register allocator. Now it only writes back dirty registers when flushed * Fixed KillImmediate * Renamed LoadToX64 and StoreFromX64 to BindToRegister and StoreFromRegister respectively (as suggested by ector) * Code cleanup in calls to the reg allocator dok.slade 2010-08-04 19:34:47 +00:00
  • a8f6904ec7 dsphle - improved ax/axwii hle ucode switching (needed for Nintendo Puzzle Collection <-> GBA, ...) Marko Pusljar 2010-08-04 16:50:52 +00:00
  • 3312435ae2 Fix the linux debug build in a better way so that wxWidgets debugging is still enabled. Glenn Rice 2010-08-04 14:41:27 +00:00
  • 7ddf0aa711 Silence gcc warnings about empty statements and out-of-order initializers. Soren Jorvang 2010-08-04 14:00:59 +00:00
  • e9424bcafa small optimization for gba ucode hle hopefully quiet gcc about IUCode ctor... Shawn Hoffman 2010-08-04 13:22:29 +00:00
  • 46bd0db43d small scons fix nakeee 2010-08-04 11:56:25 +00:00
  • 3c3228b6dd I said DEBUG_LOG!! Shawn Hoffman 2010-08-04 11:46:49 +00:00
  • 0a3c150f69 allow "swapping" of hle'd ucodes hle the gba ucode Shawn Hoffman 2010-08-04 11:44:06 +00:00
  • dc0a67b53a Brings back any speed lost from r6040 while maintaining all speed gains. skidau 2010-08-04 11:07:40 +00:00
  • f5d48a46ee Oops. Fix scons indentation mistake from my last commit. Glenn Rice 2010-08-03 21:44:14 +00:00
  • 5ebd001d87 Fix the debug build on linux. Glenn Rice 2010-08-03 21:33:50 +00:00
  • 552a535f6d Fix issue 2694. Fix another dramatic spelling "mistake" in DX9 which I forgot to commit last time. NeoBrainX 2010-08-03 18:57:59 +00:00
  • 340912dc1e DSP HLE * Some fixes to linear interpolation * Adds interpolation to ADPCM samples * Relaxed a volume limit in ADPCM_Vol mylek4 2010-08-03 15:30:33 +00:00
  • fe0f25c737 MMMU Speed Optimisations: skidau 2010-08-03 10:52:02 +00:00
  • c76ba17ff4 Stub out glGetError() calls from the release build of the OpenGL plug-in (found by ector, code by LordMark). Gives a speed-up in the OpenGL plug-in. skidau 2010-08-03 10:48:49 +00:00
  • ffef6affff Explicitly designate VB script engine, as it might not have been linked to any script host due to security concerns. ayuanx 2010-08-03 09:41:26 +00:00
  • 22872b383c Make toggling of word wrap for the log window nicer for linux. Unfortunately this method is only implemented for wxGTK (what not wxMSW? Shocker!). Made it so that Source/Core/DolphinWX/Globals.h is only used for the wxWidgets build, and a little other file inclusion clean up. Fix an issue where a user runs a game from the open menu or toolbar items with a clean user directory, and henceforth double clicking on the empty game list (where it says double click to browse for games), that game is run again. Glenn Rice 2010-08-03 03:20:44 +00:00
  • f7c4670c9f * Fixed a careless mistake of mine with SetJumpTarget * Changed ABI_PARAM back to ECX/EDX. Thanks for the tip, Soren * Reverted r6035 skidau 2010-08-02 14:06:27 +00:00
  • bbc69a64ad Revert parts of r6032 that break OS X and probably other non-Windows platforms as well. It would seem that ABI_PARAMx will have to be used more consistently elsewhere to match up with a change to use them here. Soren Jorvang 2010-08-02 10:36:33 +00:00
  • fcf2fb2b9b MMU Speed Optimisations: skidau 2010-08-02 10:28:37 +00:00
  • 7b83640a28 make "show pc" in dsp lle debugger actually work again code cleanup in Hash.cpp Shawn Hoffman 2010-08-02 05:30:38 +00:00
  • 9c36f0bc88 MMU Speed Optimisations: skidau 2010-08-02 04:22:04 +00:00
  • 26aee8ff76 Create the log window after the menus. This fixes the font ugliness on windows. Fix modality for the config dialogs on windows. Fix the compress/decompress dialog wxString issues for MacOSX (hopefully). Fix the DSP-LLE debugger for linux. Glenn Rice 2010-08-02 01:52:00 +00:00
  • 52d3137598 Build with -msse3 on OS X. The first Intel Macs were Core Duo/Solo, which had SSE3. Keep -msse2 on other platforms. Not sure if there are actually any Dolphin-capable machines out there without SSE3, but.. Soren Jorvang 2010-08-01 16:30:22 +00:00
  • fad075351c Silence some compiler warnings. Soren Jorvang 2010-08-01 16:14:35 +00:00
  • 4bef335632 Remove duplicate instantiation of PNG wxImage handler. Soren Jorvang 2010-08-01 15:48:11 +00:00
  • c765127f0d Spelling fixes, etc Fixes issue 2954. NeoBrainX 2010-08-01 14:46:10 +00:00
  • d411924eee Marginally improve FPS counting logic in the video plugins. Should fix DX11 peaking at 59 FPS instead of 60 FPS. NeoBrainX 2010-08-01 14:43:07 +00:00
  • 910d543536 DX9: Create textures needed for CPU->EFB access even if it's disabled. That way, one can toggle that option during emulation. NeoBrainX 2010-08-01 14:20:50 +00:00
  • 2c6f851bba Clean up and fix some issues with the dialogs for compression and decompression of iso and gcm images. Also added a confirmation to overwrite existing files. Glenn Rice 2010-08-01 04:09:59 +00:00
  • 949fec41ca JitIL: Reverted "lbzu" added in r6018. nodchip 2010-08-01 02:17:52 +00:00
  • f79eff00e4 JitIL: Fixed comment out style reviewed in r6017. nodchip 2010-08-01 01:23:14 +00:00
  • 76ca439bdf fix small bug with dsp lle debugger: now it will highlight regs which just changed, instead of the ones which changed last step. Shawn Hoffman 2010-08-01 00:47:14 +00:00
  • 3d25197a1c Avoid always-true and signed/unsigned comparisons. Soren Jorvang 2010-07-31 19:06:44 +00:00
  • 0e83d52382 JitIL: Added "lbzu" instruction and "crXX" instructions. "crXX" are ported from Jit_SystemRegisteres.cpp. "lbzu" may cause crush in GFZP01 (F-Zero GX PAL). I could not test with GFZP01 because I don't have it. I tested "lbzu" with other games, though. nodchip 2010-07-31 15:43:54 +00:00
  • 2213d423bf JitIL: Commented out the code which cause bugs in STGJAF OP movie. nodchip 2010-07-31 15:32:02 +00:00
  • 453f7c67cd Newer versions of GCC's <tmmintrin.h> check for __SSSE3__ (-mssse3). No matter. We don't actually need it for our purposes. Soren Jorvang 2010-07-31 15:26:46 +00:00
  • 4d27ecf736 MaxOSX build fix. Thanks soren. Glenn Rice 2010-07-31 14:45:35 +00:00
  • 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