mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #2058 from Stevoisiak/Codemaid-Cleanup-Take2
Basic Formatting/Whitespace Cleanup
This commit is contained in:
@ -866,7 +866,7 @@ bool CFrame::UIHasFocus()
|
||||
return (focusWindow != nullptr);
|
||||
}
|
||||
|
||||
void CFrame::OnGameListCtrl_ItemActivated(wxListEvent& WXUNUSED (event))
|
||||
void CFrame::OnGameListCtrl_ItemActivated(wxListEvent& WXUNUSED(event))
|
||||
{
|
||||
// Show all platforms and regions if...
|
||||
// 1. All platforms are set to hide
|
||||
@ -1106,7 +1106,7 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
|
||||
|
||||
void CFrame::OnKeyUp(wxKeyEvent& event)
|
||||
{
|
||||
if(Core::IsRunning() && (RendererHasFocus() || TASInputHasFocus()))
|
||||
if (Core::IsRunning() && (RendererHasFocus() || TASInputHasFocus()))
|
||||
{
|
||||
if (IsHotkey(event, HK_TOGGLE_THROTTLE))
|
||||
{
|
||||
@ -1191,12 +1191,12 @@ void CFrame::DoFullscreen(bool enable_fullscreen)
|
||||
ToggleDisplayMode(enable_fullscreen);
|
||||
|
||||
#if defined(__APPLE__)
|
||||
NSView *view = (NSView *) m_RenderFrame->GetHandle();
|
||||
NSView *view = (NSView *)m_RenderFrame->GetHandle();
|
||||
NSWindow *window = [view window];
|
||||
|
||||
if (enable_fullscreen != RendererIsFullscreen())
|
||||
{
|
||||
[window toggleFullScreen:nil];
|
||||
[window toggleFullScreen : nil];
|
||||
}
|
||||
#else
|
||||
if (enable_fullscreen)
|
||||
|
Reference in New Issue
Block a user