Commit Graph

  • 43dc70eace JitIL: Omitted some extra MOVs when a next program counter is in a register. nodchip 2010-08-22 08:27:43 +00:00
  • 10a14d17d3 JitIL: Fixed a wrong implementation reported in r6111. nodchip 2010-08-21 10:53:17 +00:00
  • 62c4d439ce JitIL: Modified psq_l implementation. Reverted psq_st. Removed compile warnings. nodchip 2010-08-21 06:29:47 +00:00
  • 20704fca3d Low level emulate the GC IPL (BIOS screen). The GC BIOS now correctly launches the game. JIT the IPL instead of interpreting it. Made LLE BIOS the default (which silently fails to HLE). Relabelled the "HLE the IPL" option to "Skip GC BIOS". skidau 2010-08-20 14:57:26 +00:00
  • d5647ce997 Just got my iPhone back from repairs and noticed something was not quite right... The Z axis from UDPWii were inverted... oops... X_X ...hopefully I got it right this time... Homebrew doesn't work and I don't have any way to test it... I did some improvements on the IR pointer math, but they are on my desktop and I'm away on vacation for a few weeks... X_X ... next time... WOL dapetcu21 2010-08-20 14:14:27 +00:00
  • 168136a219 JitIL: Implemented some instructions. nodchip 2010-08-20 05:05:11 +00:00
  • 7b9d0dbedc JitIL: Added some instruction handlers. They were ported from Jit64. nodchip 2010-08-19 14:10:22 +00:00
  • 7703ae0477 Fixes a couple of issues, like wiimotes not found ingame(not all of them of course) and wiimote plugin not accessible under xp (old wiimote plugin). sorry for that inconvenience. BTW Im gonna take a break for a few weeks for health reasons, cya. snzgoo 2010-08-18 09:02:44 +00:00
  • 4a61432f14 Fix the shared data dir for the global build on linux. Also silence some compiler warnings. Glenn Rice 2010-08-18 02:24:02 +00:00
  • 84152919dc Wiiuse: Hopefully fix the Windows real wiimote connecting issues caused by r5940. An "index = 0;" line was accidentally removed.(uninitialized value being used) Hopefully this fixes issue 3067, issue 3058, issue 3057, issue 3054, issue 3012, and issue 2975. Some other minor cleanup to Wiiuse.(recreated the vcprog because it had hard coded include paths and it sucked) Jordan Woyak 2010-08-18 00:22:08 +00:00
  • cf078067e7 Reverted change from r6100 to previous version. That thing broke some games audios. With audio throttle off, possessing audio was disabled. Now I'm working on a workaround, stay tunned. Ignacio Farias 2010-08-17 15:45:12 +00:00
  • 9080e09a45 dsplle - small mulx.. regression fix Marko Pusljar 2010-08-17 12:42:14 +00:00
  • 7866fade02 Add volume control for the pulse audio backend. Unfortunately that can not be done with the pulse-simple api, so I had to switch to the asynchronous pulse api. Glenn Rice 2010-08-17 02:14:04 +00:00
  • fb1c14e2cc long time no commits :). fixed one of the last graphic problems in smg, now the glow in the plants and planets must be correct. the error was caused by a error in lighting calculations. so it must affect other games. please test and let me know the results. Rodolfo Osvaldo Bogado 2010-08-16 22:37:04 +00:00
  • 963ece2017 Remove unnecessary casting bloat. Since AMD Stream 2.2 this is no longer a requirement. Stream 2.2 is minimum requirement for OpenCL 1.1 and binary kernels as well (I hope to implement these soon).Remove unnecessary casting bloat. Since AMD Stream 2.2 this is no longer a requirement. xsacha 2010-08-16 15:48:46 +00:00
  • 56d916bf93 Corrected writing error on previous commit :). Now should compile correctly. Thanks God for the advise " /trunk/Source/Core/AudioCommon/Src/Mixer.cpp r6100 line 145: 145: { oops, wrong brace? " Ignacio Farias 2010-08-16 15:45:18 +00:00
  • fd5f7ba6b4 Hy, this is my first commit, and i hope it is not bad xD. Ignacio Farias 2010-08-16 15:22:53 +00:00
  • 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