Maarten ter Huurne
7f578ce1ae
Use Externals/wxWidgets3 instead of Externals/wxWidgets under OS X.
...
The "3" variant has some extra stuff merged that helps under OS X.
This split should not last longer than until the wxWidgets 3.0 release.
2011-12-04 15:34:23 +01:00
Maarten ter Huurne
ffb06c23ac
Added version check for wxWidgets.
...
If the systemwide wxWidgets is too old, we can fall back to the version
from Externals instead of letting the build fail.
Note that while the version in Externals appears to be wxWidgets 2.8,
it has post-2.8 features manually added to it (wxAuiToolBar), so the
version check only accepts 2.9 or higher.
2011-12-04 03:37:02 +01:00
Maarten ter Huurne
7c92b94bc1
Use Cg from Externals if it is not found systemwide.
2011-12-04 02:48:01 +01:00
Maarten ter Huurne
748be364e5
Fixed range check on TryParse() for u32.
...
On x86-64, "unsigned long" is 64 bits wide, so it is possible for a number
to not trigger a range error on strtoul() but still not fit inside an u32.
An extra check is added to ensure that 32-bit and 64-bit builds will accept
the same numbers.
2011-12-02 02:24:43 +01:00
Maarten ter Huurne
045eb924d9
Changed type of GetTicksPer(Line|Frame) to unsigned.
...
Avoids a GCC warning about comparing signed and unsigned values
in Source/Core/Core/Src/State.cpp.
2011-12-02 00:33:45 +01:00
Maarten ter Huurne
f50ea590ce
Don't use the same name for two different local variables.
...
This avoids a warning when compiling with GCC.
2011-12-02 00:06:49 +01:00
Maarten ter Huurne
51127c1243
Added newlines at end of file.
...
This avoids warnings when compiling with GCC.
2011-12-01 23:30:28 +01:00
Maarten ter Huurne
98981cc724
Fixed EFB cache index computations in OpenGL renderer.
...
The previous computation was very likely to go out of array bounds,
which could result in crashes on EFB access.
Also, the cache size was rounded down instead of up. This is a problem
since EFB_HEIGHT (528) is not a multiple of EFB_CACHE_RECT_SIZE (64).
2011-12-01 02:46:59 +01:00
Maarten ter Huurne
cda94290f5
Merge branch 'master' of https://code.google.com/p/dolphin-emu
2011-11-30 00:51:36 +01:00
Maarten ter Huurne
29865e6366
Avoid virtual memory range collision between JIT and emulated RAM.
...
Passing MAP_FIXED to mmap causes already mapped pages in the requested
region to be replaced. On Mac OS X this caused pages for JIT-generatd
code to appear in the memory range previously auto-allocated for the RAM
of the emulated machine. This led to a hang at boot time. The same problem
can probably occur on FreeBSD, but not on Linux since MAP_32BIT is used
there instead of MAP_FIXED.
The solution is to not use MAP_FIXED, but instead rely on the OS honoring
the hinted address which is below 4 GB: we don't need an exact match,
just a low address.
2011-11-30 00:37:57 +01:00
Maarten ter Huurne
b6c0530e15
Let SVN ignore files created by SCons.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1047 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:36:26 +00:00
Maarten ter Huurne
24866abaf5
Let SVN ignore memcard images.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1046 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:34:29 +00:00
Maarten ter Huurne
b88098cc17
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1044 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:33:29 +00:00
Maarten ter Huurne
6938deaf1e
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1043 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:32:32 +00:00
Maarten ter Huurne
744b82ab2b
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1042 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:32:13 +00:00
Maarten ter Huurne
0ca3eb591c
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1041 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:31:40 +00:00
Maarten ter Huurne
458211384f
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1040 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:31:20 +00:00
Maarten ter Huurne
b2161882c5
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1039 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:30:47 +00:00
Maarten ter Huurne
277670a5a5
Removed unused Windows-specific #include.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1038 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:27:50 +00:00
Maarten ter Huurne
c4923df779
Added new source "IPC_HLE/WII_IPC_HLE_Device_fs.cpp".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1036 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 17:48:38 +00:00
Maarten ter Huurne
619f144455
"FileSearch.cpp" was moved.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1035 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 17:44:27 +00:00
Maarten ter Huurne
f27c6f514c
Indent consistently. Please, no more mixing of tabs and spaces!
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1034 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 17:07:35 +00:00
Maarten ter Huurne
7be6725459
Include PluginSpecs.h so __cdecl is defined on non-Windows.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@954 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 11:12:03 +00:00
Maarten ter Huurne
98277aeda0
Fixed build ("file" -> "files"). Made indenting consistent again (tabs or spaces does not matter, but mixing them is evil).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@953 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 11:11:20 +00:00
Maarten ter Huurne
9c5438cb0b
Whatever you do, do not mix tabs and spaces!
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@897 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 09:44:44 +00:00
Maarten ter Huurne
abe24d1c36
Fixed compilation on Linux, as instructed by shuffle2.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@736 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 22:11:20 +00:00
Maarten ter Huurne
3aadef14eb
Fixed case in header name (thread.h -> Thread.h).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@659 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 11:55:23 +00:00
Maarten ter Huurne
180070d1af
Let SVN ignore object files written here.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@653 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:45:33 +00:00
Maarten ter Huurne
5282ba6e29
Append instead of override LIBS.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@652 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:44:26 +00:00
Maarten ter Huurne
bcba16bb20
Do not use 32-bit masks on 64-bit offsets.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:29:54 +00:00
Maarten ter Huurne
35d830924d
Moved ScanDirectoryTree() to FileUtil: this is a generic directory scanning function which might be useful in other places as well.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:27:38 +00:00
Maarten ter Huurne
c688f95374
Fixed another error in pre-previous commit: ScanDirectoryTree should call itself recursively, not AddDirectoryEntries.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@649 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:31:39 +00:00
Maarten ter Huurne
b79bd60b7c
Fixed error in previous commit: FSTEntry is no longer an inner class..
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@648 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:28:33 +00:00
Maarten ter Huurne
851dbcd7d6
Changed File from a class into a namespace, since all its methods were static.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@647 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:23:38 +00:00
Maarten ter Huurne
5a3aee5118
Split functionality from AddDirectoryEntries into ScanDirectoryTree (generic directory scanning; OS depedent) and ComputeNameSize (specific for CVolumeDirectory; OS independent).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@646 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:13:53 +00:00
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
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
Maarten ter Huurne
93afa3c5bb
Use single quotes instead of double quotes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@629 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:26:21 +00:00
Maarten ter Huurne
6e424f152a
Made layout more consistent.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@628 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:24:28 +00:00
Maarten ter Huurne
26b6e7df49
The workaround for Mac OS X broke the build; without the workaround it builds fine. Maybe the workaround was designed for an older SCons version?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@627 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:16:57 +00:00
Maarten ter Huurne
148fd7b96e
Do not forget to append the LINKFLAGS. Replaced "-framework name" with "-Wl,-framework,name" because the space inside the option seems to confuse SCons.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@626 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:11:33 +00:00
Maarten ter Huurne
866d15d3d8
Moved closing of the Configure environment before the env.ParseConfig() calls, since those use the normal environment (env), not the Configure environment (conf).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@625 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:07:51 +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
31f1fabbac
Append to LIBS instead of overriding. Fixes build problems on Mac OS X.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@622 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:36:16 +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
e8a14fc949
Fixed compile warning when compiling with SDL support.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@618 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:27:42 +00:00
Maarten ter Huurne
bbf7377544
Removed unused field "m_szName". Added virtual destructor.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@617 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:25:29 +00:00
Maarten ter Huurne
b269e0779a
Ignore Python byte-compiled files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@615 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 21:59:16 +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
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
Maarten ter Huurne
78bb1cf82d
Made layout (indent and quotes) more consistent.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@580 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 22:19:01 +00:00
Maarten ter Huurne
dae082e59e
Added "-fno-exceptions" to compile flags, so GCC knows we do not use exceptions and can generate more efficient code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@579 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 10:06:55 +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
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
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
Maarten ter Huurne
50e327024e
Corrected name of Wiimote plugin.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@561 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:29:30 +00:00
Maarten ter Huurne
8821eeae68
Let SVN ignore non-GUI executable.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@560 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:25:11 +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
c778e0b83d
Let SVN ignore generated static lib.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@558 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:13:55 +00:00
Maarten ter Huurne
e099980b75
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@557 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:10:56 +00:00
Maarten ter Huurne
219bf2d5f5
Let SVN ignore generated object files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@556 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:10:30 +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
Maarten ter Huurne
0b600d848a
Added new file "Plugins/Plugin_Wiimote.cpp".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@514 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:27:09 +00:00
Maarten ter Huurne
eb1228cdb1
Moved SysMessage() from the video plugin into the main app, so the GUI and non-GUI executable can handle it in a different way. This fixes a crash in DolphinNoGUI when SysMessage() was called and tried to use a non-initialized wxWidgets. (this commit contains changes that should have been in revision 489)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@490 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-10 01:03:22 +00:00
Maarten ter Huurne
54c2a07de5
Moved SysMessage() from the video plugin into the main app, so the GUI and non-GUI executable can handle it in a different way. This fixes a crash in DolphinNoGUI when SysMessage() was called and tried to use a non-initialized wxWidgets.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@489 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-10 01:01:28 +00:00
Maarten ter Huurne
7ae9fb085b
Removed Host_CreateDisplay() and Host_CloseDisplay() since these functions do not exist in "Host.h".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@487 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-09 23:26:09 +00:00
Maarten ter Huurne
684c1d08a8
Changed case of "Src" in "Source/Core/DolphinWX/Src".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@480 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 06:39:17 +00:00
Maarten ter Huurne
ed7a5a46d0
Removed time trial restriction ;)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@476 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 21:06:55 +00:00
Maarten ter Huurne
64390ff77d
Fixed indentation. I am making this a separate commit so the next commit will show the actual code changes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@475 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 21:02:57 +00:00
Maarten ter Huurne
885e1c5185
Removed ini file that was in the wrong place.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@471 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 19:47:07 +00:00
Maarten ter Huurne
9e692e4770
Removed "break" after "return" to avoid warning in GCC.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@470 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 19:29:33 +00:00
Maarten ter Huurne
6cd9700dcf
Explicitly convert negative numbers to u32 to avoid warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@456 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:17:46 +00:00
Maarten ter Huurne
4952852799
Removed header because "HTTP.cpp" was the only source that included it, and that source was removed.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@455 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:04:40 +00:00
Maarten ter Huurne
7beada8f54
Removed "HTTP.cpp" from list of files to build, because the source file was removed too.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@454 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:03:32 +00:00
Maarten ter Huurne
5ac0c33530
Fixed "bcl" instruction in the case where the branch is always taken. The old code would emit a "jne" that can skip the updating of LR depending on the state the host CPU happens to be in.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@451 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 07:04:41 +00:00
Maarten ter Huurne
cf36d4ba58
Fixed ProtectFunction(): it should copy parameters using the padded size. Actually, I am not sure this function is correct, but at least its implementation is now equivalent to the original (before rev 439).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 01:48:16 +00:00
Maarten ter Huurne
722ea233a1
Align stack to 16-byte boundary when compiling in 32-bit mode with GCC. This is required to run anything on OS X and to support SSE instructions on Linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@439 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 00:02:53 +00:00
Maarten ter Huurne
53cdd29228
Removed CHAR typedef.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@437 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:41:06 +00:00
Maarten ter Huurne
bccb1756b2
Replaced "CHAR" by "char": there is no mention of type CHAR on MSDN, the argument to which CHAR* is passed is documented as being char* and the function would be broken if sizeof(CHAR) would be different from 1.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@436 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:40:18 +00:00
Maarten ter Huurne
bd7996354a
Removed "INT" typedef: it was not used in any plugin spec. It was used DX9 video plugin, but for arguments where MSDN lists a plain "int", so I replaced "INT" by "int" to make things clearer.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@435 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:27:24 +00:00
Maarten ter Huurne
4b3c4492ea
Replaced "WORD" by "u16", except where it is part of the Windows API.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@434 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:12:32 +00:00
Maarten ter Huurne
36058428a0
Replaced "unsigned __int64" by "u64".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@433 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:02:21 +00:00
Maarten ter Huurne
6e2416b389
Replaced "unsigned __int32" by "u32".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@432 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-02 23:44:54 +00:00
Maarten ter Huurne
36b464cbc8
Replaced "unsigned __int16" by "u16".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@431 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-02 23:32:05 +00:00
Maarten ter Huurne
1154027808
Replaced type "DWORD" by "u32", except where "DWORD" is used to access the Windows API.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@429 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 22:48:56 +00:00
Maarten ter Huurne
f3f17b4a19
Removed parts of PortableSockets that we do not use. If you need more functionality later, resurrect it from old SVN revisions or re-download the source (see top of the header). However, DO NOT use performance counters to do timing, since the counter value can be different for different CPU cores.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@428 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 22:13:11 +00:00
Maarten ter Huurne
cad45aea72
Replaced CPFifo by SCPFifoStruct: both were identical and there is no point in having two definitions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@421 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 09:12:30 +00:00
Maarten ter Huurne
73a5e1cb91
ao_play() uses "uint_32" as the type for the byte count, so use that in the calling code as well.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@416 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 23:20:36 +00:00