From 9c65acc6177495437dcb150eeb142f900585d4d3 Mon Sep 17 00:00:00 2001 From: Mustafa Tufan Date: Thu, 27 Feb 2014 20:59:23 +0200 Subject: [PATCH] 2.7.1b9 --- src/compemu_raw_x86.c | 2 +- src/debug.c | 3 +++ src/enforcer.c | 2 +- src/filesys_unix.c | 2 ++ src/include/sysdeps.h | 2 +- src/scsitape.c | 3 +++ 6 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/compemu_raw_x86.c b/src/compemu_raw_x86.c index 8c6159e..417897f 100644 --- a/src/compemu_raw_x86.c +++ b/src/compemu_raw_x86.c @@ -2136,7 +2136,7 @@ static void vec(int sig, siginfo_t* info, void* _ct) #if defined(USE_UDIS86) UDISFN(src_addr, src_addr + 0x20) #else - write_log(_T("[JIT] No disassembler available, dumping...")) + write_log(_T("[JIT] No disassembler available, dumping...")); for (int i = 0; i < 32; i += 0x10) { write_log(_T("[JIT] %08x "), i); for (int j = 0; j < 16; ++j) diff --git a/src/debug.c b/src/debug.c index 8de443f..329f9c0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -41,6 +41,9 @@ #include "misc.h" #include "ar.h" +/* external prototypes */ +void my_trim (TCHAR *s); + /* internal members */ int debugger_active; static uaecptr skipaddr_start, skipaddr_end; diff --git a/src/enforcer.c b/src/enforcer.c index b6daa6a..af90403 100644 --- a/src/enforcer.c +++ b/src/enforcer.c @@ -625,7 +625,7 @@ static int REGPARAM2 dummy_check2 (uaecptr addr, uae_u32 size) enforcer_display_hit (_T("CHECK from "),(uae_u32)(regs.pc_p - NMEM_OFFSET),addr); return 0; } -#endif 0 +#endif //0 /************************************************************* enable the enforcer like support, maybe later this make MMU diff --git a/src/filesys_unix.c b/src/filesys_unix.c index 258e2aa..43d885f 100644 --- a/src/filesys_unix.c +++ b/src/filesys_unix.c @@ -42,6 +42,7 @@ * Much more work to do here . . . */ +#if 0 int filesys_is_readonly (const char *path) { /* If we don't know, we'll claim it's read/write */ @@ -76,3 +77,4 @@ int filesys_is_readonly (const char *path) return readonly; } +#endif //0 diff --git a/src/include/sysdeps.h b/src/include/sysdeps.h index ea7cf8f..4111c53 100644 --- a/src/include/sysdeps.h +++ b/src/include/sysdeps.h @@ -89,7 +89,7 @@ } \ } else \ JITLOG("Can't dissassemble %s, start (0x%08lx) is larger than end (0x%08lx)", \ - #udis_func, (uaecptr)udis_func, (uaecptr)udis_end) \ + #udis_func, (uaecptr)udis_func, (uaecptr)udis_end); \ } # else # define UDISFN(...) {} diff --git a/src/scsitape.c b/src/scsitape.c index deca64a..c22b123 100644 --- a/src/scsitape.c +++ b/src/scsitape.c @@ -20,6 +20,9 @@ #include "fsdb.h" #include "misc.h" +/* external prototypes */ +void my_trim (TCHAR *s); + int log_tapeemu = 1; #define TAPE_INDEX _T("index.tape")