took drnach's dmg association and expanded on it :)
looks like the branch doesn't have properties assigned git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1062 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
88de75eb7d
commit
7f627ac7b0
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
extern u8 *pix;
|
extern u8 *pix;
|
||||||
extern bool speedup;
|
extern bool speedup;
|
||||||
|
bool gbUpdateSizes();
|
||||||
bool inBios = false;
|
bool inBios = false;
|
||||||
|
|
||||||
// debugging
|
// debugging
|
||||||
|
@ -608,10 +609,10 @@ bool gbIsGameboyRom(char * file)
|
||||||
char * p = strrchr(file,'.');
|
char * p = strrchr(file,'.');
|
||||||
|
|
||||||
if(p != NULL) {
|
if(p != NULL) {
|
||||||
if(_stricmp(p, ".dmg") == 0)
|
|
||||||
return true;
|
|
||||||
if(_stricmp(p, ".gb") == 0)
|
if(_stricmp(p, ".gb") == 0)
|
||||||
return true;
|
return true;
|
||||||
|
if(_stricmp(p, ".dmg") == 0)
|
||||||
|
return true;
|
||||||
if(_stricmp(p, ".gbc") == 0)
|
if(_stricmp(p, ".gbc") == 0)
|
||||||
return true;
|
return true;
|
||||||
if(_stricmp(p, ".cgb") == 0)
|
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_AGB, m_agb);
|
||||||
DDX_Check(pDX, IDC_BIN, m_bin);
|
DDX_Check(pDX, IDC_BIN, m_bin);
|
||||||
DDX_Check(pDX, IDC_CGB, m_cgb);
|
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_GB, m_gb);
|
||||||
DDX_Check(pDX, IDC_GBA, m_gba);
|
DDX_Check(pDX, IDC_GBA, m_gba);
|
||||||
DDX_Check(pDX, IDC_GBC, m_gbc);
|
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_CANCEL, OnCancel)
|
||||||
ON_BN_CLICKED(ID_OK, OnOk)
|
ON_BN_CLICKED(ID_OK, OnOk)
|
||||||
//}}AFX_MSG_MAP
|
//}}AFX_MSG_MAP
|
||||||
END_MESSAGE_MAP()
|
END_MESSAGE_MAP()
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Associate message handlers
|
// Associate message handlers
|
||||||
|
@ -75,9 +75,9 @@ void Associate::OnOk()
|
||||||
UpdateData();
|
UpdateData();
|
||||||
|
|
||||||
int mask = 0;
|
int mask = 0;
|
||||||
if(m_dmg)
|
|
||||||
mask |= 1;
|
|
||||||
if(m_gb)
|
if(m_gb)
|
||||||
|
mask |= 1;
|
||||||
|
if(m_dmg)
|
||||||
mask |= 2;
|
mask |= 2;
|
||||||
if(m_sgb)
|
if(m_sgb)
|
||||||
mask |= 4;
|
mask |= 4;
|
||||||
|
|
|
@ -47,7 +47,7 @@ class Associate : public CDialog
|
||||||
afx_msg void OnOk();
|
afx_msg void OnOk();
|
||||||
//}}AFX_MSG
|
//}}AFX_MSG
|
||||||
DECLARE_MESSAGE_MAP()
|
DECLARE_MESSAGE_MAP()
|
||||||
};
|
};
|
||||||
|
|
||||||
//{{AFX_INSERT_LOCATION}}
|
//{{AFX_INSERT_LOCATION}}
|
||||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
// 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_GBC 1081
|
||||||
#define IDC_ROM_MAKER_CODE 1081
|
#define IDC_ROM_MAKER_CODE 1081
|
||||||
#define IDS_CODE 1081
|
#define IDS_CODE 1081
|
||||||
|
#define IDC_DMG 1082
|
||||||
#define IDC_ROM_UNIT_CODE 1082
|
#define IDC_ROM_UNIT_CODE 1082
|
||||||
#define IDS_DESCRIPTION 1082
|
#define IDS_DESCRIPTION 1082
|
||||||
#define IDC_ROM_DEVICE_TYPE 1083
|
#define IDC_ROM_DEVICE_TYPE 1083
|
||||||
|
|
Loading…
Reference in New Issue