From 04c2aba6a5f0efdcaa036703da06a091dd828cf7 Mon Sep 17 00:00:00 2001 From: Ryan Collins Date: Sat, 17 Oct 2020 21:16:35 -0400 Subject: [PATCH 1/2] added missing typedef keyword --- su.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/su.h b/su.h index c3e7e0a8..cc0ef178 100644 --- a/su.h +++ b/su.h @@ -268,7 +268,7 @@ extern void set_PC(unsigned int address); #define SP_STATUS_SIG6 (0x00000001ul << 13) #define SP_STATUS_SIG7 (0x00000001ul << 14) -enum { +typedef enum { RCP_SP_MEM_ADDR_REG, RCP_SP_DRAM_ADDR_REG, RCP_SP_RD_LEN_REG, From 32a6f64c439d1afbd0adc28ece1c459c11c179e1 Mon Sep 17 00:00:00 2001 From: Ryan Collins Date: Sat, 17 Oct 2020 22:42:45 -0400 Subject: [PATCH 2/2] restored default MinGW/GCC system libraries --- make_w32.cmd | 3 ++- make_w64.cmd | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/make_w32.cmd b/make_w32.cmd index 2c351469..ae842500 100644 --- a/make_w32.cmd +++ b/make_w32.cmd @@ -8,6 +8,7 @@ REM to execute the Unix shell script "make.sh" from Windows 10+ or Git Bash. REM The following line is the only one you should ever need to change. set MinGW=C:\MinGW +REM set MinGW=C:\msys64\mingw32 set lib=%MinGW%\lib set bin=%MinGW%\bin @@ -71,6 +72,6 @@ as -o "%obj%\vu\divide.o" "%obj%\vu\divide.asm" ECHO. ECHO Linking assembled object files... -ld --shared -e _DllMain@12 -o "%obj%\rspdebug.dll" -L %lib% %OBJ_LIST% -lmsvcrt +gcc --shared -e _DllMain@12 -o "%obj%\rspdebug.dll" -L %lib% %OBJ_LIST% -lmsvcrt strip -o "%obj%\rsp.dll" "%obj%\rspdebug.dll" --strip-all PAUSE diff --git a/make_w64.cmd b/make_w64.cmd index 9e7e7e93..3b450f93 100644 --- a/make_w64.cmd +++ b/make_w64.cmd @@ -75,6 +75,6 @@ as -o "%obj%\vu\divide.o" "%obj%\vu\divide.asm" ECHO. ECHO Linking assembled object files... -ld --shared -e DllMain -o "%obj%\rspdebug.dll" -L%lib64% %OBJ_LIST% -lmsvcrt +gcc --shared -e DllMain -o "%obj%\rspdebug.dll" -L%lib64% %OBJ_LIST% -lmsvcrt strip -o "%obj%\rsp.dll" "%obj%\rspdebug.dll" --strip-all PAUSE