Add menu option to create blank disc image.

This commit is contained in:
SarahW 2018-01-21 16:13:41 +00:00
commit 0e37f08cb5
11 changed files with 1498 additions and 1330 deletions

View file

@ -42,6 +42,8 @@
#include "wx-common.h"
#include "wx-display.h"
extern void creatediscimage_open(void *hwnd);
#define ID_IS(s) wParam == wx_xrcid(s)
#define ID_RANGE(a, b) wParam >= wx_xrcid(a) && wParam <= wx_xrcid(b)
@ -856,6 +858,10 @@ int wx_handle_command(void* hwnd, int wParam, int checked)
wx_checkmenuitem(hmenu, wParam, bpb_disable);
saveconfig(NULL);
}
else if (ID_IS("IDM_DISC_CREATE"))
{
creatediscimage_open(hwnd);
}
else if (ID_IS("IDM_DISC_ZIP"))
{
char zip_fn[256] = "";