Commit Graph

  • e9d115a8b1 VideoCommon: Fixed the crash when the code cache of DLCache is full. nodchip 2010-10-22 03:50:44 +00:00
  • 4c4348a0a7 Applied the change from r6297 to the DX11 plug-in. skidau 2010-10-21 15:06:01 +00:00
  • e9734084ee VideoInterface and Progressive Scan fixes The "Enable Progressive Scan" option in the Wii menu now controls whether the Wii/GC will detect a progressive scan display. This affects the timing of some games (both GC and Wii). Usually, the checkbox should be unticked as progressive scan displays require higher bandwidth. skidau 2010-10-21 14:50:42 +00:00
  • 95cfca08e2 Put infrastructure in place so that other plugins may support dual-source blending. Nolan Check 2010-10-21 05:22:18 +00:00
  • 0b7e90f0de Quick fix for Issue 2820 - build works on my system with or without this patch, but it doesn't hurt. Thanks Karloathian for the solution! bztdlinux 2010-10-20 20:56:09 +00:00
  • cb453a0fb3 DX11 plugin: Do destination-alpha in a single pass. No more drawing the same geometry twice! SMG is faster now because it uses destination-alpha extensively. This uses dual-source color blending, a DirectX 10-level feature. The equivalent OpenGL function comes from the GL_ARB_blend_func_extended extension, which was made core in OpenGL 3.3. Nolan Check 2010-10-20 03:11:22 +00:00
  • 479eea6ad2 DX11 plugin: Fix numerous Metroid Prime glitches. The "techno energy ball lighting" glitch is remains, however. Nolan Check 2010-10-20 02:29:20 +00:00
  • b1d6417f13 DX11 plugin: Use a better mechanism to load vertex and index buffers; prevent a potential bug where triangles, lines, and points could fight over the same buffers Nolan Check 2010-10-20 02:17:16 +00:00
  • 0e534dd033 Clarify texture cache code. Previously, there were THREE sets of texture dimensions, and it was hard to tell which set was for what purpose. Now, there are two: Real dimensions: Width and height of the original GameCube texture Virtual dimensions: Width and height of the texture used by dolphin-emu's renderer Nolan Check 2010-10-20 00:39:45 +00:00
  • 9a03484d64 Goto'ing past variable initializations is undefined behavior. Soren Jorvang 2010-10-20 00:12:41 +00:00
  • 7b45ac6e01 Made it easer to use mouse/keyboard and a gamepad together on the same emulated wiimote. Renamed mouse buttons from "Button N" to "Click N" so they do not conflict with gamepad buttons.(hopefully not too ugly, mouse buttons will need to be reconfigured) (Fixes issue 3363) Jordan Woyak 2010-10-19 23:11:22 +00:00
  • cf05cca7a6 Merged common texture cache code from video plugins into VideoCommon. (DX11 native mipmaps currently broken, disabled) Hopefully everything else should still be working. Jordan Woyak 2010-10-19 22:24:27 +00:00
  • 16ff21b0d5 display fprs in the registerview as hex, and allow editing of the values Shawn Hoffman 2010-10-19 13:35:25 +00:00
  • 8b49d5ccca Don't store Render window size when the window is minimized (Fixes Issue 2940) j4ck.fr0st 2010-10-17 12:42:04 +00:00
  • f444dd551b Quick FIFO fix to get NBA JAM working. skidau 2010-10-16 10:16:05 +00:00
  • c4c56d3146 Added Wii disc speed emulation Added disc access time emulation Enabled the disc transfer speed by default Changed the system timing back to the pre-r6090 default (thanks to tsilibourditsas for testing) Changed the game property to "Speed up disc transfer rate". Leave this disabled for the most compatible setting. skidau 2010-10-15 21:46:51 +00:00
  • 8e6a866a5b JitIL: Fixed the folding rules. This was the underlying bug of the bad collision checking bug reported in Issue 3097. nodchip 2010-10-15 07:48:20 +00:00
  • 59381f8343 JitIL: Added an IR instruction. Fixed the NSMBW bug reported in Issue 3097. In Issue 3097, two bugs are reported (The bad collision checking in NSMBW and MP2 collision issue). In this commit, the bug in NSMBW is fixed. nodchip 2010-10-15 00:45:45 +00:00
  • 6d2c35a332 Core/DSPCore: Jit: only end emitting the current block when hitting an unconditional branch(or idle skip), emit check g_dsp.pc and return when hitting a conditional branch. pierre 2010-10-14 13:17:38 +00:00
  • 47eb5c3416 Core/DSPCore: Only check for internal exceptions in DSPEmitter::checkException, but call it for every instruction, like in DSPInterpreter::Step. Fix the analysis lookups for DSP_IDLE_SKIP and DSP_LOOP_END. pierre 2010-10-14 11:37:59 +00:00
  • 6e6a0be8c4 allow dumping of mem2 as well as aram. thanks Treeki Shawn Hoffman 2010-10-14 04:07:04 +00:00
  • e9d91fb9f3 Core/DSPCore: Initialise all of the code blocks pierre 2010-10-13 21:07:16 +00:00
  • 7c0cae9e8b Get the htonl/htons prototypes on all Unix-likes. Soren Jorvang 2010-10-13 13:18:17 +00:00
  • 77a3a5078e Fix building on Linux without bluetooth headers. Soren Jorvang 2010-10-13 09:57:13 +00:00
  • f8d8445805 buildfix for debug/debugfast x64 Shawn Hoffman 2010-10-13 03:07:58 +00:00
  • f862ed4782 The --wiimote_plugin command-line option is no longer relevant. Soren Jorvang 2010-10-13 00:19:10 +00:00
  • 739c9eb2df Allow building without bluetooth support. Soren Jorvang 2010-10-12 23:39:16 +00:00
  • e81a10fb44 Temporarily re-enable SDL pad input on OS X. Soren Jorvang 2010-10-12 22:26:30 +00:00
  • a89b8f4a7d Fix scons build. Soren Jorvang 2010-10-12 20:14:09 +00:00
  • 7e08fc19fc Moved WiimoteNew into Dolphin and eliminated the old wiimote plugin. Removed wiimote plugin support. Moved input dialog related InputUICommon stuff into DolphinWX. Removed now unused InputCommon files. UDPWiimote stuff is temporarily disabled until it is reorganized so Core won't depend on wx. Real wiimotes are now initialized on first need(wiimote diag open or game start) and left initialized until Dolphin exit.(maybe this will work better for Linux/OS X) (scons probably needs some fixes) Jordan Woyak 2010-10-12 19:42:29 +00:00
  • de3ad37299 WiimoteNew: Made emulated wiimote return read error when motion plus register area is read.(Fixes "Sonic the Hedgehog 4" input, perhaps others) GCPad/WiimoteNew: Made DirectInput use the Dolphin window hwnd for SetCoopLevel instead of GetForegroundWindow.(attempt to fix issue where gamepads sometimes don't work until "Refresh" is pressed) Jordan Woyak 2010-10-11 22:19:47 +00:00
  • 7733b84bc1 Added a game option to emulate the disc transfer rate. This is needed for some games like Mario Golf and Fire Emblem: Path of Radiance. skidau 2010-10-11 12:38:17 +00:00
  • 7797b9d753 a little bugfix and a small optimization. this should fix issue 3313 but i can't test it Rodolfo Osvaldo Bogado 2010-10-10 14:35:31 +00:00
  • 34909ecebc Core/DSPCore: Make the JIT blocks return the number of cycles executed. pierre 2010-10-09 21:43:57 +00:00
  • ccb4645f24 Fix a bug introduced by r6240. Fixes issue 3320. NeoBrainX 2010-10-09 13:47:56 +00:00
  • cf5639af54 GCPad/WiimoteNew: Reordered some stuff in DirectInput device enumeration.(makes certain gamepads work now, hopfully doesn't break other pads) (Thanks to YoD for helping debug) Also fixed something ridiculous in the input config dialog. :p Jordan Woyak 2010-10-09 07:24:33 +00:00
  • f3b144d563 Core/DSPCore: Fix register use in two (currently) unused functions, correct the IsSameMemArea check in the rest of the file. pierre 2010-10-07 18:36:08 +00:00
  • c203cd5dae little commit for developers: patch/hack to make dolphin work under virtual box using Linux guest tested under gentoo and virtualbox 3.2.8 with 3d acceleration on Rodolfo Osvaldo Bogado 2010-10-06 18:03:31 +00:00
  • 31c7fb7a33 Fix wiimotes.(fixes issue 3195) Jordan Woyak 2010-10-06 02:28:52 +00:00
  • bfd04e380e WiimoteNew: Added button mappings for tables and crossfade slider on emulated turntable extension.(completely untested in game) Jordan Woyak 2010-10-05 21:43:51 +00:00
  • 0830e74d55 Only need one copy of Turntable.o. Soren Jorvang 2010-10-05 18:15:10 +00:00
  • 4153e6eee1 Fix building with --as-needed. Fixes issue 3301. Patch by Christian.Morales.Vega, thanks ;) NeoBrainX 2010-10-05 18:10:06 +00:00
  • 6c8fc66698 small HandleLoop() optimization for dsplle-int Marko Pusljar 2010-10-04 12:50:16 +00:00
  • 9ffc071e34 Some stuff which was still lying around on my hard disk: - Add a sanity check in CRenderFrame::MSWWindowProc. Possibly reduces the risk of a crash when starting a game and immediately closing the emulation window when using the DX9 plugin. - DX11: Add the resource usage as a parameter to CreateQuadVertexBuffer, possibly to be used in the future. - reduce the size of the EFB access buffers from 4x4 to 1x1 since they needn't be bigger anymore - some fixes to the recent hires commit. NeoBrainX 2010-10-04 11:09:32 +00:00
  • 4907e6b6d2 DX11: Add texture dumping and hires texture loading support. NeoBrainX 2010-10-04 11:02:35 +00:00
  • d57b0a14d0 Fixed hires textures not scaling. Also increased max size of custom textures to 2048x2048. baby.lueshi 2010-10-04 01:54:51 +00:00
  • ec648ed221 Fixes issue 3295. sl1nk3.s 2010-10-03 22:50:57 +00:00
  • 4b5b9ad05c Add Turntable.cpp to SCons build. Soren Jorvang 2010-10-03 08:20:24 +00:00
  • c6fa5804de Added support for PAL-R (Russia) ISO detection. Fixes issue 2575. skidau 2010-10-03 06:10:14 +00:00
  • aae0fa7909 InputCommon(GCPad/WiimoteNew): Fixed issue when inifile didn't exist, defaults were loaded, and input didn't work. Fixed prob in DirectInput(hopefully doesn't break any other gamepads): buffered data wasn't ever being used. WiimoteNew: Hopefully made emulated swinging better(please comment). Added (completely untested) incomplete emulated turntable(DJ Hero) extension support :p. Deleted some files that I meant to delete in my last commit. Jordan Woyak 2010-10-03 04:29:34 +00:00
  • 841583b8f3 Merged identical VertexManager code from DX9/DX11/OGL plugins into VideoCommon. Still need to merge VertexManager::Flush (will be easier after TextureCache is merged). Purposely using a class/virtualfuncs rather than a namespace so multiple VertexManager can be in one plugin (VideoMergeNew? :p). Jordan Woyak 2010-10-03 00:41:06 +00:00
  • aaeb21fe3b Core/Common: Automatically emit a MOV in ABI_CallFunction* when the function pointer cannot be reached by 32bit displacement. pierre 2010-10-02 20:04:03 +00:00
  • c0e90d4b39 DX11: Clean up AccessEFB and fix a crash. Thanks to pico554 for hinting at the wrong part ;) NeoBrainX 2010-10-02 11:50:50 +00:00
  • 26c7a5303d Fixed a bug in JIT/JITIL. The size_of_merged_addresses variable was being used before it was initialised in certain cases (Rogue Leader). skidau 2010-10-02 02:04:44 +00:00
  • b80e207a8a Core/DSPCore: Make JIT work on 64 bit hosts pierre 2010-10-01 23:23:13 +00:00
  • c8c805f720 Remove unnecessary shadow variables and signed/unsigned comparisons. Soren Jorvang 2010-10-01 12:38:31 +00:00
  • 23f8da4bf7 Fixed the glitches when an internal resolution other than Native was used in the OpenGL plug-in. skidau 2010-10-01 11:03:37 +00:00
  • 2a64643fdc Apply u-ra's patch to speed up CriticalSection on systems that use POSIX-threads (that is, not windows). j4ck.fr0st 2010-09-30 17:17:13 +00:00
  • 1450385a53 Undid the merges made to the OpenGL plug-in's Init and Shutdown functions as these changes broke non-Windows builds. skidau 2010-09-30 16:11:31 +00:00
  • 719521eeeb Added EFB Scale option to the OpenGL plug-in. Renamed EFB Scale to Internal Resolution. Removed Auto Scale option (it is now always on). Added on-the-fly changing of the Internal Resolution in the OpenGL and Direct3D9 plug-ins. Further consolidated the code in the video plug-ins. skidau 2010-09-30 15:24:34 +00:00
  • ce1057f17d Core/AudioCommon: Feed bigger audio chunks to the output devices in case of underrun. pierre 2010-09-28 21:43:38 +00:00
  • 7eb99b9088 Fixed r6235 for the Mac and Linux builds. Thanks, glennricster. skidau 2010-09-28 21:28:49 +00:00
  • 543c8926cc would help to have a vcproj for that. Shawn Hoffman 2010-09-28 04:26:45 +00:00
  • 4f534594cd add "asm" test to testsuite's sln Shawn Hoffman 2010-09-28 04:25:49 +00:00
  • 88cd9f3df1 Minor code formatting: First step to bring a level of consistency between the video plug-ins - variable names, spacing, function names, function order, comments, file names. This will help us identify common code for VideoMerge. skidau 2010-09-28 02:15:02 +00:00
  • 73f4bc4598 Some more cleanup which should've been in r6232. Thanks Billiard. Shawn Hoffman 2010-09-27 05:16:11 +00:00
  • 986939f31a Make the memcheck log INFO level. Shawn Hoffman 2010-09-27 04:30:23 +00:00
  • 18be8ffa6e Replace all bitfields which were only declared with "(un)signed" with their actual types. Let me know if I missed any. It would also be a good idea to test this commit in both x64 and x86. Shawn Hoffman 2010-09-27 04:29:51 +00:00
  • 6cf51dbd66 Allow SI AM_Baseboard to be selected correctly in GUI. Shawn Hoffman 2010-09-27 02:22:53 +00:00
  • a5333f80d1 Gecko code: Fixed the thread-safe problem reported in r6227. nodchip 2010-09-27 01:18:25 +00:00
  • bc1e0c24e8 Add an PanicAlert in case we try to do an >32 bit displacement pierre 2010-09-26 19:37:30 +00:00
  • 2f44464eef Fixed the build error in r6227. nodchip 2010-09-26 06:58:21 +00:00
  • 436a927566 Gecko codes: Implemented CT6 CST1 code type (insert asm code in the game). This function may need many tests. nodchip 2010-09-26 06:31:45 +00:00
  • e011b4a6a6 Jit64/JitIL: Removed a redundant MOV instruction. This commit suppresses alert windows of debug binary in windows. nodchip 2010-09-26 04:50:12 +00:00
  • 91036ae160 Slightly adjust z-values calculated in the vertex shader so OGL does not clip the final rendering of (at least) Sonic Unleashed. pierre 2010-09-23 19:38:49 +00:00
  • e641323de2 i know still a lot to fix and much work to do but sometimes experiments are fun :) for all the plugins implemented per pixel lighting, this will make games that uses lighting a lot nice. (just look at mario sunshine and compare :)) for dx9: implemented temporal anaglyph stereo: just grab your red-cyan glasses and enjoy. stereo calibration: use stereo separation ( distance of the point from you are looking) and Focal Angle: the angle necessary to focus in one particular object. this settings are different in every games as they use different depth ranges. please for any regression and bug introduced by this commit. if you ask why i did not implement stereo in dx11 and opengl the reason is one: they don't work right when i have more time will try to find a way to make them work. Rodolfo Osvaldo Bogado 2010-09-23 02:17:48 +00:00
  • 5e806eb7b2 Jit64/JitIL: Implemented simple function inlining for speedup. nodchip 2010-09-23 02:05:04 +00:00
  • 97a9c375f9 JitIL/Jit64: Removed std::vector for speed up. nodchip 2010-09-22 02:42:17 +00:00
  • 073899cb26 Forget about something. :p Jordan Woyak 2010-09-20 23:24:05 +00:00
  • 32143f9457 Fix "Plugin_VideoMerge" dependencies. Jordan Woyak 2010-09-20 22:53:32 +00:00
  • 194493cc04 Some work on merging the video plugins: Added a new plugin to the solution(shouldn't build by default) which combines the DX9, DX11, and OGL plugins with their common code merged (and some things temporarily removed). In it's current state the plugin is hardly usable. Perhaps someone with knowledge of the video plugins will be able to fix the things I have broken more easily than me(or point me in the right direction). I will continue to work on it as well. Jordan Woyak 2010-09-20 21:45:47 +00:00
  • 6583a3f1e2 Plugin_VideoOGL: X11: Add another display connection to keep the two threads from eating each others events. pierre 2010-09-19 23:40:03 +00:00
  • 236f75aac3 Make shader for copying from depth buffer to texture more resilent against precision loss. pierre 2010-09-19 20:01:17 +00:00
  • 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