Commit Graph

59 Commits

Author SHA1 Message Date
Unknown W. Brackets
4568affe4d Vulkan: Fix error message if backend can't load. 2016-03-24 17:03:04 -07:00
Unknown W. Brackets
82205a4660 Handle Vulkan init errors more gracefully. 2016-03-20 19:31:02 +01:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
Henrik Rydgard
3398288bd0 Some cleanup around input_state 2016-01-01 14:40:18 +01:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Henrik Rydgard
f3e0029285 Remove probably outdated and unnecessary color depth check 2015-08-26 23:56:38 +02:00
Henrik Rydgard
80e243655d Win buildfix 2014-10-16 00:38:22 +02:00
Henrik Rydgård
9e8a448914 Update submodules, buildfix before merging the rest of the dualhead support pull requeset 2014-10-15 23:02:59 +02:00
sum2012
eded13a21d Add more information for directx 9 error 2014-09-28 15:55:16 +08:00
Unknown W. Brackets
0039eab878 Offer to toggle graphics backends on any failure.
So, even if Direct3D 9 fails.
2014-09-26 21:20:51 -07:00
Henrik Rydgard
dda3ca3d5f D3D9 init error reporting improved. Use "override" properly in Host. 2014-09-20 21:55:58 +02:00
The Dax
612cc37878 Fix a couple small style issues.
Trying to be consistent with the coding style..
2014-08-31 04:16:22 -04:00
The Dax
906396c602 GetWideCmdLine doesn't need to be exposed in the header anymore.
Also fix a warning.
2014-08-31 03:07:52 -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
92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02: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
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
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
d279dcd454 Fix renaming a function from disassembly. 2014-02-11 07:45:13 -08:00
Henrik Rydgard
c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard
4d00a9b4bc Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds 2014-02-10 12:44:36 +01:00
Unknown W. Brackets
80704d013e Fix #5390, crash on Exit on Windows. 2014-02-09 17:35:43 -08:00
sum2012
abbbdb41b8 Change error string 2014-01-27 07:47:31 +08:00
sum2012
93cd5ecec3 Show warning instead of crash in windows non 32 bit colour 2014-01-27 07:36:39 +08: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
21f522746f Cleanup shutdown on Windows to avoid races.
Was still getting crashes sometimes.
2013-10-12 01:40:33 -07:00
Henrik Rydgard
c88920be4b Bail more gracefully if no real OpenGL driver is installed on XP 2013-09-11 21:35:44 +02:00
Unknown W. Brackets
342bad8402 Fix audio crash on shutdown, log thread names more. 2013-08-18 23:25:14 -07:00
Henrik Rydgard
94096976ff Revert "Windows: Work around audio crash on exit."
This reverts commit 273b7126a8.
2013-08-16 00:57:04 +02:00
Henrik Rydgard
273b7126a8 Windows: Work around audio crash on exit. 2013-08-15 22:55:11 +02:00
Unknown W. Brackets
b54c0c2f1b Clean up some comments / minor in EmuThread.cpp. 2013-08-13 08:09:36 -07:00
Unknown W. Brackets
6e8cbd19cc Fix some NULL handle usage. 2013-08-13 08:03:13 -07:00
Unknown W. Brackets
27826999de Don't show a dialog on quit when EmuThread hangs.
It's not like it will prevent PPSSPP from quitting.
2013-06-30 22:50:58 -07:00
Unknown W. Brackets
f6743316db Make sure Windows shuts down its audio properly.
~EmuScreen can call PSP_Shutdown(), which calls host->ShutdownSound().

Because of this, we really need host to be WindowsHost during
NativeShutdownGraphics().
2013-06-20 23:13:44 -07:00
Unknown W. Brackets
926e1ebddc Keep EmuThread running on game shutdown.
Especially relevant for games that call sceKernelExitGame(), like most
homebrew.  Otherwise, EmuThread actually quits and we can't continue.
2013-06-18 00:33:22 -07: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
Sacha
2396574f45 Avoid name collision with StringUtil on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry. 2013-05-03 16:22:15 +10:00
Henrik Rydgard
e3fb88de68 Background thread for icon loading, show in game list. Switch to GNU STL in Android port. 2013-04-13 21:24:07 +02: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
724a600381 Buildfix android, misc other fixes, some include cleanup 2013-03-29 20:55:32 +01:00
Henrik Rydgard
84fd5781de GL UI in Win32: Some basics work. 2013-03-29 18:50:08 +01:00
Unknown W. Brackets
afbde31b42 Add some OpenGL related reporting errors. 2013-03-24 09:45:43 -07:00
Henrik Rydgard
94e485e695 Slightly improved OpenGL error handling on Windows 2013-03-10 23:09:52 +01:00
raven02
fd8bcf98df Remove DisableG3Dlog 2013-02-25 22:54:18 +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
Henrik Rydgard
d1b3fd0e49 Better window resize handling 2013-01-27 00:15:39 +01:00
raven02
dde889d2e3 Minor fix disable G3D log 2013-01-16 08:37:41 +08:00
J.P. Lee
eda8252d7d Implement a simple SSAA function
Seems that 2x has the best effect for now but this is not the best way
of implementing AA function because it requires much greater video card
memory and memory bandwidth than other avaible methods like MSAA, CSAA
etc.
2013-01-10 10:28:49 +08:00