took drnach's dmg association and expanded on it :)
looks like the branch doesn't have properties assigned
This commit is contained in:
parent
7a17e5f320
commit
093da8983f
|
@ -21,6 +21,7 @@
|
|||
|
||||
extern u8 *pix;
|
||||
extern bool speedup;
|
||||
bool gbUpdateSizes();
|
||||
bool inBios = false;
|
||||
|
||||
// debugging
|
||||
|
@ -608,10 +609,10 @@ bool gbIsGameboyRom(char * file)
|
|||
char * p = strrchr(file,'.');
|
||||
|
||||
if(p != NULL) {
|
||||
if(_stricmp(p, ".dmg") == 0)
|
||||
return true;
|
||||
if(_stricmp(p, ".gb") == 0)
|
||||
return true;
|
||||
if(_stricmp(p, ".dmg") == 0)
|
||||
return true;
|
||||
if(_stricmp(p, ".gbc") == 0)
|
||||
return true;
|
||||
if(_stricmp(p, ".cgb") == 0)
|
||||
|
|
|
@ -36,7 +36,7 @@ void Associate::DoDataExchange(CDataExchange* pDX)
|
|||
DDX_Check(pDX, IDC_AGB, m_agb);
|
||||
DDX_Check(pDX, IDC_BIN, m_bin);
|
||||
DDX_Check(pDX, IDC_CGB, m_cgb);
|
||||
DDX_Check(pDX, IDC_GB, m_dmg);
|
||||
DDX_Check(pDX, IDC_DMG, m_dmg);
|
||||
DDX_Check(pDX, IDC_GB, m_gb);
|
||||
DDX_Check(pDX, IDC_GBA, m_gba);
|
||||
DDX_Check(pDX, IDC_GBC, m_gbc);
|
||||
|
@ -50,7 +50,7 @@ BEGIN_MESSAGE_MAP(Associate, CDialog)
|
|||
ON_BN_CLICKED(ID_CANCEL, OnCancel)
|
||||
ON_BN_CLICKED(ID_OK, OnOk)
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Associate message handlers
|
||||
|
@ -75,9 +75,9 @@ void Associate::OnOk()
|
|||
UpdateData();
|
||||
|
||||
int mask = 0;
|
||||
if(m_dmg)
|
||||
mask |= 1;
|
||||
if(m_gb)
|
||||
mask |= 1;
|
||||
if(m_dmg)
|
||||
mask |= 2;
|
||||
if(m_sgb)
|
||||
mask |= 4;
|
||||
|
|
|
@ -47,7 +47,7 @@ class Associate : public CDialog
|
|||
afx_msg void OnOk();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
|
4679
src/win32/VBA.rc
4679
src/win32/VBA.rc
File diff suppressed because it is too large
Load Diff
|
@ -288,6 +288,7 @@
|
|||
#define IDC_GBC 1081
|
||||
#define IDC_ROM_MAKER_CODE 1081
|
||||
#define IDS_CODE 1081
|
||||
#define IDC_DMG 1082
|
||||
#define IDC_ROM_UNIT_CODE 1082
|
||||
#define IDS_DESCRIPTION 1082
|
||||
#define IDC_ROM_DEVICE_TYPE 1083
|
||||
|
|
Loading…
Reference in New Issue