From 1755ca4178eeac0c58817de862b61ead3d42e2b9 Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Tue, 23 Sep 2008 16:22:10 +0000 Subject: [PATCH] - fixes projects for windows port; --- desmume/src/GPU_osd.cpp | 2 +- desmume/src/windows/DeSmuME_2005.vcproj | 384 ++++++++++++----------- desmume/src/windows/DeSmuME_2008.vcproj | 14 +- desmume/src/windows/DeSmuME_Intel.icproj | 16 +- desmume/src/windows/main.cpp | 1 + 5 files changed, 213 insertions(+), 204 deletions(-) diff --git a/desmume/src/GPU_osd.cpp b/desmume/src/GPU_osd.cpp index 9e0501f70..6ceff1874 100644 --- a/desmume/src/GPU_osd.cpp +++ b/desmume/src/GPU_osd.cpp @@ -95,7 +95,7 @@ void INLINE OSDCLASS::printChar(u16 x, u16 y, u8 c) { int i, j; int ofs=c*OSD_FONT_HEIGHT; - unsigned char bits[9]={255, 128, 64, 32, 16, 8, 4, 2, 1}; + unsigned char bits[9]={256, 128, 64, 32, 16, 8, 4, 2, 1}; u8 *dst=screen; dst+=(y*256)+x; diff --git a/desmume/src/windows/DeSmuME_2005.vcproj b/desmume/src/windows/DeSmuME_2005.vcproj index afbb7d322..253a1bc69 100644 --- a/desmume/src/windows/DeSmuME_2005.vcproj +++ b/desmume/src/windows/DeSmuME_2005.vcproj @@ -105,182 +105,6 @@ Name="VCPostBuildEventTool" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -883,6 +891,14 @@ Name="MASM" /> + + + - - - checkMenu(ID_VIEW_DISPLAYFPS, FpsDisplay ? MF_CHECKED : MF_UNCHECKED); WritePrivateProfileInt("Video", "Display Fps", FpsDisplay, IniName); + osd->clear(); return 0; #define saver(one,two,three,four,five, six) \