mirror of
https://github.com/leoetlino/project-restoration
synced 2025-10-06 00:32:43 +02:00
17 lines
428 B
C++
17 lines
428 B
C++
#pragma once
|
|
|
|
#include <array>
|
|
#include <string_view>
|
|
|
|
namespace rst::util {
|
|
|
|
/// Prints a debug message using svcOutputDebugString.
|
|
void Print(std::string_view string);
|
|
/// Prints a debug message using svcOutputDebugString.
|
|
__attribute__((format(printf, 1, 2))) void Print(const char* format, ...);
|
|
|
|
/// Returns the in-game time as a null-terminated HH:MM string.
|
|
std::array<char, 6> TimeToString();
|
|
|
|
} // namespace rst::util
|