|
5 | 5 |
|
6 | 6 | namespaceCTRPluginFramework |
7 | 7 | { |
| 8 | +Keyboard *kb =new Keyboard("Enter ID:"); |
8 | 9 | Keyboard *optKb =new Keyboard("Choose option:"); |
9 | 10 | Keyboard *deloptKb =new Keyboard("Are you sure you want to delete this Mii?"); |
10 | 11 |
|
@@ -92,7 +93,7 @@ bool ConvertString(u32 address, const char* input, size_t size, StringFormat for |
92 | 93 | settings.MainTextColor = Color::Black; |
93 | 94 | settings.WindowTitleColor = Color::Black; |
94 | 95 | settings.MenuSelectedItemColor = Color::Black; |
95 | | - settings.MenuUnselectedItemColor = Color::Black; |
| 96 | + settings.MenuUnselectedItemColor = Color::Black; |
96 | 97 | settings.Keyboard.Background = Color::White; |
97 | 98 | settings.Keyboard.KeyBackground = Color::DarkGrey; |
98 | 99 | settings.Keyboard.KeyBackgroundPressed = Color::DimGrey; |
@@ -858,6 +859,13 @@ bool ConvertString(u32 address, const char* input, size_t size, StringFormat for |
858 | 859 | MessageBox(Miiname <<" is now one of your own Miis!\n(Reload and save to make changes)")(); |
859 | 860 | } |
860 | 861 | if (Choiche ==10) {//swap |
| 862 | +for (int i =0; i <8; i+=4)//take ownership of mii to swap to |
| 863 | +{ |
| 864 | +if (Process::Read32(DATA_ADDR +4 + i, val32)) |
| 865 | +{ |
| 866 | +Process::Write32((0x5C * val) + (DATA_ADDR +4 + i), val32); |
| 867 | +} |
| 868 | +} |
861 | 869 | for (int i =0; i <92; i+=4) |
862 | 870 | { |
863 | 871 | if(Process::Read32((0x5C * val) + (DATA_ADDR + i), val32)) |
|