From 0a342e0492ee88b43f63ec3e3a17c463fad2bf09 Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Wed, 23 Oct 2013 21:38:13 +0000 Subject: Implement window size setting for PeopsSoftGL on OS X. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87642 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/plugins/DFXVideo/macsrc/PluginWindowController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/plugins/DFXVideo/macsrc/PluginWindowController.m') diff --git a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m index 0ad6dd74..f0b45280 100755 --- a/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m +++ b/macosx/plugins/DFXVideo/macsrc/PluginWindowController.m @@ -35,12 +35,12 @@ NSRect windowFrame; } gameWindow = [gameController window]; } + windowFrame = NSMakeRect(0, 0, iResX + 8, iResY + 4); if (windowFrame.size.width != 0) { [gameWindow setFrame:windowFrame display:NO]; - } else { - [gameWindow center]; } + [gameWindow center]; [gameWindow makeKeyAndOrderFront:nil]; [gameController showWindow:nil]; -- cgit v1.2.3