Commit Graph

480 Commits

Author SHA1 Message Date
Sonicadvance1 15d58692fd Revert since It flips Commercial games that use XFB + 3D, but makes Homebrew that uses ONLY XFB look correct the old way. Annoying
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@883 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:19:24 +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
donkopunchstania bbbe898839 added option to use XFB in GL, but XFB support still needs work. modified viewport to include scissor offset.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@879 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 14:07:03 +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
XTra.KrazzY b7e9a988f7 Started work on HLE Zelda UCode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@853 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 23:00:35 +00:00
Sonicadvance1 41b72ffc8b Fixes Wario World for using an Invalid Texture coordinate, Tell me if it breaks anything
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@852 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 21:59:51 +00:00
Sonicadvance1 dec94518e7 Add CPUCompare variables to INI file and also make the gamelist look sexy on all platforms, not just Win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@849 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 16:45:17 +00:00
hrydgard fdba232644 Revert part of Omega's change - ctaxi works again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@846 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 21:18:10 +00:00
daco65 c8c160b430 Patch by omegadox. fixed bloom
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@844 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 15:12:51 +00:00
fires.gc 3763b365d1 small improvements of the LLE plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@840 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 17:21:00 +00:00
John Peterson ba88ebaecb Made the volume setting not dependent on numSamples. It moves around a lot and depends on how fast the game run and this volume setting should probably not depend on that. I'm still unsure about the right volume steps and if pb.mixer_control has the target volume.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@839 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 14:35:29 +00:00
fires.gc 316527dd6d missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@838 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:44:21 +00:00
fires.gc f9bd977ffd some HLE LLE stuff :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@837 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:43:50 +00:00
John Peterson 4d93e126de Strangely this seemed to make the music works better. Skies is now back to playing 40-something blocks instead of just 10. The RE music worked better. Could just reading from memory have an effect on things?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@836 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 08:06:57 +00:00
John Peterson be39c869cc Small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@835 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 07:38:14 +00:00
John Peterson 3043bd6003 Moved updates closer to how it actually should work. It's still a little buggy, perhaps because of some kind of timing issue. In RE Remake it seems like the music stopped sometimes, and sometimes to many blocks were running. The Skies music didn't seem to work very well either.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@834 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 07:28:18 +00:00
Shawn Hoffman 3d1cc88b4f fixed windows and linux builds. the console/debugger/etc files in lle/hle/ogl really need to be de-uglified!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@833 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 02:29:57 +00:00
Shawn Hoffman 540539ee27 padsimple: now shows only which xpads are connected (when the config is called), set all pads to keyboard as default, got rid of XINPUT_ENABLE #ifdefs, made the trigger buttons enabled at 200/255 instead of 20/255 :) hopefully that's a lot closer to how a gc controller acts.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@832 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-11 00:23:26 +00:00
Sonicadvance1 92f661b390 Fix Linux compiling and Make Filesystemviewer show MakerID correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@831 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 16:20:13 +00:00
Shawn Hoffman 671fb9def1 filesystemviewer looks better and extracts files correctly. added stdafx.h as a force include for ogl, daco was having problems without it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@830 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 15:32:23 +00:00
memberTwo.mb2 5796ccaca4 small oversight
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@823 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 09:21:46 +00:00
fires.gc bb7cae4c18 bug fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@817 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:21:39 +00:00
fires.gc 12d3810203 changed exception behavior a little bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@813 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 20:17:10 +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
John Peterson c343b8b8bb Fixed the chipmunks-like sound in Soul Calibur 2 movies and perhaps RE4 movies. This problem originated from the Baten fix in rev 609. Apparently all pb.src_type = 2 sounds don’t need this fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@808 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 05:41:02 +00:00
John Peterson 4001e11116 Notice: This version is for testing only. It may cause unwanted side effects for the sound in many games. It adds preliminary support for volume control. I think high delta values (often close to 0x10000) mean that volume should be lowered, and vice versa. But I'm unsure how big the volume steps should be, and where the volume should go to. The current guess is that pb.mixer_control also tell us what the new volume level should be, but I'm not sure about that. The current settings seems to work okay in games like Paper Mario and Fire Emblem when sounds are faded in to begin or faded out to stop. But it worked less well for the sequenced music in Skies of Arcadia where some blocks would get a to high volume.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@806 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 04:00:47 +00:00
hrydgard bdab2ad126 wave loggin for LLE plugin too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@798 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 19:02:52 +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
Shawn Hoffman 6e4673d5e7 most lame update ever, falcon4ever really wanted this to be changed, blame him
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@792 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 22:45:48 +00:00
memberTwo.mb2 0464cba75e Bunch of fix for DC mode (Metroid starts now,etc.). Look stable now but need to be seriously tested. CriticalSection shouldn't be needed anymore. TODO: linux and fix that High/LowWaterMark problem (CPU waste is time waiting for an empty fifo for now)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@791 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 21:39:50 +00:00
Shawn Hoffman 26552968b7 updated njoy so it now shows it's beautiful aboutbox too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@790 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:29:30 +00:00
Shawn Hoffman d11f42c329 improved the new way of doing aboutboxes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@789 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:17:15 +00:00
daco65 5cacbf97b7 forgot to remove this little header :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@788 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:12:19 +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
John Peterson c0af02df49 Tried another SSBM fix. Please test if "SSBM remedy 2" is still needed in SSBM by turning it off from the debugger. I didn't need it but perhaps someone else does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@786 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 00:59:12 +00:00
John Peterson f4b9a22324 Attempt to fix a sound problem that could appear in SSBM, Battle Stadium DON and perhaps other games. Please report any side effects.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@785 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-06 18:40:34 +00:00
Laurence Muller 54719af08c removed win32 gui from the plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@783 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 23:04:35 +00:00
nakeee 6336af92a1 add svnrev.h to linux
solves issue 93


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@780 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 18:49:55 +00:00
nakeee 4782f893d7 Use GL_TEXTURE_RECTANGLE_ARB instead GL_TEXTURE_RECTANGLE_NV hoping for better ati support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@776 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 05:39:59 +00:00
XTra.KrazzY c69506bb46 Chests on LoZ:WW are now texture mapped correctly (as should many other weirdnesses) in DX9.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@775 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:47:28 +00:00
nakeee d4dafd1d5b exports the symbols on linux as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@774 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:28:11 +00:00
nakeee f650cb19e4 added console.cpp to HLE on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@773 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:22:29 +00:00
nakeee 717a0d51e1 added the mixer.cpp to LLE on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@772 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 22:07:55 +00:00
XTra.KrazzY 8eef6f9cd5 Moved components' perks computation to the DecodedVArray in DX9. Performance boost. Working on OGL version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@771 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 21:47:56 +00:00
John Peterson 664f4dee0e Fixed small mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@770 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 21:31:20 +00:00
nakeee ff1a11bd1f () in the wrong place issue 209 (thanks slink...@hotmail.com)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@769 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 20:43:35 +00:00
nakeee 4789072ad9 include games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@768 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 20:15:19 +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
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
hrydgard 3d475abf2b Hook up sound output in the LLE plugin. Some AX games actually produce some icky scratchy "sound" sometimes :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@761 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 00:16:19 +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
hrydgard d162fa6ade Added comment that Addr__AXOutSBuffer_2 contains the destination address for mixing in RAM.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@758 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 18:59:57 +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 e8e8caea8f Small cleanup. Moved some declarations to a header file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@756 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 11:24:04 +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
John Peterson 2bc4ea5362 Minor mistake. I don't know if this can cause any problems so I change it back to a dot.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@752 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 01:37:17 +00:00
John Peterson b200cd9b73 Made the debugger automatically get the PB address.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@751 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 01:31:11 +00:00
John Peterson cf5251331e Added a console window to the LLE plugin to show the current AX status. TODO: Make it automatically get AXLIST_PBADDR.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@750 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 22:00:20 +00:00
hrydgard 65f8c4bca1 unbreak DX9 build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@747 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 19:59:50 +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 8439b06fdc another 64bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@742 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 13:11:10 +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
donkopunchstania a1837662a0 Added shader dump option to GL plugin. glScissor is always set, even when copying to EFB. Indirect texturing and alpha blending fixes. Changed determination if texture dimension recalculation is needed - this might break stuff! Let me know if there are issues so it can be tweaked.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@739 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 03:26:08 +00:00
nakeee f83057262b warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@738 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-01 20:54:16 +00:00
Maarten ter Huurne abe24d1c36 Fixed compilation on Linux, as instructed by shuffle2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@736 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 22:11:20 +00:00
Shawn Hoffman b2378b592f added better support to simplepad for using a combination of xpads and a keyboard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@735 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 05:10:52 +00:00
Sonicadvance1 0100d74aa3 Woops, wasn't supposed to be changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@734 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:49:06 +00:00
Shawn Hoffman 6178eae001 made all plugins build with correct names and paths. (windows). for some reason njoy and padsimple don't show that they have been compiled with debugfast in their name, not sure why.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@733 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-30 01:09:02 +00:00
Sonicadvance1 d98c60a0da Fix compiling in Linux for the most part
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@732 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 21:22:44 +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
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
nakeee 8c2a9fa08d added files to scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@724 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 11:33:39 +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
John Peterson 6a54676914 Made some changes that affect AX music. Please report any side effects.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@721 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 21:26:33 +00:00
hrydgard fb79bc9224 Disable screen saver in the gfx plugin window management too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@720 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:47:44 +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
nakeee 45397aaa8e wxT is better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@715 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:53:46 +00:00
nakeee 4b2c6bb7e5 Fixed weird compilation error
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@714 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:45:22 +00:00
Shawn Hoffman 7a615e9353 merged the halfpress keys down to just one, and tried to set the base for actually having 4 controllers. still need a way to list keyboard+connected xpads in the wxChoice :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@712 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:29:38 +00:00
nakeee 7a402985ab A try to fix up input race between glinit and padsimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@705 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 11:37:09 +00:00
fires.gc f69166d0c2 Removed the dx9 pad plugin. I won't miss it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@704 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 07:31:43 +00:00
nakeee 7fcc9abe67 Ported windows changes to linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@703 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 05:49:33 +00:00
XTra.KrazzY b632f019da More PadSimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@702 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 22:13:50 +00:00
XTra.KrazzY 14880b0232 SimplePad fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@701 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:59:48 +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 20a8b21800 set defaults only for first controller
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@698 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:36:00 +00:00
XTra.KrazzY fa6a7a2242 Perfected the PadSimple config design.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@697 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:16:32 +00:00
XTra.KrazzY bead0e1950 PadSimple control key buttons now work. Thanks nakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@696 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 20:47:24 +00:00
XTra.KrazzY 6ca082489a Various issue fixes for PadSimple. Numpad support in DInput
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@695 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 20:40:17 +00:00
XTra.KrazzY 53b4dda6c7 Me and Nakeee created a null DSP device, supported in both Windows and linux (tested). Framerate boost and less DSound/LibAO errors. Pending work: Clean up UCodes and create something more...null. We could also hack into the HW Audio Interface (would be actual null device). Also screws up a bit of Wind Waker RTC (awesome day/night transition in save selection menu. 80FPS in save selection menu, 120FPS in logos.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@694 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 18:45:53 +00:00
Shawn Hoffman c31cba8f0b sorry about that...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@693 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 18:02:45 +00:00
Shawn Hoffman 3055091932 (windows)padsimple now shows human-readable names after you set a new key
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@692 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 17:57:57 +00:00
Sonicadvance1 c1b340feb5 Projection Matrix fix, allows PSO to work. If it breaks any games, Tell me. I didn't see any broken ones though. Why was it doing this in the first place? DX does it this new way as well >>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@691 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 16:31:16 +00:00
Shawn Hoffman 96cbb39cd8 improved DIKToString
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@688 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 14:37:01 +00:00
nakeee 1d8cd86b43 Fixed stoping on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@687 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 14:23:04 +00:00
nakeee 2c8f1c5aa6 Use enum instead of numbers, this fixes the control mapping on linux
Fix case of keys


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@686 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 14:05:21 +00:00
Sonicadvance1 015e43340a A simple z-buffer fix for the GL plugin, we were setting the nearz as negative nearz, which messed up the fzero stage in Melee at a certain point. Also redundent code moved about
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 10:38:37 +00:00
nakeee 3b346a7d47 Forgot to add 2 files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@684 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 09:25:41 +00:00
nakeee 6d872a6be5 linux port of simplepad dialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@683 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 09:15:34 +00:00
fires.gc df27789fe9 added two missing libs to compile debug versions of padsimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@682 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 08:30:52 +00:00
XTra.KrazzY 60b01ac424 Further PadSimple config window work. Now gets initial characters from configuration in both windows and other systems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 07:02:10 +00:00
Shawn Hoffman b39f0240cb padsimple config should get keycodes in windows now. replaced wxT("") with wxEmptyString.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@676 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 22:20:37 +00:00
nakeee b6605213a1 compile with unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@673 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 21:04:34 +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
nakeee d4711a605f test for x11 and xxf86vm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@666 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 17:47:51 +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
Sonicadvance1 b91a8ef455 Removed libcwiid from the WiiMote plugin. I will rewrite it later once Wii actually works using low level Bluetooth lib since Bluetooth has a STANDARD LIBRARY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@655 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 06:31:03 +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 5282ba6e29 Append instead of override LIBS.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@652 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:44:26 +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
Shawn Hoffman 9b78547a05 fix padsimple vcproj
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@642 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 17:58:03 +00:00
nakeee da4a384b11 Started working on the look of the padsimple config dialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@641 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 16:14:12 +00:00
Shawn Hoffman 0400d044ec some small adjustments to the ogl and padsimple wxw code. Really need to find a way to get keyboard input after clicking a wxButton...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@640 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 14:18:55 +00:00
nakeee 385e3276bb Start of converting the plugin to use wxwindows
still not working


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@638 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 09:28:37 +00:00
Maarten ter Huurne 93afa3c5bb Use single quotes instead of double quotes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@629 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:26:21 +00:00
Maarten ter Huurne 148fd7b96e Do not forget to append the LINKFLAGS. Replaced "-framework name" with "-Wl,-framework,name" because the space inside the option seems to confuse SCons.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@626 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:11:33 +00:00
Maarten ter Huurne 31f1fabbac Append to LIBS instead of overriding. Fixes build problems on Mac OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@622 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:36:16 +00:00
Maarten ter Huurne e8a14fc949 Fixed compile warning when compiling with SDL support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@618 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:27:42 +00:00
Maarten ter Huurne bbf7377544 Removed unused field "m_szName". Added virtual destructor.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@617 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:25:29 +00:00
hrydgard 0ffc909969 Fix random memory overwrite bug in DSP plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@616 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 22:49:09 +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
John Peterson a0eb4ad055 I fixed the SSBM and Baten music, I think. This also fixes the Baten hangings so you can continue after meeting the first party member (Xelha). I hope I didn't break any other games by these changes. - If you think these changes are unpretty feel free to make them prettier.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@609 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 12:07:34 +00:00
nakeee dbc5a154b6 Panic when failing to create Renderer in the opengl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@607 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 09:17:28 +00:00
nakeee 420e304d2c fix compilation on linux, I wonder how it worked before
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@605 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 07:25:57 +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
hrydgard 5c6407b805 Set some stray WarnAsError=false
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@601 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 18:15:59 +00:00
masken 025f97e156 Wiimote: first attempt at calculating IR data from mouse pointer.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@600 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 16:38:12 +00:00
XTra.KrazzY 0f4d04f4fb Fixed DX9's 16 and 24 bit comparisons.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@593 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 10:21:37 +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 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 ae948f1a23 Added point size emulation to DX9
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@587 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 15:04:02 +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
XTra.KrazzY a5488ccf58 Initial steps towards fog emulation in DX9
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@585 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 14:29:30 +00:00
daco65 07421b08eb i tought i renamed the wiimote dll for every kind of build,guess i was wrong
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@569 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 01:08:41 +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
Laurence Muller 2cd7acfaee Minor fix for Plugin_DSP_LLE.
Fixes win32 debug build


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@565 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 22:39:30 +00:00
Sonicadvance1 bb248a43de Linux: Makes keyboard state save/loading work. I put it in the GL plugin so it can be used even if multiple pad plugins are used
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@564 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 21:21:24 +00:00
Sonicadvance1 bb685d4fb4 Fix padsimple to work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@563 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 17:00:53 +00:00