mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Some refactoring and reformatting (#1431)
This commit is contained in:
@@ -304,6 +304,9 @@ static void writeFileStackNode(FileStackNode const &node, FILE *file) {
|
||||
|
||||
// Write an object file
|
||||
void out_WriteObject() {
|
||||
if (objectName.empty())
|
||||
return;
|
||||
|
||||
FILE *file;
|
||||
if (objectName != "-") {
|
||||
file = fopen(objectName.c_str(), "wb");
|
||||
|
||||
Reference in New Issue
Block a user