From 8cc1da7f3e2839dc7e2a3eb4babce52fe5860544 Mon Sep 17 00:00:00 2001 From: TomW Date: Sat, 21 Dec 2013 09:55:49 +0000 Subject: [PATCH] Updated version number to v8. --- src/pc.c | 4 +++- src/vid_icd2061.c | 2 +- src/win-d3d-fs.cc | 2 +- src/win.c | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pc.c b/src/pc.c index fd72143..c7637f3 100644 --- a/src/pc.c +++ b/src/pc.c @@ -58,6 +58,7 @@ int mousecapture; FILE *pclogf; void pclog(const char *format, ...) { +#ifndef RELEASE_BUILD char buf[1024]; //return; if (!pclogf) @@ -69,6 +70,7 @@ void pclog(const char *format, ...) va_end(ap); fputs(buf,pclogf); fflush(pclogf); +#endif } void fatal(const char *format, ...) @@ -351,7 +353,7 @@ void runpc() if (win_title_update) { win_title_update=0; - sprintf(s, "PCem v0.7 - %s - %s - %s - %i%%", model_getname(), models[model].cpu[cpu_manufacturer].cpus[cpu].name, (!mousecapture) ? "Click to capture mouse" : "Press CTRL-END to release mouse", fps); + sprintf(s, "PCem v8 - %s - %s - %s - %i%%", model_getname(), models[model].cpu[cpu_manufacturer].cpus[cpu].name, (!mousecapture) ? "Click to capture mouse" : "Press CTRL-END to release mouse", fps); set_window_title(s); } done++; diff --git a/src/vid_icd2061.c b/src/vid_icd2061.c index cdfd47a..dad4b23 100644 --- a/src/vid_icd2061.c +++ b/src/vid_icd2061.c @@ -1,4 +1,4 @@ -/*PCem v0.7 by Tom Walker +/*PCem v8 by Tom Walker ICD2061 clock generator emulation Used by ET4000w32/p (Diamond Stealth 32)*/ diff --git a/src/win-d3d-fs.cc b/src/win-d3d-fs.cc index 1804763..3b411b6 100644 --- a/src/win-d3d-fs.cc +++ b/src/win-d3d-fs.cc @@ -86,7 +86,7 @@ void d3d_fs_init(HWND h) d3d_device_window = CreateWindowEx ( 0, szSubClassName, - "PCem v0.7", + "PCem v8", WS_POPUP, CW_USEDEFAULT, CW_USEDEFAULT, diff --git a/src/win.c b/src/win.c index fde3d9e..35cf556 100644 --- a/src/win.c +++ b/src/win.c @@ -307,7 +307,7 @@ int WINAPI WinMain (HINSTANCE hThisInstance, hwnd = CreateWindowEx ( 0, /* Extended possibilites for variation */ szClassName, /* Classname */ - "PCem v0.7", /* Title Text */ + "PCem v8", /* Title Text */ WS_OVERLAPPEDWINDOW&~WS_SIZEBOX, /* default window */ CW_USEDEFAULT, /* Windows decides the position */ CW_USEDEFAULT, /* where the window ends up on the screen */