Commit Graph

64 Commits

Author SHA1 Message Date
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
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
Shawn Hoffman b4158a28ee cross-platformize strncasecmp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2029 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 02:13:36 +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
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
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
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
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
John Peterson b7f1e937bb LogManager: Opt out of <wx/datetime.h> even if you have wx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 16:52:28 +00:00
magumagu9 05df5c8f3f Minor fix to rotation helpers so they don't do undefined shifts.
Probably not a big deal realistically, but better to be safe than sorry.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:42:23 +00:00
John Peterson 5e5e507121 nJoy: Enabled keyboard input (only for buttons so far) through wxWidgets in the main application. It only works when you render to the main window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1706 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 18:50:24 +00:00
bushing 34b92fe7c5 We need to be more careful about stack alignment on Darwin. These patches
fix the alignment of gcc-generated code (as opposed to JIT code).

There are probably more places this is needed :(


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:53:56 +00:00
nakeee db15121b5d Some cleanup Should affect windows tell me if it does
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 11:46:52 +00:00
nakeee 2bb169ce37 Moved the wx anti debug flag to scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 09:36:27 +00:00
Shawn Hoffman 3d9c903a3b fix crash due to AR, remove LOGGING from Common.vcproj (Why won't njoy test build in debug?!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1587 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 16:06:27 +00:00
nakeee e6424f750b scons changes
added fastlog flavour with LOGGING and -O3
changed debug to include _DEBUG
changed devel to include DEBUGFAST
for now wxonassert is disabled as I couldn't make it work


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 00:37:24 +00:00
nakeee 2a2a83b7c8 small clean up
enabled njoy_test


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1563 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 10:30:44 +00:00
nakeee b0f17043bd new MsgHandler replacing common
Most things moved to macros



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 22:00:18 +00:00
omegadox 8149e1481a revert
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1511 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 11:27:50 +00:00
omegadox 2c9f66e3b2 some fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:33:02 +00:00
nakeee aa9b2e1073 forgot 2 files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:41:33 +00:00
hrydgard d01e05b7b5 make all disassembler calls threadsafe .. hopefully.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1462 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 21:24:12 +00:00
John Peterson 5ede71fb84 Turned on logging with debugging in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1453 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 03:14:44 +00:00
bushing d26dabd3b9 redefine LOGV macro to avoid use of __Logv -- makes compiling easier
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1446 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:56:05 +00:00
bushing 30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
John Peterson 9d9c2fc983 Wii IOS: Some comments, logging changes and other small changes, no noticeable effects except that the MP3 WiiConnect24 error message has changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1422 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 10:15:36 +00:00
nakeee fd0cb4afaa missing define
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1421 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 07:06:25 +00:00
nakeee 064d45024c (requires review for windows/mac)
Fix up so that various libraries wont be fatal for build with scons
wiiuse lib is used only if HAVE_WIIUSE is defined to 1 
made major cleanup for darwin and osx64


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 13:46:19 +00:00
nakeee b64877d464 merged windows/linux atomic operations,
please test on windows


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1391 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 10:58:45 +00:00
omegadox 33edd6c553 1: Added logging to the AR.
2: Small fix to Fill and Slide and Memory Copy, but Fill And Slide does not actually work...:(.
3: Moved the AR code files into an "ActionReplay" VS Filter (a folder in VS, but not a real one on the FS).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:49:23 +00:00
John Peterson 28fc0351fd Bugfix to log manager. Console and OSReport was mixed up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1174 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 16:35:39 +00:00
John Peterson 1184d16864 Fixed Wii Sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1160 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-13 13:45:32 +00:00
John Peterson b698ea376d Fixed emulated Wiimote again. Improved keyboard/gamepad controls for Wario Land.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1151 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 15:03:21 +00:00
nakeee b47f349c96 Got rid of default Dolphin.ini
Default plugins are now in Paths.h
Important note for scons users, plugin names now match the one on windows!!!
make sure to remove the old ones!! and update your .ini!!



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1131 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 20:59:48 +00:00
John Peterson 825335fc2c Readded log manager changes, now with a LOGV function to use the verbosity levels.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1093 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:08:31 +00:00
Shawn Hoffman d62d517c72 fixed gamelist cache not dealing with long longs correctly :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1056 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 06:55:59 +00:00
fires.gc 5ae441d6bc some more HLE of the IPC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1049 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 14:43:22 +00:00
fires.gc 957441d2da added some new log types for wii
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1023 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 22:25:54 +00:00
Shawn Hoffman ce40a9964d enabled using encrypted action replay codes, just put them in the gameini file, and they are decrypted when read. Note: the first line of a "real" AR code is a verification code, which dolphin's simulator currently missreads. I'm unsure whether to bypass the code by skipping it in ARDecrypt.cpp line 489, or think of some actual solution :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@985 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 05:55:34 +00:00
tmator a03f39ac36 now core, padsimple and dsp null can be buil in 64bit on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@947 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 15:48:36 +00:00
hrydgard dcbc8e78d4 Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:30:14 +00:00
Sonicadvance1 1972f9bf70 Flips the XFB around and some other things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:12:43 +00:00
fires.gc 8e3bd6781e added compile time assertion for _SECURE_SCL=0. It is very important that all libraries are compiled with the same _SECURE_SCL if you want to share STL functions between libraries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@876 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:40:31 +00:00
Sonicadvance1 e1eb51a010 Fix Building in Linux, removed the define for _T() in Common.h so now we can have wx headers after including Common.h. Also, InterlockedExchange isn't in Linux so I just made it assign the variable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@809 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 08:51:57 +00:00
fires.gc c7ae1fd402 Reverted r762 and r763 - i don't see any good reason to keep this revision as long as nobody fixes the windows build (btw: i don't understand why we need a non-WX build at all). if someone is going to fix it he can revert this revision.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@766 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 17:26:12 +00:00
Sonicadvance1 9a3ebd0c3b Linux: Compiling with nowx=true now builds the entire project without WX, this isn't tested in Windows so it's always on via Common.h, You can test/fix it yourself that way. Also fixed Compiling again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 07:57:28 +00:00
hrydgard e4785df7a2 Ban compression of Wii images until it has been tested. All sorts of minor cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 19:10:56 +00:00
hrydgard 87f42c9237 Add a way to sprinkle heap integrity checks over Dolphin without breaking the linux build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@613 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 21:27:47 +00:00
hrydgard cb90e61368 Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 23:25:35 +00:00
masken 012041bab5 Added puts() HLE, WIIMOTE logging section and experimental virtual connection request.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@427 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 21:29:27 +00:00