win32 stuff, SIMPLE_WRITE_SOUND
[picodrive.git] / platform / win32 / GenaDrive / Emu.cpp
index 79938b2..75f6f69 100644 (file)
@@ -2,7 +2,7 @@
 #include "app.h"\r
 \r
 unsigned short *EmuScreen=NULL;\r
-int EmuWidth=0,EmuHeight=0;\r
+int EmuWidth=320,EmuHeight=224;\r
 static int EmuScan(unsigned int num, void *sdata);\r
 unsigned char *PicoDraw2FB = NULL;\r
 \r
@@ -66,7 +66,9 @@ int EmuFrame()
 \r
   PicoPad[0]=input;\r
 \r
-  PsndOut=(short *)DSoundNext; PicoFrame(); PsndOut=NULL;\r
+  PsndOut=(short *)DSoundNext;\r
+  PicoFrame();\r
+  //PsndOut=NULL;\r
 \r
   return 0;\r
 }\r