more patches, save type detection now only available when a rom is loaded.
This commit is contained in:
parent
3aa925ea22
commit
e15113d5b9
|
@ -189,6 +189,7 @@ BEGIN_MESSAGE_MAP(MainWnd, CWnd)
|
|||
ON_COMMAND(ID_OPTIONS_EMULATOR_SAVETYPE_FLASH1M, OnOptionsEmulatorSavetypeFlash1m)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_EMULATOR_SAVETYPE_FLASH1M, OnUpdateOptionsEmulatorSavetypeFlash1m)
|
||||
ON_COMMAND(ID_OPTIONS_EMULATOR_SAVETYPE_DETECTNOW, OnOptionsEmulatorSavetypeDetectNow)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_EMULATOR_SAVETYPE_DETECTNOW, OnUpdateOptionsEmulatorSavetypeDetectNow)
|
||||
|
||||
ON_COMMAND(ID_OPTIONS_EMULATOR_PNGFORMAT, OnOptionsEmulatorPngformat)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_EMULATOR_PNGFORMAT, OnUpdateOptionsEmulatorPngformat)
|
||||
|
|
|
@ -192,6 +192,7 @@ protected:
|
|||
afx_msg void OnOptionsEmulatorSavetypeFlash1m();
|
||||
afx_msg void OnUpdateOptionsEmulatorSavetypeFlash1m(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsEmulatorSavetypeDetectNow();
|
||||
afx_msg void OnUpdateOptionsEmulatorSavetypeDetectNow(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsEmulatorPngformat();
|
||||
afx_msg void OnUpdateOptionsEmulatorPngformat(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsEmulatorBmpformat();
|
||||
|
|
|
@ -841,6 +841,11 @@ void MainWnd::OnOptionsEmulatorSavetypeDetectNow()
|
|||
MessageBox( answer );
|
||||
}
|
||||
|
||||
void MainWnd::OnUpdateOptionsEmulatorSavetypeDetectNow(CCmdUI* pCmdUI)
|
||||
{
|
||||
pCmdUI->Enable(emulating);
|
||||
}
|
||||
|
||||
void MainWnd::OnOptionsEmulatorPngformat()
|
||||
{
|
||||
theApp.captureFormat = 0;
|
||||
|
|
|
@ -1919,7 +1919,7 @@ BEGIN
|
|||
MENUITEM "Flash 64 KB", ID_OPTIONS_EMULATOR_SAVETYPE_FLASH512K
|
||||
MENUITEM "Flash 128 KB", ID_OPTIONS_EMULATOR_SAVETYPE_FLASH1M
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Detect now...", 40372
|
||||
MENUITEM "Detect now...", ID_OPTIONS_EMULATOR_SAVETYPE_DETECTNOW
|
||||
END
|
||||
POPUP "Screenshot &Format"
|
||||
BEGIN
|
||||
|
|
Loading…
Reference in New Issue