Commit Graph

  • 89c276c962 Fix a Memory leak in CoreAudio backend, around 2MB. Stops OpenCL from trying to decode CMPR textures, as it fails horribly. Fixes a memory leak in EXI devices, where the destructor wouldn't be called, causing a 32MB leak with memory cards(if you have two), and maybe a bit more from the other EXI devices Sonicadvance1 2010-02-12 16:40:13 +00:00
  • 060bbcf067 Compiling with rev 63470 of wxWidgets now works with OSX x86_64. There are a BUNCH of errors while running, none fatal from what I've seen. This also fixes Dolphin creating multiple NSWindows when running multiple games. Sonicadvance1 2010-02-12 12:41:53 +00:00
  • 78f8fe2e85 Implement wiimote IR emulation with the mouse without using the pointer motion events. Hopefully this removes some of the overhead from the X event loops. One downside is that the IR emulation will not work until another event on the window has occured. Although this is minor, usually an event happens before you need the IR pointer. Glenn Rice 2010-02-12 02:53:45 +00:00
  • e4dcdf796f OSX build fix. Fixes Issue 2260 j4ck.fr0st 2010-02-11 17:54:16 +00:00
  • 6200c99dd4 test commit: please test if this improve the performance with the safe texture cache Rodolfo Osvaldo Bogado 2010-02-10 15:55:24 +00:00
  • 0b733d36c4 stop annoying behavior of enabling cheats each time you open the ISOProperties dialog Shawn Hoffman 2010-02-09 06:48:16 +00:00
  • eb38e858bf buildfix; don't try to save frameskip value (and fail D:< ) Shawn Hoffman 2010-02-09 01:06:41 +00:00
  • c291a2db67 make ESC pause the game now instead of quitting plus fix another bug with key and window handling luisr142004 2010-02-09 00:34:27 +00:00
  • e93e777ffb second try to implement a more correct safe texture cache, implemented full hashing of tlut textures as they are the more problematic, this should solve virtually all the problems with characters in all the games that have them. sorry to tell but this will bring a speed drop, so let you decide if this change stay or not.( used the fastest open source hash algorithm i know) do not apply full hashing to other format because it kills the performance. for popular request added 9x SSAA believe me will kill your graphic card even if is the best but the image quality is exceptional. as always please test and let me know the results. Rodolfo Osvaldo Bogado 2010-02-08 23:23:04 +00:00
  • 2d58a2a864 DiscScrubber: er, actually we don't need to store/check for a flag on the original image anymore either. Shawn Hoffman 2010-02-08 22:54:16 +00:00
  • 5f19fb22b2 another patch from baby.lueshi: DiscScrubber doesn't modify original file anymore, and just returns the "real" or "free'd" buffer inline with compression - so it should be a little faster too :) Shawn Hoffman 2010-02-08 22:46:04 +00:00
  • 98ddeadbbf Use standard C file i/o in PlainFileReader instead of Windows' functions. Fix a memleak in CompressedBlob and VolumeDirectory. Thanks to baby.lueshi for finding the File i/o issue :) Shawn Hoffman 2010-02-08 22:22:20 +00:00
  • 3f90bb215c make ESC quit the game instead of toggling out of/into full screen mode (fixes issue 2246), implement proper window handling (d3d/sw) which i believe fixes a hang that occurs when a game is stopped (plz test this :)) + some minor stuff luisr142004 2010-02-08 09:57:52 +00:00
  • 3915f0fbca Enable dynamic fullscreen switching in linux. Toggle fullscreen mode with the escape key. Unfortunately this fullscreen mode is separate from the fullscreen mode obtained from the OGL config dialog. To close that fullscreen mode you must use Alt-F4 for now (not escape). This is not how we want this to end up but there is a mode switching issue I can't figure out. Glenn Rice 2010-02-08 04:30:01 +00:00
  • 449b21fd65 Fix an issue with OpenAL not properly using the correct Volume on boot Proper fix for issue 1886 as well as a fix to OGL fullscreen code that might fix issue 2095 sl1nk3.s 2010-02-07 19:36:29 +00:00
  • fdcfade27a Revert parts of r5021, OpenAL also uses the Volume slider. This now enables/disables the slider, depending on chosen Backend. Linux and OSX can now also use the slider to change the Volume of OpenAL. Other Backends do not support Volume changes. j4ck.fr0st 2010-02-07 14:51:12 +00:00
  • 7be712808a Makes ESC always toggle full screen as requested in Issue 2225 ayuanx 2010-02-07 08:34:46 +00:00
  • 0978551269 EXPERIMENTAL: an attempt to fix Issue 1725 ayuanx 2010-02-07 06:07:56 +00:00
  • 13437c1f6b Fix segfault in linux if user clicks on the window manager close button of the emulator. Also added the ability to close the emulator with the escape key. Fixed an issue that caused a segmentation fault when trying to close the emulator when running in fullscreen mode, which can also be done using the escape key. This makes fullscreen mode useable in linux! Glenn Rice 2010-02-07 02:41:02 +00:00
  • 887d61ec17 DSPTool: show hex and substitute names by default for disasm Shawn Hoffman 2010-02-07 01:03:31 +00:00
  • f3868dd491 Some internal code shuffling for Config dialogs. OSX seems to be picky about when StaticSizerBoxes are created, as described in Issue 2229. Bit of cleanup/grouping, control creation is now a bit more separate from value setting and tooltip assignment which IMO cluttered the code as it was. Removed something from main.cpp that looked like a hack to me. Fixes Issue 2229 j4ck.fr0st 2010-02-06 16:20:54 +00:00
  • 811cfb059e D3D and Opengl: reverted a tiny leftover of my safe texture cache commit D3D renamed the SSAA modes to use samples as MSAA now they are 2,25x and 4x. OpenGL: fixed a nasty logical bug introduced in 4984 that causes efb corruption when efb to texture is used re enabled shader caching as it was not producing errors. fixed efb misalignment caused by integer rounding still a bit misaligned but many games will look better now Rodolfo Osvaldo Bogado 2010-02-06 16:05:48 +00:00
  • a9db66a41a Completed TODO: Core::GetStartupParameter is dead Glenn Rice 2010-02-06 05:22:53 +00:00
  • d979532c00 In linux process events from the main frame regularly to update statusbar text Glenn Rice 2010-02-06 01:08:36 +00:00
  • c65bfbdf7b To avoid confusion added SSAA modes to the drop down this. there are only to SSAA modes 1.5x and 2x as they give the best result. please test and let me know the results Rodolfo Osvaldo Bogado 2010-02-05 21:55:02 +00:00
  • 33a9e4c674 This should fix the program not finding SYSCONF on macs. Glenn Rice 2010-02-05 16:54:45 +00:00
  • e83104c5db fixed a typo glennric left behind. shouldn't break anything tho, just generates a preprocessor warning with VS j4ck.fr0st 2010-02-05 14:37:32 +00:00
  • 0db532cca2 Oops, forgot this header. Fail sauce Sonicadvance1 2010-02-05 10:52:27 +00:00
  • 675e1f668e Correct stopping of Core in OSX via Command+Q, and fix a thread from not dying when stopping with CoreAudio Sonicadvance1 2010-02-05 10:48:31 +00:00
  • 5485506293 pgo scons patch taken from http://forums.dolphin-emu.com/archive/index.php/thread-3852.html nakeee 2010-02-05 09:53:33 +00:00
  • 722488a0b3 Get the status bar working in linux. Glenn Rice 2010-02-05 04:22:48 +00:00
  • f4e8385973 fix for my last commit please test, and sorry for the error :) Rodolfo Osvaldo Bogado 2010-02-05 03:37:11 +00:00
  • b4d7a0e20d fixed some glitches caused by SSAA when resolving the supersampled efb to Textures. improve speed a little in games that have large viewports. please test and let me know the results Rodolfo Osvaldo Bogado 2010-02-04 22:25:09 +00:00
  • 0bad7e2a71 Removed main configuration show/hide mouse options and associated wxTimer in linux. This could confuse users, as it does nothing in linux. Mouse hiding is set from the GL video plugin. Glenn Rice 2010-02-04 21:50:02 +00:00
  • 6e2104b050 Implement hiding of mouse cursor on linux. Glenn Rice 2010-02-04 04:49:29 +00:00
  • 090d7ec534 a lot of people don't get convinced by my "Pseudo-antialiasing " effect and is true is not near the quality of the true effect so :) true antialiasing using supersampling: 3 modes implemented: 2x = is a one and a half samples supersampled buffer with a linear texture fetch, this produce a similar result of a 2x MSAA 4x = four samples with a aligned texture fetch in the center of the 4 samples, this produce a little best effect that the first mode. 8x = is a four samples with a rotated grid fetching producing a nicer (really nicer in some cases) antialiasing. please test an let me know if you like this :) i remember to everyone that supersampling is expensive so don't complain in speed drops :) Rodolfo Osvaldo Bogado 2010-02-03 22:19:00 +00:00
  • d89c5dddcd whoops, forgot to remove this one. closing gci twice might not be that good... j4ck.fr0st 2010-02-03 20:46:22 +00:00
  • 43051ffe41 some cleanup, housekeeping for error cases and increased a few buffer sizes that are overflown by its content. Thanks to Fatalis for the initial patch and pointing us to cppcheck. j4ck.fr0st 2010-02-03 20:29:49 +00:00
  • 8281564b5c Fix issue that prevented the user from being able to open the Wii save folder for a game. Glenn Rice 2010-02-03 15:13:13 +00:00
  • a319a77be4 sorry forget one file :) Rodolfo Osvaldo Bogado 2010-02-03 14:17:03 +00:00
  • e98a273b54 fixes for my last commit: chage the global format of the screenshots to bmp, is correctly supported by both plugins and is faster. reverted the changes in safe texture cache, will try to make them more stable then commit them, this should fix compilation in linux and macand error introduced in MP games corrected all the issues commented by ector, thanks for the comments alway is good that the code is revised by others to find missed spots. please report any remaining issue to solve them. Rodolfo Osvaldo Bogado 2010-02-03 14:13:03 +00:00
  • 9e2bbec47f a lot of modifications here :) first fixed scaling when updating backbuffer to make it friendly with encoders, now frame dumping must work without errors in any codec. clean screenshot and frame dumping code now is more correct, faster and stable. improve safe texture cache, improving the distribution of the hash algorithm, including tlut hash in the final hash of the texture, and making use of a 64 bit hash to make it more accurate. clean a lot of code and corrected some missused vertex formats when drawing full screen quads. and biggest change last: implemented pseudo antialiasing: a image post-process algorithm that mimics antialiazing and is fare more easier to implement in this scenario. you can change the intensity of the effect changing the values of the antialiasing combo. the right value depends on the game. for example mkwii looks awesome with 8x. please try all the changes and let me know the results. if something is broken, please let me know and will fix it asap. Rodolfo Osvaldo Bogado 2010-02-03 03:52:50 +00:00
  • afbf86eaee Revert commit 4997 and fix in a way that is more consistent with the structure before the global build patch Glenn Rice 2010-02-03 03:27:32 +00:00
  • fb4f0edb85 Falcon4ever prefers to keep a standalone code copy of nJoy in repository. ayuanx 2010-02-03 02:54:31 +00:00
  • e17c872d8f Fixes detection of some wii root files Glenn Rice 2010-02-03 02:40:29 +00:00
  • 961aad5aa6 Merges the original copyright header from both nJoy & PadSimple ayuanx 2010-02-03 02:12:46 +00:00
  • 05a998f777 Code cleanup to improve readability. Glenn Rice 2010-02-02 23:21:19 +00:00
  • feba09f7a3 Linux global build. At least the basic footwork is done here. Basic usage: "sudo scons install=global install" Hopefully this doesn't break builds on Macs. I have tested this on linux and windows. Glenn Rice 2010-02-02 21:56:29 +00:00
  • a090876bbd Disable LoadStorePaired on Linux, this seems to cause the crashes reported in Issue 2097 j4ck.fr0st 2010-02-02 18:15:03 +00:00
  • 6d309751d5 This fixes some of the crash-on-stop when your joypad is plugged in. The problem is that there is no cheap method to do communications between two DLLs that employ the same device. ayuanx 2010-02-02 13:09:07 +00:00
  • 8bb96156a2 Some small clean up + fixes to make valgrind happy nakeee 2010-02-02 08:10:23 +00:00
  • 4692f1084f Re-added Semi-Pressure ayuanx 2010-02-02 02:39:21 +00:00
  • c28ef357f5 Fixes issue 1777. luisr142004 2010-02-01 18:22:58 +00:00
  • 5da315337e Fix minor issue with inclusion of OpenAL headers Glenn Rice 2010-01-31 23:46:50 +00:00
  • da56b42ae2 Enables detecting pad axes whose range is smaller than usual ones, e.g. from 0 to 255 ayuanx 2010-01-31 14:51:41 +00:00
  • 909dce4caf Changed OnLoadWiiMenu to walk the same path as starting a game from GameListCtrl. This fixes some flickering and resizing stuff when using Render-to-main, where the GameListCtrl would not be hidden (and show over the rendering surface) j4ck.fr0st 2010-01-30 15:05:16 +00:00
  • e282d5c7f2 Fixes Issue 2176 (SysConf on OSX), plus some initialization order warning fix in VolumeDirectory.cpp j4ck.fr0st 2010-01-29 19:45:01 +00:00
  • 8b129fca0c Fies Issue 1584 ayuanx 2010-01-29 07:44:21 +00:00
  • fefcc6f5b5 Build fix nakeee 2010-01-29 07:29:11 +00:00
  • fdaa0e8d4c Fixes Issue 2164 ayuanx 2010-01-29 04:42:19 +00:00
  • f9dd509459 Fixes Issue 2180 ayuanx 2010-01-29 03:11:29 +00:00
  • 9a49e91e41 Fixes an issue caused by r4964 FrameUpdate() must be called even when a frame is skipped, otherwise frameskipping will freeze. ayuanx 2010-01-28 14:37:03 +00:00
  • 4d0b87fdde Revert r4978. Until anti-alias is implemented, turning it on will only slow things down. ayuanx 2010-01-28 13:38:09 +00:00
  • b12ed5d171 This should make anti-alias effective again in DX9, though it seems it was turned off deliberately. ayuanx 2010-01-28 13:25:40 +00:00
  • 2b5cadfeb4 small fix for my last commit, resizing is working again but screenshot do not work when rendering to main window, will fix in my next commit Rodolfo Osvaldo Bogado 2010-01-28 04:30:07 +00:00
  • 802504dd18 PadSimple is out of phase. Thanks to glennricster for testing GCPad on Linux. ayuanx 2010-01-28 03:29:49 +00:00
  • 0cb77776bd This should fix some of the crashes after loading a state for Wii games. ayuanx 2010-01-28 03:19:32 +00:00
  • e780d844fb Oops. Forgot a semicolon. Sorry, I usually test before I commit. Glenn Rice 2010-01-28 01:46:46 +00:00
  • cc05d8928f Fix mistake from last commit Glenn Rice 2010-01-28 01:03:07 +00:00
  • f32fc9667c In linux the controller plugins need to put back some events for the video plugin Glenn Rice 2010-01-28 00:35:35 +00:00
  • e856d0b3ed EXPERIMENTAL: rewrite frame dumping and screen shots to make them more stable and correct enable viewport resizing for all cards, the emulation is more correct in this way test this a lot please. Rodolfo Osvaldo Bogado 2010-01-27 22:07:59 +00:00
  • a241a469b8 Make arrow keys (and others) work with the GCPad plugin. Glenn Rice 2010-01-27 15:55:04 +00:00
  • 10192a9a4b Change default wiimote emulation key settings to lowercase in linux Glenn Rice 2010-01-27 13:46:30 +00:00
  • feea557019 Fixes Issue 2125 An XInput trigger should not be mapped to a button. ayuanx 2010-01-27 03:29:35 +00:00
  • 36a5015bc0 Make arrow and home keys work in wiimote emulator. Glenn Rice 2010-01-27 02:39:59 +00:00
  • 8fdc293328 small wad startup patch (if only wad-s were enabled, there was gamelist refresh instead of game starting) Marko Pusljar 2010-01-26 20:18:44 +00:00
  • 438bf20771 quick fix for issue 2086 Rodolfo Osvaldo Bogado 2010-01-26 15:19:57 +00:00
  • 40cc180dfd OpenGL fix: s_swapRequested must be volatile. ayuanx 2010-01-26 14:56:51 +00:00
  • e988a7487c Adapts emulated trigger range to Gamecube trigger range ayuanx 2010-01-26 05:43:00 +00:00
  • 20704509bf Fix a compile issue on platforms other than windows and linux Glenn Rice 2010-01-26 03:05:23 +00:00
  • 727283c4de Added mouse support for linux. It is still rather crude, but it works. Unfortunately the mouse pointer doesn't match up very well with the IR pointer yet. Also, I had to add the PointerMotionMask to XSelectInput which adds overhead to the already stressed X event loops. Five event loops by my count, really? Glenn Rice 2010-01-26 00:11:45 +00:00
  • dacc0a19a7 ...comment out some PanicAlerts added in last commit that people will probably find annoying Shawn Hoffman 2010-01-25 15:55:58 +00:00
  • cdb829edd5 Should fix crashes caused by aram dma reading off the end of our aram size. Shawn Hoffman 2010-01-25 15:38:58 +00:00
  • e3730a2440 If the saved position is out of screen, start Dolphin in default position. e.g. When last time you closed Dolphin on a second monitor but now you have ejected that monitor or have changed the position from horizontal tile to vertical tile. ayuanx 2010-01-25 12:17:48 +00:00
  • efc7cd6581 Sanity check, this could help us to figure out the ARAM DMA crash. ayuanx 2010-01-25 09:48:27 +00:00
  • 85c2310b03 Minor fixes. ayuanx 2010-01-25 05:12:24 +00:00
  • dbfdcc263b this should solve issue 2128 please test because i don't have the games mentioned in that issue Rodolfo Osvaldo Bogado 2010-01-25 01:10:46 +00:00
  • fe10a1b5b0 Fix the linux keyboard in the GCPad plugin too. Thanks j4ck.fr0st Glenn Rice 2010-01-24 18:41:47 +00:00
  • 675e984514 fix issue caused by r4941: ppc debugger would think the instruction size was 0, which is rarely a good thing Shawn Hoffman 2010-01-24 18:29:50 +00:00
  • b17c5f3cf3 Fix the linux keyboard. Glenn Rice 2010-01-24 18:23:47 +00:00
  • cb47eb27cc Don't delete dialogs. Let wxWidgets take care of this. Glenn Rice 2010-01-24 16:39:47 +00:00
  • 225d691bcc Make sure configuration can only be opened once j4ck.fr0st 2010-01-24 15:13:35 +00:00
  • afb82b1d8c Fix the PadSimple and GCPad plugins so their dialogs close properly. Get rid of g_FrameOpen variable in Wiimote plugin. It isn't needed anymore. Glenn Rice 2010-01-24 14:41:53 +00:00
  • 177ec96472 Make sure wiiuse is cleaned up on exit. Glenn Rice 2010-01-24 14:14:47 +00:00
  • 156e357164 fix linux gcpad symbol missing nakeee 2010-01-24 06:57:06 +00:00
  • d81555108c gcc buildfix Shawn Hoffman 2010-01-24 06:51:32 +00:00
  • 2f8a6f86b9 quiet some compile-time warnings Shawn Hoffman 2010-01-24 04:49:33 +00:00
  • 3be00e102c Fix wiimote config dialog. In linux if the dialog is opened and then the program is closed without running a game the program hangs and has to be killed because the dialog was never destroyed. In both windows and linux if the dialog is opened and then a game is run, the program hangs or segfaults (for the respective os's) when the game is stopped. This will also need to be done with the pad plugin as the same issue is there. Glenn Rice 2010-01-24 03:50:40 +00:00
  • ed8742dd4d Fix changing disc on win32, (my dumb mistake, strlen doesnt include \0) make changing disc a little less ugly Fixes issue 2114 LPFaint99 2010-01-24 03:17:42 +00:00
  • fbdf721e0e ROM dissasm "refresh" + RE + small fixes Marko Pusljar 2010-01-24 00:31:20 +00:00