mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
Fix for Alt-Enter on Brad code (nw)
This commit is contained in:
parent
9c2ef88573
commit
a301260017
@ -358,7 +358,7 @@ win_window_info::win_window_info(
|
||||
m_isminimized(0),
|
||||
m_ismaximized(0),
|
||||
m_monitor(monitor),
|
||||
//m_fullscreen(0),
|
||||
m_fullscreen(!video_config.windowed),
|
||||
m_fullscreen_safe(0),
|
||||
m_aspect(0),
|
||||
m_target(nullptr),
|
||||
@ -1977,7 +1977,7 @@ void win_window_info::set_fullscreen(int fullscreen)
|
||||
// if we're in the right state, punt
|
||||
if (this->fullscreen() == fullscreen)
|
||||
return;
|
||||
video_config.windowed = !fullscreen;
|
||||
m_fullscreen = fullscreen;
|
||||
|
||||
// kill off the drawers
|
||||
m_renderer.reset();
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
running_machine &machine() const override { return m_machine; }
|
||||
|
||||
virtual render_target *target() override { return m_target; }
|
||||
int fullscreen() const override { return !video_config.windowed; }
|
||||
int fullscreen() const override { return m_fullscreen; }
|
||||
|
||||
void update();
|
||||
|
||||
@ -111,7 +111,7 @@ public:
|
||||
|
||||
// monitor info
|
||||
osd_monitor_info * m_monitor;
|
||||
//int m_fullscreen;
|
||||
int m_fullscreen;
|
||||
int m_fullscreen_safe;
|
||||
float m_aspect;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user