Emulator Issues #1020
closedWii Motion Plus games give constant (incorrect) errors
0%
Description
What steps will reproduce the problem?
- Use the emulated Wii Remote
- Play a game that supports Wii Motion Plus
- Go through the intro and the menus to start the game
What is the expected output? What do you see instead?
The game should silently either detect that I don't have a Motion Plus, or
that I do have a Motion Plus.
Instead it gives the (wrong) error "WmWriteData: bad register block!".
In reality the error is in WmReadData.
What version of the product are you using? On what operating system?
Windows XP
Please provide any additional information below.
The bug is caused by the game trying to read the two bytes from registers
0xA600FE. These registers should return 00 05 if there is a Motion Plus
attached, or they should give read error number 7 if there is no Motion
Plus attached. Instead the Wiimote Plugin displays an error to the user
because that register block has never been used before in other games.
Updated by death2droid over 15 years ago
Adding this under
case 0xA6:
INFO_LOG(WII_IPC_WIIMOTE, " Case 0xa6: MotionPlusReg");
break;
/INFO_LOG(CONSOLE, "Write RegExt Size: %i Address: %08x Offset: %08x \n",
wd->size, address, (address & 0xffff));
INFO_LOG(CONSOLE, "Data: %s\n", Temp.c_str());/
break;
If you're wondering what file it is EmuSubroutines.
Tell me if it stops the error.
I need to hunt down some documentation :P
Updated by Carl.Kenner over 15 years ago
I'd already patched the error myself. I'm just finishing emulating the Motion Plus.
Updated by death2droid over 15 years ago
:P If you manage to emulate it post the patch file with it here.
Updated by Anonymous about 15 years ago
I wonder whatever happened to Carl? :) Here is a rudimentary patch contributed from
http://forums.dolphin-emu.com/thread-4093.html (tweaked a bit). Seems against my ethic
to start work on it without polling Carl first.
paging Mr Kenner... :p
Updated by ayuanx almost 15 years ago
I don't know, but the patch is already in SVN.