Commit graph

848 commits

Author SHA1 Message Date
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