编辑: 阿拉蕾 | 2013-10-19 |
? ? const char error[] = "Not Homebrew! Copy failed.";
? ? const char success[] = "Copy succeeded.";
? ? if(is_homebrew_cartridge()) { ? memcpy((char*)SRAM, text, sizeof(text));
? memcpy(copy_status, success, sizeof(success));
? ? } ? ? else ? memcpy(copy_status, error, sizeof(error));
? } [Copy to clipboard]