Skip to content

Commit

Permalink
Return the Unix functions.
Browse files Browse the repository at this point in the history
These should be moved into their respective files.
  • Loading branch information
TheROPFather authored Jun 7, 2018
1 parent ca30a62 commit 8a62af8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/arch/ArchHooks/ArchHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
{
return MACWindowHeight();
}
#else
int ArchHooks::GetWindowWidth()
{
return (PREFSMAN->m_iDisplayHeight * PREFSMAN->m_fDisplayAspectRatio);
}

int ArchHooks::GetWindowHeight()
{
return PREFSMAN->m_iDisplayHeight;
}
#endif

bool ArchHooks::g_bQuitting = false;
Expand Down

0 comments on commit 8a62af8

Please sign in to comment.