mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
rgblink: Don't allocate unnecessary buffer. Delete unused flag.
This commit is contained in:
@@ -7,8 +7,7 @@
|
|||||||
#include "link/main.h"
|
#include "link/main.h"
|
||||||
#include "link/assign.h"
|
#include "link/assign.h"
|
||||||
|
|
||||||
char tzOutname[_MAX_PATH];
|
char *tzOutname;
|
||||||
BBOOL oOutput = 0;
|
|
||||||
|
|
||||||
void
|
void
|
||||||
writehome(FILE * f)
|
writehome(FILE * f)
|
||||||
@@ -71,8 +70,7 @@ writebank(FILE * f, SLONG bank)
|
|||||||
void
|
void
|
||||||
out_Setname(char *tzOutputfile)
|
out_Setname(char *tzOutputfile)
|
||||||
{
|
{
|
||||||
strcpy(tzOutname, tzOutputfile);
|
tzOutname = tzOutputfile;
|
||||||
oOutput = 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user