Misc changes

This commit is contained in:
averne 2019-02-18 09:08:10 +09:00
parent 8ff66b8a29
commit a06237972a

View File

@ -26,7 +26,7 @@ Result eventWaitLoop(Event *event) {
// Print raw data as hexadecimal numbers. // Print raw data as hexadecimal numbers.
void print_hex(void *buf, size_t size) { void print_hex(void *buf, size_t size) {
for (size_t i=0; i<size; i++) for (size_t i=0; i<size; i++)
printf("%02X", ((u8 *)buf)[i]); printf("%02X", ((u8*)buf)[i]);
printf("\n"); printf("\n");
consoleUpdate(NULL); consoleUpdate(NULL);
} }
@ -171,7 +171,7 @@ int main(int argc, char* argv[])
Result rc = 0; Result rc = 0;
// Hardcoded for Super Smash Bros. Ultimate. // Hardcoded for Super Smash Bros. Ultimate.
// See also https://switchbrew.org/wiki/NFC_services#Application_IDs. // See also: https://switchbrew.org/wiki/NFC_services#Application_IDs
u32 app_id = 0x34f80200; u32 app_id = 0x34f80200;
// This example uses a text console, as a simple way to output text to the screen. // This example uses a text console, as a simple way to output text to the screen.