From f634e0719ba5f5844fbb7d134dde5aa7dbe2a6e5 Mon Sep 17 00:00:00 2001 From: ekeeke31 Date: Wed, 3 Jun 2009 09:36:28 +0000 Subject: [PATCH] ~fixed VDP bug (Window Position) from previous revision ~fixed Win32 makefile --- source/unused/win/Makefile | 2 -- source/vdp.c | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/unused/win/Makefile b/source/unused/win/Makefile index 8a51aff..9efed7d 100644 --- a/source/unused/win/Makefile +++ b/source/unused/win/Makefile @@ -46,8 +46,6 @@ OBJECTS += obj/blip.o \ OBJECTS += obj/eq.o \ -OBJECTS += obj/filters.o \ - OBJECTS += obj/sram.o \ obj/eeprom.o \ obj/svp.o \ diff --git a/source/vdp.c b/source/vdp.c index d4f34a3..84712ed 100644 --- a/source/vdp.c +++ b/source/vdp.c @@ -337,7 +337,7 @@ void vdp_ctrl_w(unsigned int data) /* VDP register write */ uint8 r = (data >> 8) & 0x1F; uint8 d = data & 0xFF; - reg_w(r, d); + reg_w(r,d); } else pending = 1; @@ -835,6 +835,7 @@ static inline void reg_w(unsigned int r, unsigned int d) break; case 17: /* update clipping */ + reg[17] = d; window_clip(); break; }