Updates from AW's master.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2021-01-13 13:09:03 +00:00
parent d06462beb0
commit 4e357b59bd
5 changed files with 9 additions and 9 deletions

View file

@ -74,7 +74,7 @@ void initialiseEmulator()
SetCurrentCLK6502();
CheckCpu();
GetAppleWindowTitle();
GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_BUTTON_DRIVES, true);
GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_BUTTON_DRIVES | DRAW_DISK_STATUS);
DSInit();
MB_Initialize();

View file

@ -161,7 +161,7 @@ namespace
applyOptions(options);
PaddleInitialise(options.paddleDeviceName);
GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_BUTTON_DRIVES, true);
GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_BUTTON_DRIVES | DRAW_DISK_STATUS);
if (options.benchmark)
{

View file

@ -82,7 +82,7 @@ namespace
GetAppleWindowTitle();
window->setWindowTitle(QString::fromStdString(g_pAppTitle));
GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_BUTTON_DRIVES, true);
GetFrame().FrameRefreshStatus(DRAW_LEDS | DRAW_BUTTON_DRIVES | DRAW_DISK_STATUS);
// ResetDefaultMachineMemTypes();

View file

@ -2,15 +2,15 @@
#include "linux/linuxframe.h"
#include "Interface.h"
void LinuxFrame::FrameDrawDiskLEDS(HDC hdc)
void LinuxFrame::FrameDrawDiskLEDS()
{
}
void LinuxFrame::FrameDrawDiskStatus(HDC hdc)
void LinuxFrame::FrameDrawDiskStatus()
{
}
void LinuxFrame::FrameRefreshStatus(int, bool /* bUpdateDiskStatus */)
void LinuxFrame::FrameRefreshStatus(int drawflags)
{
}

View file

@ -10,9 +10,9 @@ public:
virtual void Initialize();
virtual void Destroy();
virtual void FrameDrawDiskLEDS(HDC hdc);
virtual void FrameDrawDiskStatus(HDC hdc);
virtual void FrameRefreshStatus(int, bool bUpdateDiskStatus = true);
virtual void FrameDrawDiskLEDS();
virtual void FrameDrawDiskStatus();
virtual void FrameRefreshStatus(int drawflags);
virtual void FrameUpdateApple2Type();
virtual void FrameSetCursorPosByMousePos();