hrydgard
d3da9a67d7
savestates work better in Metroid Prime 2 (can jump ingame from intro screens with no graphics corruption)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@962 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 17:09:06 +00:00
tmator
a03f39ac36
now core, padsimple and dsp null can be buil in 64bit on osx
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@947 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 15:48:36 +00:00
hrydgard
dcbc8e78d4
Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:30:14 +00:00
tmator
4477f77cf6
add InterlockedExchangeAdd for olds gcc version
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@898 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:12:34 +00:00
Sonicadvance1
dfd332e149
Some more Work done with Microphone, added a Semi-decent way of checking for Mic Button
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@888 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 01:15:15 +00:00
Sonicadvance1
1972f9bf70
Flips the XFB around and some other things
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:12:43 +00:00
fires.gc
8e3bd6781e
added compile time assertion for _SECURE_SCL=0. It is very important that all libraries are compiled with the same _SECURE_SCL if you want to share STL functions between libraries.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@876 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:40:31 +00:00
hrydgard
e13ca7e384
Fix Action Replay properly (i hope :P).. some misc code cleanup
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@851 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 19:21:25 +00:00
fires.gc
7c4be7a975
missing commit
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@814 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 20:19:43 +00:00
John Peterson
d4f8f0d3ae
Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration.
...
I also added a wx debugging window for the OpenGL plugin. I connected it to the old console window that was in the plugin. Other than that it doesn't do anything at the moment but it could be useful to show all the current important information and parameter statuses and so on.
Again there's a problem with wx windows collisions. Show() can't be used because then DLL_PROCESS_DETACH is called immediately after the window is opened, and if we open it with ShowModal() before we have loaded a game the main video window will be blocked. And we can't pass on any variables from a DllDebugger() that is called when Dolphin is started because the dll is reloaded and lose all variables sometime before a game is loaded. So we can't auto open the window that way. So I made the debugging window open as a game is loaded if it is enabled in the ini, the downside is that the ini setting will open the window even if we are not opening Dolphin with the -d flag. However, this will only affect people that have used the debugger at least once so in my opinion this is the most convenient solution. But feel free to come up with a better solution. Preferably some solution to how to use Show() and preventing DLL_PROCESS_DETACH to be called.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@812 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 18:47:53 +00:00
Sonicadvance1
e1eb51a010
Fix Building in Linux, removed the define for _T() in Common.h so now we can have wx headers after including Common.h. Also, InterlockedExchange isn't in Linux so I just made it assign the variable
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@809 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 08:51:57 +00:00
hrydgard
77899058e9
Fix some project settings (set SECURE_SCL=0 more consistently). Should prevent crash when playing with symbols in Win32 Release build, and maybe others.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@800 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 20:15:05 +00:00
hrydgard
71193449d4
oops, forgot to submit vcproj.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@799 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 19:31:59 +00:00
hrydgard
49534ca586
Added AI FIFO wave logging to HLE plugin. Same for LLE plugin is coming soon. Plus some extra critical section locks in LLE plugin.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@797 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 18:57:33 +00:00
daco65
22b2b36711
Removed the about from all the plugins and dolphin config screen. then added the about on some plugins config screens and renamed the wiimote_test.cpp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@787 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:05:56 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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