Commit Graph

8310 Commits

Author SHA1 Message Date
skidau 69b2d4ddc1 Changed the Gecko code handling to the native code handler. This provides full compatibility with all Gecko codes.
To use the native code handler, place the kenobiwii.bin file into the Sys directory.  Dolphin will silently fall-back to the emulated code handler if the file is not there.

Fixes issue 4561.
2012-01-03 01:24:14 -05:00
calc84maniac 2c3a714e49 Merge branch 'master' of https://code.google.com/p/dolphin-emu 2012-01-03 00:44:41 -05:00
calc84maniac aa47a8c690 x86 shift of 0 doesn't update flags, check the value manually 2012-01-03 00:37:43 -05:00
skidau ca287e7957 Removed the "Reload MemCard on load state" hack as it is no longer needed with the new save states system.
Fixes issue 4898.
2012-01-03 15:36:32 +11:00
calc84maniac 6ecae3e556 srwx and slwx optimizations 2012-01-02 19:45:28 -05:00
calc84maniac 9c4106027c Erp, some changes were not committed 2012-01-02 19:45:27 -05:00
calc84maniac ff6d0d056a rolwinmix and rlwnmx optimizations, another Rc/RC typo fixed 2012-01-02 19:45:26 -05:00
calc84maniac 9530bd0292 rlwimix optimizations 2012-01-02 19:45:25 -05:00
calc84maniac a6d041bfa9 Removed an extraneous FlushLockX, further optimized simultaneous handling of carry/overflow. 2012-01-02 19:45:24 -05:00
calc84maniac 4cb1af0f13 Fixed a bad typo. Why are there different inst.Rc and inst.RC variables? >_> 2012-01-02 19:45:23 -05:00
unknown ab54000d73 Fixed and streamlined overflow detection, improved subtraction methods, general flag-based optimizations including GenerateRC() which uses the sign/zero flag of the last operation 2012-01-02 19:45:21 -05:00
skidau d399e6b26d Reordered the safe write path of the stfd instruction. 2012-01-03 10:20:20 +11:00
calc84maniac f575c2c3be srwx and slwx optimizations 2012-01-02 18:00:28 -05:00
calc84maniac 42cdda42c9 Erp, some changes were not committed 2012-01-02 17:34:07 -05:00
calc84maniac ce80772007 rolwinmix and rlwnmx optimizations, another Rc/RC typo fixed 2012-01-02 17:30:54 -05:00
calc84maniac 7d262ff1f4 rlwimix optimizations 2012-01-02 15:07:36 -05:00
calc84maniac a2bd91b726 Removed an extraneous FlushLockX, further optimized simultaneous handling of carry/overflow. 2012-01-02 11:50:01 -05:00
skidau 67e38fb6c6 Fixed the safe write path of the stfd instruction in the JIT. Fixes issue 4001. 2012-01-03 01:17:52 +11:00
calc84maniac 8d67354179 Fixed a bad typo. Why are there different inst.Rc and inst.RC variables? >_> 2012-01-02 04:00:47 -05:00
unknown d6bf166694 Fixed and streamlined overflow detection, improved subtraction methods, general flag-based optimizations including GenerateRC() which uses the sign/zero flag of the last operation 2012-01-02 03:42:00 -05:00
skidau 6b0d21efa7 Merge branch 'Gecko' 2012-01-02 15:21:58 +11:00
skidau f4d8e527b5 Updated the Gecko code handler to the latest version from Gecko OS 1.9.3.1.
Added a check to ensure that the number of codes fits in memory (maximum 231 codes).
Store a copy of codehandler.bin in the Sys directory.
2012-01-02 15:14:30 +11:00
skidau 96600ef48d Added a note to try the native code handler in the error message window.
Added copyright notices.
2012-01-02 13:53:39 +11:00
Pierre Bourdon 008fd446f5 Replace some printfs from the PPC Interpreter code by Dolphin logger calls 2012-01-02 00:59:37 +01:00
Pierre Bourdon 59e93bff78 Fix a crash at startup with Dolphin on Linux compiled in debug mode
Use the clobber list instead of the stack to save rbx when executing the cpuid
instruction with inline assembly. This avoids breaking GCC assumptions about
the stack pointer location.
2012-01-02 00:59:37 +01:00
nitsuja 0d9e87da18 prevent CLogWindow::UpdateLog from constantly burning through timer objects, because it was allocating memory a lot and making it hard to debug some things. I think this should be faster even in release builds, but any speedup is probably too tiny to measure. 2012-01-01 14:28:21 -08:00
nitsuja f0d7b8122f increased fault tolerance of shader cache files.
more specifically: if the emulator stops unexpectedly, it is quite possible that one of the shader cache files will have some bytes near the end that never got their values filled in. this change adds an index number at the end of each entry as extra verification that the entry is valid, so that invalid entries can be ignored (and eventually overwritten) instead of causing crashes.
2012-01-01 14:28:20 -08:00
nitsuja 6f1b2d7748 name all audio threads (that I know how to) for debugging, as suggested in response to revision d00b719966. 2012-01-01 14:28:19 -08:00
skidau ba545ec1e9 Build fix 2012-01-01 18:09:39 +11:00
skidau e4b4a65346 Merge branch 'PowerPC' 2012-01-01 16:17:52 +11:00
skidau 5a914744a2 Added some support for the OE flag. Thanks to j4ck.fr0st for the tip. 2012-01-01 16:12:53 +11:00
skidau c53593a40a Moved the Audio Throttle option to the Framelimit drop-down. The Audio Throttle should never be used alongside the frame limiter as that can cause audio sync issues. 2012-01-01 14:32:54 +11:00
skidau 80504efcdf Changed the Gecko code handling to the native code handler. This provides full compatibility with all Gecko codes.
To use the native code handler, place the kenobiwii.bin file into the Sys directory.  Dolphin will silently fall-back to the emulated code handler if the file is not there.

