Merge pull request #265 from wheremyfoodat/amiibi

Fix NFC logs
This commit is contained in:
wheremyfoodat 2023-09-08 17:53:51 +03:00 committed by GitHub
commit 2dcf559157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ void NFCService::getTagOutOfRangeEvent(u32 messagePointer) {
}
void NFCService::getTagState(u32 messagePointer) {
log("NFC::GetTagState");
log("NFC::GetTagState\n");
mem.write32(messagePointer, IPC::responseHeader(0xD, 2, 0));
mem.write32(messagePointer + 4, Result::Success);
@ -109,7 +109,7 @@ void NFCService::getTagState(u32 messagePointer) {
}
void NFCService::communicationGetStatus(u32 messagePointer) {
log("NFC::CommunicationGetStatus");
log("NFC::CommunicationGetStatus\n");
if (!initialized) {
Helpers::warn("NFC::CommunicationGetStatus: Old 3DS NFC Adapter not initialized\n");
@ -122,7 +122,7 @@ void NFCService::communicationGetStatus(u32 messagePointer) {
void NFCService::communicationGetResult(u32 messagePointer) {
log("NFC::CommunicationGetResult");
log("NFC::CommunicationGetResult\n");
if (!initialized) {
Helpers::warn("NFC::CommunicationGetResult: Old 3DS NFC Adapter not initialized\n");