mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-07-01 17:22:15 +02:00
Misc changes
This commit is contained in:
parent
8ff66b8a29
commit
a06237972a
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user