summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-03Make wxgl mandatory on OS X.nJoySoren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5576 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Oops, didn't mean to enable -Werror for devel builds.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5575 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Fix some cases of variables being used uninitialized. Also some unusedSoren Jorvang
variables, writeable strings and dangerously shadowed variables. index(), gamma(), exp() and y0() are POSIX functions and using those names can cause namespace confusion. A number of C files were missing the final newline required by ANSI C and some versions of GCC are pedantic enough to complain about this. These changes simply the scons build, allowing us to get rid of filterWarnings which is simply more trouble than it's worth. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Cleanup after multi-level SVN rename.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5573 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Meta:Soren Jorvang
Using Unix tools to operate on a tree containing filename with spaces in them is really annoying, so rename the handful of instances where there were spaces. Host.cpp has never been used. Games tend to lookup the following directories that we don't yet have anything to put in, so prepopulate them in Data/User/Wii: title/00010001 title/00010002 title/00010003 title/00010004 title/00010005 title/00010006 title/00010007 meta shared2/title Set eol-style native on a number of text files which didn't already have it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5572 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Fix typo.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5571 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Higher resolution icon image contributed by the original artist.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5570 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-02Remove a few __APPLE__ ifdefs which are no longer necessary.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5569 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01fix AudioCommon including linux headers on windowsShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5568 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01Incorporate a few comments.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5567 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01Hopefully fix building on Linux.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5566 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01GL: Relax multisampling constraints on visualpierre
All visuals with parameter GLX_SAMPLE_BUFFERS_ARB = 0 have GLX_SAMPLES_ARB = 0, so the old code would only ever choose visuals with GLX_SAMPLE_BUFFERS_ARB>=1 and GLX_SAMPLES_ARB>=1. Some drivers do not export any multisampling capable visuals, so dolphin fails to find a matching visual and falls back to the single buffered visual(which does not work for some yet unknown reason). Fixes issue #2647. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5565 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01Some wxWidgets features, like wxProgressDialog used when updating theSoren Jorvang
game list, rely on the main event handler already running, which isn't the case until after OnInit(). This is a problem when an ISO directory is already set at startup. To deal with such actions that can only properly be done after the wx environment is fully functional, schedule AfterInit() where the initial game list scan is done. The underlying icon object for wxIcon on OS X didn't work with our (non-square?) 96x32 game list graphics, but we weren't using any wxIcon properties such as transparency anyhow, so just skip the wxBitmap to wxIcon back to wxBitmap conversions. Use wxID_ABOUT and wxID_PREFERENCES so that those menu items are automagically teleported to their canonincal locations on each platform. USE_XPM_BITMAPS has been implicit on all platforms for some time now. AddGrowableCol() causes problems in a couple of inessential places for some unknown reason, even though the same pattern works fine elsewhere. These changes make us play a lot nicer with wxWidgets 2.9. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5564 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01Only warn about unknown magic words if none of the known ones are found.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5563 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-01Now that Core Audio works, reduce the number of build permutations a bit Soren Jorvang
by not linking in other Unix audio modules. Use kAudioUnitSubType_DefaultOutput instead of kAudioUnitSubType_HALOutput so that a runtime switch to another audio device is automatically handled. Use ERROR_LOG for audio errors. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5562 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31Bring this a little more up to date.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5561 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31Don't print a bogus number of bluetooth devices found.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5559 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31Avoid printing garbage numbers in the status line when the processSoren Jorvang
becomes blocked. This was most readily apparent when first starting programs from a high-latency filesystem. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5558 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31Identify OS X application bundle with SVN version number.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5557 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31I did a small stupid copy/paste error on my last code clean up, which broke ↵snzgoo
MP, mea culpa! Motionplus should work again. I'm right now addressing the disconnect problem. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5556 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31Have the AudioUnit callback drive the internal mixer directly insteadSoren Jorvang
of going through an intermediate thread and buffer. This seems to be how Core Audio is meant to be used, although I still haven't read the manual. Indeed, sound on OS X works perfectly now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5555 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-31debug version of dx9 dll isn't always in the PATH, so you would get an error ↵Shawn Hoffman
while dolphin would still load the correct release version of the lib and continue running. so...just check for the release version of the dll. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5554 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Limit buffer size required to extract files. This helps avoid out of memory ↵donkopunchstania
errors. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5553 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Consider 'X' as region-free.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5552 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Mark 'A' as being region-free, but still explicitly default it to Soren Jorvang
European settings. Also try to add sensible defaults for [LMNTQ] taken from http://wiibrew.org/wiki/Title_database#Region_Codes . git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5551 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30'A' appears to be another country code for Europe.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5550 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30De-inline StripTailDirSlashes() to work around a weird code generation bug.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5549 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Made the Dolphin config dialog shorter with an added "Display" tab. Removed ↵Jordan Woyak
code that toggled fullscreen on double-click in gamecube games because GCPad New allows mouse input (maybe double-click fullscreen toggling should be an option though). Changed the label in the toolbar from "GC Pad" to "GCPad" (all other labels on the toolbar are single words and we call the plugin "GCPad" everywhere else). Made game properties dialog open centered on screen. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5548 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30The rendering codepath doesn't currently quite recover from an OpenCLSoren Jorvang
initialization failure, so help it along a little by also considering the CPU as an OpenCL device. Use CL_DEVICE_TYPE_DEFAULT rather than CL_DEVICE_TYPE_ALL as that will give preference to the spiffy GPU if one is present. Implementations of OpenCL are likely to put a GPU as the first device in the list, but there is no guarantee of this and this code currently only picks the first device in the list. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5547 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Another creeping wx dependency via NetPlay.Soren Jorvang
Is nowx worth maintaining? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5546 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Match types in comparison.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5544 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-30Get the audio unit output buffer size and use that as the renderingSoren Jorvang
quantum, as the callback wants us to provide exactly the amount of samples needed. This is incomplete because core audio may ask for less than the full buffer size (for me, typically 1484 or 1488 bytes of a 2048 byte buffer). As a quick hack until I read the rather impenetrable core audio documentation, assume that each callback request will want about the same number of samples as the preceeding one. This makes sound bearable. Also various cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5543 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29DSPLLE: followup to last change: bugfix + remove extraneous exception checkshrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5542 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Core audio system work (Watch for regressions please!):hrydgard
* Restore Audio Throttle to function properly, broken by Ayuanx many hundreds of revisions back. * Simplify DSPLLE JIT dispatcher in preparation for an asm rewrite * Remove hack that made DSPLLE JIT seem faster than it was by running fewer cycles, but resulting in bad sound. This shows off how mysteriously slow it is - I don't understand why it's not faster. Use the DSPLLE interpreter for now if you want to use DSPLLE. * Made "DSPLLE on Thread" work properly with correct-ish timing - although the speed benefit is really small now. If it seems like this change slows anything non-LLE down, try turning off Audio Throttle and use the frame limiter in options instead. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5541 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Make this work with debug builds again.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5540 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Match types in comparison.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5539 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Temporarily back out r5521 until a more complete answer to theSoren Jorvang
filterWarnings problems is ready, as it currently breaks the OS X build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5538 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Add some safety to file names. This fixes a buffer overrun when extracting ↵donkopunchstania
everything from an ISO. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5537 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29MotionPlus code clean up and small code improvements.snzgoo
Removing and adding some elements, making it more readable for others. Off-Topic: Have fun at the Grandprix! May the best win:P git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5536 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29DSPLLE: Some cleanup. Possibly very small speed increase.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5535 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Revert 5533, removing the misleading TODO and commenting it properly.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5534 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Get disk cache revision from SVN_REV.XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5533 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Changed both video plugins to save PNG screenshots. Made GCPad New default ↵Jordan Woyak
in trunk (it already is in stable). Fixed a hack in new wiimote plugin. Other minor changes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5532 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Slightly optimize uploading D3DFMT_A8R8G8B8 data to textures.NeoBrainX
This is especially perceptible for "big" textures, so e.g. EFB copies to RAM should be a bit faster now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5531 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28Improve iterator usage.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5528 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28wxFileSelector with wxWidgets 2.9 on OS X allows only very simple globSoren Jorvang
patterns like "*.foo". git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5527 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28In r5448 the CSharedContent and cUIDsys constructors create the Wii/shared1Soren Jorvang
and Wii/sys directories if they do not already exist. This conflicts with DolphinApp::OnInit (run after constructors) which populates the User tree only if there isn't already something there. Instead, set up the two directories in the Data tree. With this change, sys/uid.sys still won't be created until the _second_ run after a fresh install, so these file initializations should be moved out of constructors so that they will be run after OnInit(). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5526 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28Linux compile fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5525 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28GameListCtrl: fixes progress bar for extracting multiple files (cant mix ↵LPFaint99
ascii with unicode wxstring:format) use appropriate extensions extracting compressed wii discs check for tmd+tik for each title and list titles correctly for sysmenu versions <=0xE0 this will allow viewing of installed channels but they will not launch until ES_Launch is emulated so far I have not been able to determine why later sysmenu versions do not display channels correctly switching between system menu versions is as simple as rightclicking a system menu wad in the gamelist and installing to wiimenu than restarting git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5524 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28Small change to my last commit, thanks for Billiard passing me the proper ↵snzgoo
checksum for the old used calibration data. cheers! I changed the checksum in the new wiimote plugin as well. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5523 8ced0084-cf51-0410-be5f-012b33b47a6e