Commit Graph

  • eda652b7a0 New Wiimote Plugin: Fix Emulated Wiimote Problem.(fixes issue 3230) Made the "Connected to X Wiimotes" text update on all tabs when clicking "Refresh"/"Pair Up". Some other cleanup. Jordan Woyak 2010-09-18 16:43:43 +00:00
  • 7216699fc4 Seems like I broke something in r6127. I'll fix it asap but for now l'll just revert it. Sorry :-( anusko 2010-09-17 20:01:09 +00:00
  • bac3eac629 New Wiimote Plugin: buildfix and minor tweak. Jordan Woyak 2010-09-17 00:27:37 +00:00
  • 19a50b3c51 New Wiimote Plugin: Added a real wiimote "Pair Up" button on Windows for the Microsoft bluetooth stack, like the old plugin. The PairUp function was copied from the old plugin and cleaned up. (Mostly untested because I'm not using the MS stack) Please test. Other minor changes to emu-wiimote and DInput. (Perhaps the "Refresh" button should call PairUp() followed by Refresh() to make the dialog simpler.) Jordan Woyak 2010-09-16 22:50:18 +00:00
  • 2cddf48cde ControllerInterface: DirectInput: Added support for Ramp and various Periodic force types. Only Constant forces were supported prior. (only partially tested due to lack of hardware) This may improve performance for those experiencing emulated wiimote slowdowns when using DInput rumble. Jordan Woyak 2010-09-16 05:09:29 +00:00
  • 7824855116 Silence some compiler warnings that have accumulated. Glenn Rice 2010-09-16 04:22:27 +00:00
  • 72af7b3e5e Jit64/JitIL: Fixed the constant value used to control block merging. nodchip 2010-09-16 03:46:23 +00:00
  • 2774d4ffd4 Fxied the build error in r6207. nodchip 2010-09-16 02:38:28 +00:00
  • b7ba3ffc84 Fix a segmentation fault if "Change Disc..." is selected and then the file chooser is cancelled. Glenn Rice 2010-09-16 02:12:00 +00:00
  • 26ab958ffb Jit64/JitIL: Corrected address information used for speed hack. This commit will prevent slow down with block merging in some games. nodchip 2010-09-16 01:58:02 +00:00
  • a3b59f6845 Change Disc functionality: * Fixed the "Change disc..." command. The filename of the disc was being lost between functions. * Split the ChangeDisc function into two functions: EjectDisc and InsertDisc * Moved the "Change disc..." command to the File menu. * Removed some log messages that caused the debug build to crash when loaded with release build plug-ins. skidau 2010-09-15 12:30:56 +00:00
  • 73adab0ce1 Dlist Cache step 2: include referenced array data in the hash to avoid problems in some games. this version is a slower than the last version but is more stable, still much work to do but so little time to do it :) Added Dlist Caching Option to the plugin configuration so anyone can compare the performance change. Rodolfo Osvaldo Bogado 2010-09-14 22:48:22 +00:00
  • 08b999dbfa VideoCommon: A minor optimization. nodchip 2010-09-14 13:52:17 +00:00
  • 412ce56f83 Added options to enable/disable Block Merging and DList Cache into game specific settings. nodchip 2010-09-14 13:50:25 +00:00
  • 4ec8f97154 Fixed channel loading from the System Menu. Also gave the menu a speed up by increasing the IPC_HLE_PERIOD. skidau 2010-09-14 12:32:02 +00:00
  • 5c4c8ec07a bs2emu: load 32bytes of the disc header to memory instead of just 10bytes. Shawn Hoffman 2010-09-12 13:27:37 +00:00
  • 51cd032af3 Clear m_TitleIDs when opening Device_ES (Fixes Issue 3205) j4ck.fr0st 2010-09-11 10:41:57 +00:00
  • 9d57903065 Emulation accuracy improvements skidau 2010-09-11 02:34:51 +00:00
  • 18123251d1 allow multiple titles on sysmenu versions > 3.0 Shawn Hoffman 2010-09-10 21:06:59 +00:00
  • ecb4d6d2f8 addendum to last commit: forgot files outside the /Externals/GLew directory... Shawn Hoffman 2010-09-09 17:52:52 +00:00
  • 65975e212e update GLEW on windows to 1.5.6 (and any platform that builds from source) remove glx stuff that we weren't using Shawn Hoffman 2010-09-09 17:48:52 +00:00
  • 00327b0494 Update Cg for windows to 3.0.0007 Shawn Hoffman 2010-09-09 17:11:51 +00:00
  • a1de442ed8 Update the Cg framework for OS X to version 3.0.17. Soren Jorvang 2010-09-09 13:25:43 +00:00
  • ccb96be9b3 Jit64/JitIL: Enabled block merging to improved the performance. This improves the fps 4-5 faster in some games. However it decreases the fps 10 slower in other games, MP2 and etc. In this commit, the actual block merging is disabled. If you want to try block merging, please set FUNCTION_FOLLOWING_THRESHOLD to a positive integer. Increased the size of code buffer to prevent cache clearing with block merging. nodchip 2010-09-09 02:14:03 +00:00
  • bf4a18e08c Fix a few things in ES I had lying around. Booting newer SysMenu versions still doesn't work, tho. j4ck.fr0st 2010-09-08 17:08:01 +00:00
  • a20483eedd Hackfix launching pal games from discchannel (cause was missing tik for ios required by game) when sysmenu asks for tik of a ios give it its own tik LPFaint99 2010-09-08 06:23:37 +00:00
  • d422039f0a call DIVerify when a wii game is launched directly by dolphin (adds tmd+uid) after this revision, wii save manager (< 3.0) should show any saves on the emulated nand LPFaint99 2010-09-08 00:20:19 +00:00
  • e0383634d3 Implement parts of DIVerify that can be useful. (copy tmd to emulated nand for disc titles) correct some parts of uid.sys as disc title ids are included title in uid + tmd on nand is how the sysmenu knows which save files to look for. IE games that are displayed in the disc channel at least once and have a save file will be viewable in the sysmenu save manager LPFaint99 2010-09-07 06:06:08 +00:00
  • dee24e5695 Added support for recording multiple GameCube controllers at once. baby.lueshi 2010-09-06 21:41:01 +00:00
  • c710ae7529 Added a speed hack for the MMU games. The speed hack is enabled by default. "Enable BAT" in the game properties enables the old accurate emulation behaviour. skidau 2010-09-06 14:43:28 +00:00
  • 5948865bcc jiggle includes in hci.h/l2cap.h: msvc <= 9 doesn't provide stdint.h Shawn Hoffman 2010-09-06 13:47:18 +00:00
  • c551a2ee51 Linux build fix. Also fixed a couple of compiler warnings (one in SystemTimers.cpp that was an actual bug too!). Glenn Rice 2010-09-06 13:38:22 +00:00
  • d02dd6d3fa std::string needs <string> rather than <string.h>. Soren Jorvang 2010-09-06 12:14:18 +00:00
  • 34aebffff9 Added an option "Alternate RFI" to the Game Properties to enable alternate interrupt timing. Try enabling this option if a game hangs, works only in the Interpreter or Dolphin crashes. This option fixes Die Hard: Vendetta and Medabots Infinity. skidau 2010-09-06 10:27:33 +00:00
  • 3bdeb923ef Some work towards launching by titleid rather than content path, update some var names in WII_IPC_HLE_Device_fs, filter out some spam logs from VolumeCommon LPFaint99 2010-09-06 04:36:58 +00:00
  • 402b1d83e2 JitIL: Implemented 64-bit access in StoreDouble for speed up. nodchip 2010-09-06 03:09:12 +00:00
  • 58ac6e541f Added PSRLD/PSRLQ/PSLLD/PSLLQ support to x64Emitter nodchip 2010-09-06 03:03:33 +00:00
  • 43c11a491a remove frivolous comments in WII_IPC_HLE_Device_usb.cpp which must've been there since the code was copy-pasta created ;p Shawn Hoffman 2010-09-05 20:54:24 +00:00
  • eda6b2a23c remove an ERROR_LOG that was left in from r6177 which could be annoying Shawn Hoffman 2010-09-05 20:49:04 +00:00
  • 92eedc9cd3 Fix wiimote in homebrew Marginally speed up old wiimote plugin by doing less memcpys A lot of changes went into the bt dongle emulation, so please test for regressions :) Shawn Hoffman 2010-09-05 20:18:13 +00:00
  • 197202798d oops, left in some code and typo with the attempted ios reload fix LPFaint99 2010-09-05 07:38:26 +00:00
  • 9e3dd4d2d4 Work towards implementing ES_LAUNCH returning to installed wii menu from a disc based game is working however wiimote does not work launching title from the wii menu has a similar issue only tested photo channel 1.1, channel loads but wiimote does not work as before launching channels requires sysmenu < 3.0 and you can change between sys menus via extracted wads by installing any version IE if 4.2 is installed, right click on 2.0 wad in the gamelist and install to wiimenu and right click on 4.2 wad and install to go back to menu 4.2 LPFaint99 2010-09-05 07:36:10 +00:00
  • 80a9116c0d Fixed plugin selection/config dialogs (broken in r6168). j4ck.fr0st 2010-09-04 14:51:24 +00:00
  • 6dc16b7416 JitIL: Improved the compilation speed by fixing the bug that getNumberOfOperands() initializes the table each time it is called. nodchip 2010-09-04 14:25:39 +00:00
  • f4a6e585be Rollback on a DSI exception, for the instructions that need it. Not a good thing to say, but this isn't properly tested, since I don't know of any game that generates a DSI exception. I'll try to write some homebrew to test this, but I'm pretty confident it's ok. Anyway, please take a look at it and tell me if you find some mistake :-) anusko 2010-09-04 01:04:37 +00:00
  • ae309405a5 DX9/DX11: Missing breaks are just as evil as static variables. This commit might fix some issues when colors were drawn slightly wrong in the DX plugins but correct in OpenGL. So please test this ;) Thanks to Billiard for spotting. NeoBrainX 2010-09-03 22:31:52 +00:00
  • 9935fe2546 Create a stub device for ios hle, and use it for /dev/usb/hid. "Fixes" monster hunter tri, which was broken by r6164 Shawn Hoffman 2010-09-03 17:03:06 +00:00
  • c92ae1c915 I think it should be addr there, not address. Plus code-formatting. j4ck.fr0st 2010-09-03 14:06:34 +00:00
  • 76a5ca84d1 Removed the check on video plugin change in PluginManager::GetVideo() (Profiling shows lots of strings compare from this function). Since plugins can't be changed when emulation is started, it's a waste of time to check if it has changed. dok.slade 2010-09-03 09:08:33 +00:00
  • c08144f893 Fixed F-Zero GX in JITIL 32bit builds by using a vmem mask for memory loads. Enabled the lbzu instruction in JITIL. skidau 2010-09-02 15:10:12 +00:00
  • 38d6d539d2 JitIL: Fixed the compile error reported in r6165. Sorry for inconvenience. nodchip 2010-09-02 11:12:45 +00:00
  • 26eac5d22a JitIL: Fixed a bug (hack?) that NaN is considered as -0.0 in fcmpx. Implemented Nan check routine in FDCmpCR. The bug (hack?) was introduced in r3312. I could not determine whether it was a hack or not. nodchip 2010-09-02 09:36:19 +00:00
  • efd9bae449 improve ios hle error handling. remove stubbed devices. they now fall back to the base device class, which reports the device as not available. fixes issue 3137. start ios fd counting at 0 instead of 0x13370000. I know it's sad, but it fixes homebrew booting and such. Shawn Hoffman 2010-09-02 04:17:23 +00:00
  • baf82a0849 hackfix dsp reset: fixes zelda collector's edition and some other games which reset and hang (...are there any others?) the problem was that the streaming audio interrupts were still being triggered, causing the game to try and jump to an invalid interrupt handler. The code for dsp lle looks like a hack :( (but it works) Shawn Hoffman 2010-09-02 01:36:45 +00:00
  • 9220ca1afc fake /dev/stm/eventhook ... makes libogc shutup a bit Shawn Hoffman 2010-09-02 01:23:28 +00:00
  • 743641965a DVD Interface forces alignment, and rejects writes to DICFG Shawn Hoffman 2010-09-02 01:21:26 +00:00
  • ab56cf9c1c stop trying to patch out OSProtectRange calls Shawn Hoffman 2010-09-02 01:20:27 +00:00
  • 7afd393acb GCPad/Wiimote New (ControllerInterface): Some tweaks to the DirectInput code. (fix for a random gamepad which didn't work) Jordan Woyak 2010-09-02 00:03:25 +00:00
  • 9e17007c90 - Fixed TimeBase and Decrementer registers so that they are updated only when needed - Fixed RTC for GC homebrews dok.slade 2010-09-01 23:44:03 +00:00
  • 8d6f98439e Fixed some race conditions with PPC exceptions and external interrupts. This may help fixing issues related to video interrupts handling. dok.slade 2010-09-01 22:03:51 +00:00
  • 625d78fb59 fix for my last commit Rodolfo Osvaldo Bogado 2010-08-30 15:33:37 +00:00
  • c9dd11c803 some fixes for dlist, now is configurable in the video config section, still not in the gui, disabled by default till a fix for segfaults in linux and geometry problems in some games Rodolfo Osvaldo Bogado 2010-08-30 15:18:43 +00:00
  • c1cac331a0 Major overhaul to input recording, including fixing major desyncs during playback and a small bug in the .DTM file format. Like netplay, some emulator options (specifically dual core and idle skipping) can cause desyncs, and the more your plugin options are similar to the ones used during recording, the more likely playback will sync. baby.lueshi 2010-08-30 07:05:47 +00:00
  • 6a695eff49 Remove more obsolete code Nolan Check 2010-08-30 04:05:06 +00:00
  • 014e87157c JitIL: Modified "LoadDouble" with SSSE3 to improve the performance. The code is ported from Jit64. nodchip 2010-08-30 02:07:09 +00:00
  • baba7f54dc JitIL: Fixed the Issue 3114. The bug was introduced because the usage of MOVSD/MOVSS was wrong. MOVSD/MOVSS don't clear the upper bits when they are used to transfer between registers. But they clear the upper bits when they are used to transfer between a register and memory. nodchip 2010-08-30 01:24:14 +00:00
  • e4f9b6a5f8 I'm an 100% scons noob but I think this fixes r6149, although it seems that the repository revision isn't appearing correctly (only happening with me?). anusko 2010-08-30 00:00:14 +00:00
  • 3e7dafbbd7 fully implemented display list cache with vertex data included and added in all the plugins. still experimental, not totally optimized but must bring a nice speed up please test for regressions an error. an please Linux people fix scons :) Rodolfo Osvaldo Bogado 2010-08-29 23:08:56 +00:00
  • 4229d9e01e Remove a bunch of freshly-obsolete code Nolan Check 2010-08-29 19:34:54 +00:00
  • 3058a926cf Implemented missing lswx and stswx instructions. Tested with Wii PES 2008 (PAL), which now works (OpenGL devs please take a look at this game). Changed the scope of some variables introduced in my previous commit (r6132). anusko 2010-08-29 17:53:55 +00:00
  • ad6ddfa18c IR pointer rotation finally working... Added a low-pass filter over sin and cos, but I still get some jittering... I suspect it's the numeric values... Billiard? Can you please help me on this? dapetcu21 2010-08-29 17:51:55 +00:00
  • a3df65bd02 JitIL: Added a new IR instruction, MulHighUnsigned, which computes the upper 32-bit of the multiplication of two unsigned 32-bit integers. Rewrote mulhwux with MulHighUnsigned. nodchip 2010-08-29 08:00:51 +00:00
  • e1d1a1eba0 Fix EFB Scaled Copy in OpenGL plugin. Nolan Check 2010-08-29 04:56:53 +00:00
  • 4e81cb4012 GCPad/Wiimote New: (OS X Config Dialog) Temporarily fix a crash when selecting an item in the device list (a current bug in wxWidgets with wxTE_PROCESS_ENTER). (Windows DirectInput) Hopefully made axis enumeration and the fall back to polled data(for drivers which don't support buffered data) simpler and more foolproof (a few users were having issues with a few specific gamepads). Jordan Woyak 2010-08-29 03:45:56 +00:00
  • 6f6acf3970 JitIL: Improved the register usage and remove extra MOVAPD instructions. This is for the speed optimization. nodchip 2010-08-29 02:18:06 +00:00
  • 1d05290be7 Include "Hash.h" rather than "hash.h" for case-sensitive file systems. Soren Jorvang 2010-08-28 15:53:01 +00:00
  • ae802f0403 JitIL: Disabled the jitting of psq_l when inst.W == 1. This is a test commit to check Issue 3114. nodchip 2010-08-28 15:40:45 +00:00
  • 9b0357b5e2 sometimes to advance you have to make a step back. use plain vertex arrays instead of VBOs to render in Opengl plugin as the nature of the data make VBOs slower. This must bring, depending on the implementation, a good speedup in opengl. in my system now opengl and d3d9 have a difference of 1 to 5 fps depending of the game. some cleanup and a little work pointing to future improvements in the way of rendering. please test and check for any errors. Rodolfo Osvaldo Bogado 2010-08-28 15:09:42 +00:00
  • eb40f765c2 Bugfix for the TLB cache used by the MMU. Thanks to drkIIRaziel for spotting it. skidau 2010-08-28 00:37:27 +00:00
  • f8e8f25408 JitIL: Reverted r6135 again. Please refer r6110, r6131, r6135, and Issue 3097 about the problem. I will check the problem after I get MP2. nodchip 2010-08-27 11:17:58 +00:00
  • eaa3371f92 Further optimised the JIT cache lookup. Attempted to fix the Wii games in ICC builds. skidau 2010-08-27 09:41:48 +00:00
  • d5bae7e0ad JitIL: Restored some instruction handlers reverted in r6131. If this revision does not introduce the bugs reported in Issue 3097 and r6127, the cause of the bugs is the wrong implementation of "mtcrf" which was fixed in r6134. If not, there are other bugs. I will revert again. Any way, they were my fault. I'm sorry for all. nodchip 2010-08-27 07:40:22 +00:00
  • 47fa91250b JitIL: Fixed the wrong implementation of "mtcrf". (The bit order was reverse...) This commit may fix the bugs reported in Issue 3097 and r6127. (I could not test them because I don't have the games which are reported.) nodchip 2010-08-27 07:25:31 +00:00
  • aae0e96682 Fix RTC to report the correct system time in Wii and GC titles as reported in Issue 1817 PerfectInduction 2010-08-26 19:24:47 +00:00
  • d082f50c34 My first commit! Done some refactoring around the PowerPC stuff. Main changes: anusko 2010-08-26 17:44:13 +00:00
  • 46e8ea8094 JitIL: Partially reverted r6110 (andcx, norx, orcx, nandx, and eqvx) to fix the bug reported in Issue 3097. nodchip 2010-08-26 12:52:35 +00:00
  • 60696ffe30 JitIL: Commented out folding rules which are not tested. This commit is for the check of the bug reported in Issue 3097. The bug was introduced in r6110 by myself. In r6110, I added a function to convert andx, nandx, andcx, orx, norx, orcx, xorx, and eqvx into IRs. It is clear that the function has the bug. However I could not find the bug in the function. Then I thought there may be bugs in folding rules in IRBuilder because there are some untested folding rules which fold and, or, xor, etc. (This is also written by myself. I'm sorry.) I tested some folding rules and commented out the other untested rules. nodchip 2010-08-26 11:32:30 +00:00
  • ea7004ffa7 Optimised the JIT cache lookup in JIT and JITIL. Gives a <5% speed-up in GameCube games. Wii games and GC games+MMU get a smaller speed-up. Cleaned up some code in the JIT and memory functions. skidau 2010-08-26 11:06:47 +00:00
  • 9c98d0ab85 JitIL: Extracted local variables to prevent calling regLocForInst()/fregLocForInst() many times. It was pointed out in r6127. nodchip 2010-08-26 01:56:30 +00:00
  • c32cad999c JitIL: Improved the register usage of some IL instructions (SExt8, ICmp*, DupSingleToMReg, InsertDoubleInMReg) for the speed improvement. nodchip 2010-08-25 12:55:21 +00:00
  • 752afe178b Fixed wiimote shaking dapetcu21 2010-08-25 11:44:01 +00:00
  • 8e4df07353 sorry for the last one, please test this one :) Rodolfo Osvaldo Bogado 2010-08-25 11:18:46 +00:00
  • 3b30019fcb some experiments with lighting, please test an let me know if is a improvement or make things worst Rodolfo Osvaldo Bogado 2010-08-25 03:42:57 +00:00
  • 0f56f5076c Changed WII IPC HLE to continue execution after the game attempts to open unknown devices. The allows Prince of Persia: The Forgotten Sands to be played. Fixes issue 2684 skidau 2010-08-25 01:45:23 +00:00
  • 153b019fcd small number mistake dapetcu21 2010-08-24 08:51:54 +00:00
  • b7ecd01686 9/10-bit accelerometer data interleaved with buttons some useless IR pointer math... It still doesn't make rotation work a sign fix when tilting along y axis (twisting the wiimote) dapetcu21 2010-08-24 08:48:09 +00:00
  • cf5088c37e JIT compiler: * Improved constants folding in load/store instructions * Merged load instructions dok.slade 2010-08-23 22:26:00 +00:00
  • 430380eac6 Reverted r6112... The iPhone client was submitted to Cydia with the apropiate patches dapetcu21 2010-08-23 19:19:10 +00:00
  • bab7721124 JitIL: Reverted r6117 because I could not find the case js.downcountAmount == 0. I'm sorry for confusion. nodchip 2010-08-23 00:36:59 +00:00
  • e740c4caa8 JitIL: Omitted extra SUBs when js.downcountAmount == 0. (Though it is not very often.) nodchip 2010-08-22 08:38:56 +00:00