Commit graph

367 commits

Author SHA1 Message Date
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