dolphin/Source/Core/Common/Src
Marcos Vitali 10b5d2371c My first commit :D
Dual Core sync fix.
When the FIFO is processing data we must not advance the cpu cycles in CoreTiming because in this way the VI will be desynchronized. So, We are waiting until the FIFO finish and while we process only the events required by the FIFO.
This should fix Issue 2072 .
This affect to all games in dual core mode.
Please, You can test all games with VPS limiter auto, 60, 50 depending of the game and compare with prev revision.
For example now NSMB in the video Intro has 60 fps (prev 30 fps) :D or SMG does't need anymore FPS Limitter Hack to get 55-60 fps
Beside the slowdowns now are more softly and the fps more stables because the VI sync is almost perfect.
The Core Timing and Fifo modifications are delicated. Please report if this hang any game. Don't forget check with prev revision.
Enjoy it! Thanks to Rodolfo for teach me all about dolphin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5777 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-24 13:28:54 +00:00
..
Crypto Systematically eliminating compiler warnings. 2010-02-24 03:38:36 +00:00
ABI.cpp Fixed the crash in DSP LLE JIT on x64 by aligning the stack. 2010-04-13 10:18:05 +00:00
ABI.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Atomic.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
Atomic_GCC.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
Atomic_Win32.h fixed xfb bumping introduced by my last commit. 2010-04-14 13:57:16 +00:00
BreakPoints.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
BreakPoints.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
CDUtils.cpp Systematically eliminating compiler warnings. 2010-02-24 03:38:36 +00:00
CDUtils.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
ChunkFile.h Gamelist loading speedup: Be lazy about parsing the file system - it's not necessary for Wii games since the banners are external (in savegames). Also make it possible for the gamelist code to create cache entries for GC images without banners. 2010-06-03 20:37:32 +00:00
ColorUtil.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
ColorUtil.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Common.h some fixes to my last commit and .... 2010-06-14 14:36:01 +00:00
CommonFuncs.h Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way 2010-02-16 08:46:21 +00:00
CommonPaths.h Merge the pad plugin into Dolphin. Since there's only one plugin left under active development, and it's awesome, we no longer have a need for a pad plugin mechanism. 2010-06-13 09:14:40 +00:00
CommonTypes.h OS X buildfix 2010-05-02 21:12:51 +00:00
ConsoleListener.cpp JitIL is no longer a separate .exe/binary - it's now a simple option, Dolphin.exe now contains both cores. 2010-01-19 19:28:27 +00:00
ConsoleListener.h NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. 2010-02-19 17:05:26 +00:00
CPUDetect.cpp Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. 2010-02-24 10:10:48 +00:00
CPUDetect.h Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. 2010-02-24 10:10:48 +00:00
DebugInterface.h Move MemCheck functionality into the virtual DebugInterface class from the more general MemView class. 2010-02-18 12:06:13 +00:00
DynamicLibrary.cpp Don't store the absolute pathname of plugins in the configuration file, 2010-06-05 18:52:56 +00:00
DynamicLibrary.h space changes, merge #defines, language fix, and code reorder/cleanup :P 2010-06-05 01:38:22 +00:00
ExtendedTrace.cpp dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
ExtendedTrace.h dolphinwx and debuggerwx can now be compiled with unicode 2009-07-30 07:09:26 +00:00
FileSearch.cpp Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileSearch.h Random fixes and cleanups 2010-04-08 16:59:35 +00:00
FileUtil.cpp Oops, that wasn't supposed to be in there. 2010-06-13 14:52:11 +00:00
FileUtil.h OSX fix Dolphin not actually using the Application Support path. 2010-05-12 04:26:32 +00:00
FixedSizeQueue.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Hash.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
Hash.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
IniFile.cpp New GCPad/Wiimote: Enabled SDL 1.2 on the Windows build to support some gamepads that weren't working with DirectInput. Made DirectInput use (and prefer) buffered data rather than polled data (some gamepads should work better). In GUI: Changed all numeric wxChoice to wxSpinCtrl (config dialog opens much faster), removed "+" buttons, made UI more compact. Fixed a few problems that were introduced with the IniFile change. Made minor changes to IniFile. 2010-06-05 05:30:23 +00:00
IniFile.h New GCPad/Wiimote: Enabled SDL 1.2 on the Windows build to support some gamepads that weren't working with DirectInput. Made DirectInput use (and prefer) buffered data rather than polled data (some gamepads should work better). In GUI: Changed all numeric wxChoice to wxSpinCtrl (config dialog opens much faster), removed "+" buttons, made UI more compact. Fixed a few problems that were introduced with the IniFile change. Made minor changes to IniFile. 2010-06-05 05:30:23 +00:00
LinearDiskCache.cpp D3D9: Fix issue where the shader caches were lost whenever the render window was resized. Add some error logging to LinearDiskCache. + some minor cleanup. 2010-06-19 16:22:24 +00:00
LinearDiskCache.h Fix some cases of variables being used uninitialized. Also some unused 2010-06-02 20:35:12 +00:00
Log.h Simplify logging a bit. 2010-05-26 21:07:13 +00:00
LogManager.cpp Changed both video plugins to save PNG screenshots. Made GCPad New default in trunk (it already is in stable). Fixed a hack in new wiimote plugin. Other minor changes. 2010-05-29 10:09:24 +00:00
LogManager.h JIT single stepping 2010-04-10 15:41:44 +00:00
MathUtil.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MathUtil.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MemArena.cpp Allows more than one instance of Dolphin to be running. Credit goes to Billiard for the code. 2010-03-27 06:37:37 +00:00
MemArena.h Rewrite memory management, _hopefully_ banishing "failed to map 1 gb contiguous memory" 32-bit Dolphin errors to history. 2009-11-07 18:53:10 +00:00
MemoryUtil.cpp Gah, screw it 2010-03-05 10:07:49 +00:00
MemoryUtil.h JitIL is no longer a separate .exe/binary - it's now a simple option, Dolphin.exe now contains both cores. 2010-01-19 19:28:27 +00:00
Misc.cpp Fix GCC 4.5 Compiling. -fvisibility=hidden seems to break it, so it was removed. Non-POD objects are now errors instead of warnings in 4.5, so I had to remove the wxString::Format. and a Fix where GCC 4.5 introduced strndup. Compiling with nowx=true gave me linker problems for some reason, and I added the -flto flag but commented out. Dunno what it will do yet. 2009-11-11 11:07:04 +00:00
MsgHandler.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
MsgHandler.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
OpenCL.cpp Added OpenCL texture decoding to RGBA usable by DX11 for formats RGB565, RGBA8, RGB5A3 and CMPR 2010-06-22 03:10:43 +00:00
OpenCL.h Don't assume writeable C strings. 2010-05-26 22:40:06 +00:00
Plugin.cpp space changes, merge #defines, language fix, and code reorder/cleanup :P 2010-06-05 01:38:22 +00:00
Plugin.h space changes, merge #defines, language fix, and code reorder/cleanup :P 2010-06-05 01:38:22 +00:00
PluginDSP.cpp LUAInterface should have all its functionality now (excluding input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound. 2009-11-07 20:01:39 +00:00
PluginDSP.h Sound System Rework: Phase 2 (cont'ed) 2009-12-25 11:59:04 +00:00
PluginVideo.cpp My first commit :D 2010-06-24 13:28:54 +00:00
PluginVideo.h My first commit :D 2010-06-24 13:28:54 +00:00
PluginWiimote.cpp win32: Some more work on real wiimote automatic ingame pairup (automatic paired up wiimotes get connected now ingame as well, but it's not completely working yet, we're almost there tho:P) and changed the automatic unpair real wiimotes routine, so it won't get loaded via dll_detach anymore. 2010-06-20 02:17:53 +00:00
PluginWiimote.h win32: Some more work on real wiimote automatic ingame pairup (automatic paired up wiimotes get connected now ingame as well, but it's not completely working yet, we're almost there tho:P) and changed the automatic unpair real wiimotes routine, so it won't get loaded via dll_detach anymore. 2010-06-20 02:17:53 +00:00
SConscript Merge the pad plugin into Dolphin. Since there's only one plugin left under active development, and it's awesome, we no longer have a need for a pad plugin mechanism. 2010-06-13 09:14:40 +00:00
SDCardUtil.cpp build fixin', warning fixin'. 2010-06-09 21:19:23 +00:00
SDCardUtil.h misc stuff 2010-05-23 08:41:58 +00:00
Setup.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
stdafx.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
stdafx.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
StringUtil.cpp Nits. 2010-06-04 20:54:13 +00:00
StringUtil.h Refactor the original and much more compatible IniFile implementation to work more like Billiard's, with a public Section interface, but keep the old interface as well. 2010-06-04 19:56:34 +00:00
svnrev_template.h lp's fix for bundle name 2009-10-24 20:29:52 +00:00
SymbolDB.cpp Improve iterator usage. 2010-05-28 23:14:16 +00:00
SymbolDB.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
SysConf.cpp Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. 2010-03-18 14:34:37 +00:00
SysConf.h Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. 2010-03-18 14:34:37 +00:00
Thread.cpp Linux build fix. 2010-06-16 14:22:17 +00:00
Thread.h Linux build fix. 2010-06-16 14:22:17 +00:00
Thunk.cpp keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Thunk.h keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. 2010-02-14 22:37:46 +00:00
Timer.cpp Kill the last timeGetTime calls. 2010-01-21 21:27:52 +00:00
Timer.h (Minor timer library code cleanup) 2010-01-21 19:55:01 +00:00
x64Analyzer.cpp Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
x64Analyzer.h Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :) 2009-07-28 21:32:10 +00:00
x64Emitter.cpp Fixed a small bug in J_CC when emitting jumps that exceed 0x80 in range (only used by DSP NR yet). 2010-04-11 12:27:27 +00:00
x64Emitter.h DSPJit: disabled NR again until we fix DSPEmitter::increase_addr_reg. 2010-04-09 19:18:50 +00:00