Commit Graph

  • 6fe343df61 Silently remove Plugin_VideoMerge again... NeoBrainX 2010-11-14 13:11:28 +00:00
  • 8b9b66911f Clean up OS X wx library handling a bit. Soren Jorvang 2010-11-14 06:02:44 +00:00
  • d888f13bb9 VideoCommon: An experimental fix for Issue 3493. Changed _mm_load_si128 to _mm_loadu_si128. I could not test the bug because I don't have Sonic Colors. nodchip 2010-11-14 04:29:20 +00:00
  • 9b12ad6c94 Allow building on OS X with static wx libs. Soren Jorvang 2010-11-14 03:10:11 +00:00
  • 17662d4ac6 Change the cmake check_lib routine to use REQUIRED/OPTIONAL instead of TRUE/FALSE. Add a check to see if -Wno-unused-result is supported by the compiler. Fix some compiler warnings in the wiiuse code. Fix a bug in the wxGTK panic alert code. Glenn Rice 2010-11-13 22:07:27 +00:00
  • 02edf66b49 Simplify OpenCL compile-time detection on OS X. Soren Jorvang 2010-11-13 20:02:01 +00:00
  • a913295d70 Apparently, that SConstruct file was correct already... NeoBrainX 2010-11-13 19:53:24 +00:00
  • 79aae239fc Don't add wiiuse to CPPPATH in the main SConstruct file since it's already done in the SConscript file for wiiuse NeoBrainX 2010-11-13 19:44:19 +00:00
  • e79fcce1d4 Fix compiling wiiuse on with CMake and SCons Also fix confusing formatting in a SConscript file NeoBrainX 2010-11-13 19:36:33 +00:00
  • 7ad7acd248 move wiiuse to Source/Core and add to the main dolphin solution make wiiuse link dynamically with hid.dll, removing the need for WDK compile wiiuse as c++ Shawn Hoffman 2010-11-13 19:15:43 +00:00
  • 8eb1fe8831 proper .libs fixing building problems under vs2008, x32 and x64. Please dont use vs2010 for buildings those static libs next time to keep compatibility under vs2008 atm. snzgoo 2010-11-13 13:17:48 +00:00
  • 02d1321bcb windows: update wiiuse libs, since logging functions were changed in common... Shawn Hoffman 2010-11-13 00:24:34 +00:00
  • 146ddff550 Simplify GenericLog() for C/C++. Soren Jorvang 2010-11-13 00:10:00 +00:00
  • 3d866bd35d DX11 plugin: Fix a small oversight Nolan Check 2010-11-13 00:05:14 +00:00
  • 820c0022a5 Windows: Link debug build against debug wiiuse. Can't keep linking to the release wiiuse as it does not use the same crt. Shawn Hoffman 2010-11-12 19:00:21 +00:00
  • 2a7886322d windows: don't bother trying to copy a wiiuse dll since it isn't created anymore Shawn Hoffman 2010-11-12 17:58:40 +00:00
  • ae8c943669 build wiiuse as a static lib on windows. make wiiuse log via Common lib on windows. Shawn Hoffman 2010-11-12 17:53:54 +00:00
  • c0bdf4de81 Several little things. The C version of the GenericLog was being used in both C and C++ branches of the code. Parent panic alerts by the main_frame so that those windows get the icon too. Fix a couple of compiler warnings. Added some checks for libraries in the cmake build. Glenn Rice 2010-11-12 05:05:27 +00:00
  • 7800d68fee add ProcessorInterface::Read16. wii64 uses this (by accident), but real hardware supports it, so why not. Shawn Hoffman 2010-11-12 04:20:00 +00:00
  • 67f850dd37 DSPHLE: Added an option for 48khz output and supporting upsampling code. mylek4 2010-11-12 03:39:07 +00:00
  • c6d95c9087 Remove my DESTDIR hack from the cmake build. It turns out this is built into cmake and works in the same way it does with the gnu autotools. Use it in the standard way with "make DESTDIR=/desired/location install". Glenn Rice 2010-11-11 15:50:52 +00:00
  • d4b72eaae5 Added a projection hack for Metroid: Other M. This fixes the black screens that occur in cut-scenes. Patch by Trevor002. skidau 2010-11-11 09:22:19 +00:00
  • 45f1948d33 Fixed double game entries in the game list. This occurs when there are two or more games of the same name in different folders. Fix by Lostmoment. skidau 2010-11-11 09:17:57 +00:00
  • adbd7fbd4a Fix StringFromFormat hopefully for the last time. This should be more efficient than before. Thanks to shuffle2 for the windows code. Glenn Rice 2010-11-11 04:59:50 +00:00
  • 36d43365e6 Windows build fix Jordan Woyak 2010-11-11 01:48:08 +00:00
  • 33421457d6 Quietly log writes to 0xc0003030. Written to only by bs1, and we don't seem to really care about it. Shawn Hoffman 2010-11-11 01:12:01 +00:00
  • ce7c5099c7 make projection hack and emustate settings default to none/not set instead of -1 Shawn Hoffman 2010-11-11 01:00:01 +00:00
  • 5078f430c3 Make gui panic alerts thread safe in linux. Glenn Rice 2010-11-11 00:55:06 +00:00
  • 072a698856 The change to StringFromFormat was overwriting the last character with the NULL terminating character. Also update a deprecated function call. Glenn Rice 2010-11-10 23:23:12 +00:00
  • 38d06e76d6 DX11: Add an option to choose the internal resolution. DX9: When clearing the back buffer in Renderer::Swap(), use IDirect3DDevice9::Clear instead of a clear quad if possible. Should improve performance marginally. NeoBrainX 2010-11-10 16:43:27 +00:00
  • a4d06f4b71 Missed one file. mylek4 2010-11-10 08:41:10 +00:00
  • 1991a4f3a5 Added XAudio2 backend. mylek4 2010-11-10 08:28:26 +00:00
  • 6ece147568 StringUtil fix Jordan Woyak 2010-11-10 06:10:43 +00:00
  • 895f1500a5 Fix for my tweak in the last commit. I knew I had that working at one point. Glenn Rice 2010-11-10 05:18:20 +00:00
  • 92a5b72b42 Linux build fix. stricmp does not exist on linux. Also a small tweak to the StringFromFormat routine. Glenn Rice 2010-11-10 04:44:25 +00:00
  • 26f84c1e74 StringUtil cleanup. Nothing seems broken. Jordan Woyak 2010-11-10 04:12:31 +00:00
  • 7b34def0fc A couple of changes to the cmake build system. First: Added a DESTDIR option for package building. Second: Change the OpenCL setup. On both linux and windows use CLRun. I completely removed the option here. If CLRun works on MacOSX this should be done there as well, and this change implemented in the scons build also. Then we could remove the HAVE_OPENCL and the new USE_CLRUN definitions. Then we will finally have the dynamic detection of opencl set up cross platform. On a side note, it doesn't seem that the program loaded from TextureDecoder.cl compiles or runs. Glenn Rice 2010-11-10 01:59:53 +00:00
  • 7dd7bd2b03 Write bluetooth packets asynchronously to prevent blocking on commands that take some time to complete in the wiimote. Soren Jorvang 2010-11-09 20:46:11 +00:00
  • bee873a30c Fix the annoying gap in the OpenGL configuration dialog in the "General" tab between "Use Real XFB" and "Wide screen hack". Also link the dolphin-emu executable against GL in the cmake build. Why? This seems to fix the segmentation fault on stop issue. Although curiously enough, linking the dolhpin executable against the system shared library SOIL fixes the problem too. It doesn't work with the static version of SOIL build in the externals. The reason the problem disappeared with the scons build is that the executable is implicitly linked against GL since the linker flags are set up to be thrown in everywhere. Glenn Rice 2010-11-09 03:08:20 +00:00
  • e72ae04e5c Setup opencl to work like most of the other externals. Autodetect native shared libraries and if not found fall back to the static libs built from the externals. Also some general clean up of the main CMakeLists.txt file. I think it is nice to keep the checks and analysis of the results together. Glenn Rice 2010-11-09 00:29:07 +00:00
  • 15d74b7461 General cleanup to 3D Vision hack, fits in more with the Dolphin coding style now. Also, fixed the crash that would occur when using a mouse button with 3D Vision enabled. Matt Callaghan 2010-11-08 22:17:51 +00:00
  • 4782a8fc5a More CMake work: - various fixes for using CMake on Windows - support building external SDL, zlib, CLRun, wxWidgets - support using precompiled GLew and WiiUse libs on Windows NeoBrainX 2010-11-08 14:04:56 +00:00
  • b565618442 Removed the wait for swap when XFB is used. This fixes flickering in "Fragile Dreams" and "Another Code R". skidau 2010-11-08 08:51:30 +00:00
  • 57f01776ef Fix cmake so it is possible to build without bluetooth support, and the typo that tells you bluetooth is enabled when it is not. Fixes issue 3464. Also make the check for portaudio really check the version of portaudio. Glenn Rice 2010-11-08 02:51:31 +00:00
  • 2e0274dd1f Core/DSPCore: Implement Jit emitters for all extended operations. pierre 2010-11-07 23:43:26 +00:00
  • 874dab37f8 Core/DSPCore: Make Jit read from coefficient ROM when told to do so, change the unit test to catch this bug if it turns up again and two more zeroWriteBackLog() calls. pierre 2010-11-07 23:15:31 +00:00
  • e96943c121 Added an option in the cmake build to disable wxWidgets. To use add "-DDISABLE_WX=1" to the cmake configuration command. Also fixed the nowx build. Set scons build to autodetect OpenCL by checking for both the library and header instead of having an option. Unfortunately there probably needs to be a path variable that can be set to the location to look for the headers. For example on Ubuntu with nvidia, the headers are located in /usr/include/nvidia-current instead of /usr/include, and hence not found by scons. Glenn Rice 2010-11-07 17:45:35 +00:00
  • 58c8e7cb48 DX9/DX11: Remove some dead or obsolete code. NeoBrainX 2010-11-07 10:11:58 +00:00
  • 6666b400a3 Updated with a less aggressive optimisation to EFB copy to RAM. The destination texture now does not get invalidated if its hash is found in the texture cache. Fixes Metroid Prime 3. skidau 2010-11-07 04:28:33 +00:00
  • 8775abacc6 Optimised EFB copy to RAM. skidau 2010-11-06 04:46:44 +00:00
  • d0afc20596 Added checks for portaudio and opencl to the cmake build system. Glenn Rice 2010-11-06 03:49:18 +00:00
  • 7864f3c087 Missed a needed -fPIC. Glenn Rice 2010-11-05 23:38:37 +00:00
  • f2f0f373a6 Fixed GeckoCodes.org retrieval for WiiWare. skidau 2010-11-05 20:58:27 +00:00
  • 5436bef30b Added NVIDIA 3D Vision support. Patch by Uhyve. skidau 2010-11-05 11:24:46 +00:00
  • eb167e3ca8 Set "Release" as the default build type. Also cleaned up the CMakeLists.txt file a bit. Glenn Rice 2010-11-05 04:19:22 +00:00
  • 2383e2b0f5 Improve the compiler flags for the cmake build system. -fPIC only needs to be specified for static libraries that are linked into shared libraries. cmake automatically uses -fPIC for shared libraries. Also ported several other needed compiler flags from the scons build. Set up the debug build, enabled with "-D CMAKE_BUILD_TYPE=Release", to work with wxWidgets debugging. Note that most users will want to use the release build to get a -O3 optimized build. This can be enabled by adding "-D CMAKE_BUILD_TYPE=Release". Glenn Rice 2010-11-05 02:23:24 +00:00
  • 49a9efb010 config.h is only created on Unix. Soren Jorvang 2010-11-04 21:27:03 +00:00
  • 3aff478b3a Add the c++ definition HAVE_CONFIG_H in the scons build and check it before including config.h so the cmake build system doesn't need to worry about conflicts from that file if it exists. Glenn Rice 2010-11-04 20:33:45 +00:00
  • 4ac40687ea Okay. Big (possible controversial changes) to the cmake build system. I am officially killing the local/global build crap. The "local" build thing should never have existed. There is now only one build that is essentially what the "global" build was before. This is the way a proper build system should work. I will soon write a wiki page to describe how to properly use the cmake build system, and how you can still set things up to get the "local" build from before. However, that type of build should be considered a developer tool, and not the way that dolphin-emu should be built. Briefly, to use cmake now do the following from the toplevel of dolphin's source: mkdir Builddir cd Builddir cmake .. make make install (you may need superuser privileges) Glenn Rice 2010-11-04 13:47:17 +00:00
  • 45c92d27f2 fix for r6337: don't restore cached settings if a gameconfig was not used. Shawn Hoffman 2010-11-04 12:50:44 +00:00
  • de62a190f1 Removed one of the extraneous conditions from JIT64 UnsafeLoadToEAX. skidau 2010-11-04 11:43:44 +00:00
  • 4b0d4ded98 More cmake work. Added autodetection of shared libraries. Added a check for Xrandr. Fix OpenAL linkage. Copy User and Sys directories to lower case in the binary directory. Glenn Rice 2010-11-04 02:01:07 +00:00
  • 7b23bf666f hackfix for per-game settings overriding the main settings. This quick and dirty hack goes out to billiard in return for his own generous hacks. fixes issue 3004. it's a hack, so it should be replaced with a more sane method... also: hacks. Shawn Hoffman 2010-11-03 07:37:13 +00:00
  • e1549658a2 gray out ntsc-j option during emulation Shawn Hoffman 2010-11-03 07:16:03 +00:00
  • 9df772ed89 Make NTSC-J setting an option. This allows games which use Japanese ROM fonts to work correctly. Unfortunately trying to autodetect when to enable this setting is not good enough. Also move Progressive Scan option to main display settings, since it affects both GC and Wii. Shawn Hoffman 2010-11-03 06:28:47 +00:00
  • 381f92b151 Fix some linkage issues with the cmake build system. Also X11 is required on *nix systems. GTK2 is required for building the wxWidgets builds on *nix systems. Added a check for pulseaudio. Glenn Rice 2010-11-03 04:13:36 +00:00
  • 95d9cb3a0f unbreak japanese rom font, broken by r6297 Shawn Hoffman 2010-11-03 01:52:09 +00:00
  • 785154b89f JIT fix for the lfs instruction in x64 builds. Fixes Ultimate Spider-man. skidau 2010-11-02 10:27:57 +00:00
  • d5c941a3ba Added NullSound to CMake without typo skidau 2010-11-02 03:35:44 +00:00
  • 61c847eecc Added NullSound to CMake skidau 2010-11-02 00:39:52 +00:00
  • 0af0929a88 Re-implemented the NullSound back-end. Allows Dolphin to be used on hosts with no sound hardware. Emulates strict DSP timing in the DSP HLE plugin. skidau 2010-11-02 00:16:49 +00:00
  • 13dda74946 Allow the game to set the DSP sample rate. Fixes Bomberman Generation. skidau 2010-11-01 23:41:20 +00:00
  • 48859da6e3 DX9/DX11: Fix and simplify ClearScreen. At least fixes a small glitch in Super Mario Sunshine with DX11, might fix several other things as well in both plugins though (so test this, please!) Explanation of this commit: We only have to care about four BP registers in ClearScreen, the remaining API state should be reset. The colorEnable and alphaEnable parameters are obsolete, for some reason directly using them caused the SMS glitch with DX11 (because of that bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24 check in BPFunctions.cpp, is this one actually correct?) NeoBrainX 2010-11-01 19:13:50 +00:00
  • b75a805859 Add an experimental CMake build system as a possible replacement for SCons. Only tested on Linux, should work on OS X and Windows in the future as well though. NeoBrainX 2010-11-01 15:47:02 +00:00
  • 4b9831cdce Core/DSPCore: Extended opcode handling fixes pierre 2010-10-31 23:26:18 +00:00
  • 2f2a76b28a Attempt to fix real wiimote delay issues experienced by some. (Issue 3428) Jordan Woyak 2010-10-31 19:22:31 +00:00
  • 765d1823fb Only enable shader dumping in Debug/DebugFast builds since the required information isn't available in Release builds due to performance reasons. NeoBrainX 2010-10-31 15:32:04 +00:00
  • 6b0ac026bc DX9, Debugger: Implement pixel/vertex shader and texture dumping. NeoBrainX 2010-10-31 11:38:06 +00:00
  • 922bb419f4 Remove vestiges of standalone memcard manager build. Soren Jorvang 2010-10-30 10:54:41 +00:00
  • c015811d4d remove standalone MemcardManager, now has its own repo (http://code.google.com/p/gcn-memcard-manager/) add some svn:ignores (windows build dirs) LPFaint99 2010-10-30 07:30:32 +00:00
  • f7d1184d87 VideoCommon: Properly upscale the mantissa of some fog params. Might fix games with minor gfx glitches, try e.g. Super Mario Sunshine or Super Mario Galaxy 2. NeoBrainX 2010-10-29 21:37:20 +00:00
  • 6edb5f4847 Gah, need _both_ -search_paths_first and -Z. Soren Jorvang 2010-10-28 17:10:49 +00:00
  • a1312da859 Re-establish /usr/lib priority over /usr/local/lib using -Z instead of -search_paths_first which doesn't play well with --sysroot. Soren Jorvang 2010-10-28 17:00:59 +00:00
  • 0dc50d283d Only link with libdl on Linux. Soren Jorvang 2010-10-26 13:53:13 +00:00
  • 8ba671f849 The wxProgressDialog delay bug has been fixed since 2.9.1. Soren Jorvang 2010-10-26 12:08:14 +00:00
  • 78ab1c0f3f More robust way of building on 10.6 for a 10.5+ target. Soren Jorvang 2010-10-24 20:07:12 +00:00
  • ab53c84dcf Properly emulate the alpha read pixel engine register function (used for EFB peeks). NeoBrainX 2010-10-24 19:52:52 +00:00
  • b71cd5f383 A couple minor things I have left over Nolan Check 2010-10-24 19:41:10 +00:00
  • 61c6d4fe59 OpenGL plugin: Should fix building with earlier versions of GLEW. You'll still need the latest GLEW if you want to try dual-source blending. Nolan Check 2010-10-24 18:26:28 +00:00
  • 5be617c129 Fix an off-by-one error introduced in r6309. NeoBrainX 2010-10-24 17:04:20 +00:00
  • 5cdda90182 DX11: Fix ClearScreen properly this time. Should fix quite a few games (or break them :P) Fixes issue 3399. NeoBrainX 2010-10-24 16:53:33 +00:00
  • 52cd3aee95 Fix a major speed regression from r6288: Upon texture reloading, the cache entry hash wasn't updated and thus we effectively disabled any texture caching in that case. NeoBrainX 2010-10-24 15:16:31 +00:00
  • 56e79aa87d Added a safer OpenCL shutdown procedure. skidau 2010-10-24 04:17:36 +00:00
  • 2ec3db44ed OpenGL plugin: Support for dual-source blending, CURRENTLY DISABLED. It doesn't work yet. To fix it, we may need to convert all our shaders to GLSL so that we can use glBindFragDataLocation. Nolan Check 2010-10-23 19:55:19 +00:00
  • 91186d2b8a DX11: If the virtual XFB list overflows, replace the oldest XFB with a new one instead of just failing. NeoBrainX 2010-10-23 18:44:01 +00:00
  • 7410056536 Added the wait/sync back in the video thread on XFB swaps. Fixes issue 3391. Changed the VI interrupts to occur on writes instead of reads. skidau 2010-10-23 12:26:57 +00:00
  • 5ebc9c97db Fix another bug introduced by r6301: Using observer variables now to check for ring buffer wraps. Small performance improvements by increasing the ring buffer size and using a better offset algorithm. NeoBrainX 2010-10-23 09:59:33 +00:00
  • ae07f24b98 Fix a small but severe and stupid bug introduced by r6301... NeoBrainX 2010-10-22 20:58:42 +00:00
  • f9187ab508 DX11: Use a ring buffer in the utility functions for speedup. NeoBrainX 2010-10-22 20:48:20 +00:00
  • ef75d96655 Main change: Implemented EFB pokes in DX9/DX11. Games affected by this change: Mario Smash Football, Mario Strikers Charged Football, Monster Hunter Tri. Other games possibly affected: Shaun White Snowboarding, Resident Evil Code: Veronica, Baten Kaitos. This implementation will decrease performance if the game uses this feature, but the glitches will be gone. I'll add an option for this in a later commit. EFB pokes are somewhat slow in DX11 right now, speed should be okayish in DX9 though. NeoBrainX 2010-10-22 19:40:05 +00:00