mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-09-09 09:27:30 -05:00
Formatting examples
This commit is contained in:
@@ -57,9 +57,9 @@ int main() {
|
||||
while (linkCable->canRead(i))
|
||||
data[i] = linkCable->read(i) - 1; // (avoid using 0)
|
||||
|
||||
output += std::to_string(data[i]) + (i + 1 == playerCount ? ")" : ", ");
|
||||
output += std::to_string(data[i]) + (i + 1 == playerCount ? "" : ", ");
|
||||
}
|
||||
output += "\n";
|
||||
output += ")\n";
|
||||
output += "_keys: " + std::to_string(keys) + "\n";
|
||||
output += "_pID: " + std::to_string(currentPlayerId);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user