Commit Graph

224 Commits

Author SHA1 Message Date
Unknown W. Brackets
6e48f907dd Support minimize and maximize state.
Fixes #6893.  Minimize is mostly useful for tooling, and maximize is a
more user-friendly way of specifying a fullscreen shortcut.
2015-12-25 19:18:32 -08:00
Unknown W. Brackets
3fd67f9199 Attempt to determine lang/country on XP.
This will sometimes give numbers, but it's closer than assuming en_US.
2015-12-25 19:14:05 -08:00
Unknown W. Brackets
4b66c2b4ec Re-enable FMA3 on MSVC2015+ builds. 2015-12-22 23:22:16 -08:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Unknown W. Brackets
05d5aae801 Don't change the working dir on startup. 2015-10-30 21:04:45 -07:00
Henrik Rydgård
cda9444a16 Revert "Make PPSSPP aware of Windows 10 (mostly for the info screen)." 2015-10-10 19:07:15 +02:00
Henrik Rydgård
371e7ab880 Minor #define removal 2015-10-06 19:17:29 +02:00
Henrik Rydgard
490d8be4df Some cleanup, enable CRT memory tracker in debug builds 2015-10-04 14:11:34 +02:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
thedax
98d1e5f776 Make PPSSPP aware of Windows 10 (mostly for the info screen). 2015-08-10 03:14:05 -04:00
Henrik Rydgard
0595a76556 Start integrating the new frame profiler 2015-05-24 23:45:36 +02:00
Unknown W. Brackets
8a3a67dc5b Avoid evaluating an uninitialized value.
Doesn't matter anyway here.
2015-04-08 11:57:58 -07:00
Peter Tissen
e7e8bf9221 Set DPI awareness in manifest
instead of doing it at runtime, still works in WinXP according to StepS in the IRC,
should probably be tested there to be sure
2015-03-05 03:22:48 +01:00
Unknown W. Brackets
e980486719 Fix a small memory leak in video card detection. 2015-01-17 18:43:03 -08:00
Unknown W. Brackets
eaa4743285 Fix a very minor leak. 2015-01-17 18:43:00 -08:00
Henrik Rydgard
8a574e5cd2 Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334 2015-01-15 22:33:20 +01:00
Henrik Rydgard
8b05e7abf0 Adjust the audio speed on non-60hz Android devices to compensate.
Greatly improves audio stability on Nexus S.

Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard
c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard
1b055fd07e Make the sample rate queryable as a sysprop 2015-01-11 14:18:40 +01:00
fgeds
b55ed059e8 line 417, trimmed control filename to the size of settings filename 2014-11-02 20:38:00 +01:00
Peter Tissen
a8b595c4d3 Fix copy paste error with that breaks controlconfig passing via cmdline
This was discovered by fgeds here: http://forums.ppsspp.org/showthread.php?tid=13655
so all props go to him.
2014-11-02 14:19:20 +01:00
Unknown W. Brackets
c83b5c0c16 Restart to d3d9/gles preserving arguments. 2014-09-14 15:24:42 -07:00
The Dax
24c75c96be Add a menubar option to change the backend.
It restarts without warning.
Also, disable software rendering when switching, similar to the command-line.
Fix some spacing and tab issues in the resource files.
2014-09-14 07:34:18 -04:00
The Dax
436f39d3f6 Win32: Add an UI option to change the GPU backend.
It requires an application restart to work.
2014-09-14 06:59:27 -04:00
The Dax
7a1be69ec0 Win32: Change --gfx to --graphics (and its suboptions) to be consistent with Headless.
Also, software force-activates OpenGL mode, since it does not work with Direct3D currently.
Thanks to @unknownbrackets for the suggestions.
2014-09-13 01:49:05 -04:00
The Dax
1caaa59adf Small styling fixes. 2014-09-12 16:58:05 -04:00
The Dax
5fa929bbba Win32: Add a command-line argument to pick the GPU backend. 2014-09-12 16:16:37 -04:00
The Dax
3590352429 Win32: Use wide strings to parse most command-line arguments.
Also do a tiny bit of cleanup in main.cpp (replacing strcmps with simple string equality checks).
2014-08-31 02:47:25 -04:00
Henrik Rydgard
841c709710 Make GPU driver version check lazy, add error checks. May take care of #6669 2014-08-02 12:49:09 +02:00
The Dax
895d7927ff Tiny style typo fix. 2014-07-31 04:00:48 -04:00
The Dax
85bb1188c0 Win32: Query WMI for the GPU driver version, and display it in the System Information screen. 2014-07-31 01:24:41 -04:00
Henrik Rydgard
4dfe7b86fb Add ability to set the clipboard. Update native with corresponding textedit change.
Fixes #6601.
2014-07-21 17:37:17 +02:00
sum2012
ad3c8ebaa0 Avoid crash of paste null string to UI's text 2014-07-21 20:54:17 +08:00
Henrik Rydgard
590724ea5c Add read-clipboard support (for TextEdit) 2014-07-21 11:59:47 +02:00
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +02:00
The Dax
0f593c7a0f Remove unused parameter. 2014-07-17 00:06:52 -04:00
Henrik Rydgard
01cb22f16a Windows: Add WM_CHAR input support (not used for anything yet).
Some unicode cleanup.
2014-06-29 23:30:40 +02:00
Henrik Rydgard
f127bb715b Revert "Windows: Get rid of that silly inner "display" window. Should be zero functional change."
Should help #6295.