Fixes issue 4561.
2011-12-31 15:18:48 +11:00
skidau cfee6d8473 Stubbed the /dev/usb/oh1 path. Fixes issue 4936. 2011-12-31 09:51:41 +11:00
skidau f7ef58ff9a Removed the VID/PID validation for Wiimotes allowing Dolphin to detect third party wiimotes with a VID/PID that is different to Nintendo's.
Checked for timeouts reported by the bluetooth stack.
Added RVL-CNT-01-TR detection.
2011-12-29 21:18:35 +11:00
skidau 1df7af35e9 Reset errno to zero before testing it after the strtoul call. Fixes issue 5078. 2011-12-29 12:05:36 +11:00
Pierre Bourdon af8a866afc Implement what was done by r9a627e89 using a stub device
This is arguably better then using the slot0 device for slot1, because it maps
the real hardware better (nothing can be mounted on slot1 on a Wii AFAICT).
This also makes Kirby: Return to Dreamland work properly and fixes some of the
SD card problems (libs do not expect to have the same SD card mounted two times
in RW...).
2011-12-25 01:55:25 +01:00
Pierre Bourdon 070c933088 Revert "Add unimplemented device map for sdio/slot1 and slot2. Fixes #4932."
This reverts commit 9a627e89fb.

The attempted Kirby: Return to Dreamland fix does not work properly and while
it fixes this particular game, it completely breaks SD card support on Dolphin.
BTW, I've never head of /dev/sdio/slot2 before...
2011-12-25 00:03:45 +01:00
LPFaint99 d389f7139b restore wii sorting order by using the ascii string from the banner instead of the iso file 2011-12-22 15:53:41 -08:00
LPFaint99 ca8af741b8 Merge branch 'unicode_gamelist' 2011-12-22 14:29:47 -08:00
LPFaint99 825e2ea4df fix an ascii/wxstring in gamelistctrl, replace fromascii("") with wxemptystring, don't push_back 0 at the end of wstrings 2011-12-22 14:28:12 -08:00
LPFaint99 8f6c25a5aa cleanup: merge handling of ntsc/pal games in gamelist/isoproperties 2011-12-20 02:19:46 -08:00
LPFaint99 e4c4602d9e use windows-1252 for gamename/description, fixes copyright/tm symbol in the gamelist & isoproperties 2011-12-20 02:10:40 -08:00
LPFaint99 9ddb67d4a9 fix shift-jis conversion on linux, and check for the codepage on windows in the memorycard manager like everywhere else 2011-12-20 01:35:12 -08:00
nitsuja 33f0f9fd9f fix ZWW intro music crackling with DSPHLE 2011-12-19 21:52:47 -08:00
nitsuja 3006d0696c fix the read-only menu item being disabled when emulation is paused (the hotkey was fine but I guess some people still use the menu) 2011-12-19 16:38:07 -08:00
nitsuja 3e773f093d fixed a freeze on emu shutdown in windows build 2011-12-19 15:13:26 -08:00
LPFaint99 de4e3e7462 add wstring name(s)/description to the cachefile, use when available in gamelist and properties window 2011-12-18 22:01:46 -08:00
LPFaint99 7f4efa094e add the function to read the game name and description from the banner as unicode 2011-12-18 21:56:13 -08:00
LPFaint99 a73ad3554c add the function to read all unicode gamenames from a wad file 2011-12-18 21:42:20 -08:00