Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

env:
APP_NAME: 'Esp Box Emu'
IDF_VERSION: 'v5.5.1'
IDF_VERSION: 'v6.0.1'
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
FLASH_TOTAL_OVERRIDE: '6291456' # 6MB flash app partition for main app

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
env:
APP_NAME: 'Esp Box Emu'
IDF_TARGET: 'esp32s3'
IDF_VERSION: 'v5.5.1'
IDF_VERSION: 'v6.0.1'
IDF_COMPONENT_MANAGER: "1" # whether to enable the component manager or not
FLASH_TOTAL_OVERRIDE: '6291456' # 6MB flash app partition for main app

Expand Down
5 changes: 4 additions & 1 deletion components/gbc/gnuboy/src/save.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
struct svar
{
int len;
char key[4];
/* 4-byte fixed tag, not a NUL-terminated string (initialized with exactly
* 4 chars, e.g. "GbSs" / "PC "). The 'nonstring' attribute silences GCC 15's
* -Wunterminated-string-initialization. */
char key[4] __attribute__((nonstring));
void *ptr;
};

Expand Down
4 changes: 3 additions & 1 deletion components/msx/fmsx/src/EMULib/Record.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ unsigned int RPLCount(void)
/*************************************************************/
int SaveRPL(const char *FileName)
{
static unsigned char Header[16] = "RPL\032\001\0\0\0\0\0\0\0\0\0\0\0";
/* Fixed 16-byte file magic, not a NUL-terminated string; 'nonstring'
* silences GCC 15's -Wunterminated-string-initialization. */
static unsigned char Header[16] __attribute__((nonstring)) = "RPL\032\001\0\0\0\0\0\0\0\0\0\0\0";
unsigned char Buf[16];
FILE *F;
int J,K;
Expand Down
4 changes: 3 additions & 1 deletion components/msx/fmsx/src/fMSX/State.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ unsigned int LoadState(unsigned char *Buf,unsigned int MaxSize)
/*************************************************************/
int SaveSTA(const char *Name)
{
static byte Header[16] = "STE\032\003\0\0\0\0\0\0\0\0\0\0\0";
/* Fixed 16-byte file magic, not a NUL-terminated string; 'nonstring'
* silences GCC 15's -Wunterminated-string-initialization. */
static byte Header[16] __attribute__((nonstring)) = "STE\032\003\0\0\0\0\0\0\0\0\0\0\0";
unsigned int J,Size;
byte *Buf;
FILE *F;
Expand Down
Loading