This reverts commit 281ff6ce2a.

Conflicts:
	Windows/WindowsHost.cpp
	Windows/WndMainWindow.cpp
2014-06-29 22:13:53 +02:00
Henrik Rydgard
38609f3e6b Cleam up thread names a bit, name the Main thread.
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Henrik Rydgard
281ff6ce2a Windows: Get rid of that silly inner "display" window. Should be zero functional change. 2014-05-11 18:04:07 +02:00
The Dax
6bedad2aa5 Enable --escape-exit for all relevant platforms. It makes PPSSPP more front-end friendly by letting escape quit the emu. 2014-04-26 01:00:45 -04:00
The Dax
3259b61cf2 Win32: Implement "-d" command-line switch. It didn't do anything, previously.
Also added a helper func to set all log levels at once. Should be handy if we clean up the logging channels screen.
2014-03-31 22:44:05 -04:00
Unknown W. Brackets
b641ced7e0 Poll controllers on a separate thread on Windows.
This means controllers will sample more than the game fps, and will work
whenever keyboards do.
2014-03-23 23:46:10 -07:00
The Dax
04837f7ba6 Remove redundant ifdef; we're already on Win32, so there's no need for them here. 2014-03-03 11:30:58 -05:00
The Dax
520eb5b012 Win32: On Optimus systems, use the NVidia GPU, not the IGP. 2014-03-03 11:26:27 -05:00
The Dax
62075a1e9b Use a safer method of calling the DPI stuff. 2014-02-17 04:02:56 -05:00
The Dax
1b23c51a9f Win32: Make PPSSPP DPI aware to avoid flickering in fullscreen on some PC hardware setups. 2014-02-17 03:39:24 -05:00
Unknown W. Brackets
2459f4e351 Avoid a char * for a constant string. 2014-02-15 01:56:27 -08:00
Unknown W. Brackets
d0d4e665d1 Clean up double creation of memory debugger. 2014-02-14 21:17:36 -08:00
Henrik Rydgård
ddaf60976c Only apply the FMA3 workaround in x64.
http://connect.microsoft.com/VisualStudio/feedback/details/809664/the-crt-function-powf-will-crash-in-win8-1-pe
2014-02-13 16:02:10 +01:00
Henrik Rydgård
5850514245 Work around VS2013 CRT bug that affects Vista and Win7 RTM. 2014-02-13 15:57:36 +01:00
The Dax
7efaadaf3c Win32: Add a command-line option to let the escape button exit the emulator. 2014-02-07 16:46:40 -05:00
Henrik Rydgard
6e47401baf Fix headless build 2013-12-08 11:47:41 +01:00
Sacha
a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
The Dax
563ab40cd5 Remove include. 2013-11-12 18:41:22 -05:00
Sacha
91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
Henrik Rydgard
66e210315b Fix keyboard focus issue on Windows 2013-10-16 17:20:32 +02:00
Unknown W. Brackets
77913c2d56 Don't flash open the console when disabled. 2013-10-15 22:27:03 -07:00
The Dax
6efd5b33f7 We don't really need DIRECTORY_FLASH0 or DIRECTORY_MEMSTICK. 2013-10-15 03:41:10 -04:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
Unknown W. Brackets
03c4808264 Don't show the console by default in Release. 2013-10-13 12:27:05 -07:00
The Dax
7000b63082 When using a debug build, always show the debug log/enable logging on start. 2013-10-13 14:31:48 -04:00
Unknown W. Brackets
79143b56d2 Allow config files to be placed under the memstick.
This way, they can be configured more easily on Android, etc.
2013-10-12 16:02:03 -07:00
Unknown W. Brackets
f701f0c347 Windows buildfix. 2013-10-10 08:00:15 -07:00
The Dax
b479769002 Detect x86 properly. 2013-10-09 17:40:13 -04:00
The Dax
70804ae697 System Info: Detect system architecture(e.g. ARM, x86, x64) on Windows as well. 2013-10-09 17:17:28 -04:00
The Dax
7883a89c00 Remove unused variable. 2013-10-09 13:17:56 -04:00
The Dax
04aeadec24 Fix braces. 2013-10-09 13:17:55 -04:00
The Dax
b85aa88e45 Allow System_GetProperty to properly detect the version of Microsoft Windows instead of just returning "PC: Windows". 2013-10-09 13:17:55 -04:00
Kingcom
513223ea4f -Step through display list with F10/F11
-accelerator changes
2013-09-28 14:34:08 +02:00
Unknown W. Brackets
d734b59904 Add a preview for the current texture as well. 2013-09-27 22:46:09 -07:00
Kingcom
312f957963 Change how SimpleGLWindow is constructed and move it to the resource file 2013-09-24 20:06:25 +02:00
Unknown W. Brackets
a528f797b1 32-bit warning fixes in the debugger/win UI. 2013-09-23 23:44:58 -07:00
Unknown W. Brackets
2ad5167f75 Better to have its own directory. 2013-09-22 11:03:29 -07:00
Unknown W. Brackets
18b70c89ef Add an initial GE debugger interface on Windows. 2013-09-22 10:27:09 -07:00
The Dax
11a49c05fe Build fix. 2013-09-15 13:12:55 -04:00
The Dax
35c434165b Correct copy & paste-happiness. 2013-09-15 12:55:49 -04:00
The Dax
5cdfb6c4f9 Add command-line argument to allow a path to be specified for configuration files and control mapping files. Also fix a possible crash when loading ini files. 2013-09-15 12:50:42 -04:00
Henrik Rydgard
9f99815121 Must detect language before loading config. Should fix #3763 broken by #3750 . 2013-09-15 11:05:05 +02:00
Unknown W. Brackets
606e2f2802 Small warning fixes in Windows UI. 2013-09-14 07:44:01 -07:00
The Dax
e4079fb81c Remove the System Menu(the menu that appears when alt is pressed) in fullscreen, and re-instate it when exiting fullscreen. 2013-09-12 17:27:48 -04:00
The Dax
9dbf2b9d90 Add proper fullscreen and windowed launch arguments. Remove bFullScreenOnLaunch. 2013-09-12 16:56:18 -04:00
Unknown W. Brackets
ca1168df3c Enable the G3D log on Windows by default. 2013-09-07 13:43:07 -07:00
Henrik Rydgard
ad620e463a Detect language on first boot on Windows (Vista+) and Android 2013-09-04 12:08:22 +02:00
Henrik Rydgard
c845da2887 Switch System_GetName to System_GetProperty 2013-09-04 11:31:40 +02:00
Unknown W. Brackets
92c4c5825f Update ui menus AFTER loading lang ini. 2013-08-30 22:12:04 -07:00
Henrik Rydgard
0d0b43818c Warning fixes and stuff 2013-08-30 20:14:16 +02:00
Henrik Rydgård
87c1dc3dd9 Merge pull request #3420 from Kingcom/Debug
Don't recreate debug windows
2013-08-27 01:48:01 -07:00
Henrik Rydgard
af1ae8fde7 Win32: Set current directory at startup to where the exe is.
Fixes the "out-of-the-box" experience in MSVC.
2013-08-26 20:49:33 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Kingcom
d6009d9e3d Create a single instance of the debug windows and keep them 2013-08-26 14:19:46 +02:00
Henrik Rydgard
87e51a5c04 Fix some window title issues, etc. 2013-08-20 17:21:25 +02:00
Henrik Rydgard
47f2efb0e5 Fixes to default key mappings, add default button, fix saving of mapped controls on Android, fixes #3213 2013-08-18 00:41:19 +02:00
Kingcom
bfbea62ce3 Send messages to the debugger 2013-08-14 23:46:59 +02:00
Kingcom
177b9fa6b1 Separate accelerator table when the debugger is active 2013-08-14 23:30:50 +02:00
Unknown W. Brackets
97098f109a Use CommonWindows.h from Windows/ too.
Might as well.  Everything still builds fine.
2013-07-28 21:04:20 -07:00
Unknown W. Brackets
f5178e769a Fix crash on File -> Exit in some cases.
Fixes #2537.
2013-06-29 17:47:09 -07:00
Unknown W. Brackets
7cef136468 Make win32 shutdown consistent w/ NativeShutdown(). 2013-06-26 00:31:52 -07:00
Henrik Rydgard
85d896b953 Fix showing log windows on load with -l (initialization order). 2013-06-15 10:55:18 +02:00
aquanull
bb5fce600e Fix/prevent crashes when MainWindow is closed before LoadFile() completes, or when it gets certain messages before TheThread completes initialization.
Fix missing ppsspp.ini loading log (only 1 unimportant line though).
Fix loading ui_atlas.zim failure when [General]Browse = True is set in ppsspp.ini.
Some other minor fixes as well.
2013-06-15 13:06:43 +08:00
aquanull
d489915d70 Fix menu command shortcut keys. 2013-05-13 16:33:06 +08:00
Unknown W. Brackets
aeac614cc0 Don't open duplicate memory/disasm windows.
It's annoying.
2013-03-31 18:47:48 -07:00
Unknown W. Brackets
d8cb2cdffb Handle args on Windows in NativeInit() too.
Now it's like everyone else, plus it works again.  Bonus.

