From c3d97b785401c6e308eadd58238566ae76a7c777 Mon Sep 17 00:00:00 2001 From: p989 Date: Tue, 30 Jun 2009 15:41:02 +0000 Subject: [PATCH] move the stylus display to the bottom screen --- desmume/src/GPU_osd.cpp | 2 +- desmume/src/movie.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/GPU_osd.cpp b/desmume/src/GPU_osd.cpp index 88ba0402b..3696e3c1d 100644 --- a/desmume/src/GPU_osd.cpp +++ b/desmume/src/GPU_osd.cpp @@ -195,7 +195,7 @@ void OSDCLASS::update() if (mode!=255) dst+=offset*512; - for (int i=0; i<256*192; i++) + for (int i=0; i<256*192*2; i++) { if(screen[i]&0x8000) T2WriteWord((u8*)dst,(i << 1), screen[i] ); diff --git a/desmume/src/movie.cpp b/desmume/src/movie.cpp index 3c8daee4c..5abee2763 100644 --- a/desmume/src/movie.cpp +++ b/desmume/src/movie.cpp @@ -698,7 +698,7 @@ void _CDECL_ FCEUI_SaveMovie(const char *fname, std::wstring author, int flag, s memcpy(&cur_input_display,joy,4);*/ if (ShowInputDisplay && nds.isTouch) - osd->addFixed(nds.touchX >> 4, nds.touchY >> 4, "%s %d %d", "X", nds.touchX >> 4, nds.touchY >> 4); + osd->addFixed(nds.touchX >> 4, (nds.touchY >> 4) + 192 , "%s %d %d", "X", nds.touchX >> 4, nds.touchY >> 4); }