Commit Graph

561 Commits

Author SHA1 Message Date
fires.gc c7ae1fd402 Reverted r762 and r763 - i don't see any good reason to keep this revision as long as nobody fixes the windows build (btw: i don't understand why we need a non-WX build at all). if someone is going to fix it he can revert this revision.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@766 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 17:26:12 +00:00
John Peterson 59b115d197 Changed _SECURE_SCL from 1 to 0 in the debugger to allow me to access SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() from there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@765 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 14:26:47 +00:00
John Peterson a7fa1410c2 Moved a debugging check to the plugin from the main debugger. I still can't enable the sound plugin window in the Release build because I haven't figured out why calls to SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() crashes in a Release build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@764 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 13:39:38 +00:00
Sonicadvance1 580193658a Linux: Woops, SConscripts were broken, fixed. I think I broke using wx..maybe. Too tired to fix right now, must sleep
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@763 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 08:27:56 +00:00
Sonicadvance1 9a3ebd0c3b Linux: Compiling with nowx=true now builds the entire project without WX, this isn't tested in Windows so it's always on via Common.h, You can test/fix it yourself that way. Also fixed Compiling again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 07:57:28 +00:00
memberTwo.mb2 8d0f6d40f4 DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@760 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 22:05:28 +00:00
fires.gc 8997f9cb3e added support for multi selection to compress/decompress multiple files at once (btw: it sux that we have to kick the garbage with another tool:))
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@759 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 21:48:18 +00:00
hrydgard 655bc23322 fix some comments, some files with mixed line endings, some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@757 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 17:22:35 +00:00
John Peterson 2c78946797 Added a console window to the DSP HLE plugin to more easily see the current parameter block status. TODO: add more presets to show different parameters and add more file logging options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@755 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 10:59:56 +00:00
nakeee d00ea2cf43 Added logging files to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@753 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 05:51:55 +00:00
hrydgard a2e0cdcbc1 style fixup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@749 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 21:50:35 +00:00
nakeee 3d6d64c632 Get rid of locks added InterlockedExchangeAdd function in thread.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@748 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 21:40:20 +00:00
memberTwo.mb2 d15d6d2b5e r729 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@746 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 18:43:56 +00:00
nakeee 29fdb6837a Making sure nothing broke on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@745 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:12:47 +00:00
nakeee 4923da76d7 all this to make stop work without message passing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@744 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:03:24 +00:00
nakeee 55226f7ec4 reverting 64 bit as it doesn't work properly.
Well can't say I didn't try :-)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@743 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 14:25:03 +00:00
nakeee d6219e73bd converted to 64bit (please check on windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@741 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 13:04:32 +00:00
nakeee dc3fd905c9 experimental multi-core support on linux
- Input seems not to work for some reason (please check and tell me if it's not only me)
- Skip frames is not supported

Report to me of other problems


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@740 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 10:43:32 +00:00
daco65 14541f0f8a big oops
forgot to commit the PatchEngine.cpp a looong time ago

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@737 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-01 00:21:48 +00:00
XTra.KrazzY 3d25b525dd Reverted SRAM cache patch.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@731 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 21:21:14 +00:00
John Peterson ba0b277597 Prevent LLE debugging window to start before boot. I don't know if the plugin can get the CPU state, if it can perhaps it's better to have that check in the plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@730 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 18:14:46 +00:00
memberTwo.mb2 df9eba79b2 DataReader migration to faster one: first step.
TODO: doing it for DX9, move DataReader to VideoCommon, remove dirty debug #def if ok

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@729 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 17:29:25 +00:00
XTra.KrazzY d80178bd89 Added simple EXI Channel caching. Great for SRAM intensive games such as LoZ:WW (Indoor performance increased from 4500MHz to 6000MHz)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@727 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:49:01 +00:00
fires.gc 739c18ff28 all projects should build in windows again...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:07:37 +00:00
memberTwo.mb2 a9c81fad7d Stop crash with ogl and render to child window fix. (issue 200)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 12:15:11 +00:00
nakeee 7a6937c2d1 fixed case
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@723 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 07:30:51 +00:00
John Peterson f2a5fd1973 Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case.
There's an annoying problem with the DSP HLE wx window that blocks some input and places it in a queue. For example if you have loaded the window and press X on the main window, that action is blocked an placed in some kind of queue and not executed until you have closed the debugging window. This is also why the main Dolphin-Debugger window does not show up until you close the sound window. If someone find a fix to this I guess it could be convenient. There is another way to show the window, m_frame->Show() that is normally supposed to remove this kind of on-focus lock, but in a dll it seemingly breaks because it makes Dllmain call DLL_PROCESS_DETACH immediately after DLL_PROCESS_ATTACH so the window has to be killed or we crash.

Also, otherwise unnecessarily I had to disable the new DSP HLE debug window in Release mode because I could not access the SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() string that I need to start it (if I tried it crashed). Very annoying and strange. I could not access m_strDSPPlugin or m_strVideoPlugin either, but all other values in m_LocalCoreStartupParameter seemed to work fine. I'll have to leave it to someone else to figure out why.

TODO: Later I'll add function to the debugging buttons, currently only update have a function. I'll add some option to show a custom console window (that actually worked better that the wx window to show the current parameters status, it had less flicker on frequent updates). I'll also add some custom log file saving option.

Also, the reason I placed Logging.cpp in its own dir is because I plan to add more files to it. There were problems with some build modes, win32 with debugging crashed on booting a game, I don't know if it's my fault. And I could not build Debug win64 because of some wx linking problem.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 03:19:23 +00:00
hrydgard 68ae5ac070 Fix tiny bug, submit project change too :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@719 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:35:57 +00:00
hrydgard 48c9333c0f Switch audio fifo queue to a faster non-STL one.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@718 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:34:40 +00:00
hrydgard b2c619da61 Submit all kind of misc little changes and cleanup so I get a clean slate. There should be nothing in here that really changes anything important, except fixing some types in the filesystemgc stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@717 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 16:49:58 +00:00
hrydgard 60c65b53a5 Attempt to prevent screensaver from starting when Dolphin is running in the foreground. Can someone test? (only works in Windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@716 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 16:08:48 +00:00
nakeee fcbe45ebdd added _() to strings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@713 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:36:43 +00:00
daco65 9e9c3700b2 added EmuState so you can place the function games.ini had in your game's ini. also renamed the Patches folder to GameIni (thx nakee, toroise was beeing an a**)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@708 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 13:51:00 +00:00
XTra.KrazzY b5eef72a7d Some actions needs the game list to be refreshed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@700 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:47:19 +00:00
Shawn Hoffman 64f6b82ad5 hopefully this makes my intentions more clear :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@699 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:44:52 +00:00
nakeee 5290027d58 used wxemptytext
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@680 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 06:00:08 +00:00
nakeee ef4bac25c7 Changed MessageBox to wxMessageBox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@679 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 05:50:58 +00:00
John Peterson 7d7b1b57ed Prettified the checksum fix. Moved it to its own button. The rest of the manager is now unaltered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 04:24:33 +00:00
hrydgard 6af08837da Really fix DTK audiostream from compressed iso
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@675 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 22:02:47 +00:00
hrydgard f7b6298e77 Break out BIOS emulation code into its own file. Remove BOOT_BIN support (who still uses that?). assorted warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@674 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 21:14:23 +00:00
hrydgard 08e81eddb9 Protect dvdread with a critical section, should fix crashes when running ikaruga from a compressed iso. Some coding standard stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@672 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 20:47:11 +00:00
XTra.KrazzY 3883ce6ee9 More PadSimple config dialog work. Added short function to avoid code repetition and easy code reading. Also fixed some C99 infinite loop declarations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@670 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 20:21:17 +00:00
hrydgard e4785df7a2 Ban compression of Wii images until it has been tested. All sorts of minor cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 19:10:56 +00:00
John Peterson 284e3ec211 Enabled checksum saving. This should give a reasonably ambitious person a fair chance to upgrade his savegames to the new version. - Please remember to make backups before any attempts to try it. I tried it with SSBM PAL and Mario Sunshine NTSC so I'm confident that it works, just try again if it fails.
Usage: Open your savefile, for example MemoryCardA.raw in a hex editor and update the gamecode and makercode according to yagcd 12.3.1 for the game you want to fix. And remember to update the tag on both locations, both Directory and Directory backup as explained in yagcd. Then open the file, still MemoryCardA.raw or whatever it's called in the Memcard manager (found under the Misc menu). That should correct the checksums. You don't need to do anything else after that, don't click Copy for example. Just close the Memcard manager and use the savefile in the latest revision.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@667 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 18:18:09 +00:00
fires.gc 55867c169a update to vs2008
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@664 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 17:09:29 +00:00
gigaherz 26daf97f32 Small change to the memcard manager. Now it shows up to 3 frames of the icon animation, using all the 96x32 pixels of the "icon" image.
I wish I knew how to actually do animations...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@661 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 13:29:06 +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
memberTwo.mb2 da088e62ad DC idle skipping part 2: video thread is woken up when "OnIdle".
For testing purpose only (I can't test with lots of games) because it may break some sync. Besides, I'm not satisfied with the way things are done.
So just uncomment "//#define THREAD_VIDEO_WAKEUP_ONIDLE" in thread.h in order to test it.
Works fine with movies, 2D and simple 3D in ZWW at least.
If it's ok I'll clean up the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 10:52:58 +00:00
John Peterson e4725675fd Notice: This revision break compatibility with all old savegames
This was needed for the three Namco games Baten Kaitos - Wings, Origins and Tales of Symphonia to recognize that it was booting CD2. The critical value was the Disk ID byte 0x00000006 in the memory and on the disc, for these games it was 0x00 for CD1 and 0x01 for CD2. I'm not sure if any other multidisc games are affected by this.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@657 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 09:53:48 +00:00
nakeee 1fe3485792 small warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@656 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 07:04:56 +00:00
Shawn Hoffman 6312ccbc30 completed the iso directory path chooser. changed a ini variable name so it is more to sonic's liking, and corrected an #ifndef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@654 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 00:27:50 +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
Sonicadvance1 1a27044b0a Added language select so it actually works. Games that don't have the available language falls back to English from what I see. The checksum isn't checked in the games? Also started added Wiimote usage in Linux, doesn't do anything since the plugin receives NOTHING in Linux for some reason. I blame Masken because I can
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@645 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 21:13:34 +00:00
donkopunchstania 17cff80f2b BIOS sets video mode from emulator configuration. Fixed iteration in DX VShaderCache::Cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@644 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 20:55:01 +00:00
fires.gc d8f8167613 removed wtl from padsimple
changed color for compressed images

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@643 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 18:25:15 +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
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
fires.gc 85993d02ad fixed small memory leaks of the windows version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@549 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 06:50:52 +00:00
Shawn Hoffman 5db2389374 windows build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@548 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 06:01:07 +00:00
Shawn Hoffman afc6bf15ab added sorting to gamelistctrl (thanks a lot to gigaherz)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@547 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 05:57:43 +00:00
nakeee e4ca998ff8 few warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@545 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 20:24:34 +00:00
memberTwo.mb2 e6a12b553b Idle skipping in DC added (speedup). "Idle skipping" option in menu and ini
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@544 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 20:02:59 +00:00
nakeee 0f4c4b6e1c SConscript made all the rest of env.Copy into env.Clone
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 16:50:09 +00:00
daco65 233c28ee22 reverted some code from rev 532. dolphin had focus trouble
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@540 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 16:28:36 +00:00
gigaherz 17b8a7511b Fix build when using unicode wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@538 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 13:34:39 +00:00
fires.gc ff863e0cec added gui support for compressed ISOs...
compression doesn't work and will be fixed (hopefully :D)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@537 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 12:09:35 +00:00
nakeee 29fb6187b9 copy to clone
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@534 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 08:32:12 +00:00
XTra.KrazzY ba90c68742 In single core mode Emulation and CPU threads are now merged. Performance gain due to sleep elimination. Powerdown checks are already done in the CPU thread.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@532 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:46:26 +00:00
masken eafd38f6fb Fixed DebugFast versions of PadSimple and DSP HLE plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@531 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:38:23 +00:00
XTra.KrazzY 2c2697077b Stopping games now works
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@530 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:37:05 +00:00
nakeee 6a7351181f print percent with .2lf
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@528 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 05:14:18 +00:00
Sonicadvance1 39aed329f9 Fixes Sorting in Linux, already tested in Windows. and if logging isn't enabled when loading a dynamic library in Linux, it will print instead of log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@527 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 22:25:28 +00:00
fires.gc 6c007ceff0 added support for the wii mem dump (again)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@526 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 11:57:35 +00:00
hrydgard 7d07881116 Revert a fix for now, might break Win32 build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@525 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 09:54:48 +00:00
hrydgard 4c6d684a9f Some sanity checks in the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@524 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 09:18:03 +00:00
hrydgard a56fcd4e98 Fixed some valgrind warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@523 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 09:12:19 +00:00
memberTwo.mb2 0ba3948c42 JIT profiler: in block performance counter.
MemoryView: raw memory display.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@522 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 20:58:24 +00:00
hrydgard bec80af7d2 Move some stuff from bss to heap
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@521 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 18:35:49 +00:00
hrydgard 7a8d4a1987 Defend against bad parameters for HLE_Printf, early out in symboldb, misc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@520 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 18:15:53 +00:00
masken f75fafc1ce Moved all relevant code into the Wiimote plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@518 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 17:11:15 +00:00
Shawn Hoffman 73cef0e53b fixed plugin options: no longer ugly on linux, and calls wiimote config/about
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@516 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 16:10:26 +00:00
Shawn Hoffman 6cabff4b0d daco breaks things ^^
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@515 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:31:06 +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
daco65 583d22e72b and suddenly out of nowhere i had 4 resource.h files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@513 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:17:16 +00:00
daco65 f07b75dc09 some patches done by F|res & OmegaDox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@512 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:09:03 +00:00
daco65 af918f2e43 added the wiimote config to the dolphin.ini options.
also commented out the wiimote loading. cause the plugin can't do anything yet it wont load dolphin to start the game.
I also renamed the wiimote plugin. removing the test part. yes its a test but in the end its meant to become a full wiimote plugin right?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@509 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 13:44:06 +00:00
masken f6e4aad94f Added preliminary Wiimote plugin spec, and an empty test plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 10:28:23 +00:00
XTra.KrazzY daabc11592 Clearing memory on boot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@505 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 00:41:31 +00:00
daco65 7a68316c61 stupid VS2005 compiler and its " i dont understand directories with spaces"
fixed building when the source is located at a place like C:\Documents and settings


also got sick of njoy.h saying the new lines wern't done correctly. so thats fixed too.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@504 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 23:55:59 +00:00
masken db23e9a6c0 Wiimote: added hardcoded example data reporting functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@503 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 20:45:06 +00:00
Shawn Hoffman 08a79ec7df win64 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@502 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 20:08:38 +00:00
masken 6d3ada97a2 Wiimote: fixed SendDataReply() and added a bunch of report handlers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@501 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 19:35:04 +00:00
memberTwo.mb2 3cc7e501af fix windows build.
fix debug from VS IDE.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@499 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 13:46:45 +00:00
nakeee bd2fb238b6 changed lzo to minilzo, fixing compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@498 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 09:59:10 +00:00
nakeee ea75d5adce fixed casting to pointer, Im not 100% sure it's currect so please give it a look
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@497 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 09:37:19 +00:00
nakeee e5a126e231 lzo compiles on linux (almost working)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@496 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 09:15:54 +00:00
nakeee 7230dc58da fixed convertion between const char * and wxString to make code compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 07:58:19 +00:00