summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/CDUtils.cpp
AgeCommit message (Collapse)Author
2011-03-12The data from strdup must be deallocated with free, not delete. I got rid of ↵Jordan Woyak
that ugly strdup and replaced the A though Z cdrom drive letter searching with Windows API stuffs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7335 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-15The pkg-config name of libpng is "libpng", not just "png".Soren Jorvang
Things break if both a shared and static libpng are linked in, presumably because it has some global state. Several of the gtk-ish libraries often, but not always, link in libpng transitively, so it is important that we find it ourselves first, even if it is not in the linker's search path. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7178 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-22Port to *BSD. It runs but isn't terribly useful without Cg.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5934 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-12A little iterator bug and a compiler warning in the OpenGL code.Soren Jorvang
Use -fvisibility-inlines-hidden on OS X as well. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5875 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-10Allow full-length Unix pathnames.Soren Jorvang
Move bits of HAVE_OPENCL/HAVE_WX for OS X from SConstruct to header files. Use /usr/lib/libz on OS X now that we no longer have -L/opt/local/lib in the library path. It is still possible that we could pick up a libz in /usr/local/lib that would make the application non-redistributable, but the danger is much less than previously. Also bits of minor portability cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5868 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-07Revise the way that cdrom and dvd rom drives are identified in linux to ↵Glenn Rice
remove reduntant drive listings. Also no longer checking mount points (in fstap and mtab). This can give redundant listings, and GC/Wii backup discs can not be mounted anyway. This prevents multiple listings from appearing in the GameListCtrl when "Show Drives" is selected. Some general code cleanup, and removed a PanicAlert (made it a NOTICE_LOG instead) so that only one panic alert is shown when attempting to load from dvd/cdrom drives, and none are shown when "Show Drives" is selected from the menu. Also removed the hack introduced in revision 5564 that prevents the GameListCtrl from being properly updated when a game is loaded from the command line or via the autostart feature of the debugger. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5848 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24Systematically eliminating compiler warnings.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5117 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO ↵Sonicadvance1
from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5067 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16Fixed a few memory leaks. Made Init and Shutdown functions for some core ↵donkopunchstania
systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5064 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14Bunch of tiny memory leaks fixed and cleanup, フウ〜!Sonicadvance1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5056 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-19JitIL is no longer a separate .exe/binary - it's now a simple option, ↵hrydgard
Dolphin.exe now contains both cores. Advantages: * Less confusion for users * No need to build twice to make sure you didn't break something * Easier to switch between the cores for testing Disadvantages: * None, as far as I can tell :) Maybe some extra code complexity, but not much. Also break some include chains that caused <windows.h> to get included into everything, slowing down the build on Windows. There's more to do here though, there's still a lot of files that get it included that don't need it at all. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4891 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28Some code cleanupomegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27osx compile fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2453 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24Ported wxutils from soap branch (Should make launch and explore work in ↵nakeee
Linux and osx as well) please test on windows. Fixed a compile bug and a small bug in the cdutils(thanks lp). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2420 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24made the menu display the drive path in a more common way instead of the NT ↵daco65
device path git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24Forgot to svn add CDUtilsnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2414 8ced0084-cf51-0410-be5f-012b33b47a6e