I don't even
This commit is contained in:
Morilli 2023-04-18 17:40:11 +02:00
parent 20e5c43bc8
commit 988ae27292
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -333,7 +333,7 @@ EXPORT short* snes_get_audiobuffer_and_size(int& out_size) {
const char* board;
EXPORT const char* snes_get_board(void)
{
if (!board) board = program->superFamicom.document["game/board"].text().data();
if (!board) board = strdup(program->superFamicom.document["game/board"].text().data());
return board;
}