Commit Graph

1374 Commits

Author SHA1 Message Date
hrydgard 75390c55bd GL plugin: VSync option, some renaming, a little bit of MSAA preparations (not there yet)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 23:11:13 +00:00
hrydgard 02a4b49df1 just some compiler warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2562 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 22:35:06 +00:00
Marcus Wanners c0cf641779 Linux compile fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2559 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 15:58:14 +00:00
Marcus Wanners 432ea89b49 Compiler Warnings: Mismatch edition. Also fixed some conversion warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2557 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 15:16:50 +00:00
Marcus Wanners 0b6bf51c9a Fixed a few compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2555 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 02:11:37 +00:00
nakeee 0708677b53 Added LOGLEVEL support, release will now defined LOGLEVEL 2 (errors and warnings)
LOGGING should not be affected. 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2550 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-04 22:29:03 +00:00
Shawn Hoffman f30410a9a1 fix for issue 679
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2529 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 21:34:18 +00:00
daco65 4cb7f2f490 lets retry that change from omega but this time keep the projection hacks >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 21:17:16 +00:00
nakeee cee711bd5e Missed one zero
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2525 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 20:30:04 +00:00
omegadox 56becf28db Revert 2521.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2524 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 19:38:38 +00:00
omegadox 17814912e5 Some cleanup, projection hacks remove, the projections might be correct now. ZTP Bloom works and MP1 Heat Visor works, I tested many games, and good results. Please test more and report back. Also added in fix for Issue 677.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 13:04:50 +00:00
nakeee d419d3fc29 More log cleanup. Commented the old macros in Log.h, uncomment it if there are any problems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 11:43:38 +00:00
nakeee 4e9746877e an attempt to clean up the logging a bit
1) The new ERROR, WARN, INFO, DEBUG _LOG macros were used 
	ERROR,   // Bad errors - that still don't deserve a PanicAlert.
	WARNING, // Something is suspicious.
	INFO,    // General information.
	DEBUG,   // Strictly for detailed debugging - might make things slow.
2) Made all LOG macro use into some of the logging level supporting macros
LOG is commented out on linux can someone try it on windows? (it's in Log.h)
3) Added ERROR_lOG next to each panic alert

I hope I helped making the logs a bit more useful/readble



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 01:49:16 +00:00
hrydgard 7607d6dc6a revert the mess i made in the d3d plugin. Add way to use HLSL directly without going through Cg. Not that the results look much better... i do see shadows of spinning cars in Burnout 2 after clicking around in the dark. Then it crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 12:07:34 +00:00
XTra.KrazzY fca8d04a11 Now most shaders are being compiled successfully. But nothing is seen on the screen :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2503 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 10:53:28 +00:00
hrydgard f597a66b8d Get 2501 closer to "working".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 10:53:23 +00:00
XTra.KrazzY 37d5360399 One step closer towards CgD3D to work. Now something is being compiled twice...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2501 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 10:38:04 +00:00
hyperiris f242fbdc42 DX9 32bit build fix...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2498 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 04:52:37 +00:00
XTra.KrazzY 0710bbb3a7 Comments for future reference (ector, please read this)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2496 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 01:50:26 +00:00
XTra.KrazzY d8ee333bd7 Some LLE comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2495 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 01:11:57 +00:00
XTra.KrazzY 3234bca193 Direct3D + Cg progress, the plugin is still not working due to some missing features.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2494 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 01:09:32 +00:00
donkopunchstania e004800e68 An alert is displayed once per run if pixel shaders or vertex shaders fail to compile. Resources are cleaned up if shader compilation fails. Tev coords are zeroed in the pixel shader if there are no tex gens.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2493 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 00:57:39 +00:00
nakeee 324abc9a7f fix compile on osx and linux
added  GetPluginDirectory (please check on windows)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:21:51 +00:00
XTra.KrazzY d5df9f638b Fixed D3D booting. Now for the VS/PS compilation errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:15:10 +00:00
Shawn Hoffman 1577dc6893 more build fixin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2487 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:02:46 +00:00
XTra.KrazzY 3ed65fce0d Fix debug build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 22:45:19 +00:00
hrydgard ecbfec2a13 THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2484 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 22:10:38 +00:00
hrydgard 437ebab1a7 Oops, accidentally committed something unfinished too. reverted.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 19:07:43 +00:00
hrydgard 1a2a320652 Increased render target size to the true EFB height of 528.
This changes fixes the bloom effect in Beyond Good and Evil.
It also makes the AutoScale feature almost mandatory since it looks silly without :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 19:02:37 +00:00
hrydgard 6dc4194767 OGL plugin: +Autoscale option (attempts to remove borders, even without XFB). Lots of cleanup, especially around aspect ratio and similar stuff. MP2 scanner still broken, wonder when that happened?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2470 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 16:33:59 +00:00
hrydgard 4bdb4aa0d1 Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.
Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 01:26:56 +00:00
fires.gc c76c477a6d restructured NAND application loading... it isn't complete but an improvement
i have changed the update of the IPC too... update for the command queues and update of the devices are split in two functions now


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 23:44:15 +00:00
XTra.KrazzY d37d71c1b8 Minor OSD on screenshot tinkle.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 11:45:07 +00:00
Shawn Hoffman 96019edfa1 debug build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 05:30:35 +00:00
XTra.KrazzY c19210b641 Working screenshots for everyone! This may not be the 'best' way to implement it but it's the most compatible, working and least mutually exclusive as possible (works with DC too). More coming soon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 03:56:34 +00:00
John Peterson 0f2a0750a2 nJoy: Moved nJoy.ini to the config dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 08:42:18 +00:00
John Peterson 0edeabc7cd Emulated Wiimote IR Pointer Ini File: Name change from Emulated to Default
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 00:50:36 +00:00
John Peterson ae81c01449 Emulated Wiimote: Moved the IR Pointer settings to a separate 'IR Pointer.ini' file. Also moved the 'WiimoteMovement.ini' file to the /User/Config dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2440 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 00:35:17 +00:00
John Peterson 4bcb9b5834 Emulated Wiimote IR pointer: Made it compatible with the new aspect ratio options in the OpenGL plugin. It will now load the same settings that the OpenGL plugin use. So if you change the settings there, you'll have to open the Wiimote configuration window so that the new settings are loaded for it to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 00:11:51 +00:00
John Peterson caa34ef305 OpenGL: Added crop option for the aspect ratio option, this way you can keep the aspect ratio in the full screen mode with a 5:4 or 16:10 screen, by sacrificing some visibility on the sides
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2429 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-25 05:54:36 +00:00
John Peterson e59869e63c OpenGL: Added the black border function to 16:9 to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2419 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 19:19:50 +00:00
John Peterson 354f1e5f44 OpenGL: Added keep 16:9 aspect ratio, if anyone is displeased with the stretching to 16:10, and would rather want a letterbox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2418 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 19:16:08 +00:00
John Peterson 1f0f0f4295 Emulated Wiimote: Fixed the Classic Controller left and right analog triggers, and the right stick
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 18:37:53 +00:00
omegadox 8c93e39ddd Linux build fixes and some warning cleanup for GCC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 05:20:52 +00:00
John Peterson 3d9b3ba117 Last Commit (Emulated Wiimote): Oops, a syntax error
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 04:55:30 +00:00
John Peterson d7a762f425 Emulated Wiimote: Linux build fix, I forgot to add the new variables in the Linux ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2403 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 04:47:20 +00:00
John Peterson b739dd3817 Emulated Wiimote: Added Classic Controller analog gamepad support, and added its keyboard configuration to the GUI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2400 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 02:40:17 +00:00
nakeee f23b24ae76 Fix config dialog on linux, please test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2399 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 21:38:06 +00:00
hrydgard 96827d9996 Introduce JitCommon folder to share things between the two jits.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2396 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 20:29:55 +00:00
hrydgard 3b7875bf3f just some minor cleanup (texdecoder, dsoundstream)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2394 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 19:47:58 +00:00
John Peterson 366e2ad276 OpenGL: Changed the end of line style for Render.cpp to. I had to change the whole document to CRLF line endings in Visual Studio.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 07:23:34 +00:00
John Peterson 69a35cc60a OpenGL: Added back end of line style for a file. I could not change it back for Render.cpp because it has "inconsistent newlines".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2387 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 07:14:49 +00:00
John Peterson 5ddb28a370 OpenGL Keep Aspect Ratio: Removed the remains of old pictures that are sometimes shown in the bottom black border, if you use this option. So now both the upper and lower border is black.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2386 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 07:12:18 +00:00
LPFaint99 473cd01181 UUpdate svn:eol-style=native ( r1438 ) for Source/*.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2385 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 06:17:57 +00:00
LPFaint99 578c402d2c Update svn:eol-style=native ( r1442 ) for Source/*.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2384 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 06:15:48 +00:00
nakeee cc3073b528 Fixed ogl config on linux, please when you change code, make sure you changed all the ifdef cases
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:57:56 +00:00
hrydgard 68f5cc1873 Attempt to workaround some stop hangs by using MsgWait instead of Wait. change order of dsp / video shutdown. some comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2379 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:49:42 +00:00
magumagu9 a32e29aaa5 Attempt at fixing Linux build. The OpenGL configuration dialog is
broken, though, so I'm not sure if this is quite right.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2378 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:04:31 +00:00
nakeee 9ec81d4bf0 linux compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2377 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:37:36 +00:00
John Peterson 927815bc9b Core Stop and Start: Added alternative separate thread timer/loop based waiting, instead of same thread loop waiting. You can try it with the SETUP_TIMER_WAITING option in Setup.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2375 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:16:12 +00:00
hrydgard 769160dfbd Fix crash clearing the texture cache on shutdown.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2374 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 20:21:56 +00:00
hrydgard aff0f1fbe3 Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:43:25 +00:00
John Peterson 2a94635523 OpenGL: Added option to build without WxWidgets in Windows to, if it has anything to do with the FreeLibrary() hanging. It doesn't seem to do, but now it's easier to compile without it at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2358 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 05:21:54 +00:00
John Peterson fc6a7c47d5 Core Stop and Start: Fixed stop and start again by avoiding FreeLibrary() of the OpenGL plugin, and avoiding a crash in its ShutDown() function. You need to use SETUP_FREE_PLUGIN_ON_BOOT to compile with this option that works on my system. Also, I noticed that I don't need the SETUP_AVOID_CHILD_WINDOW_RENDERING_HANG anymore, I can now delete the g_EmuThread without having it hanging in its waiting function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2356 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:24:53 +00:00
XTra.KrazzY 691be5eec4 naming conventions...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2354 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:49:50 +00:00
hrydgard ffa56ed61a fix off by one error in OSD
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2347 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:06:15 +00:00
omegadox 2b48640441 small cleanup in OGL/VideoCommon and small fix to ARCodeAddEdit by slink
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 23:56:10 +00:00
John Peterson b4b94fe594 OpenGL: Fixed the screen size adjustment by moving it to Render::Swap(), where the final version of the picture is placed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 20:59:30 +00:00
XTra.KrazzY ca47268669 Vertex Shading / Projection Matrix done right (D3D)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2343 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 17:17:24 +00:00
hrydgard 26f951d9d5 delete unused variables, rename some functions - minor stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2339 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:53:26 +00:00
hrydgard 3331a024c0 More cleanup in gl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:11:49 +00:00
hrydgard b211200460 Fix potential buffer overflow in OSD
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2336 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:56:43 +00:00
hrydgard fe0be64bd3 Move the message display thing out of Render.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2335 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:53:10 +00:00
hrydgard 731dec6889 delete some junk from gl's main.cpp. fix potential crash if number of resolutions > 100 (hey, it may help someone in 2050 or so when we have 1Mx1M displays)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2334 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:25:43 +00:00
omegadox 228652b070 Some cleanup in OGL plugin and VideoCommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2329 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 02:42:35 +00:00
hrydgard d3f7349692 pow is total overkill for x*x, introduce pow2 inline function to fix it.
fix a warning.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:17:26 +00:00
hrydgard 6cd34b318f The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(

Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
John Peterson f992dae50d OpenGL: It seems like there was a purpose with the separate glViewport() and glScissor() in PE_copy.clear after all. I'll disable the XFB supplement until it works with those functions to.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2320 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 16:50:38 +00:00
John Peterson af461eeb1e OpenGL: Enabled the Keep 4:3 Aspect Ratio option together with the new XFB supplement. I also noticed that there is a problem with the new changes halfway into the menus in Wii Sports (where the graphics almost disappears). I'll try to find what is causing that.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2319 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 15:52:17 +00:00
John Peterson cfcfef9b51 OpenGL:
1. Removed the custom screen size functions again (the ones I added in revision 2310). All games I tried are now full screen so it's probably not needed any more.

2. Disabled my XFB supplements when the real XFB is on, since they are supposed to supplement each other.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2318 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 13:35:43 +00:00
John Peterson e0593b1041 Emulated Wiimote: Fixed the Nunchuck calibration, for recording playback for example
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2317 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 13:14:23 +00:00
John Peterson 489816dce7 Emulated Wiimote: Updated the accelerometer recording to record the gravity forces in all directions instead of recording raw data, to bypass problem of different Wiimotes having different neutral values
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 09:57:17 +00:00
magumagu9 cefa910d92 Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:49:57 +00:00
John Peterson 59734ddc86 Emulated Wiimote: Added game specific Wiimote cursor configuration. The IR pointer settings will be saved for the ISO id of the ISO that is loaded. This is necessary because there is no common way of treating the IR pointer positions. The IR data use a virtual resolution of 1024 x 768, but there is no consistency of where such a point is on the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:13:22 +00:00
John Peterson a1cd6c982e OpenGL GUI: Disabled render to separate window options when we are not using that option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2312 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 11:28:55 +00:00
John Peterson bdd02fb1b6 OpenGL GUI: Made the resolution wxComboBox() read only, it's better if they don't accept custom values.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 10:29:53 +00:00
John Peterson 5746ed490c OpenGL: Trying a new function to fix glScissor() and glViewport() when bpmem.copyTexSrcWH is not 640x480. It's only enabled with g_Config.bStretchToFit and without g_Config.bKeepAR to test how it works. Hopefully I have not broken all other modes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2310 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 06:52:01 +00:00
donkopunchstania 14ab646978 fog is done in pixel shader but needs to factor x adjustment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2309 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 04:41:58 +00:00
John Peterson 8bffec52dc OpenGL: Forgot one change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2308 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 03:00:08 +00:00
John Peterson 14b6cadf46 OpenGL: Added option to adjust the screen size and position. I need this to calibrate the Wiimote.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2307 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-19 02:58:29 +00:00
John Peterson 0b1909aed0 Rerecording and nJoy: Copied the recording functions to nJoy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2305 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-18 23:26:16 +00:00
hrydgard e010ef25da Clean up access to PowerPC::state. Some warning fixes. Restore hold-tab-to-release-throttle on Windows. Fix some project settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2297 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:48:16 +00:00
tmator 73a6ae2592 finish to fix nowx, is it work on linux ?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:15:27 +00:00
tmator 7a03ffe210 try to fix nowx wiimote
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:06:40 +00:00
tmator b5c0efd5ac fix nowx njoy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2292 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:05:34 +00:00
John Peterson 7218a070e6 Emulated Wiimote: Fixed typo in last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2288 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 11:25:18 +00:00
John Peterson 12a869304c Emulated Wiimote: Fixed a bug that would make PadMapping[0].ID = -1, that would lead to a segmentation fault in Linux when we tried to access joyinfo[-1]
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2287 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 11:16:59 +00:00
XTra.KrazzY 2621cf6747 Added a comment about A8P8 and groundwork for DXT1 textures
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2283 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 23:01:37 +00:00
hrydgard 33ea7313ba remove unnecessary string alloc in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2280 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:50:33 +00:00
hrydgard a6c298abc7 fix silly oversight in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2279 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:40:39 +00:00
tmator cf8220dc9c fix osx build, and first step to get real wiimotes on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:12:00 +00:00
John Peterson a92444d3cc Emulated Wiimote: Added the pitch left and pitch right keyboard input to the GUI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2275 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 09:25:22 +00:00
John Peterson 9afd7fb620 Rerecording: Wind back the frame counter in the status bar when a save state is loaded. Issues: The frame updates do currently not occur as often as the input updates. The input updates occur more frequently, perhaps closer to 60 times per real seconds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 07:17:34 +00:00
John Peterson 718aa585e2 Rerecording: Added frame step function and status bar for the input recording. Turn on frame stepping with Ctrl, step with Space. Build the Rerecording version with the setting in Setup.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:18:18 +00:00
John Peterson 55b7e79d49 Emulated Wiimote: Collected all system specific keyboard input functions to one multi system function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 22:23:59 +00:00
omegadox 6f05e6f5ba small code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2269 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 21:01:07 +00:00
omegadox 7a276e687e Added more overlay stats options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2268 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 20:49:59 +00:00
John Peterson b53c30ad25 Emulated Wiimote and SimplePad: Build fixes for Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2264 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 19:25:23 +00:00
John Peterson 9041485a73 Emulated Wiimote: Forgot one variable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:57:43 +00:00
John Peterson ec7b83c688 Emulated Wiimote: Added default key settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2262 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:57:00 +00:00
John Peterson 47c7e9fe99 Emulated Wiimote GUI: Reorganized controls
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2261 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:44:29 +00:00
John Peterson a8e35e976a Emulated Wiimote: Added customizable controls for the Wiimote and the Nunchuck
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2259 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 18:23:42 +00:00
hrydgard 4f471ffeb6 color vertexloader: make read24 safer, speedup direct 8888 a tiny bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2253 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 13:08:21 +00:00
hrydgard 232e961b6f Sort vertex loader debug statistics by number of verts loaded - now easy to identify the heaviest vertex loader in games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 12:38:25 +00:00
omegadox 72cf7a5a42 Fixed LogicOp Blending and Dithering support enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2249 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 11:24:45 +00:00
omegadox 71d9832004 Linux compile fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2246 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 05:43:48 +00:00
John Peterson cf068ebb06 Emulated Wiimote: Forgot to check that we have a gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2245 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 02:26:30 +00:00
John Peterson 72112584de Emulated Wiimote: Forgot a few ifdefs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2244 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 02:06:07 +00:00
John Peterson 34dbb40ef5 Emulated Wiimote: Added option to use analog controls for the Nunchuck stick
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2243 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 02:01:43 +00:00
John Peterson ae9bb905bf Emulated Wiimote: Fixed the concurrent playback of Wiimote and Nunchuck movements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2242 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 19:36:25 +00:00
John Peterson 7c638f3a51 Emulated Wiimote: Added option to use Analog 2 for roll and pitch. Now you can use the regular controls on Analog 1 and roll and pitch on Analog 2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2240 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 13:03:21 +00:00
XTra.KrazzY efa5fe5eb7 New compact texture type for OGL/D3D: IA4. Thanks for the IA4->IA8 unpacker hyperiris! Too bad that D3D supports IA4 natively while OGL is a bit buggy (treats LUM4_ALPHA4 as LUM8_ALPHA8).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 09:04:40 +00:00
John Peterson 79947e5d29 Emulated Wiimote: Added dead zone option for the gamepad input
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2237 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:15:35 +00:00
John Peterson 94583cbab0 DSP HLE: Fixed a sound problem with a new Setup.h option. For some reason all the SoundSyncEvent->Set() caused a lot of static for me in Wario Land.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2236 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:07:20 +00:00
XTra.KrazzY acb3d1b23d New compact texture type for OGL/D3D: IA8
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-13 14:14:45 +00:00
XTra.KrazzY e557e090dd New compact texture type for OGL/D3D: RGB565
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 22:32:33 +00:00
John Peterson 57c4620902 Emulated Wiimote: Fixed the upside down mode for roll and pitch, 360° roll and pitch is now emulated by an analog gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 16:43:35 +00:00
XTra.KrazzY d2d097fba5 Committing magumagu9's work on texture decoding transferral to OGL, I added DX9 support. Speed seems to have increased but I'm not sure. See issue 581 for more info.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:54:08 +00:00
John Peterson eb1c6163f7 Emulated Wiimote: Enabled the roll and pitch function again (I had accidently disabled it in the last commit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2220 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 10:49:38 +00:00
John Peterson b932a53b68 Emulated Wiimote: Fixed the angles to x, y, z values conversion. There's just one thing left to fix before the combined roll and pitch works, when roll is more than 90 pitch has to be changed from for example 15 to -165 or something like that. Until I figure that out you can use the emulated roll and pitch separately by setting the range of either one of them to zero.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2219 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 08:46:48 +00:00
John Peterson 9651a30c1b Wiimote: Disabled the combined pitch and roll option that was not ready yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2217 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:47:50 +00:00
John Peterson 0681f76a1d Last commit: Forgot one change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2216 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:31:43 +00:00
John Peterson 68f39cb287 nJoy:
1. Circumvent the IDirectInputDevice2::SetDataFormat() error when opening the configuration window to.

2. Fixed the Allow out of focus input option again

3. Allow changing of the mapped pads while a game is running

4. Prevented crashes or problems from any combination of having the configuration window open when a game is started or stopped

5. Fixed a crash that would occur after nJoy was started with a connected pad, then stopped, and all pads disconnected, then started again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:30:02 +00:00
John Peterson 5ba51ed789 Wiimote: Fixed crash that would occur if no gamepad was detected
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2211 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 20:20:52 +00:00
John Peterson c1214d2026 Wiimote: Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2210 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 18:46:39 +00:00
John Peterson 88d41e3ff4 Wiimote: Non-windows compilation fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2209 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 18:36:37 +00:00
John Peterson 516a14150a Wiimote: Improved the emulated Wiimote, added gamepad controls for analog tilting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2207 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:25:08 +00:00
nakeee 4d57101e29 Fix crazy svn changing trunk on last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2206 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 14:02:01 +00:00
nakeee 3e9b3b266a [Soap] Roll back inputcommon changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 12:40:06 +00:00
John Peterson 6daae62df3 nJoy: Fixed settings when multiple pads are connected
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2195 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 01:25:42 +00:00
John Peterson c18613a580 nJoy: Fixed the Hat / Custom D-Pad setting in the save by slot mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 00:41:43 +00:00
John Peterson 3d70ea1bcb PadSimple: Removed double definition of __Log()
Core: Readded FreeVideo and FreeDSP for _WIN32. As I have explained thoroughly these are needed in Windows.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2192 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:20:28 +00:00
John Peterson 72424eeadc PadSimple: Added rerecording option in that the input saving counter it saved with the save state and rewinded when a saved state is loaded
Core: Tried to a address a semi-frequent hanging that would occur in single core mode and render to main frame

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:12:15 +00:00
nakeee ec71298b06 Fixed another unresolved symbol
removed freevideo/freedsp


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:47:02 +00:00
nakeee 4200f69c5a fix unresolved symbols
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2188 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:19:35 +00:00
John Peterson 2331356bf5 nJoy: Build fix, commented away SDL_GetVersion()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2187 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:06:17 +00:00
John Peterson b59d023cbf Wiimote: Build fix, forgot to recomment a logging function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2186 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:01:02 +00:00
hrydgard d209d4a577 Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should give very minor speed boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:35:30 +00:00
John Peterson 5edef94753 SimplePad: Added input recording options to the GUI, now we just need to get rerecording to work to, perhaps one can rewind the input counter when a state is loaded? So the input counter is saved in the savestate for the pad.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:06:27 +00:00
XTra.KrazzY 09c8368180 Fixed NullSound hanging on movies. Compared to DSound, it's now slower on movies but faster in menus
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 19:50:06 +00:00
daco65 2ff2852771 Njoy: added an option to choose what kind of analog filtering you want. it should be changeable when you choose to view advanced settings. this solved my analog/digital config problems i had and it *should* still work for those who had np with Jpeterson's change. i was told the wiimote had the same problem (makes sense) but im not sure if alot of ppl had that problem with their controllers so i have kept it as an ini changeable option only (set AdvancedMapFilter to True to use the same filtering as Njoy 0.3 does with AdvancedMapFilter enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 18:43:03 +00:00
John Peterson 1fbebb4ce1 Wiimote: Configure gamepad in Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 13:10:29 +00:00
daco65 bb4cec5b45 this is just temp until i can talk to JP why added the 6000 in the first place. doesn't make sense to me
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2170 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 01:40:25 +00:00
donkopunchstania f5f99e8f04 clip space coordinates are now available in fragment shader because depth needs to be computed there instead of the vertex shader. computing it in the vertex shader causes incorrect results sometimes. worked on z textures but 8 bit z texture still is not correct because it breaks SSBM. RE0 now looks ok.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2163 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 22:08:20 +00:00
daco65 128313cdea fixed the analogue config bug ( at least for me o.o )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2157 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 19:23:25 +00:00
XTra.KrazzY a85f92c8d1 Unnecessary PanicAlert removal
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2156 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 19:20:49 +00:00
XTra.KrazzY c8526c7be1 1. Fixed RTC in both Wii and GC (added Wii epoch bias, notify me if it isn't good for your PC and I'll revert it).
2. Added some Zelda UCode HLE Documentation and changed the way it handles mail, also fixed a bug there.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2155 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 19:17:51 +00:00
Shawn Hoffman c3dbbb1f23 Mic device WIP. define USE_PORTAUDIO and link with portaudio to test it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2153 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 18:25:25 +00:00
John Peterson 2757dbe2a8 InputCommon and Wiimote: Detect pads in the Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2151 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 15:39:28 +00:00
John Peterson 94d8eb5d4e InputCommon and nJoy: Moved more functions to InputCommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2150 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 15:05:03 +00:00
John Peterson c6b4f5c819 InputCommon and nJoy: Moved functions to InputCommon, to be shared with the Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2147 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 14:34:23 +00:00
hrydgard 5822e284f3 Add Release_JITIL configuration to use magumagu's JIT instead under windows (currently 32-bit only) (this is intended to be temporary). Add comment about crashes with JITIL in Burnout2 and Animal Crossing. Some warning disables and cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:09:58 +00:00
John Peterson 5045119da3 Wiimote: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 12:31:07 +00:00
John Peterson ca0e807db6 Wiimote: Fixed the speaker status bar status, the status is [Green] [Blue] [Green] that means [On/Off] [Muted/Unmuted] [Activity]
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 12:27:04 +00:00
John Peterson e926bc61d1 Wiimote: Added logging messages for the speaker configuration and for the 0x18 sound reports, the speaker currently produce a low humming noise in the wpad tools demo, but no real sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:15:55 +00:00
nakeee adde9b778b compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 19:17:20 +00:00
John Peterson 60e89dfc6f nJoy: Fixed bug that would cause the settings to be lost when nJoy was started without any detected gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2131 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 05:57:28 +00:00
John Peterson 382b4af74b Wiimote: Fixed the dual mode bug I mentioned in the last commit, now the Nunchuck should not get stuck when switching between the real and emulated Nunchuck. The only important problem left is disconnect problem that occurs about one in five times you switch to the real wiimote.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2130 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 04:19:52 +00:00
John Peterson fcdd2a8e17 Wiimote:
1. Fixed the dual mode. You should now be able to change between the real and emulated Wiimote at any time, even when the Nunchuck is connected. It also supports third party Wireless Nunchucks that never sends any calibration values. The Nunchuck status should be automatically updated. The Nunchuck stick may get stuck, but that should fix itself if you disconnect and reconnect again. The only important problems seems to be that the real Wiimote fails to answer sometimes so that the Core functions disconnect it.

2. Began looking at how to reconnect the Wiimote after an unwanted HCI disconnect command

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 03:16:41 +00:00
hrydgard 81631d8452 Nothing important, just cleaning my dev folder. (mostly formatting changes, removed a superfluous strlen from logging in ogl plugin)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:04:24 +00:00
John Peterson 5df69d0384 Wiimote Configuration: Changed the height of the configuration window to 748 pixels, that should give enough room for it inside a 768 pixels screen height.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2123 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 07:09:21 +00:00
John Peterson 6f39549842 Wiimote: Changed a %s to a %u that could cause a crash in WII_IPC_HLE_WiiMote.cpp. Made the configuration window center only if there is room for it, that should fix issue 557.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2122 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 07:03:09 +00:00
John Peterson 79f56c9e97 Wiimote: Added GUI controls for gamepad input, not connected yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2121 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 06:15:59 +00:00
magumagu9 90c9810b85 Use glMultiDrawArrays instead of glDrawArrays, which significantly
reduces the number of OpenGL calls for large sets of triangle strips; 
this is something like a 10% perf improvement in the case I'm looking 
at.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 03:41:33 +00:00
XTra.KrazzY 7cc80c32f9 Fixed Wiimote config window closing (Don't use EndModal if you aren't using ShowModal)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2117 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 05:44:16 +00:00
John Peterson 3d73d781ec Wiimote: Reset variables on Shutdown(). I think this makes DoesChannelExist(scid) in the Core to return false.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2116 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 00:13:38 +00:00
John Peterson c9c95534c8 Wiimote: Added timeout for Eeprom data reading, it should fail very rarely, but if it would we now stop waiting for it after two seconds. If it fails it will break the functionality of the real wiimote because g_WiiMotes[i]->ReadData() will not be called by ReadWiimote_ThreadFunc() while we are waiting for it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2115 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 00:02:54 +00:00
nakeee a0724e8321 scons fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2114 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 18:00:38 +00:00
Shawn Hoffman 0a81e741c5 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2113 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:48:40 +00:00
nakeee 7bb2aee235 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2112 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:46:22 +00:00
Shawn Hoffman 7b7cfa940e remove stuff from ogl debugger that did nothing. (copied from dsp hle a while ago)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:33:59 +00:00
XTra.KrazzY 77215fd27c Joined work of nakee and mine, cleanup the logging code a bit.
This solves the random __Log symbol and crash problem on linux
Please tell us if you find problems in the logging code


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 15:28:39 +00:00
John Peterson c43d8e9dcd Wiimote: Added new gamepad controller options to the GUI, they are not connected yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2108 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 13:35:28 +00:00
XTra.KrazzY 48a3c6eeb4 Reverted r2096 and added new case.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2105 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 07:40:37 +00:00
John Peterson cf303e70e9 Wiimote: Show the decrypted Nunchuck calibration values in the log when a real Wiimote and Nunchuck is used. Fixed an earlier bug that made the neutral emulated nunchuck accelerometer values zero, now they are back to 0x80,0x80,0xb3.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2104 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 06:40:05 +00:00
magumagu9 4307803090 A bit more _MSC_VER cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2100 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 01:55:24 +00:00
John Peterson ec39c45dd5 Wiimote: Added decryption function, it could be useful for debugging real Wiimote extensions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2099 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 00:06:11 +00:00
nakeee c10d69fe07 more MSC_VER
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2098 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 23:25:30 +00:00
nakeee 25b7942de2 real Wiimote connects on linux (thanks sonic1!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2097 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 23:05:31 +00:00
XTra.KrazzY c1d47f1c29 Got rid of the Wii UCode special CRC case handling. Tell me if it bothers any of you for any possible reason
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2096 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:58:01 +00:00
nakeee 9981670e37 removed more MSV_VER
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2095 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:46:18 +00:00
nakeee a1b7a91348 I mean * honestly :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2094 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:09:13 +00:00
nakeee bde4241e9e fixed underrun buffer in hle on linux
made wiimote compile on linux again


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2093 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:06:18 +00:00
John Peterson 4660943322 Wiimote: Added option to record adjusted wiimote accelerometer values
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2089 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 11:45:59 +00:00
John Peterson 2b8d2134e5 nJoy: Slight oversight in last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2088 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 10:25:45 +00:00
John Peterson fcb951c0c9 nJoy: Made the out of focus option only apply to gamepad input. As I understand it it's primarily used to allow keyboard input at the same time as Dolphin is used. Then it would probably be annoying to send the keyboard input to Dolphin while you are typing. Keyboard inputs was also the main idea with the out of focus option, I think that it's not as important for gamepad input as you are less likely to use the gamepad in two different programs simultaneously.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2087 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 10:17:01 +00:00
John Peterson 1ead45ca04 Wiimote: Fixed slight oversight in the last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2086 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 09:39:35 +00:00
John Peterson 5972f886ab Wiimote: Fixed the hanging for real. Any call to a function in the wxDialog frame class while the main thread is in a WaitForSingleObject() loop or any other loop will hang the g_pReadThread execution until sometime after that loop has ended. So we must wait for pReadThread to stop from the wxDialog with a timer, we can not use any loop in the main thread to wait for it to stop.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2083 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 07:43:52 +00:00
LPFaint99 f999ae94df Make checking for focus optional for njoy input.
So if one wants, on one monitor play Dolphin, and on the other use the keyboard for something else

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2082 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 06:21:22 +00:00
John Peterson d6c0d5b977 Wiimote: Fixed semi-frequent hanging that would occur when closing the configuration window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2080 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 04:03:56 +00:00
John Peterson 4f4469545e Wiimote: Made the GUI slightly more user friendly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2079 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 03:47:13 +00:00
John Peterson 220eafad0e Wiimote: The first working IR recording, use Alt + the numerical HotKey to play back the IR data associated with a recording
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2078 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 00:59:26 +00:00
nakeee d7a38393b7 some linux stop issue fix (still not working right) please check on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2076 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:31:31 +00:00
XTra.KrazzY ae2fa6e35c Some changes to the UCode abstract factory in HLE DSP. Added Pikmin Wii to the CRC list as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2070 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 20:05:24 +00:00
John Peterson eb91942fd6 nJoy: Fixed bugs in settings saving and loading
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2069 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 03:16:59 +00:00
John Peterson 2199b15ca6 nJoy: Updated IsFocus() to allow config window input to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2068 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 20:45:27 +00:00
John Peterson 2620257f47 nJoy: Fixed the digital L and R buttons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2066 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 20:19:21 +00:00
John Peterson 4b21fa46d5 PadSimple and Wiimote: Changed return false to return true for the ifdef option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2063 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 16:32:31 +00:00
John Peterson 8c9d07b26b nJoy: Don't allow input when Dolphin is not in focus (supports both the
rendering to main window and render to separate window options)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2062 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 16:29:35 +00:00
John Peterson ad995a68ea PadSimple and Wiimote: Change to last commit, changed the ifdef since IsFocus() was already in an ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2061 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:58:33 +00:00
John Peterson 9f20ee78f9 PadSimple: Forgot #ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2060 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:55:00 +00:00
John Peterson 46151a9369 PadSimple: Removed the todo comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2059 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:50:59 +00:00
John Peterson 4837dac8b6 PadSimple: Don't allow input when Dolphin is not in focus supports the rendering to main window option to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2058 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:48:52 +00:00
John Peterson d352372ccf Wiimote: Don't allow input when Dolphin is not in focus (supports both the rendering to main window and render to separate window options)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2057 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 15:40:13 +00:00
John Peterson e9036455d6 Wiimote: Fixed the shared eeprom settings, now the first 42 bytes are shared in dual mode. I'm only copying the data from the Wiimote. I'm not changing anything on the Wiimote eeprom.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2056 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:58:44 +00:00
John Peterson 888465868d Wiimote: Fixed the switching between real and emulated wiimote, the reporting mode is now shared in real/emu dual mode, the accelerator neutral values are shared, the extension is somewhat shared but still doesn't support unplugging and reinserting the extension during gameplay in dual mode. Improved debugging, fixed a bug in movement recording, fixed a bug in report 0x21 eeprom reading so that the game reads the accelerator neutral values from it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2048 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 13:01:50 +00:00
nakeee ae84837320 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 20:31:19 +00:00
hrydgard cdb8e2009d temporarily disable vtx fmt jit in 64-bit mode until i can figure out why it crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2044 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:48:31 +00:00
Shawn Hoffman 24fc93cce4 fix for win64 + OpenGL crashes?!?! dumb plugin loading order... Also enable debug symbols on ogl debugfast build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2043 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:39:14 +00:00
John Peterson 6c7e674e69 Emulated Wiimote: Don't report IR positions outside the screen (leave them at 0xff), don't report A and B button mouse clicks when the cursor is outside the screen
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2042 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 01:18:57 +00:00
XTra.KrazzY 31cd8ed9d2 tiny fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 17:45:02 +00:00
XTra.KrazzY dd6fe4889d build fix for those non-WIP OGL people out there
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2040 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 07:35:47 +00:00
Shawn Hoffman d0c2917b7a Update vcproj so the non-GLWindow version of OGL can continue compiling, since we're not ready to switch to GLWindow yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2039 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:51:10 +00:00
XTra.KrazzY cd658ac755 More WIP OGL EventHandler work by shuffle2 and myself. Wiimote isn't implemented yet and OGL window is too small (should take window borders into account when creating window).
Not committing VideoOGL.vcproj so that project compiles with old OGL video window. In order to test just replace main.cpp/GLUtil.cpp/GLUtil.h with nmain.cpp/nGLUtil.cpp/nGLUtil.h in the project.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:35:31 +00:00
John Peterson d3677a0247 Wiimote: Fixed a few non-Windows compile problems, could not fix all
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2037 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 13:52:27 +00:00
nakeee a7025c1591 testgl=1 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2036 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 11:12:53 +00:00
John Peterson f813454d76 Wiimote: Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2034 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 08:51:23 +00:00
John Peterson a35579c40b Wiimote:
1. First test version of movement recording (play back recordings with Shift + 0-9 or Ctrl + 0-9)

2. Really fixed the problem that the Wiimote get stuck on rumble when a game is stopped (sorry about that)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2033 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 08:35:29 +00:00
XTra.KrazzY a15911fd81 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2031 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 07:37:11 +00:00
XTra.KrazzY b89b51c059 fix for godisgovernment's fix (r2028) (don't upload files you didn't create by guessing, but you were close :) )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2030 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 06:53:31 +00:00
Shawn Hoffman a5e0bdb1ed fix for last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 01:53:07 +00:00
nakeee 7219bcd4d5 This is a joined work of XK and me on improving the HLE plugin interface.
It allows run time selection of backends (AOSound, DSound and NullSound).
It replaces the DSP_NULL plugin (works even better!)
It also includes improved thread handling on asound, and using some common functions on both
asound and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2027 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 00:57:55 +00:00
Shawn Hoffman 121be22532 buildfix and some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2026 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:51:05 +00:00
John Peterson 30523b570c Wiimote: Avoid the possibility of causing a constant rumble when a game is closed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2025 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:28:34 +00:00
John Peterson 2f0993bb6e Wiimote: Another one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2024 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:18:47 +00:00
John Peterson 41b8bb0d25 Wiimote: Change to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2023 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:17:01 +00:00
John Peterson 8d08faee2c Wiimote: Small change to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2022 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:14:51 +00:00
John Peterson 946fb12752 Wiimote: Partial work on movement recording (not working yet)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:09:08 +00:00
memberTwo.mb2 ac80c04eab XFB in SC reverted back to its previous behavior (thx donko). But still hacked in DC (still a FIXME).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2019 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-27 20:59:27 +00:00
nakeee 52deb12599 updated dsp null some clean up as well.
Please test on windows


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2018 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 16:58:01 +00:00
nakeee 356db07cbf fixed compile,
fixed crash,
added panicalert`


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 16:27:01 +00:00
John Peterson bc6bbafb95 Wiimote: Added status bars for the real Wiimote to the configuration menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2016 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 14:13:27 +00:00
nakeee 3997602e5a case fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2015 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 11:36:25 +00:00
John Peterson 5ba7952988 Wiimote: Fixed Issue 517
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2014 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 07:29:04 +00:00
John Peterson b0736a1508 Wiimote: Fixed the switch during gameplay option. The only issue left seems to be that the real wiimote sometimes doesn't get the correct reporting mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2013 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 07:01:43 +00:00
John Peterson 3c4a73d5a6 Core and PluginManager: Fixed Stop and Start again, the video plugin needed to be completely reset
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 01:14:04 +00:00
John Peterson 8eeb1d0202 Wiimote: Switch between emulated and real Wiimote during gameplay.
Notice: It's currently not very user friendly and can crash or fail under some circumstances. I'll make it better momentarily. You currently have to first open the Wiimote config window and the start a game to be able to use switch back and forth after that.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2011 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-25 23:07:15 +00:00
John Peterson c9ca6ef55a nJoy: Fixed a bug that would sometimes cause settings to not be saved correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2010 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-25 18:20:16 +00:00
XTra.KrazzY ac2fd1b17e compile fix, thanks shuffle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2009 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-25 18:07:26 +00:00
XTra.KrazzY 792edb787f Damn these unversioned files :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2007 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:54:43 +00:00
XTra.KrazzY beaf8138f2 DSP NULL now works with Wii games.
Something seriously needs to be done about DSP NULL, so many lines of computation are absolutely redundant over there, since the plugin does practically nothing.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2006 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:53:25 +00:00
nakeee 2e92b94e4a Compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2005 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:24:44 +00:00
John Peterson 0db67cf51c nJoy: Small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2004 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:17:51 +00:00
John Peterson a3c383ad4a nJoy: Made it tolerate a bad device (the Wiimote DirectInput device for example)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2003 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:13:53 +00:00
memberTwo.mb2 2a13bedfc8 break my BOOLs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:02:27 +00:00
memberTwo.mb2 1e7655b5db 1) XFB in DC proposal. This impact video plugin interface. WARNING: XFB_Draw is not CPU->VI dependent anymore. It's up to GP now. Except for some 2D homebrews which never use GPfifo&CP but direcly XFB. Well, in other words: emulated VSync is uncorrelated with CPU timings now. Tell me if it's too much hacky.
2) DC/GPfifo work: GP quicker to react. PeekMessages at a more steady rate.
3) Fix XFB address to avoid crash like with Animal Crossing gc. TODO: VI regs need proper typedef and logic.
4) Few misc. changes on the fly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 14:43:17 +00:00
John Peterson fa7e857161 nJoy: Readded some fixes to nJoy (Notice: these changes have nothing to do with the argument earlier. These are only for fixing nJoy (point one and three in the 1991 revision)). Now opening the Wiimote plugin doesn't crash either (it was just a typo in GetWiimote()).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2000 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 12:09:30 +00:00
omegadox fb3e523401 some more warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 01:50:23 +00:00
omegadox 8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
hrydgard 70bc8167f8 Warp back to 1983!!! (rev 1983, that is, not the year :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 21:28:55 +00:00
John Peterson 7ecf884f9a nJoy: Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1996 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 16:50:07 +00:00
John Peterson f15c53eba7 nJoy: Compile fix (missing #endif)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1995 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 16:48:04 +00:00
John Peterson 361aed6811 nJoy: Added #ifdef INPUTCOMMON
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1994 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 13:31:00 +00:00
John Peterson 63ad74f9e8 nJoy and PluginManager:
1. Avoided LoadLibrary() and FreeLibrary() in favor of using an existing LoadLibrary() because of an unresolved crash related to LoadLibrary() and nJoy. After several times of LoadLibrary() and FreeLibrary() of nJoy these seems to be some kind of memory corruption that brings up several error boxes from different places (not just nJoy) and then cause a crash.

2. Slowed down the moving of the pad initialization to InputCommon. I'm not against InputCommon at all, but I have to spend some more time with it before it works on Windows

3. Partly fixed a somewhat frequent failure of nJoy with SDL 1.3 that would give a strange DirectInput error message and cause the pads to not function. It's still present before the nJoy config windows is opened. It's only fixed on booting a game.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1991 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 10:00:59 +00:00
daco65 d450e054a4 wrong project file >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1990 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:48:13 +00:00
daco65 60de218281 changed the project files. building in windows is still broken (trowing sdl.h not found in inputmanager.h when building core?!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1989 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:42:33 +00:00
nakeee 8a87001778 forgot include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1986 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 00:15:57 +00:00
nakeee cb9baf6d07 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1985 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 23:33:11 +00:00
nakeee 87bfe821eb Added input manager handles the sdl init/quit for now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 22:32:57 +00:00
magumagu9 57c5f00337 Sleep for 1ms instead of zero time; the busy-sleep loop pollutes
profiles.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1983 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 20:05:59 +00:00
John Peterson e4c96ece51 nJoy: Non-windows build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1982 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 19:53:16 +00:00
John Peterson e332e18ce6 nJoy and SerialInterface: Fixed the crashes with MAXPADS more than 1, the downside is that it doesn't work well one the second boot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 11:18:46 +00:00
John Peterson bb06dfb823 nJoy and SerialInterface: Fixed the nJoy crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1978 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 00:31:12 +00:00
John Peterson 7f9dc55fbc nJoy: Improvements to the configuration, the SaveById option should now be simpler and better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1977 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 18:09:31 +00:00
nakeee a3b9c39fbf some win32 template so shuffle can implement the win32 side
the code in the .cpp was taken from SMFL source


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1966 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 23:09:24 +00:00
tmator 8f2d1136a7 fix njoy build for non win32 os, and small osx64 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1965 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 20:21:05 +00:00
hrydgard 1dcd036b9e Stop the audio mixing when stepping in the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 18:42:01 +00:00
John Peterson 140ba01794 nJoy: Fixed configuration bug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1957 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 14:41:58 +00:00
John Peterson 85a53457de nJoy: Forgot the header file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1956 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 14:32:15 +00:00
John Peterson 1386ad69ff nJoy: Comment change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1955 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 14:28:45 +00:00
John Peterson 4f0298df1b nJoy: Added ifdefs for the XInput files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1954 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 14:26:56 +00:00
John Peterson a10c603255 nJoy: Fixed the 360 pad triggers with XInput, now they are separate triggers that work just like they should
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1953 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 14:25:33 +00:00
nakeee 8c997e90d9 Empty kills the string:(
Using IsEmpty()


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1951 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 11:58:31 +00:00
nakeee 68cfd3618e opss
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1950 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 11:53:15 +00:00
nakeee 6730645dd8 Small compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1949 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 11:44:32 +00:00
John Peterson 0c9a1a9595 nJoy: The triggers were inversed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1948 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 11:11:02 +00:00
nakeee af89d9e511 and today we'll learn about why not to cast pointer to int....
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1947 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 10:41:05 +00:00
John Peterson 969f34bbd0 nJoy: Escape key stops waiting for input when configuring the pad, changed the display of a disabled button from -1 to ""
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1946 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 10:37:48 +00:00
John Peterson 6f4cbb89f9 nJoy: Configuration bugfixes, and show the digital shoulder button status in the advanced settings to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1945 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 06:38:29 +00:00
John Peterson 00bca8d807 nJoy: Fixed the analog shoulder buttons for the XBox 360 pad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1944 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 05:28:30 +00:00
John Peterson bede48c6b1 nJoy: Fix halfpress button configuration
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1943 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 23:17:29 +00:00
Shawn Hoffman 05a5333c80 fix build and change /EHsc to /EHa. jakestine (pcsx2-playground) says it is the Right Thing To Do.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1942 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 23:01:17 +00:00
nakeee 0b267948cc fixed padsimple event some glwindow cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1940 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:39:53 +00:00
John Peterson c53797dc5b OpenGL config: Added tooltips
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1939 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:18:43 +00:00
John Peterson c2c6e2bd47 nJoy: Fixed some misplaced values
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1935 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 18:09:03 +00:00
John Peterson 8f40075f8f nJoy: Fixed the analog trigger buttons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1934 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 17:47:00 +00:00
hrydgard e49e301411 Disable "warnings as errors" in Plugin_nJoy_SDL_Test.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1932 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 16:04:25 +00:00
John Peterson 4a88f31ddb nJoy: Preparation for fixing the digital pad and the analog triggers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1928 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 05:49:25 +00:00
donkopunchstania 4930a6d6cb Destination alpha works in OGL. Fixed reading XFB address from VI regs and removed a check to fix games which keep the XFB some place other than mem 1.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 19:03:14 +00:00
Shawn Hoffman 426d868adc how many fixes is this now?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1910 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 00:17:42 +00:00
John Peterson f8fdb23811 Recent commit: Reenabled logging in DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1909 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 00:13:26 +00:00
John Peterson 4ccc5dd7b2 Recent commit: Missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1908 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 00:09:17 +00:00
daco65 5c0fe68dc0 made stf(stretch to fit) enabled by default. in windows stf works fine but in linux it doesn't. please report anything that could help cause the plan is to remove this option and always do stf
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1907 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 00:02:31 +00:00
nakeee 4433e06447 Move Config.cpp to Core renamed it to ConfigManager
Todo: Use it from core.cpp instead of the params


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1905 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 23:41:21 +00:00
Shawn Hoffman 9cb25d6ba2 get WTL out of dsp_hle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1902 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 21:42:43 +00:00
magumagu9 fb51d14491 A couple more compile fixes to account for the fact that the commit of
r1887 is *still* imcomplete.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1899 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 20:36:23 +00:00
magumagu9 0099b5c957 Misc Linux build fixes in the wake of r1887; still doesn't work right
because Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Logging.cpp appears 
to be missing, and I haven't looked at the fallout of r1884 yet.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 19:59:20 +00:00
John Peterson 231eb8682a Recent commit: Missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1894 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 17:51:59 +00:00
memberTwo.mb2 8ff64a12ea fix XFB enabled at boot. Should save some click for homebrew.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1893 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 16:16:47 +00:00
John Peterson 4eb4480b43 Last commit: Missing files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1890 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:41:20 +00:00
John Peterson 389fef2e30 Last commit: Missing files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1889 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:36:32 +00:00
John Peterson 709adce8f6 Last commit: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1888 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:34:40 +00:00
John Peterson ae9cfbd8e3 Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
memberTwo.mb2 7f9ce70b33 Fix a bit texture cache WIP for copyEFBToRam at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 13:31:17 +00:00
memberTwo.mb2 acc062a2c1 More work on texture cache. Texture address is most of the time the cacheEntry index (as it was before r1871) to help CopyRenderTargetToTexture (fix it still a TODO). But not when texture format is tlut dependent to fix MP1 perf issue.
Fix tlut overrun.
Change TexDecoder_GetSafeTextureHash to fix Pokemon Colosseum and improve speed (we may need to tweak hardcoded value there -> TOTEST).
Few notes too and I let my debug stuff for a while.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 16:28:33 +00:00
LPFaint99 7afc53c3a1 Revert r1861
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 02:58:34 +00:00
magumagu9 9df221dd73 A few tweaks to fix issues I've been having with Tales of Symphonia in
safe texture mode. One, don't hash the palette when it doesn't matter;
including it completely kills performance in the map mode, and I'm 
pretty sure it's because the palette points to essentially random 
memory.  Two, include the address in the hash seed; this helps with an 
issue related to the EFB and the main menu.  Hopefully, these changes 
together don't cause any regressions.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 17:23:05 +00:00
nakeee 5d230ee9ab compile fix
(event handler works on linux with gltest and padsimpleenv)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1877 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 11:46:09 +00:00
Shawn Hoffman ba8c2aa7e4 nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
magumagu9 4a325d466d Attempt to refix the issue solved by r1872 without the performance
impact on the safe texture cache.  This is kind of messy, but it seems 
to work.

(I have a feeling there's something strange going on, but I'm not sure 
how to go about investigating it.)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 05:24:47 +00:00
magumagu9 27fb636451 Flip the hashtable accesses back to always indexing based on the
address; there's no particular benefit to indexing based on the hash, 
and doing so breaks copy EFB to texture mode.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1872 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 03:28:57 +00:00
memberTwo.mb2 e8edc685ba 1) fix texture caching issue (ie. MP1 "Main menu" fps drop).
2) "fix" Pokemon Coloseum font issue in SafeTextureCache mode. We should kill the unsafe one. TODO: get why it works :p
3) readjust FAKE_GP_WATCHDOG_PERIOD for omega's ZTP to boot in DC.
Too late to split, sorry.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1871 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 23:55:55 +00:00
Shawn Hoffman 1ba2708bbd put the handy items on the first page of ConfigMain. Fix for plugins not loading on first boot. We should figure out how to get a pointer to the main app (see OGL main.cpp line 118)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 16:36:43 +00:00
LPFaint99 14984a916d Remove dependency of ATLMFC from direct 3d9 plugin and main dolphin app, dependency still exists in DSP_HLE and DSP_LLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1864 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 05:07:53 +00:00
omegadox ebb23a74fe Some organization of the OGL plugin Config window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1863 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 20:50:51 +00:00
tmator 6da0386bd6 now we can play with keyboard on osx, enjoy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1862 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 14:30:05 +00:00
LPFaint99 f1a3bc1397 Move #include <window.h> from all files that include it and common.h to common.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 04:23:26 +00:00
tmator 2d586139bc cocoa event wip, i'm tired i'll continue tomorrow
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1860 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 00:34:36 +00:00
tmator a255ea66cf first step to get cocoa events
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 20:52:45 +00:00
omegadox d9511addf3 some small changes to OGL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1856 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 15:00:00 +00:00
omegadox ff5a8e7757 Updated scons for OGL Plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1855 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-12 08:23:09 +00:00
donkopunchstania d6e8c1f5d0 added an option to copy textures from the EFB to system memory. this is slower but shouldn't cause the compatibility issues the previous method of copying them directly to a GL texture has. the new method can be tested by disabling "copy EFB to texture" in the hacks section. the new method still needs some tweaks.
fixed some off-by-one errors in the EFB to texture copy and the scissor box. also fixed a couple asserts I was getting in the volume directory stuff.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 22:25:57 +00:00
XTra.KrazzY 8768d875d4 NOWX compilation fixes for debug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1851 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 13:37:13 +00:00
XTra.KrazzY 2d8e15600b NJoy test printf spam when not pressing any button fix (by tinctorius)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1844 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-10 16:23:51 +00:00
nakeee 89603a91a6 add if gltest on some run away files
Thanks shuffle!


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1832 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:35:06 +00:00
hrydgard 4916bf54b6 rollback 1829. Seriously, WTF?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:09:07 +00:00
nakeee f705cfc49f use globals for event handler
now I just need to set it somewhere...


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1830 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 23:42:18 +00:00
tinctorius e94ba056b6 Removed unused code, removed inclusion of unused headers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 22:31:02 +00:00
nakeee bf18502077 ADding functions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1828 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 12:12:15 +00:00
Shawn Hoffman dd56f82f82 remove unused variables from dsp hle and enable njoy test in windows debug build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 00:00:21 +00:00
daco65 ef53bfe3fc nobody saw that silly typo! >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1823 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 20:50:56 +00:00
daco65 8c8ec9d155 wiimote build fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1822 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 20:45:43 +00:00
John Peterson 727cef5fcd Wiimote: Forgot to remove this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1819 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 09:09:07 +00:00
nakeee 5d961c03ef new compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1817 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 08:44:57 +00:00
John Peterson fa27a97fbb Wiimote:
1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know.

2) I also made the Wiimote work after Stop and Start

3) I changed /Dev/USB to initialize the emulated Wiimote directly after ScanEnable, not wait for any countdown

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 02:59:19 +00:00
nakeee ca3ebe743f Some testgl work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1812 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 20:54:47 +00:00
XTra.KrazzY fa3c6c1247 scons fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:18:06 +00:00
XTra.KrazzY 34d47aab78 Some more nowx compile fixes thanks to tinctorius
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:14:04 +00:00
nakeee f95937bc2e is properties the right way?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1808 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 08:30:31 +00:00
John Peterson cbdad3495d OpenGL: Changed printf to DEBUG_LOG to avoid that it's always shown in the console window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 01:50:57 +00:00