Commit Graph

  • 6ffdbe8482 Use the public svn_rev_str for the kernel.bin header instead of the private SVN_REV_STR which relies on finicky build mechanics. Soren Jorvang 2011-01-01 21:08:30 +00:00
  • 7703018632 Possibly fixed game crash issues by switching to unaligned SSE2 loads/stores. Removed unnecessary work being done in the file system when logging is disabled. james.jdunne 2011-01-01 20:54:15 +00:00
  • d4ced9e995 Patch applied from issue 3829, author admin@dasmetzelmaennchen.de. Tweaked SetMultiVSConstant functions to prefer glProgramEnvParameters4fvEXT over glProgramEnvParameter4fvARB with fall-back for older harder. james.jdunne 2011-01-01 20:36:42 +00:00
  • 527057cb27 Avoid shadowing variables. Soren Jorvang 2011-01-01 20:00:03 +00:00
  • 4f2bfd181a Fix for r6707. Looks like I tried to do some invalid 16 bit addressing. mylek4 2011-01-01 19:55:03 +00:00
  • 8b55eff33d With the more aggressive polling by the per-wiimote threads, additional input queueing in IOdarwin appears to be unnecessary. Soren Jorvang 2011-01-01 16:46:41 +00:00
  • 0732c337c5 OGL: Clean up ClearScreen NeoBrainX 2011-01-01 16:11:44 +00:00
  • 28ef121a93 Revive io_osx.mm revision history and reapply the changes in r6693. Soren Jorvang 2011-01-01 14:57:19 +00:00
  • 2f7da5d5d1 LLE JIT: mylek4 2011-01-01 13:19:07 +00:00
  • 60082853ec GX_TF_I4 texture decoder optimized with SSE2 producing a ~76% speed increase over reference C implementation. GX_TF_RGBA8 texture decoder optimized with SSE2 producing a ~68% speed increase over reference C implementation. TABified the entire document per NeoBrainX. :) james.jdunne 2011-01-01 03:52:32 +00:00
  • 99c8ea7abb Initialize bluetooth input queue when creating wiimote object. Soren Jorvang 2011-01-01 01:47:33 +00:00
  • 72738bf2e7 clamp OGL depth clear value, this might fix a problem some people reported with r6678 nitsuja- 2011-01-01 00:16:02 +00:00
  • 71209d99c8 This may fix the extension issue on windows. Please test. Thanks BhaaL. Glenn Rice 2010-12-31 15:53:38 +00:00
  • 4b3a6a6d47 This should fix wiimote extensions on linux. Now to figure out the windows issue, and then OSX ... Sigh! Glenn Rice 2010-12-31 15:47:42 +00:00
  • bc78a98cbc Removed left-overs from wiiuse, should fix the problems when building on windows. j4ck.fr0st 2010-12-31 12:21:28 +00:00
  • a55925af79 fixed crash when compressing 4+gb isos on some builds nitsuja- 2010-12-31 10:40:49 +00:00
  • 134fca9b82 ~68% increase in GX_TF_IA8 decoding speed. Not an oft-used texture format. An example use is the Wii cursor in MKWii in the menus. james.jdunne 2010-12-31 10:20:43 +00:00
  • 343e3f7c75 ~80% speed improvement in decoding GX_TF_I8 textures. Yes, EIGHTY PERCENT. However, for MKWii movie playback I still can't break the fluffin' 48 FPS boundary on my machine! There's something else at play here because this decoder is ridonkulously fast. ~25% speed improvement in decoding GX_TF_RGB5A3 textures which aren't used very much. I thought it would help for movie playback but I misled myself. Video playback has nothing to do with this texture format. Next I'll see if I can knock out some of these other texture decoders. Byte swizzling I'm sure can somehow be accomplished using _mm_unpacklo_epi8 trickery, so that'd be another big win I hope. james.jdunne 2010-12-31 07:23:17 +00:00
  • 41c40bcd50 Finish implementing gamma correction in DX9. donkopunchstania 2010-12-31 07:06:53 +00:00
  • 8a711eadac Video software: Changed the EFB color order from RGBA to ABGR to emulate it correctly on little-endian platforms. Added some enumerations to clear up what components are which colors. Fixed the TEV alpha input LUT which would have caused problems if anything was doing alpha comparisons. Changed box filter for EFB copies from 3x3 to 2x2 because that is probably correct. Also makes the math nicer. donkopunchstania 2010-12-31 06:45:18 +00:00
  • bc3b43d1bd Fix core dependencies for all windows builds. Glenn Rice 2010-12-31 04:52:20 +00:00
  • 0249d5fbaa A few details missed in the last commit. Glenn Rice 2010-12-31 03:08:22 +00:00
  • 8e184171e7 Remove wiiuse, and use our own code. Works on linux and windows. On OSX it should compile, but I don't know about functionality. Even on linux and windows I can't promise this is bug free (wiiuse certainly wasn't). Please report issues as you find them for all platforms. Glenn Rice 2010-12-31 02:10:07 +00:00
  • b038df64bf TextureDecoder.cpp: new SSE2 optimized GX_TF_I8 decoder. Probably not ultimately optimal SSE2 code, but provably better (on my machine) than the memset version. Tested with __rdtsc counts in an independent project. I get about 6-7 FPS more on average during the intro movie playback in Mario Kart Wii. Hope this compiles for GCC okay. TextureDecoder.cpp: merged two functionally identical decode5A3RGBA and decode5A3rgba methods. OpcodeDecoding.cpp and DLCache.cpp: optimization for GX_LOAD_XF_REG. The PSUHFB solution sounds better for SSSE3, but this is a small win for the default case. james.jdunne 2010-12-30 19:17:08 +00:00
  • 6cf9b3688d LLE Int: (addr add/sub/inc/dec) mylek4 2010-12-30 15:36:28 +00:00
  • 2c4f9825ca Fix issue with LinearDiskCache where only new files could be written to, Append() would fail on previously existing cache files. Jordan Woyak 2010-12-30 07:32:16 +00:00
  • 613b0f4c51 Upgrade GLEW to version 1.5.7: Soren Jorvang 2010-12-30 02:43:50 +00:00
  • 469e81e2fd LLE JIT: skidau 2010-12-30 00:10:18 +00:00
  • 98752f2a1e Core/DSPCore: Changed g_dsp._r back to g_dsp.r. Removed the check*Exclude functions accidentally added. Fixed the jitted ar register arithmetic. Added a CMakeList.txt for the UnitTests, but did not add the subdirectory to Source/CMakeLists.txt. pierre 2010-12-29 20:20:52 +00:00
  • 765fb4bbe3 Linux build fix. Glenn Rice 2010-12-29 15:23:02 +00:00
  • 642c7a437c Add ciso support. Thanks to dolphin.user839 for the patch ;) Fixes issue 2708. NeoBrainX 2010-12-29 14:42:20 +00:00
  • 07d947c834 DX9/DX11: Fixing some maybe possible crashes if a game was started, the config dialog opened and the game closed again. Due to other issues this still happens quite often though... Various warning fixes. NeoBrainX 2010-12-29 13:07:00 +00:00
  • 603c99f64f Compile fix for Unittests. A lot of tests are failing right now, not sure yet if this is caused by the recent reg changes or other stuff (at least broken according to tests: iar, subarn, addarn, 'ir, 'nr, 'l, 's, 'sn, 'ln, 'lsn, 'lsm, 'lsnm, 'sl etc - err, most/all that use increase/decrease) j4ck.fr0st 2010-12-29 13:05:42 +00:00
  • 24eafcb342 More FIFO work. This is an Experimental commit, Fixed "Monopoly Wii" ("FIFOs linked but out of sync" problem in this game) Re-sync the FIFO again when this is in immediate mode. Copy CP register values to PI register. Now this games is booting and ingame :) Marcos Vitali 2010-12-29 07:12:37 +00:00
  • 8ccdba7273 LLE JIT: * Fixed a bug in the JCC instruction. * Changed the cycle count from u32 to u16. * Added cycle counting to the block linker. * Optimised the branch exit slightly. skidau 2010-12-29 04:34:33 +00:00
  • fc1db5eaa0 Core/DSPCore: Reorganize register layout for accessing accumulators (acc and ax) and product register with one read/write. pierre 2010-12-29 02:12:06 +00:00
  • 0059b0f44f Made wiimotes automatically connect on start based on their selected "Input Source" in the wiimote configuration.(fixes issue 2261) Made wiimotes 2-4 input source default to "None". Jordan Woyak 2010-12-28 22:14:15 +00:00
  • 6cc1468292 Fix ClearScreen in OpenGL as well (uses clear quads instead of glClear now). Thanks to kiesel and sl1nk3 for helping me out here ;) NeoBrainX 2010-12-28 16:16:27 +00:00
  • 7de6773483 Invalidate texture cache when the STC or native mipmaps options are changed. Fixes minor graphical glitches in these cases. NeoBrainX 2010-12-28 12:46:00 +00:00
  • 9bf2705c2d Small fix in addition to r6669. NeoBrainX 2010-12-28 01:10:40 +00:00
  • 9cc19447a9 LLE JIT: Completed the remaining JIT DSP instructions (lrrn, srrn, ilrrn). skidau 2010-12-28 00:42:00 +00:00
  • 677fd7c052 LLE JIT: Completed the JIT versions of the DSP Branch instructions (added ifcc, ret, rti and halt). skidau 2010-12-27 23:23:53 +00:00
  • 9553aa0100 linux buildfix Shawn Hoffman 2010-12-27 22:51:20 +00:00
  • 722b7db8f9 more WIP BBA crap...nothing nice to see. Shawn Hoffman 2010-12-27 22:30:24 +00:00
  • 33506f5bdc All 64-bit capable Macs have the SSSE3 extension. Soren Jorvang 2010-12-27 22:17:19 +00:00
  • b21c361a1a Make ARAM DMAs take time. Allows WWE Day of Reckoning 1 & 2 to go ingame...then they crash. Not entirely sure if the crash is related. Shawn Hoffman 2010-12-27 22:14:33 +00:00
  • a271bb8182 Implement pixel data reinterpretation on EFB format change. Whatever that means, it fixes that stupid Super Mario Sunshine glitch and possibly lots of other stuff, so test as many glitchy games as possible with this ;) NeoBrainX 2010-12-27 21:56:20 +00:00
  • 6e8df50fff Yet another ClearScreen fix, should be the last one now. Should fix almost all regressions of the recent ClearScreen changes and keep the fixed stuff. The Super Mario Sunshine glitch is caused by another issue and will be addressed in my next commit. NeoBrainX 2010-12-27 18:09:03 +00:00
  • c33f46406e Core/DSPCore: Improve Interpreter address register add/sub, convert to assembler for JIT. Replace JIT ToMask() with a different variant. Remove superfluous zeroWriteBackLog calls(added by me). Core/Common: Don't bother creating a string and calling into a Logs trigger() when there is noone listening. Change AtomicLoadAcquire for gcc to just make the compiler not reorder memory accesses around it instead of doing a full memory barrier, per the comment in the win32 variant. Core/AudioCommon: Fix a use of uninitialized variable inside libalsa. pierre 2010-12-27 15:05:18 +00:00
  • 0e737235a8 little fix for my last commit Rodolfo Osvaldo Bogado 2010-12-27 10:49:14 +00:00
  • d59b1e5e7a Ops! Little fix for my prior commit. Marcos Vitali 2010-12-27 03:46:17 +00:00
  • c2283ad6c0 Second Experimental commit: corrected peek color and peek z to correctly emulate real hardware formats. implements native gamma correction.(i don't own any game that uses this functionality so i will appreciate feedback) i need a lot of feedback in this changes please enjoy Rodolfo Osvaldo Bogado 2010-12-27 03:18:01 +00:00
  • f3336a84a1 First Experimental Commit: make some changes to the Clear code. please test a lot , the point of this commit is to determine the correct behavior of the efb clearing so feedback is welcome Rodolfo Osvaldo Bogado 2010-12-27 03:09:11 +00:00
  • 695010520f More FIFO work, HACK Solution for extreme overflow on breakpoints. Marcos Vitali 2010-12-27 02:55:35 +00:00
  • 64d43211c9 Use the same code for populating user data directories one by one on OS X as on other Unices so OS X initial installs aren't so easily broken by files being created in constructors. Soren Jorvang 2010-12-27 00:26:52 +00:00
  • b4e0fe53af Copied some emulated motion plus stuff over from the old wiimote plugin. Not at all functional currently. Jordan Woyak 2010-12-26 22:54:02 +00:00
  • 963ca6f963 LLE JIT: Added the loop instructions to the JIT. Added ASM version of HandleLoop. Both x86 and x64 versions have been added. skidau 2010-12-26 12:34:38 +00:00
  • 7c5b12c5bc Made the "Download Gecko Codes" button not add already existing codes.(fixes issue 3732) Minor fix to gecko code handling. Added a "Show Shader Errors" setting to video config dialog. Jordan Woyak 2010-12-26 06:23:33 +00:00
  • f2e54074f1 LLE JIT: skidau 2010-12-26 03:12:29 +00:00
  • 9938f806f1 Guess what, more ClearScreen fixes. Additionally a small cleanup. NeoBrainX 2010-12-25 00:25:15 +00:00
  • 444854601c CMPR texel blocks are 8x8 in hardware, even though the source format says 4x4. Shawn Hoffman 2010-12-24 11:15:51 +00:00
  • b5d482a0d3 Added support for a wider number of VID/PID reported by Wiimotes. Patch by palsch. skidau 2010-12-24 02:21:09 +00:00
  • b9d4534a35 LLE JIT: Fixed the shift direction of the lsrnrx, asrnrx, lsrnr and asrnr instructions. skidau 2010-12-23 22:42:10 +00:00
  • ef96ab7d4f LLE JIT: skidau 2010-12-23 15:27:49 +00:00
  • 86c46a9530 More ClearScreen fixes for PIXELFMT_RGB565_Z16... NeoBrainX 2010-12-23 10:36:00 +00:00
  • 750515ea79 some better default settings: logging: turn off write to file core: don't insert anything in memcard b slot video: efb scale to integral, AF to 1x audio: 100% volume, 48KHz sample rate Shawn Hoffman 2010-12-23 06:00:17 +00:00
  • 055a056ddc Clarify comment about the use of event.Skip(). Soren Jorvang 2010-12-22 20:25:24 +00:00
  • edbc06bd18 Support for multiple wiimotes on OS X. Soren Jorvang 2010-12-22 20:24:25 +00:00
  • e059587c1a Don't reset all of ARAM when DSPReset is sent. Fixes issue 3594 Shawn Hoffman 2010-12-22 17:32:17 +00:00
  • 547c18fb55 Add the ability to Get / Set Array data from SysConf wiimote bd's are now read from (or added to if < 4 exist) SysConf in theory you should be able to use any valid sysconf file now, but i would advise against using a dolphin edited SysConf on a wii LPFaint99 2010-12-22 08:00:08 +00:00
  • 3d68608024 Fix Unix build. Soren Jorvang 2010-12-22 06:45:59 +00:00
  • 4a5ac3aa54 data/user/wii/shared2/sys/readme.txt isn't really accurate or necessary anymore. Shawn Hoffman 2010-12-22 06:21:07 +00:00
  • 6c556786fb Move AES to common lib move pch includes to vcproj file for discio LPFaint99 2010-12-22 06:00:36 +00:00
  • 9bbe7a9e1a Allow control of BT.SENS and BT.MOT sysconf values. Thought BT.SENS would fix issue 3362, I don't think it did though... Feel free to revert if the options seem unneeded. Shawn Hoffman 2010-12-22 05:59:58 +00:00
  • 0d5480073f Added a game property for the "Enable CPU Access" video option. Patch by Link_to_the_past. skidau 2010-12-22 01:05:29 +00:00
  • 9584b5b335 Update Wii save import / export to use the same replace list as FileIO add a couple of country codes I found through redump.org database LPFaint99 2010-12-22 00:48:59 +00:00
  • c1c1f54c59 Implement free look on linux. Patch due to artart78. Glenn Rice 2010-12-21 23:58:25 +00:00
  • e4269dcd65 AlphaMask and ColorMask were reversed. Soren Jorvang 2010-12-21 22:49:35 +00:00
  • e9e86abed6 remove the remaining parts of the hack from r1327 the original issue was fixed some time ago no functionality changes LPFaint99 2010-12-21 22:27:38 +00:00
  • 6087987f85 ClearScreen fixes: - Clear alpha channel to 0xFF instead of 0x00 whenever we (re-)create the EFB texture - Disable color/alpha channels whenever the actual EFB format doesn't use them NeoBrainX 2010-12-21 22:18:40 +00:00
  • 38e80fe094 Fixes some file handling in IPC_HLE blubberdiblub 2010-12-21 18:03:44 +00:00
  • 6cb78515c6 LLE JIT: * Added 21 Arithmetic instructions to the JIT * Used the DSPAnalyser to identify arithmetic/multiplier instructions that precede a conditional branch. This allows the JIT to skip updating the SR when nothing would read from it. Marked all arithmetic/multiplier instructions in the DSPTable for this purpose. * Converted CheckExternalInterrupt into ASM * Fixed a couple instructions in DSP Load/Store skidau 2010-12-21 14:48:05 +00:00
  • 0030d55725 More FIFO works, Hopefully this commit can fix randoms hangs in Wii Music, Wii Sports, maybe in Wii Resort, etc. Please test your games now. This commit is not related with FIFO Overflown and Fifo linked desync. Good luck! Marcos Vitali 2010-12-21 04:39:39 +00:00
  • d9701a74c5 * 2nd attempt to fix Alpha channel on ClearScreen gnick79 2010-12-21 01:04:53 +00:00
  • 0e466300dc On OS X, we claim all keyboard events while emulation is running to avoid wxWidgets sounding the system beep for unhandled key events when receiving pad/wiimote keypresses separately from HID devices. Soren Jorvang 2010-12-20 17:36:51 +00:00
  • a85e9f1455 Fix shadowing like in DX9.. Not sure if the previous commit broke anything, but better be safe.. NeoBrainX 2010-12-20 17:20:31 +00:00
  • f09fd080fb Avoid shadowing variables. Soren Jorvang 2010-12-20 17:06:39 +00:00
  • 9ebf507a55 Various ClearScreen fixes. Will fix some games and break some others. Assist trophies in SSBB work fine now, Super Mario Sunshine is a little broken again. Still needs some more work... NeoBrainX 2010-12-20 16:57:29 +00:00
  • 83868566ea Forgot committing the changes to VideoConfigDiag.h in r6625... NeoBrainX 2010-12-20 15:57:26 +00:00
  • 60ed57b32a Add an option to toggle caching EFB->RAM copies. skid_au had implemented this in a previous revision and enabled it by default, but it caused glitches if STC wasn't set to "safe" (which kinda defeated the purpose since it slowed down stuff again). NeoBrainX 2010-12-20 14:48:46 +00:00
  • bb8918a2ca added/changed some graphics plugin tooltips, added some low-res framebuffer options for getting a speedup (in pixel-shader-limited situations) at the cost of quality but without needing to make the window tiny, and fixed a little crash with closing the dx9 settings window at a bad time nitsuja- 2010-12-20 09:17:21 +00:00
  • 3749c3e57d update shader cache version to force regeneration Rodolfo Osvaldo Bogado 2010-12-19 22:28:22 +00:00
  • 9d30d1348e fix Issue 3539 Rodolfo Osvaldo Bogado 2010-12-19 22:24:19 +00:00
  • 670192e568 * revert Clear Screen's stuff from r6604 reason : failure! (are needed more testing) gnick79 2010-12-19 22:00:25 +00:00
  • 6492b84ca5 this probably doesn't fix anything noticeable, but, it seems like a bug that C_COLORMATRIX+4 overlapped with C_PLIGHTS nitsuja- 2010-12-19 21:09:29 +00:00
  • 60d2d42525 made texture conversion shaders use less instructions nitsuja- 2010-12-19 21:05:41 +00:00
  • 98fe8437ae reduced frequency of dx9 ps_2_0 pixel generation errors, and made dx9 efb depth peek of 16-bit depth buffer not use 24-bit adjustment factor. shouldn't affect other the plugins. nitsuja- 2010-12-19 20:59:23 +00:00
  • 47454a4ed9 Fix the unresolved symbol OSDChoice in the OpenGL plugin on linux. Glenn Rice 2010-12-19 20:30:23 +00:00
  • aef7f6c3f5 Win32-only: - Merge the EmuWindow class to VideoCommon. - Implement free look in the D3D plugins. Seems like it had broken before though; only rotating the view works.. NeoBrainX 2010-12-19 19:43:18 +00:00
  • 98e89c9329 OS X std::locale only supports the "C" locale and will give an exception on any other, including "" when a different one is specified through the POSIX locale environment variables. Soren Jorvang 2010-12-19 16:11:55 +00:00