Commit Graph

  • 26de63a8cd Video_Software: Implement PE pixel metrics NeoBrainX 2012-06-17 19:49:48 +02:00
  • cf8744cf2c OGL: Implement pixel metrics (untested) NeoBrainX 2012-06-17 13:58:29 +02:00
  • 4d8d86bd6a D3D11: Implement some PE pixel performance metrics. NeoBrainX 2012-05-29 13:54:20 +02:00
  • 90af798d3d Partially revert be200074e9ed for OS X systems Pierre Bourdon 2012-08-25 03:30:37 +02:00
  • 1c337f3373 OS X C++11 support is a joke origin/misc-opts Pierre Bourdon 2012-08-25 02:59:55 +02:00
  • 64d28ce12d Use an unordered_set to track FIFO write adresses Pierre Bourdon 2012-08-25 02:19:19 +02:00
  • e58c142f03 Move FPRF update from end of each FP instr to FPSCR reads Pierre Bourdon 2012-08-25 01:46:47 +02:00
  • 9240f0c17e Merge branch 'master' into misc-opts Pierre Bourdon 2012-08-25 01:24:54 +02:00
  • 60aed4e5b0 Merge branch 'memcard-delay' Pierre Bourdon 2012-08-24 12:45:45 +02:00
  • be200074e9 [Linux] Change from using /tmp to /dev/shm in MemArena so we don't cause any disk IO, also unlink file while it is open to allow multiple instances running. This was discussed months ago, but was never implemented for whatever reason. Ryan Houdek 2012-08-22 23:39:50 -05:00
  • bab9b5d3ce FifoPlayer: Fix fifo log playback in dual-core mode. NeoBrainX 2012-08-22 01:01:47 +02:00
  • 0b00c95b79 Simulate a small delay on GC Memcard operations Pierre Bourdon 2012-08-20 13:49:12 +02:00
  • 54fc4029dd Use do { ... } while (0) for the *_LOG macros Pierre Bourdon 2012-08-20 13:12:49 +02:00
  • 603bd9982d bugfix for memorycard manager. fixes exporting from page > 1 on slot b, thanks to suloku for reporting LPFaint99 2012-08-19 20:44:09 -07:00
  • 28bc5eca37 Added a check for out of bounds memory accesses. Fixes Avatar: The Last Airbender (GC). skidau 2012-08-17 22:14:35 +10:00
  • 08a9c66037 Revert the recent zcomploc changes including the Graphic_Fixes merge. NeoBrainX 2012-08-10 18:57:37 +02:00
  • 6e02ad55bc Maintenance. NeoBrainX 2012-08-07 18:57:53 +02:00
  • c143e08b9a Recreate screenshot texture whenever the backbuffer resolution changes. Fixes crashes when taking screenshots after changing window size or switching to/from fullscreen mode. NeoBrainX 2012-08-07 14:55:10 +02:00
  • ec859009b7 Add a sanity check for viewports with zero width/height. NeoBrainX 2012-08-07 01:34:20 +02:00
  • a2b71f1ed7 Clean up WX style issues mentionned in previous commits comments Pierre Bourdon 2012-08-06 14:21:49 +02:00
  • 0efd4e5c29 Skipped the ZCompLoc pass if the result can be determined at compile time. Brings back the speed lost by r146b02615c07. skidau 2012-08-06 09:29:01 +10:00
  • 86a1899b9e Fix a wrong data type in the WBFS Blob reader causing issues on x86 systems Pierre Bourdon 2012-08-05 19:35:49 +02:00
  • d7d2e5b9bf Link explicitly DolphinWX with GTK2 libraries Pierre Bourdon 2012-08-05 20:51:42 +02:00
  • fe1501db9a Check if WX recognized a key before testing if it's a hotkey Pierre Bourdon 2012-08-05 17:28:57 +02:00
  • b3c9f437db Return early from DoOpen if the user cancelled the file picker box Pierre Bourdon 2012-08-05 16:53:36 +02:00
  • 80bf3c2c0b Add VTune profiling support for Dolphin's JIT Pierre Bourdon 2012-08-05 16:39:15 +02:00
  • d604e955d9 Implement the 4x4 matrix multiply with SSE2 Pierre Bourdon 2012-08-05 05:24:30 +02:00
  • 00faa8eb09 Handle BP mask register better to avoid useless BP writes (causing flushes) Pierre Bourdon 2012-08-05 05:19:52 +02:00
  • 2328ba27c4 Replace the ps_sel Jit64 implementation and re-enable Jit for that instruction Pierre Bourdon 2012-08-05 05:08:54 +02:00
  • 65d4c0b09f Fix the psq_l implementation and re-enable it in the inst.W == 1 case Pierre Bourdon 2012-08-05 05:03:43 +02:00
  • 210425adb8 Avoid a test when writing a float to memory without the (disabled) SSSE3 implementation Pierre Bourdon 2012-08-05 04:59:24 +02:00
  • 6aeaab204f Remove a useless GPR flush when idle skipping Pierre Bourdon 2012-08-05 04:55:44 +02:00
  • 228172d656 Fix a typo in the indexed color vertex loader Pierre Bourdon 2012-08-04 20:48:38 +02:00
  • 8597660855 Replace all of the opcode data read functions by their SSSE3 equivalent, not only the first one. Pierre Bourdon 2012-08-04 20:45:48 +02:00
  • d44a3471be Fix DSP LLE thread affinity being set to the wrong core Pierre Bourdon 2012-08-04 20:38:21 +02:00
  • e42c6214d9 Fix a typo in GenQuantizedLoads causing issues with SSSE3 in x86 builds Pierre Bourdon 2012-08-04 20:35:32 +02:00
  • 9a91ef0abb oops, missed a compiler warning origin/win32-dump sktsqrl 2012-07-26 14:26:37 -07:00
  • ad66414b05 Keep retrying a BITS job for up to 30 days. This is an arbitrary value. sktsqrl 2012-07-26 09:27:30 -07:00
  • a48199b5c2 more UGLY code that gets neat-o dumping stuff working sktsqrl 2012-07-25 00:26:33 -07:00
  • c80116217b windows: add SetThreadStackGuarantee(20KB) to std::thread creation sktsqrl 2012-07-25 00:25:50 -07:00
  • a2148c19ce update zlib to version 1.2.7, May 2nd, 2012 sktsqrl 2012-07-24 13:42:32 -07:00
  • 96639b4298 windows: begin using minidumps upon unrecoverable exceptions. sktsqrl 2012-07-24 02:48:49 -07:00
  • d33e48319f Fix accesses to the 16 lower pixels of the EFB with OpenGL Pierre Bourdon 2012-07-23 19:56:57 +02:00
  • 00df727d2f Optimised the JitCache struct size from 88 bytes to 80 bytes. Thanks to Lioncash for the patch. skidau 2012-07-23 22:15:34 +10:00
  • 174c1b00f8 Use the right modifier for hotkeys on Mac Pierre Bourdon 2012-07-22 19:22:50 +02:00
  • c0060f9ef8 Merge branch 'bba' sktsqrl 2012-07-21 12:53:46 -07:00
  • 601b9fc03b typo fix sktsqrl 2012-07-21 12:50:40 -07:00
  • 9442d334d8 bba: stub the os x impl sktsqrl 2012-07-21 12:21:55 -07:00
  • 2e8277a6cd Merge branch 'master' into async-dvd origin/async-dvd Pierre Bourdon 2012-07-15 17:41:28 +02:00
  • 0e1348c839 Re-add hack to use SDL/SDL.h ifndef _WIN32. Scott Moreau 2012-07-14 16:58:31 -06:00
  • d34418100b Add periodic effects for haptic devices. Scott Moreau 2012-07-11 14:48:15 -06:00
  • 80c15f21b4 Add SDL2 support to build system. Scott Moreau 2012-07-12 16:38:29 -06:00
  • 8dd11bd1c0 fixes issue 5507 sktsqrl 2012-07-11 20:54:50 -07:00
  • 1d44de53b5 reset samples_avail when stopping gc mic sampling. fixes Mario Party 7 sktsqrl 2012-07-11 01:03:25 -07:00
  • b7f4d59c6d Increased the number of samples for paletted textures. Fixes the invisible landscape in Worms: Battle Island. Thanks to wespipes for testing. origin/Hashless skidau 2012-07-10 09:08:43 +10:00
  • a02cbedb0f bba: generate MAC if needed sktsqrl 2012-07-07 13:44:26 -07:00
  • dd48b246b2 Reduce logging verbosity in the Linux BBA code Pierre Bourdon 2012-07-05 01:30:37 +02:00
  • 5db70f452b Remove the now unneeded recv sleep hack and fixes game exit by implementing a timeout on read(2) calls in the read thread. Pierre Bourdon 2012-07-05 01:29:14 +02:00
  • bb84043de0 bba: (windows) fix games which stop and restart recving, such as logging off of PSO and loggin on again without stopping dolphin sktsqrl 2012-07-04 16:17:47 -07:00
  • 6cccbb91ec bba: implement recv buffer full interrupt sktsqrl 2012-07-04 16:00:42 -07:00
  • 9cff8316d2 code cleanup for win32/tap/eth sktsqrl 2012-07-04 13:44:37 -07:00
  • 9a3dd778cb Preliminary BBA support for Linux. Assumes that a TAP interface named 'Dolphin' exists and is preconfigured. Contains some dirty hacks. Pierre Bourdon 2012-07-04 04:34:40 +02:00
  • 2704ad4646 Fixed "Virtua Striker 3 2002" stuck at boot regression and added working controls. Patch by MetalliC. origin/Triforce skidau 2012-07-03 21:07:06 +10:00
  • 087c1767d2 Utilised the 32bit hash algorithm when EFB to RAM is selected on non-SSE4.2 CPU's. Fixes the corrupt graphics in Mega Man 10. Fixed a small bug where paletted textures were being hashed in EFB to Texture mode. Fixes the slow speed in that mode. skidau 2012-07-03 20:38:00 +10:00
  • c57640dfbd Implemented proper timing in the "No audio output" back-end. skidau 2012-07-01 17:07:58 +10:00
  • ef730b63f7 Hash paletted textures. Fixes the landscape in Worms Battle Island and the intro video in T3: Redemption. skidau 2012-06-30 21:56:18 +10:00
  • 6fd4d4b072 Used the game map to detect if EFB copies have been overwritten, instead of using an invalid hash. Fixes the scaled EFB issue in Xenoblade Chronicles. skidau 2012-06-30 12:16:43 +10:00
  • 3cb6e4a864 Redo BBA once again. Now it works on windows, if crappily. To use, install OpenVPN's TAP device driver. Then create a network bridge between the TAP and your device connected to the internet. TODO: proper overlapped read - can look at qemu impl non-windows impl sktsqrl 2012-06-29 17:33:56 -07:00
  • fd87785985 Merged conflicts after rebasing to master rb4ec836aca43. skidau 2012-06-29 19:52:54 +10:00
  • 4803b0b902 Added code to detect if the CPU reads from the EFB RAM address and update the EFB copy if that is the case. Fixes the scanning of objects in Metroid Prime 2. Changed the default hash algorithm back to Murmur3 64bit as the 32bit generated hash collisions with EFB to texture, making some games slow. skidau 2012-06-22 23:37:46 +10:00
  • 47fa63f8f5 Perform a full search for both paletted textures and non-paletted textures when invalidating. Fixes the glitch with the background overlay in Okami. Reintroduced the "SafeTextureCacheColorSamples" in the game ini allowing hi-res texture packs to specify the number of samples needed. Retrofitted the old hash code for EFB to RAM which will be used for custom textures. Forced EFB to texture to a minimum 32 sample hash. Fixes the slow speed in EFB to texture. Some minor code refactoring. skidau 2012-06-17 21:10:57 +10:00
  • 775392c914 Checked if the texture format has changed before using the cached texture. Fixes the colours and corrupt graphics in Spider-Man: Shattered Dimension. Readded the speed hack from 3.0-701 with an additional check for invalidated EFB copies. This fixes the EFB corruption in Tales of Graces (where the speed hack will automatically turn itself off) and keeps the speed hack enabled for other games. skidau 2012-06-16 18:26:42 +10:00
  • 57d08206f2 Invalidated the full range of EFB copies. Fixes the glitches in Okami. Made further progress on compatibility with custom textures. Removed the speed hack from 3.0-701 (r547cca7e1ba4) as it caused EFB corruption in Tales of Graces. Made the EFB to Texture option hash textures. Making this option hashless caused glitches and slowdown. skidau 2012-06-15 23:47:39 +10:00
  • 35f568209b Rearranged the EFB copy logic to update RAM after the game has read the texture it copied the EFB contents into. Speeds up NSMBW. skidau 2012-06-14 22:18:20 +10:00
  • f29064fc74 Removed the invalidation of EFB textures via the dcbX instructions. EFB textures are not cached by the data cache. Fixes the missing portraits in F-Zero GX. Hash the EFB to RAM copies. Speeds up World 2-2 in NSMBW and Punch-out. Calibrated OpenMP texture decoding so that it does not slow down games when used. Invalidated EFB to Texture textures. Fixes the misplaced textures in the underground levels of NSMBW. skidau 2012-06-14 21:38:40 +10:00
  • 61e9774f09 Added a speed hack in EFB to RAM to copy the EFB only if the game reads from the copy. Speeds up NSMBW and MKDD. skidau 2012-06-12 23:35:23 +10:00
  • e298f98e63 Fixed TMem caching. Eliminates the slow speed in "Harvest Moon: A Wonderful Life" menu and night scenes. Corrected the texture ID for TMem textures. This results in more cache hits in games like MGS:TS. Checked for invalidated textures before using them. Corrects the missing textures in "The Last Story." Fixed the floor reflections in GoldenEye 007. Fixed the slow speed in Rhythm Fever's dialogue scenes. skidau 2012-06-11 22:51:03 +10:00
  • c235b4ac43 Invalidate palette textures after one frame. Fixes the missing text in Pokemon Battle Revolution. Rearranged the texture cache cleanup and invalidation. Fixes the slow speed in F-Zero GX's car selection screen. Invalidated textures on dcbi. Fixes the misplaced textures in Metroid Prime. Started to get Hi-Res textures working again. skidau 2012-06-09 15:37:33 +10:00
  • 331d03a522 Fixed the invalidation of mipmaps, used by the floor reflections of GoldenEye 007. Added code to invalidate textures on dcbz. Fixes the intro video of Starfox Assault. Marked textures created by EFB to texture as valid. Fixes some misplaced textures in Indiana Jones: Staff of Kings. skidau 2012-06-03 17:20:26 +10:00
  • 7c8e8b0de9 Added MurmurHash3 32bit and made it the default hash function. Fixes the corrupt graphics in MP2. Reverted the inlining of the texture cache cleanup as it did not fix the flickering issue. Raised the number of samples when hashing palettes, depending on the palette size. skidau 2012-05-31 20:41:45 +10:00
  • 9f3295fac0 Changed the default hash algorithm from Murmur3 to Fletcher for non-SSE4.2 CPU's. This fixes the missing text in some games. Moved the texture cleanup inline with the texture loading. This is an attempt to fix the sync that resulted in flashing textures. skidau 2012-05-30 20:39:50 +10:00
  • e0536e4ae6 Replaced the InvalidatePalette function with a faster check in EFB to RAM for invalidated textures. Added a check for texture dimensions before caching efb copies. Fixes the zoom flicker in ZTP. Added a watermark before killing old textures. This keeps textures in the cache for longer if the game is not loading many new textures. skidau 2012-05-30 00:12:09 +10:00
  • 877c063f29 Removed the speed hack for invalidating paletted textures. Fixes the mini-map in the GC version of ZTP. Created a separate case for EFB to Texture with the same behaviour as the old system. Fixes the issues found with that option like the blurred screen in Pandora's Tower and the missing outline in DBZBT3. skidau 2012-05-28 19:47:32 +10:00
  • 74c36da36b Added includes to fix compilation on Linux Pierre Bourdon 2012-05-27 10:29:22 +02:00
  • 26da2f6334 Added a function to invalidate paletted textures when TMem has been updated. Fixes the mini-map in ZTP. Added a check for invalidated textures in the Cleanup function. Fixes the intro of Pandora's Tower. Corrected the rounding when scaling the EFB. Thanks to Eldray for the patch. skidau 2012-05-27 18:11:04 +10:00
  • 03d0d8c53a Changed the texture caching system to rely on data cache and locked cache events to invalidate textures. This bypasses the constant hashing of textures performed by the old system. Games that need EFB to RAM gain the most speed-up from this change. The Last Story, Super Mario Galaxy and NSMBW gain a speed-up from this change. skidau 2012-05-26 14:20:11 +10:00
  • b4ec836aca Removed the offset if the ZCompLoc GREATER or LESS function is used. Fixes the invisible player in THPS3. skidau 2012-06-29 18:47:49 +10:00
  • b27d8ff0d6 Add a missing Invalidate() call in ~TextureCache(). Fixes a regression from 8bed27a3d1e3 causing textures to load improperly when a game is run two times in the same Dolphin instance Pierre Bourdon 2012-06-27 20:19:04 +02:00
  • 05ae006e18 Merge branch 'translation-updates' Glenn Rice 2012-06-26 20:08:22 -05:00
  • ccba08f5ca Update po's from translators. Glenn Rice 2012-06-26 20:05:11 -05:00
  • 29e21026e9 Merge branch 'awesome-texcache-cleanups-and-fixes' NeoBrainX 2012-06-21 22:20:48 +02:00
  • 8dbee841dd Changed the gas and brake controls to right trigger and left trigger respectively. skidau 2012-06-22 00:58:13 +10:00
  • 1c8cdebc22 Set g_texture_cache to NULL upon shutdown. Fixes a crash introduced in previous commits. NeoBrainX 2012-06-21 14:21:16 +02:00
  • fa2ee1f4a0 Only call CheckExceptions in dcbz in interpreter mode, use FL_ENDBLOCK for Jit64. Now RS3 demo disc does ingame with Jit and block_size = 1 Pierre Bourdon 2012-06-20 18:33:23 +02:00
  • cc0523e55b TextureCache: Properly assign texture hashes when EFB to RAM is used without caching. NeoBrainX 2012-06-20 16:43:13 +02:00
  • 7dabba5095 Fix a small bug. NeoBrainX 2012-06-03 13:03:20 +02:00
  • 043a85f8a6 Minor cleanup. NeoBrainX 2012-06-03 13:02:11 +02:00
  • 8a5abbddc4 Enable texture format overlay on the fly. NeoBrainX 2012-05-28 11:39:55 +02:00
  • 8bed27a3d1 Enable hires textures even when texture dumping is enabled. Remove some deprecated code. NeoBrainX 2012-05-28 11:37:14 +02:00
  • 8d30ac462a Instead of invalidating texcache whenever the graphics configuration dialog gets opened, clean up textures on configuration changes. NeoBrainX 2012-05-28 11:31:37 +02:00