mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-02 12:36:35 +11:00
initialise to zero
This commit is contained in:
parent
819d86cfbf
commit
87fb32dfb0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ struct MGBA {
|
|||
};
|
||||
|
||||
struct MGBA* new_runner(char* filename) {
|
||||
struct MGBA* mgba = malloc(sizeof(struct MGBA));
|
||||
struct MGBA* mgba = calloc(1, sizeof(struct MGBA));
|
||||
mgba->mlogger.log = log_output;
|
||||
mgba->callback.callback = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue