Commit graph

401 commits

Author SHA1 Message Date
Maarten ter Huurne
6bffd4d4bb Use existing File::IsDirectory() function. Thanks to nakee for pointing this out.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@639 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 10:05:46 +00:00
Maarten ter Huurne
65d59e8d6a Gave file scope to functions and consts that are not declared in the header.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@637 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 08:07:53 +00:00
Maarten ter Huurne
fa83ed62a0 Implemented POSIX version of IsValidDirectory().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@636 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 08:04:48 +00:00
Maarten ter Huurne
5254528eb9 Various small cleanups. Slightly less broken on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@635 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 07:49:32 +00:00
Maarten ter Huurne
e8a3840461 Updated file list.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@634 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 07:00:18 +00:00
Maarten ter Huurne
f3cf5abe25 Fixed build on Unicode-enabled wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@633 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 06:59:35 +00:00
Shawn Hoffman
467fe4f2a6 added a "main settings" dialog and moved most options there. Not complete yet. Also, just revert if the idea of a main settings dialog isn't to your liking.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@632 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 05:43:52 +00:00
Maarten ter Huurne
18dbfbd462 Fixed function signature on Linux. The implementation is still missing, so it will not work, but at least it compiles now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@631 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:37:52 +00:00
Maarten ter Huurne
4439c1e092 Added new source file "VolumeDirectory.cpp". And reformatted.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@630 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:35:07 +00:00
donkopunchstania
29664c880a added VolumeDirectory and modified ELF boot code to allow a directory on the user's computer to appear as the DVD drive. Linux support needs to be added. Added functionality to the Wii DI. Clicking on a data symbol in the code window sets the memory list to that address.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@624 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:05:08 +00:00
Maarten ter Huurne
ef1aba784e Use Append() to append to LIBS, like in the other SConscripts.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@623 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:53:15 +00:00
Maarten ter Huurne
7199c04c0c Fixed warning about mixing signed and unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@621 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:31:52 +00:00
Maarten ter Huurne
4797d01920 Fixed warning about mixing signed and unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@620 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:31:12 +00:00
Maarten ter Huurne
6c68afb171 Fixed warning about too large signed number.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@619 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:30:19 +00:00
Maarten ter Huurne
a2c8bc6e3c Fix build with Unicode-enabled wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@614 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 21:57:42 +00:00
hrydgard
87f42c9237 Add a way to sprinkle heap integrity checks over Dolphin without breaking the linux build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@613 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 21:27:47 +00:00
hrydgard
b74e161a5a remove annoying message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@612 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 20:41:20 +00:00
hrydgard
cca92d4e38 constification, code style, changed vector<FileInfo*> to vector<FileInfo> for less allocs and more speed in debug mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@611 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 20:35:44 +00:00
hrydgard
38f04809f1 Reduce the use of string objects slightly. Add Delete ISO feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@610 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 19:48:12 +00:00
daco65
570071a8b6 minor core fixing. moved CatchUpGPU() back to CommandProcessor so that MP1 (and more?) have graphics again. also fixed the lzo.lib error some ppl get (i think)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@608 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 11:42:52 +00:00
Maarten ter Huurne
2b4037df8e Added newline at end of file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@606 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 08:14:15 +00:00
nakeee
3a130d4263 change src to Src
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@604 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 06:50:27 +00:00
nakeee
e0291e735c cleaned up SConscripts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@602 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 19:54:29 +00:00
XTra.KrazzY
369a6d2883 We hate pointer games, don't we?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@597 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 15:04:22 +00:00
XTra.KrazzY
60a4630324 FileSystem: Fixed SOME memory leaks, cleaned up code and fixed empty entry bug.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@596 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 14:51:40 +00:00
XTra.KrazzY
de577e521f Unified two very, very similar structures with the name "SFileInfo"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@595 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 13:32:33 +00:00
XTra.KrazzY
6a5ad0ffdb Now stopping doesn't crash with the message "Tried to execute code that's not marked executable" (Access Violation error)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 09:59:40 +00:00
nakeee
3e2419776f fixed scons=parsing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 22:06:22 +00:00
Sonicadvance1
d9e4b55f15 Might Fix the Viewer in Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@590 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 19:27:23 +00:00
Sonicadvance1
720efb825d Linux: I made Sconscript call wx-config inside of the main SConstruct, added a nowx argument, Made the filesystemviewer use the correct struct and fixed a silly scissor error that was made
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@589 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 17:31:54 +00:00
masken
66011849cd Wiimote: Ignored faulty L2CAP packets, allowing libogc's demo to run unaltered. Found raw data representing pointing to the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@588 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 15:34:20 +00:00
XTra.KrazzY
7c3f715f19 More fog emulation groundwork both in OpenGL and DX9. Needs more fog format researching.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@586 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 14:43:10 +00:00
Maarten ter Huurne
0bf262cc16 Fixed build for Unicode version of wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@576 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 09:36:02 +00:00
Maarten ter Huurne
cbd945b137 Fixed error handling in GetUniqueID(): returning "false" is not an option if your return type is std::string...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@575 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 09:30:23 +00:00
fires.gc
0ba37abfdb improvements for compressing and decompressing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@574 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 08:52:07 +00:00
Maarten ter Huurne
8ce6b5aceb Reinstated the changes from rev 568. Also fixed the actual bug: fread() was told to read 1 n-byte record, while it should be told to read n 1-byte records, so we know exactly how much it actually read.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@573 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 08:29:10 +00:00
Sonicadvance1
1a7f5bb564 Fix since mth's version killed everything, even the baby sea lions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@572 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 04:54:34 +00:00
nakeee
67aa39c89e warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 04:50:46 +00:00
Sonicadvance1
28cd7e220c Started Work on File System Viewer. It isn't very pretty yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@570 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 03:18:19 +00:00
Maarten ter Huurne
a112da66ea Fixed compilation of the Linux version. Also some small cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@568 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 00:22:28 +00:00
Maarten ter Huurne
89fa3804f1 Added newline at end of file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@567 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 00:20:51 +00:00
hrydgard
cb90e61368 Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 23:25:35 +00:00
fires.gc
f198d550bc fix for small memory leaks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@562 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:40:52 +00:00
Maarten ter Huurne
e9f0d0cae3 Added missing include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@559 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:23:41 +00:00
Maarten ter Huurne
07a581ba19 Fix build on Linux: commented out setting of background color. If I understood the code correctly, the color will be determined later (after sorting).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@555 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:09:41 +00:00
Maarten ter Huurne
1f66120671 32-bit Linux fix: check result of mmap(): if it fails, it returns MAP_FAILED, which is not equal to 0. Also print error message associated with errno.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@554 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:08:22 +00:00
Maarten ter Huurne
f70819197a Changed return type of Find4GBBase() to u8*, since it really is a pointer (all callers were typecasting it to u8*).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@553 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 07:58:17 +00:00
fires.gc
9e49eda4f1 bugfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@552 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 07:34:00 +00:00
fires.gc
076b7069ce fixed memory leak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@551 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 07:16:14 +00:00
nakeee
23876b80c5 added filesystems.cpp to linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@550 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 06:57:02 +00:00