Commit Graph

  • 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
  • fe9e72d6dc Lock emulation while saving state on all platforms. Soren Jorvang 2010-12-19 16:07:05 +00:00
  • 38a46ddf94 Avoid shadowing variables. Soren Jorvang 2010-12-19 16:03:39 +00:00
  • c68ae8e91e Related to CPUID detecting: gnick79 2010-12-19 15:06:30 +00:00
  • 05ad8d01d3 Fix TextureDecoder.cl to work on both NVidia and ATI video cards. To do so I had to re-add the casting bloat removed in revision 6102. Also, for some odd reason the NVidia OpenCL drivers don't like 8 bit rotations, but are okay with 2, 4 bit rotations. These are apparently bugs in the NVidia drivers that are hopefully fixed in future versions. Also, on linux make sure the TextureDecoder.cl file is copied from the shared data directory to the users directory. Glenn Rice 2010-12-19 14:59:57 +00:00
  • d1631bec3f Build fix for linux. svnrev.h was not found when compiling OCLTextureDecoder.cpp as that include directory was only used in Core/Common. Glenn Rice 2010-12-19 14:02:43 +00:00
  • 0b72d34f6d Build fix for Linux x86 skidau 2010-12-19 13:25:57 +00:00
  • 9114c96c78 Cached the compiled OpenCL kernels to disk (User/OpenCL/kernel.bin). This reduces the start up delay in OpenCL mode. Added a 10 byte header to the file which contains the current svn rev string. This will recompile the OpenCL kernels with every new revision. skidau 2010-12-19 11:03:09 +00:00
  • ef0762c6a5 Apparently I missinterpreted that thing in tortoise svn. Glenn Rice 2010-12-19 04:00:07 +00:00
  • a91c86c4d9 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6606 8ced0084-cf51-0410-be5f-012b33b47a6e Glenn Rice 2010-12-19 03:46:20 +00:00
  • 7236f114ff git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6605 8ced0084-cf51-0410-be5f-012b33b47a6e Glenn Rice 2010-12-19 03:46:01 +00:00
  • 522746b2c2 **Changes** gnick79 2010-12-18 18:23:22 +00:00
  • 42e40b46c0 OpenCL: Fix error reporting when the build log is too long Orphis 2010-12-18 04:54:16 +00:00
  • d01542ee0a Fix another part of issue 3716 missed in the last revision. Glenn Rice 2010-12-17 22:13:58 +00:00
  • 22f19f6fdb Fix a segmentation fault that occurs when "Confirm on Stop" is enabled, the close button of the window is clicked, and the user answers No to the resulting confirmation. Fixes issue 3716. Glenn Rice 2010-12-17 15:23:33 +00:00
  • 77a36cf9cb ABI fix for Linux x64. ABI_CallFunctionCC16 was not calculating the jump distance on far calls. skidau 2010-12-17 05:16:51 +00:00
  • 2a54c445a0 LLE JIT: Added another 9 DSP Load/Store instructions to the JIT. Fixed a couple bugs in the 32bit and Linux builds. skidau 2010-12-17 03:34:50 +00:00
  • aecc4f67a1 Fixed the throttle (Tab) key so that it takes effect when the frame-limiter is used. Hold down Tab to run the emulator unthrottled (Windows only). skidau 2010-12-17 01:34:40 +00:00
  • 9afb1dab41 Helps to add the new code to the repository. skidau 2010-12-16 23:37:58 +00:00
  • 93a09ee7b5 LLE JIT: * Added jit versions of 5 DSP LoadStore instructions: srs, lrs, lr, sr, si * Renamed MainOpFallback to Default for consistency in naming with JIT64 * Made ext_dmem_read and ext_dmem_write more generic for wider use * Optimised dmem_read and dmem_write slightly * Added dmem_read_imm and dmem_write_imm optimised versions skidau 2010-12-16 23:27:38 +00:00
  • a82a61c53a Core/DSPCore: Fix more memory accesses for linux x64 Core/Common: Add more asserts for too large displacements pierre 2010-12-16 22:38:31 +00:00
  • 4295f2f008 Fix an omission from the last commit. Glenn Rice 2010-12-16 18:39:57 +00:00
  • 4553699077 Merge some state loading stuff to VideoCommon and fixed a crash on Linux system when trying to save a state. Credits go to miquelmartos from the forums for the patch ;) NeoBrainX 2010-12-16 18:21:14 +00:00
  • aa226aaf41 Revert most stuff from r6517 and revert r6501. PixelShaderGen changes broke Mario Kart Wii, ClearScreen changes broke Super Mario Sunshine. NeoBrainX 2010-12-16 17:40:45 +00:00
  • b20858adb3 System Menu Region is now detected based on the Title Version in tmd Title Version and region char of currently installed system menu are now listed in the menu as well LPFaint99 2010-12-16 07:36:26 +00:00
  • 06784d2869 sys menu now loads gamesettings from an ini file (as well as any other wad/nand title that does not have an ascii gamecode) LPFaint99 2010-12-15 23:18:08 +00:00
  • a90d0e8985 LLE JIT: Used a reiterative approach to linking blocks. The JIT flags blocks that have calls to blocks which have not yet been compiled. After more blocks have been compiled, the JIT reattempts to link the flagged blocks. This is repeated until the minimum number of unlinked blocks are left. This increases the success rate of the block linker and resultant speed up. Based on an idea by nakee. skidau 2010-12-15 22:13:31 +00:00
  • aee96e12c6 Rename variable in WiiSaveCrypted for icc. Changes file dialog to show *.bin for wii save import instead of data.bin Move Sram dumps to Sram.cpp and change default FlashID Fixes issue 3711. Fixes issue 3042. LPFaint99 2010-12-15 21:23:42 +00:00
  • 77837b8034 Make sure a few more directories exist when needed. Most package builders (including cmake/cpack) do not install the empty directories in the shared data, and so the paths need to be created at runtime. Also set up cmake/cpack to create prebuilt binary packages and source packages. Also change the vertex shader dump file name in the gfx debugger to something that makes more sense. Glenn Rice 2010-12-15 14:47:13 +00:00
  • 02a38baf7c Build fix for OSX. skidau 2010-12-15 11:02:58 +00:00
  • c584bd5333 LLE JIT: Added simple block linking at immediate CALL's and JUMP's. The code checks if the block being jump to has already been compiled and jumps there if it has, bypassing the dispatcher. This results in a speed-up of around 7 - 10%. skidau 2010-12-15 07:08:36 +00:00
  • e61133625a Fixed the "Locked threads to cores" option properly. Thanks to ernesto and xenofears. skidau 2010-12-15 02:29:06 +00:00
  • 85ec8d268d Linux build fix. Glenn Rice 2010-12-15 02:17:19 +00:00
  • f67afb4fca LLE JIT: * Optimised the updating of g_dsp.pc in the compile loop (code by kiesel-stein) * Added JIT version of LRI (code by kiesel-stein) * Added JIT versions of the branch instructions (code by Jack Frost) * DSP_SendAIBuffer fix (code by Mylek) * Marked instructions that update g_dsp.pc in the DSP table and updated PC based on the table (speed up) * Fixed the signed bits not being set properly in the addr instruction * Created a MainOpFallback function to use interpreted versions of the instructions if necessary (code by kiesel-stein) * Disabled the jit versions of subarn and addarn as they are slowing down NSMBW skidau 2010-12-15 01:42:32 +00:00
  • 76d9209ad4 When the gfx debugger is saving shaders make sure the directory exists. Make sure the gfx debugger unpauses when the emulator is stopped. When a wad is installed make sure directories exist. For the cmake build if a header is not provided in the check_lib macro don't check for it, and assume pkg-config was supposed to work. Glenn Rice 2010-12-14 23:19:34 +00:00
  • 35fef1f173 Revert back to LogTypes. Fixes issue 3668. Glenn Rice 2010-12-14 17:52:01 +00:00
  • 7c0e08b0e7 Forced the video thread to the third core when "Lock threads to cores" is enabled. This should fix the slowdown that this option produced on CPU's with HyperThreading. Thanks to NaturalViolence for the tip. skidau 2010-12-14 09:20:02 +00:00
  • e4ed7dab22 Build fix for case sensitive platforms. Glenn Rice 2010-12-14 02:44:27 +00:00
  • 4780c8f6dd Remove LOGGING from the DSPCore vcproj. It isn't really used like that anymore. This commit doesn't really change anything... Shawn Hoffman 2010-12-14 01:28:21 +00:00
  • 18e95ecdfa EXI: grab the FlashID from the memory card headers and update sram to include correct id and chksum allows using any (valid) memorycard.raw in any slot (including real memcard dumps) LPFaint99 2010-12-14 01:25:50 +00:00
  • b5ba9b3479 I've fixed a beautiful bug in GPFifo the current Memory in some conditions was not assigned right. Pleaseee test again your games with FIFO hangs like WII music, WII sport, Wii resort, etc. May be this help :P Marcos Vitali 2010-12-13 23:04:13 +00:00
  • 4f4f5325f6 DX9: Added another comment to further elaborate what drawShadedTexQuad is doing. NeoBrainX 2010-12-13 18:51:08 +00:00
  • 7cf3ef6ddc DX9: Write a detailed description of the vertex position offset magic in drawShadedTexQuad. I hope this makes at least a bit sense to anyone but me, it's better than no documentation at all though. DX9: Revert to the old EFB coordinate scaling. Glitches caused by higher EFB scales probably can't even be fixed properly in DX9, so let's not even mess with it... NeoBrainX 2010-12-13 17:49:21 +00:00
  • 5fd9951649 - I've implemented cache of interrupt states for PEFINISH and PETOKEN - I've implemented calling to ProcessFifoEvents when is there is a pending event in the main queue from CP, PE & GP - I've implemented FifoIntReset(TRUE, TRUE) in write Clear Register. Marcos Vitali 2010-12-13 07:56:54 +00:00
  • 3d3411f3a0 Added a FASTLOG option for the cmake build to enable all logs. Also make sure all necessary include directories are added in the check_lib macro. Glenn Rice 2010-12-13 05:29:13 +00:00
  • dde2d1a117 Before my second part, little fixes :D 1) I was wrong the games can use also BP and BP int in multi buffer mode or or at least Pokemon XD can hehehe. Pokemon is booting again but this game also need accurate AbortFrame dont care about "GFX FIFO: Unknown Opcode" in this case 2) Fixed a stupid error in UpdateInterrupts (CUT&PASTE mistake) Marcos Vitali 2010-12-13 04:44:33 +00:00
  • b56dd2ad6e DSPLLE-int AR increase, decrease finally 100% (code by kiesel-stein/dolphin-forum, great work btw!!) Marko Pusljar 2010-12-12 17:09:40 +00:00
  • 73da637a42 Rename wii wc24 system files to lower case as on the wii itself. These files are not detected on linux unless the case matches. This fixes an issue when Mario Kart Wii (and possible other games) is run with a clean user directory that renders the game unplayable. Also fix some compiler warnings. On linux don't install the license.txt file. Most distributions handle license files via a package. For example on debian based systems this gives a lintian warning. Glenn Rice 2010-12-12 15:25:03 +00:00
  • 3d0ec2f2f1 Remove the watermark tightness option since it's obsolete now. NeoBrainX 2010-12-12 10:59:06 +00:00
  • 38b3187e8a Changed the LogWindow background colour back to black for Linux and Windows. skidau 2010-12-12 05:38:37 +00:00
  • b926cb426e Disabled the paired single sum instruction (ps_sum) as it is causing the black screen in Sonic Colours. Both JIT and JITIL have this work-around. skidau 2010-12-12 04:53:18 +00:00
  • 8e38b1a8a7 HLE_IPC_BuildFilename was actually ignoring the size argument. Fixes "/tmp/sys" error. Shawn Hoffman 2010-12-12 00:38:36 +00:00
  • ad82dd59b9 Disabled the paired single multiply instruction (ps_mul) in JIT as it is causing the black screen in Sonic Colours. JITIL has a different bug as disabling ps_mul in JITIL did not help the issue. skidau 2010-12-11 22:47:04 +00:00
  • 077c101579 Revert r6561... (yep, it was actually right before) NeoBrainX 2010-12-11 22:06:20 +00:00
  • 188aef2f88 DX9: Fix drawShadedTexSubQuad vertex positions, this fixes at least Mario's texture in Super Mario Sunshine when EFB->Ram is enabled. NeoBrainX 2010-12-11 21:56:04 +00:00
  • 5d16185cf9 Fix some other off-by-one errors in DX9/DX11. NeoBrainX 2010-12-11 21:19:25 +00:00
  • 3b6b8b718c Fix some off-by-one errors in the EFB scaling stuff. NeoBrainX 2010-12-11 21:07:07 +00:00
  • c7b736bb56 Remove some debug stuff Shawn Hoffman 2010-12-11 20:53:10 +00:00
  • 3528629d9a Use the /sys/replace file for defining char to replace and their corresponding replacement strings. Method suggested by pune for compatibility across filesystems and nand tools. Shawn Hoffman 2010-12-11 20:51:48 +00:00
  • a9ca9cfd9b BIG FIFO Commit PART 1! Sometimes you need to write everything from 0, so 10 days later Ive rewrited some parts of the FIFO in Dual Core mode. Is pending use the same code for SC mode. - Improved the GP Register Status: now this is all the time from the fifo loop. - Improved the Interrupts manage: 1) Removed All UpdateInturrupts from CommandProcessor Writes and Read. 2) now the CP interrupts are schedule from the video thread and the fifo loop waiting until this happens 3) considering Inmediate mode for the CP interrupts 3) Implemented Interrupt CP Cache State 4) Implemented only Overflow interrupt in GatherPipeCheck because this need to be detected quickly. - Implemented Overflow handling like a real HW, when Hiwatermark interrupt happens this write ClearRegister with True en HI and False in LO (FifoIntReset) after that a Control Register is writed and the FIFO is processed to LO Watermark. - Removed all ugly code from LO and HI watermark manage - Removed all ugly code from BP manage - Change >= by == in the BP clauses - Removed speed hack (1024 chunk) for better GP Status Control. - Commented GXSetGPFifo very soon hack - Commented FackWatchDog hack - Commented FIFO_RW_DISTANCE = WritePointer hack Marcos Vitali 2010-12-11 12:42:55 +00:00
  • 24569aca3d Fix a linkage issue on newer linux distributions created in revision 6544. Also update the menu link to dolphin-emulator.com Glenn Rice 2010-12-11 01:09:28 +00:00
  • 0447abef36 Changed the GC controller timer from a host based one to one based on the emulated hardware. This helps the emulator become more deterministic. skidau 2010-12-10 21:24:25 +00:00
  • 1021ba0406 DX9: Fix Renderer::SetLineWidth like hrydgard suggested ;) NeoBrainX 2010-12-10 16:13:43 +00:00
  • 01de16df1c DX9: Build fix. Also removed the Renderer::SetLineWidth implementation since it wasn't really useful. NeoBrainX 2010-12-10 16:03:01 +00:00
  • 7473a0cf98 VideoCommon: Use integer arithmetic instead of floating point arithmetic when dealing with EFB scales. Should fix problems caused by EFB scales other than Native (excluding fractional!). Test whether this fixes games which work fine with native EFB resolution but show glitches with higher internal resolutions. NeoBrainX 2010-12-10 15:54:14 +00:00
  • 1e0b0bf84d Fixes/Cleanup for the MemcardManager. Notable Changes: Fixes right click menu in linux. Fixes Issue 2412. sram.raw file is no longer required to format a memcard Update to use new ini sections, automatically remove default settings from ini file enable pages setting no longer requires memcard manager to be reopened to take effect it is no longer possible to switch to a negative page number LPFaint99 2010-12-10 07:11:05 +00:00
  • 2ae7f7f01f Replace characters that NTFS and HFS can't handle with '-'. Should fix issue 3443. Shawn Hoffman 2010-12-10 03:47:00 +00:00
  • 06013d5eec Make the cmake check_lib macro more versatile. It first tries pkg-config, and if that fails it then check for libraries and required headers. Also cleaned up the output a little bit. Glenn Rice 2010-12-10 02:00:05 +00:00
  • c718d2e630 Fixed an issue where the emulator would remain paused when attempting to load a non-existent save-state. skidau 2010-12-09 12:04:03 +00:00
  • f353f80302 LLE JIT: Implemented the addr, lsl and lsl16 instructions in the JIT (x64 only). skidau 2010-12-09 11:52:31 +00:00
  • 8fd825c18c change filename of isocache to always include extension and filesize. Fixes issue 3669. LPFaint99 2010-12-08 06:46:59 +00:00
  • ef093a4d35 Use the proper type for printing the OpenAL default device name. Soren Jorvang 2010-12-07 22:38:03 +00:00
  • 908273d5f4 Just rephrase something :) Shawn Hoffman 2010-12-07 05:59:18 +00:00
  • 2caa685c7f Fix a few more linkage issues in the cmake build. Glenn Rice 2010-12-06 13:06:54 +00:00
  • e2543689b8 DX11: Fix a crash when accessing the EFB. NeoBrainX 2010-12-05 22:28:46 +00:00
  • 738e5e55ee Cast size_t to unsigned long for printf to deal with (32-bit) systems where size_t is typedef int. Soren Jorvang 2010-12-05 18:22:41 +00:00
  • d171f7277b Fix the nogui build on linux. The software plugin config dialog should not be built. Fix the default wiimote emulation mouse button settings on linux. Fix a little c++ operator precedence issue. Glenn Rice 2010-12-05 18:10:13 +00:00
  • 8d9e1f2dd1 DX11: Remove some dead code. NeoBrainX 2010-12-05 17:39:42 +00:00
  • c2f84fdccb CLRun is now used everywhere but OS X. Soren Jorvang 2010-12-05 16:57:32 +00:00
  • 4934cd29b3 Move NSAutoreleasePool handling into the proper entry/exit points for the real wiimote thread as for the other threads. Soren Jorvang 2010-12-05 16:18:09 +00:00
  • 5910ef259c Fix building with BBOX_SUPPORT enabled. NeoBrainX 2010-12-05 16:15:01 +00:00
  • 0ecf88c300 LUA_USE_LINUX is suitable for everything but Win32 really. Soren Jorvang 2010-12-05 16:03:48 +00:00
  • f169def36f First pass at dealing with different size_t/off_t sizes in C90 environments. Soren Jorvang 2010-12-05 15:59:11 +00:00
  • e5311460a9 Earlier versions of wxWidgets do not implicitly include <wx/wx.h>. Soren Jorvang 2010-12-05 15:36:08 +00:00
  • a754f8e703 We effectively only have a single namespace for private header files, so the recent addition of VideoCommon/Src/Debugger.h clashed with DebuggerWX/Src/Debugger.h. Soren Jorvang 2010-12-05 15:28:31 +00:00
  • 9dae1e9674 VideoUICommon: Add descriptive tooltips to many options, part 1. NeoBrainX 2010-12-05 14:37:21 +00:00