Diff for /xmil/win9x/xmil.cpp between versions 1.18 and 1.20

version 1.18, 2004/08/12 18:54:26 version 1.20, 2004/08/17 12:30:41
Line 10 Line 10
 #include        "scrnmng.h"  #include        "scrnmng.h"
 #include        "soundmng.h"  #include        "soundmng.h"
 #include        "sysmng.h"  #include        "sysmng.h"
 #include        "ddrawbmp.h"  
 #include        "winloc.h"  #include        "winloc.h"
 #include        "dclock.h"  #include        "dclock.h"
 #include        "winkbd.h"  #include        "winkbd.h"
Line 101  static void winuileave(void) { Line 100  static void winuileave(void) {
 static void dispbmp(HINSTANCE hinst, HDC hdc,  static void dispbmp(HINSTANCE hinst, HDC hdc,
                                                                                 const OEMCHAR *res, int x, int y) {                                                                                  const OEMCHAR *res, int x, int y) {
   
         HBITMAP         hbmp;          HBITMAP hbmp;
         BITMAP          bmp;          BITMAP  bmp;
         HDC                     hmdc;          HDC             hmdc;
   
         hbmp = LoadBitmap(hinst, res);          hbmp = LoadBitmap(hinst, res);
         GetObject(hbmp, sizeof(bmp), &bmp);          GetObject(hbmp, sizeof(bmp), &bmp);
Line 119  static void dispbmp(HINSTANCE hinst, HDC Line 118  static void dispbmp(HINSTANCE hinst, HDC
   
 #if defined(SUPPORT_RESUME)  #if defined(SUPPORT_RESUME)
 static const OEMCHAR xmilresumeext[] = OEMTEXT(".sav");  static const OEMCHAR xmilresumeext[] = OEMTEXT(".sav");
   static const OEMCHAR str_resume[] = OEMTEXT("Resume");
 #endif  #endif
 #if defined(SUPPORT_STATSAVE)  #if defined(SUPPORT_STATSAVE)
 static const OEMCHAR xmilflagext[] = OEMTEXT(".sv%u");  static const OEMCHAR xmilflagext[] = OEMTEXT(".sv%u");
Line 249  static void xmilcmd(HWND hWnd, UINT cmd) Line 249  static void xmilcmd(HWND hWnd, UINT cmd)
                         diskdrv_setfdd(1, NULL, 0);                          diskdrv_setfdd(1, NULL, 0);
                         break;                          break;
   
                 case IDM_TURBOZ:                  case IDM_FDD2OPEN:
                         menu_setiplrom(3);                          winuienter();
                           dialog_changefdd(hWnd, 2);
                           winuileave();
                           break;
   
                   case IDM_FDD2EJECT:
                           diskdrv_setfdd(2, NULL, 0);
                           break;
   
                   case IDM_FDD3OPEN:
                           winuienter();
                           dialog_changefdd(hWnd, 3);
                           winuileave();
                           break;
   
                   case IDM_FDD3EJECT:
                           diskdrv_setfdd(3, NULL, 0);
                           break;
   
                   case IDM_X1ROM:
                           menu_setiplrom(1);
                         update = SYS_UPDATECFG;                          update = SYS_UPDATECFG;
                         break;                          break;
   
Line 259  static void xmilcmd(HWND hWnd, UINT cmd) Line 279  static void xmilcmd(HWND hWnd, UINT cmd)
                         update = SYS_UPDATECFG;                          update = SYS_UPDATECFG;
                         break;                          break;
   
                 case IDM_X1ROM:  #if defined(SUPPORT_TURBOZ)
                         menu_setiplrom(1);                  case IDM_TURBOZ:
                           menu_setiplrom(3);
                         update = SYS_UPDATECFG;                          update = SYS_UPDATECFG;
                         break;                          break;
   #endif
   
                 case IDM_BOOT2D:                  case IDM_BOOT2D:
                         menu_setbootmedia(0);                          menu_setbootmedia(0);
Line 375  static void xmilcmd(HWND hWnd, UINT cmd) Line 397  static void xmilcmd(HWND hWnd, UINT cmd)
   
                 case IDM_BMPSAVE:                  case IDM_BMPSAVE:
                         winuienter();                          winuienter();
                         bmpsave();                          dialog_writebmp(hWnd);
                         winuileave();                          winuileave();
                         break;                          break;
   

Removed from v.1.18  
changed lines
  Added in v.1.20


RetroPC.NET-CVS <cvs@retropc.net>