Fixes #1134.
2013-03-31 18:23:07 -07:00
Henrik Rydgard
84fd5781de GL UI in Win32: Some basics work. 2013-03-29 18:50:08 +01:00
Henrik Rydgard
e7989e88d8 Upgrade native. Build the GL UI on Windows too (but don't run it yet). 2013-03-29 14:41:28 +01:00
Henrik Rydgard
6f7cc57f53 Win32: Add menu choice to open from memstick/PSP/GAME 2013-03-28 20:26:24 +01:00
raven02
8425a123e2 Browse and Boot 2013-02-18 03:39:31 +08:00
Unknown W. Brackets
ff8390123a Focus the main window when showing the log. 2013-02-17 00:38:50 -08:00
Henrik Rydgard
37f998407b Replace "Core" with "Jit" in ini. Don't show Open dialog by default (use Ctrl+A or Ctrl+O to open it).
Delete "Slightly Faster Interpreter".
2013-02-16 09:49:33 +01:00
Unknown W. Brackets
b82feed816 Fix leaking VFS DirectoryAssetReaders. 2013-02-08 19:27:42 -08:00
Henrik Rydgard
f5c94775b9 Cleanup 2013-01-09 00:12:02 +01:00
Henrik Rydgard
8c06edc47b It's getting close to the first totally unoptimized jit run. 2013-01-08 17:03:17 +01:00
Henrik Rydgard
a9c171c786 Fix bAutoRun config option, add to menu. (Run on Load). 2013-01-04 10:26:14 +01:00
Unknown W. Brackets
14ef840dd3 Add a command line option to load a state.
For debugging.
2012-12-28 17:23:05 -08:00
Unknown W. Brackets
ecffa492f6 Refactor Windows show log switch. 2012-12-22 09:54:07 -08:00
Unknown W. Brackets
7aa7640e87 Add -f switch for parody with Headless. 2012-12-22 09:49:59 -08:00
Unknown W. Brackets
7fb65a5997 Add a switch to Windows to save to a log file. 2012-12-22 09:49:29 -08:00
Unknown W. Brackets
d745bddc23 Enable a few command line switches on Windows. 2012-12-22 09:21:23 -08:00
Henrik Rydgard
624927cd9a Make the windows port find ppge_atlas in the assets subdirectory. 2012-12-17 22:24:07 +01:00
jacky400
d91314d906 Update Windows/main.cpp
Increase windows scheduling resolution
2012-12-03 16:44:37 +08:00
Henrik Rydgard
a5e35ad6d9 Parse PARAM.SFO to get the disc ID, show in title bar on Windows 2012-11-30 22:32:51 +01:00
Henrik Rydgard
d8c92caad9 Safer matrix loading. Change default G3D log level from Notice to Error. 2012-11-26 18:04:34 +01:00
Diogo Franco (Kovensky)
cd93e49584 Move toplevel windows-specific files to the Windows dir 2012-11-21 14:33:38 -03:00