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
Shawn Hoffman
38ff37539d
updated gui a little bit
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@488 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-09 23:34:13 +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
masken
09ba0a3a11
Fixed a couple of unused variable warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@486 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 20:14:07 +00:00
nakeee
86a9c845c3
much ctor order
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@485 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 18:35:24 +00:00
nakeee
566a4ebc82
casting
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@484 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 07:36:30 +00:00
nakeee
7026025a2d
more warning fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@483 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 07:09:34 +00:00
nakeee
8201ead1d9
compiler doesn't like unmatched '' even in comments
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@482 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 06:48:23 +00:00
nakeee
39a08656f7
warning fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@481 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 06:41:03 +00:00
tmator
01f7662ca6
osx build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@479 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 06:06:59 +00:00
Sonicadvance1
462b3184e2
Added some Fog functions to the GL plugin, doesn't effect games at all. Quick change to GLInit.cpp that doesn't do much as well
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@477 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 04:03:42 +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
nakeee
ac83588c3a
continue changing src to Src
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@474 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 20:29:31 +00:00
nakeee
21171d8b1b
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@473 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 20:26:38 +00:00
nakeee
5fb796fd19
use gen get opts for parsing MainNoGui command line, this doesn't do much yet
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@472 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 20:24:05 +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
masken
f5c7f61ed3
Wiimote: added a bunch of HID packet handling. LogManager: removed double line breaks in Win32 log files.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@469 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 18:54:33 +00:00
Sonicadvance1
d6ac59f1cc
Linux: Moved resize to the callback function, where the Xevents are being checked on, possibly fixing the random freezing bug
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@468 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 18:09:38 +00:00
Shawn Hoffman
8f7c509a13
windows x64 build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 17:11:52 +00:00
daco65
6c0fd0b31f
forgot to remove icon before committing...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@466 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 16:21:28 +00:00
daco65
ad3bea4c04
changed keyForControl to an unsigned int. it was in conflict with main.cpp
...
also changed the pre-build events so that it now compiles even when the dolphin source is located in a dir with a space(like C:\documents and settings)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@465 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 16:12:56 +00:00
Shawn Hoffman
55002b9db2
changed Memory::Shutdown with a patch from mOoOo
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@464 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:56:05 +00:00
nakeee
9637314efb
another unused packed
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@463 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:14:24 +00:00
nakeee
4c1de84039
unused fogcolor removed, shouldn't BPMEM_FOGPARAM3 and BPMEM_FOGCOLOR be united with BPMEM_FOGBMAGNITUDE?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@462 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:11:21 +00:00
nakeee
426b40417b
no negative ketForControl
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@461 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:07:37 +00:00
nakeee
0882a71e56
unused sample
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@460 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:05:47 +00:00
nakeee
5af15b6fd3
added ()
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@459 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:04:25 +00:00
nakeee
43634d53df
fixed warnings
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@458 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:58:56 +00:00
nakeee
e77e1cbabc
removed unesserary __attribute__ ((packed));
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@457 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:51:39 +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
hrydgard
81e937041f
fix 64-bit build too on Platform SDK 6.0, fix project file.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@453 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 11:07:55 +00:00
hrydgard
5a69fca0be
Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@452 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 10:29:46 +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
daco65
72ca1e2355
refixed. my mistake sorry
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@450 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 23:38:12 +00:00
daco65
3078f66763
fixed some issues with ExtendedTrace.cpp for 64bit builds. not sure about the (PDWORD64) tho (i had bad exp. with that in past projects).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@449 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 23:05:06 +00:00
nakeee
953085d4d9
include fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@448 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 21:56:20 +00:00
masken
10e9add26d
Fixed Common logging.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@447 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 21:12:19 +00:00
masken
565a4d28ec
Added ExtendedTrace crash logging. Wiimote HLE can now create an L2CAP connection.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@446 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 13:41:44 +00:00
nakeee
f6298b9f31
forgot return value on windows
...
can't check it though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@445 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 15:22:25 +00:00
nakeee
3749fb510b
added getuserdirectory
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@444 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 13:12:47 +00:00
nakeee
dc28cbec1c
map renamed to icon
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@443 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 12:16:01 +00:00
nakeee
6edc234303
added createdir and isdirectory for nix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 11:59:28 +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
Sonicadvance1
6d53aaed21
Linux: Made PadSimple actually work in Linux, removed the SDL dependency since Fires yelled at me (a long time ago).Tmator, you will have to use something else and Video Plugin Skips key events in Linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@440 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 01:07:41 +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
masken
f96d19a1fb
Wiimote: added ACL connection setup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 06:50:38 +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
Shawn Hoffman
179752449d
removed PortableSockets.cpp from the vs05 project file
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@430 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-02 02:35:08 +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
masken
012041bab5
Added puts() HLE, WIIMOTE logging section and experimental virtual connection request.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@427 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 21:29:27 +00:00
gigaherz
b1cd01819b
replace _DEBUG with LOGGING in the #ifs. Thanks to Xuefer for this change.
...
also unbroke somethign which shouldn't have been there in the last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@426 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 15:18:32 +00:00
gigaherz
a7ec1a2562
Made banners/icons show up in linux. It doesn't seem to use the right height, but I have to leave now so that will have to wait.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@425 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 15:04:59 +00:00
gigaherz
b0f51a0b98
Reverted the "warning removal" changes because they broke debug building in windows. Used #ifdef _DEBUG to disable those lines in release builds instead.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@424 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 14:49:34 +00:00
XTra.KrazzY
10eef7f60e
Build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@423 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 13:31:24 +00:00
nakeee
4bbfff3cac
many warning fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@422 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 12:11:08 +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
Sonicadvance1
6638ed20a6
Woops, my fault
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@420 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 08:50:16 +00:00
Sonicadvance1
454cee4d1e
Your Holy savior has come to save the day. Also fixed compiling in Linux, a memory leak, and checks if a glxcontext was created
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@419 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 08:32:33 +00:00
gigaherz
ead647d422
Added code to display the first icon (I tried to display it animated, but failed).
...
It still uses just one imagelist, so I had to "expand" the icons to 96x32 (adding transparent pixels to the right).
Sorry I don't know how to do this better and it's 4am.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@418 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 02:10:42 +00:00
gigaherz
f0b41b1f0d
Fixed display of banners.
...
Turns out the YAGCD stuff was wrong, and it messed up the meaning of two bits. Also I had a bug in the CI8(C8) icon format display (wrong unswizzling).
Next will be adding icon display & animation, in a separate column
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@417 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 00:43:35 +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
Maarten ter Huurne
f9d04ae1ad
Put dsp_thread_debug() entirely inside the "#ifdef _WIN32" block, since it is only used on Windows.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@415 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 23:06:21 +00:00
gigaherz
56608cecc9
Added code to display the banners from the memcards. Doesn't overlay the icons yet.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@413 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 22:28:43 +00:00
Maarten ter Huurne
9a7b828eba
Removed function FilterDown(), which was neither used nor implemented.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@412 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 21:52:28 +00:00
Maarten ter Huurne
d4db1a6657
Changed BYTE* to u8* after all, since these pointers are not directly related to Windows API.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@411 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 21:49:57 +00:00
gigaherz
532c675a3a
Added animation reading. It seems to work fine for the first frame, but none of my saves have >1 frames so I can't test the reading of the other frames, which should work fine anyway.
...
Only missing is DISPLAYING the banner and the animation/icon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@410 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 21:08:47 +00:00
gigaherz
be6c1518ea
Added ReadBannerRGBA8 function to GCMemcard class.
...
Also "#if FALSE"'d the debug code which outputs BMPs of the banners (because I'm too lazy, the BMPs will "look" upside-down, while the actual image is ok).
Next step will be to also allow reading animations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@409 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 20:35:41 +00:00
Maarten ter Huurne
0bebbcb5f4
Replaced type "BYTE" by "u8", except where "BYTE" is used to access the Windows API.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@408 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 14:32:35 +00:00
hrydgard
af1e42ec90
Fix build
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@406 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 14:00:54 +00:00
Maarten ter Huurne
2c7a92e1b7
Split off type definitions from "Common.h" into new header "CommonTypes.h". This is a preparation for sharing the type definitions between the Dolphin core and the plugin specs.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@405 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:54:25 +00:00
hrydgard
09406d76c4
Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:36:52 +00:00
Maarten ter Huurne
d9e129ae99
Removed WEAK_SYMBOL: it is not used anywhere.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@403 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:13:36 +00:00
Maarten ter Huurne
5c6dfa3bbe
Moved declaration of EXPORT and CALL inside the include guards. I accidentally placed it outside in revision 336.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@402 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 12:22:03 +00:00
XTra.KrazzY
2f0eb72ba1
Added compression support for save states. Decompression is still buggy so compression is off by default.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@401 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 09:38:41 +00:00
hrydgard
a9c6a59307
don't lookup things in symbol map unnecessarily in the ppcanalyst, helps slowdowns in debugger in debug mode
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@400 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 08:39:57 +00:00
hrydgard
55c18d1d10
some cleanup, don't update the log window too often
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@399 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 08:29:43 +00:00
hrydgard
8bd78a21b4
Fix Pad_DX9 crash
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@398 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 06:53:23 +00:00
hrydgard
af60e06bb0
Simulate Wii bootup better (info from wiibrew.org)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@397 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 06:52:16 +00:00
hrydgard
b89e56cbcb
linux build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@396 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 23:30:41 +00:00
hrydgard
e5deb10714
bugfix the texcache bugfixes :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@395 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 23:15:11 +00:00
hrydgard
20d0c53781
Fix same texcache bug on DX side
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@394 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 23:06:40 +00:00
hrydgard
db303de0db
Fix texture cache bug in OpenGL plugin
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@393 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:55:09 +00:00
XTra.KrazzY
432084ebe7
handled state saving IO errors
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@392 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:36:28 +00:00
hrydgard
718a1c6a3f
missing files, sorry
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@391 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:15:37 +00:00
hrydgard
005cbbb379
Basic VBA-style save state system implemented - kb shortcuts only working on Windows. Keyboard shortcut system added. More cleanup in GFX plugins.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@390 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:06:53 +00:00
hrydgard
85565688d7
New SaveState folder for states. Removed some outdated code. Removed an unnecessary level of indirection for plugin calls. Assorted cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@389 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 19:19:40 +00:00
hrydgard
6b6003c563
add zlib include directory to all configurations of Core.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@388 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:45:07 +00:00
hrydgard
e4825be7a8
more statesave bugfixes...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@387 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:24:45 +00:00
hrydgard
4608333a56
State saving progress. Most core state seems to be saved/loaded correctly, not so for video yet unfortunately.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@386 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:05:32 +00:00
XTra.KrazzY
95eb8f9ef3
Save states now work (to some extent). Please report special cases which cause crashes or anything of the sort. Also removed debug messages from state management
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@385 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 15:54:44 +00:00
gigaherz
06f0b02ecd
Fixed a few bugs with the memcard manager, and memcard classes:
...
- Now the GCMemcard class will use the backup dir/bat if the main one is outdated/corrupted.
- I fixed a few bugs in Delete. It still doesn't work, but at least it doesn't make the program crash.
I included a small changei n the sln so that debug/x64 builds use release/x64 njoy, this way there's no build errors annoying people trying to debug Dolphin. ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@384 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 13:44:44 +00:00
hrydgard
53afa1f900
reverted quantizer fix - causes heavy slowdown in some games. I have a better idea :p
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@383 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 13:17:07 +00:00
hrydgard
5ac5a04982
More state save code, "proper" fix for the quantizer problem
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@382 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 13:06:17 +00:00
hrydgard
ff0a613427
Cleaning up XK's mess, added a simple profiler, minor disasm fix. Too lazy to split it up into individual changes. Savestates not yet working.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@381 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 12:11:25 +00:00
Maarten ter Huurne
838f37112e
Fixed compilation on Mac OS X by testing for Linux explicitly instead of assuming that non-Windows equals Linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@380 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 08:49:34 +00:00
Sonicadvance1
3e029639df
Removed jpeg dependency in GL plugin, added Rumble to Linux nJoy. and reverted my accidental Dolphin ini file
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@379 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-29 09:55:17 +00:00
Shawn Hoffman
c32f116596
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@376 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 22:15:00 +00:00
XTra.KrazzY
2e760d69fe
Added save/load state support in the UI
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@375 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 21:30:13 +00:00
Maarten ter Huurne
1716ef46bb
Use compact syntax for converting C strings to C++ strings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@374 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 19:22:36 +00:00
Maarten ter Huurne
cfd31f4385
Build both GUI and non-GUI executable.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@373 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 18:58:11 +00:00
XTra.KrazzY
f8b4311b66
Final typo and error fixes and include reordering
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@372 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 09:19:46 +00:00
XTra.KrazzY
531230c03d
*another* typo fix. Sorry
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@371 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 08:11:40 +00:00
XTra.KrazzY
f3fb7a9102
typo fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@370 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 08:09:25 +00:00
XTra.KrazzY
e05e2179c3
I have broken something, but more may be broken
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@369 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 08:00:40 +00:00
XTra.KrazzY
051c2e0784
A lot of save state groundwork. Please notify if compilation breaks because
...
I haven't compiled
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@368 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 07:58:04 +00:00
XTra.KrazzY
8a33d6787b
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@367 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 07:42:48 +00:00
Maarten ter Huurne
e764723832
Fixed warnings about comparison between signed and unsigned integer expressions.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@366 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 16:12:05 +00:00
Maarten ter Huurne
541a86de26
Removed unused function x86SetJ8().
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@365 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 13:42:32 +00:00
Maarten ter Huurne
ad748bfc05
Fixed CALL range check.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@364 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 13:29:35 +00:00
Maarten ter Huurne
9b1ddfcc69
Fixed BE32 macro to make sure it returns an unsigned int.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@363 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:51:03 +00:00
Sonicadvance1
a5d51aa2ce
Linux Speed up
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@362 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:47:57 +00:00
daco65
6b718a6936
just some typo correction
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@361 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:44:29 +00:00
XTra.KrazzY
cb43ed49cd
Small warning fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@360 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:44:22 +00:00
Maarten ter Huurne
105e1c325f
Fixed warnings about field initialisation order.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@359 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:33:49 +00:00
Maarten ter Huurne
ae7d236fdf
Fixed warnings about field initialisation order.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@358 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:27:03 +00:00
Maarten ter Huurne
b64722d4d5
Fixed warnings about field initialisation order.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@357 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:23:52 +00:00
Maarten ter Huurne
57c5cb12e9
Fixed warnings about missing braces in array initialisation.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@356 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:17:47 +00:00
Maarten ter Huurne
a8f5185ef0
This header is Windows specific, so disabled it for other platforms, to avoid GCC complaining about a #pragma it cannot understand.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@355 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:09:56 +00:00
daco65
794f656188
fixed Video_SaveState & Video_LoadState in OGL/DX that made dolphin unable to load the plugins
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@352 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:45:51 +00:00
Maarten ter Huurne
6c5f0fc0f3
Do not force-enable logging.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@351 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:38:15 +00:00
Maarten ter Huurne
c0da275501
Fixed warning about initialisation order. Also made code layout consistent within this file.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@350 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:33:45 +00:00
Maarten ter Huurne
bbeca155de
Added "const" to the data type. This fixes loads of compile warnings and the resulting file seems to still be a valid XPM (in fact, some of the files already had "const").
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:24:16 +00:00
Maarten ter Huurne
b6f82eb871
Avoid warning about redefining macro. It would be nice though if someone could add a comment describing what is Windows-specific about the JITting of stb/sth/stw.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@348 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:17:50 +00:00
Maarten ter Huurne
b9feea5412
Removed unnecessary extra terminating zero: sprintf() already zero-terminates its output.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@347 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:41:21 +00:00
Maarten ter Huurne
ef61bd8995
Removed superfluous arguments passed to WRITE() for string formatting.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@346 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:30:19 +00:00
XTra.KrazzY
a0ae17c5ff
Fixed message box calls (they aren't even necessary, just checking whether the saving made it into the VideoCommon library
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@345 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:01:46 +00:00
Maarten ter Huurne
8876637c9f
Fixed invalid use of sprintf.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@344 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:54:11 +00:00
Maarten ter Huurne
f8d7231be8
Fixed "no newline at end of file" warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@342 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:27:57 +00:00
Maarten ter Huurne
f31ae87152
Fixed "no newline at end of file" warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@341 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:27:38 +00:00
Maarten ter Huurne
4aa233f1f6
Only include <windows.h> when compiling for Windows.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@340 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:07:02 +00:00
Maarten ter Huurne
7d0bf8a101
Fixed "no newline at end of file" warning.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@339 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:05:52 +00:00
daco65
f55722e288
Fix for XK's commit. XK, if its wrong punch me in the face
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@337 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:45:31 +00:00
Maarten ter Huurne
d8b3122e0d
Minimized symbol visibility for GCC build. Fixes problem with two instances of x64Emitter getting mixed up and generating only part of the required opcodes. I get video on 32-bit Linux now :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@336 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:42:11 +00:00
Maarten ter Huurne
d720368d48
Clear the full size of the EXRAM.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@335 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:05:54 +00:00
Maarten ter Huurne
0f3e8ddced
On platforms where the OpenGL library uses the CDECL calling convention, the stack should be increased after making a call.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@334 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:04:54 +00:00
Maarten ter Huurne
a8982b1d18
Corrected case of "MultiDI.cpp|h".
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@333 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 00:07:57 +00:00
XTra.KrazzY
7a2cdef912
Preliminary video save state support. More work is necessary, this is just some infrastructure for inter-project communication.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@332 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:40:18 +00:00
Maarten ter Huurne
734586a0ab
Include system headers using "#include <file.h>", so GCC will not issue warnings about them.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@331 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:32:54 +00:00