Commit Graph

  • 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
  • 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