Commit Graph

225 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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 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
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
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 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
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 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
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 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
Maarten ter Huurne 59974dfb5b Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 22:28:42 +00:00
hrydgard ab4333ebac Small build fix, re-add CPU check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@313 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 20:43:37 +00:00
hrydgard fd188ec09e Switch between JIT and Interpreter at runtime using the debug window (pause first!)
Plus assorted cleanup & fixes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@312 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 20:34:11 +00:00
Maarten ter Huurne 8a06c0fdc7 Added call to DetectCPU() which is present in "Main.cpp" but was lacking in "MainNoGUI.cpp".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@309 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 08:51:08 +00:00
hrydgard f44a06465a Change some project settings. Reorganize the symbol database code, step 1/2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 15:46:08 +00:00
masken ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:28:24 +00:00
hrydgard f82bf2ae9a Lots of FP hacking for little gain, super monkey ball is only slightly more sane (wow, it rhymed). Temporary no-speed-limit hack: Hold TAB.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@279 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 09:20:36 +00:00
Maarten ter Huurne 0becaa3223 Make sure SDL can hijack main() so it can do its initialisation. Only implemented for non-GUI executable so far.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@278 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 08:42:52 +00:00
hrydgard 6a4d697f5f statesave prep: Change coretiming to index/registration model, instead of storing pointers. This will make it possible to save/load the event queue.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@258 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 20:01:18 +00:00
Maarten ter Huurne adafeaa8b4 Simplified conversion to C++ string.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@250 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:43:14 +00:00
Shawn Hoffman 06e1add86c getting ready for AA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:35:23 +00:00
NunoRamiro 8c132bdae5 - Fixed: Crash when loading a rom with an unknown file extension.
- Fixed: Crash when stopping a game.
- Improved: DirectX Plugin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@237 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:28:24 +00:00
Sonicadvance1 e3f3a7a41d Linux: Fix so there isn't a trace/breakpoint trap when you get a panicalert and got the mem card reader to work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@236 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 18:29:20 +00:00
hrydgard 3ccc46a67e Update 2005 project files. Add websites to help menu.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@235 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 16:59:59 +00:00
Shawn Hoffman 51317997f5 changed dolphinWX a bit and added memcard manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@234 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 16:41:53 +00:00
hrydgard 870194db21 Attempt to fix recent D3D plugin issue. Fix bug in debugger *<:-)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@198 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 19:57:46 +00:00
Maarten ter Huurne c069737df8 Moved icon from Source/ to Binary/, since files used as-is seem to be placed in Binary/.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@196 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 19:41:12 +00:00
tmator 34d6e8ad62 adding icns file for os
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 00:08:09 +00:00
hrydgard e4e1fda2e4 cpu detection seems broken on AMD - temporarily removed block
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@185 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:54:16 +00:00
tmator ac6d34cd10 Added mth patchs / icon and a fist SDL support on OGL plugin, not work ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@182 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:17:29 +00:00
hrydgard 575bdd9166 Lots of various changes. CPU detect fix. Maybe a minor speed increase. CPU bugs remain.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@180 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 20:05:45 +00:00
hrydgard f9019d0ad3 Assorted debugger upgrades and fixes + changed DolphinWX project not to depend on its plugins
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@169 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:21:16 +00:00
hrydgard e3d21c0b11 32-bit speedup (videos mostly affected). Lots of various cleanup and future proofing. A small debugger feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@162 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-09 16:56:24 +00:00
hrydgard 9626b3bc42 Fix shader cache bugs, improving linux speed. Remove some unnecessary printfs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@153 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 19:46:04 +00:00
Sonicadvance1 e34d4abfee GL plugin now Updates it's title bar in Linux. No gui also works, change it in SConscript in Linux if you want to use that one instead
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@148 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 08:08:12 +00:00
hrydgard 494c1f3187 JIT works in linux with ALL OPTIMIZATION OFF - well, at least it's faster than pure interpreter :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@128 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-03 16:56:31 +00:00
Sonicadvance1 3d769df036 Makes file search case insensitive with a little help from strcasecmp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@118 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 01:31:26 +00:00
hrydgard d1140d999d Blargh, 109 broke things, reverted most of it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@112 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 06:37:47 +00:00
hrydgard 5698cbde2f Various linux stuff - JIT does not work yet :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@109 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 22:17:52 +00:00
Sonicadvance1 92c0a4c370 Intel Macs: Provides fixes to help compile on Macs, thanks to tmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@104 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 09:12:52 +00:00
Sonicadvance1 99d5b4f4c2 Linux+MacOS: a Fix for someone have problems with compiling on a Mac, few fixes for DSP LLE plugin, I don't have files to test though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@100 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 23:59:21 +00:00
hrydgard 7894e6c9e9 Fix bug that made it impossible to even try to boot LLE bios (not tested). Also add ability for Patches/ INI files to override dual core and optimizequant.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@94 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 21:16:33 +00:00
Sonicadvance1 827ce8dde2 Linux: Fixed GUI bugs that only showed up in Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@80 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 09:58:04 +00:00
Laurence Muller d8ed24fd29 nJoy:
- This version should compile on linux.
- The about and config dialogs are disabled (win32 should be replaced by wxWidgets)
- This version is untested, so if you want to try it out, use a premade nJoy.ini from a windows install.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@70 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 18:53:54 +00:00
Sonicadvance1 a626888508 Linux: Now video is actually outputted. Changing padsimple in to SDL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@54 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-22 11:16:45 +00:00
Laurence Muller e52e659f8e Added nJoy v0.3:
- Multi-controller support!
- Enjoy! ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@46 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 20:03:38 +00:00
fires.gc 7f46d51aee removed VS2008 project files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@45 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 19:40:53 +00:00
hrydgard 3c71be6100 Improved some error msgs, added preliminary memory view window, split plugin ini files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@42 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 18:42:44 +00:00
Sonicadvance1 c33cf08a2f Linux: Fixes a few things, Should Compile in Linux. Ran Crazy Taxi horribly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@38 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 01:27:13 +00:00
hrydgard 36f8b9751a Better error messages, Dolphin will create save directories if not present.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@37 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 21:20:22 +00:00
hrydgard eaaea3da94 Attempt at auto update SVN revision in title bar - let's see if it works for everyone, sorry Sonic, you'll have to find a linux solution (see svnrev_template.h). Also adds some smash bros cheats.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@34 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 15:12:12 +00:00
hrydgard 461077b1a1 More GFX plugin cleanup, still no visible changes.
New right-click popup menu in game list - allow editing patch files easily.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@31 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 12:26:32 +00:00
Sonicadvance1 c7795c41b7 Linux: Fix ups for people running Linux. If it breaks anything, punch me in the face.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@30 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 11:02:41 +00:00
fires.gc 343d1ece11 debugger improvments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@25 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 21:46:34 +00:00
fires.gc fa6bd5d2e2 added first iteration of breakpoint view for the debugger
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@21 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 20:08:01 +00:00
hrydgard d23af1a15e New LockThreads option. Also added new INI core option - OptimizeQuantizers. Set to False to work around Resident Evil 1 bug (this will slow down other games somewhat).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@20 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 18:51:53 +00:00
fires.gc bce39df779 bug fix - the about function has called the config function inside the plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@18 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 11:48:31 +00:00
hrydgard 009a452fbf VS2008 project files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@14 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 22:19:06 +00:00
hrydgard ea934759e1 Mostly cleanup and some better crash messages. Also enabled partial block linking (see JitCache.cpp), should give a small speedup but may cause problems, please report!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@12 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 20:50:16 +00:00
fires.gc cb5072c3e4 added additional information like FPS to the status bar
added menu option to activate dual core support

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@11 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 12:19:14 +00:00
fires.gc 982586cdc6 just some code cleanings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@8 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-15 11:53:41 +00:00
fires.gc 050c472b38 fixed support for wii elf file loading
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-15 08:38:04 +00:00
fires.gc e0d8d0a001 reactivated fullscreen mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-13 15:57:05 +00:00
hrydgard 775dc8a9c0 Initial megacommit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-12 17:40:22 +00:00