Commit Graph

64 Commits

Author SHA1 Message Date
Unknown W. Brackets
086294b495 Listen for shutdown in thread loops.
This way we don't need to use wait_for(), much better.
Also because there are slightly more correct cond vars on win32.
2013-09-28 00:45:54 -07:00
Unknown W. Brackets
4b9056fa02 Shutdown cleanly even when GE debugger is paused. 2013-09-28 00:32:45 -07:00
Unknown W. Brackets
418d6c1e83 Reset the game when loading a state fails.
This way it doesn't crash.
2013-09-14 21:19:10 -07:00
Unknown W. Brackets
2ac5bcff1f Process savestates during single stepping.
This way we can handle them on the same thread, without weird delays.
2013-09-14 18:43:23 -07:00
Unknown W. Brackets
38e30e5a67 Fix bugs when memory size is 0x04C00000/etc.
Was experimenting with trying to match my non-phat's ram size.
2013-09-09 00:25:10 -07:00
Unknown W. Brackets
bbf714c361 Provide for GPU init failure, kill a warning. 2013-09-07 22:30:30 -07:00
Unknown W. Brackets
08b41df6a2 Change a few more log types. 2013-09-07 13:31:14 -07: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
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Henrik Rydgård
a526b7ca7c Merge pull request #3300 from thedax/fixWin32Folders
Win32: Fix flash0/memstick folder locations.
2013-08-21 07:16:55 -07:00
The Dax
76f7ecbcac Remove some code that was screwing with Win32's ability to find its own flash0/memstick folders. WTF was that stuff anyway? :\ 2013-08-21 10:08:49 -04:00
Henrik Rydgard
87e51a5c04 Fix some window title issues, etc. 2013-08-20 17:21:25 +02:00
The Dax
75f03b4d8a NewUI: Don't init audio if sound is disabled. And remove some stray newlines. 2013-08-14 09:05:24 -04:00
The Dax
5b2483ee73 Fix a bug where sound would never be initialised if a game is started with it off, then later enabled. 2013-08-14 08:47:10 -04:00
Unknown W. Brackets
fe8850b34d Set the IO thread's name for debugging. 2013-08-11 12:22:01 -07:00
Unknown W. Brackets
169fbeaca6 As a safety, especially for win32, cap the wait. 2013-08-10 21:27:51 -07:00
Henrik Rydgård
85e17f03cc Merge pull request #3118 from unknownbrackets/io-async
Prep work for pspFileSystem and two small fixes
2013-08-10 14:32:59 -07:00
Unknown W. Brackets
00ae811446 Shutdown the filesystem after HLE. 2013-08-10 14:01:44 -07:00
Henrik Rydgard
d32e10ff0b Error handling improvements 2013-08-10 19:56:47 +02:00
Unknown W. Brackets
7e56dcf665 Ignore changes to SeparateCPUThread after startup. 2013-08-10 03:36:22 -07:00
Henrik Rydgard
c6956c299a Don't leak cpuThread objects 2013-08-10 11:39:53 +02:00
Unknown W. Brackets
1226c3dbd9 Try to prevent a deadlock if CPU doesn't NEXTFRAME. 2013-08-09 22:57:53 -07:00
Unknown W. Brackets
e71cf2ec7e Don't queue Flush() etc. while on GPU thread.
Oops, that makes it not actually flush properly of course.

Also made a simpler guard wrapper to avoid extra braces in too many
places.  Reduced contention areas slightly.
2013-08-09 22:57:52 -07:00
Unknown W. Brackets
e76f945c7e Use the native cond vars for the CPU thread. 2013-08-09 22:57:51 -07:00
Unknown W. Brackets
b0e6967697 Rename UseCPUThread to SeparateCPUThread. 2013-08-09 22:41:33 -07:00
Unknown W. Brackets
02e301e5fe Add a simple message event system to the GE.
With this, the CPU thread feature now mostly works.
2013-08-09 22:41:31 -07:00
Unknown W. Brackets
e7c7c5b3db Add a setting to launch a separate CPU thread. 2013-08-09 22:41:30 -07:00
Unknown W. Brackets
dc56ab9e83 Treat savestates specially, no longer using events.
This makes it easier to run them on the GPU thread anyway, which is best
if they reset GPU caches etc., and should remove any timing related
issues.
2013-08-07 00:32:29 -07:00
Unknown W. Brackets
b17b23f1f2 Add a function to run the CPU core. 2013-08-04 15:23:38 -07:00
Henrik Rydgard
cdf674358e Merge remote-tracking branch 'origin/master'
Conflicts:
	Core/MIPS/MIPSInt.cpp
2013-07-30 19:35:12 +02:00
Unknown W. Brackets
9ec3152a8c Remove unused GLES dependency. 2013-07-29 22:47:37 -07:00
Henrik Rydgard
6ed4e348db Some logging tweaks, fix running cpu tests on ARM 2013-07-30 01:09:10 +02:00
Unknown W. Brackets
b46ab5f5a4 Always defined WIN32_LEAN_AND_MEAN.
Might as well, less mess everywhere else.
2013-07-28 21:04:20 -07:00
Unknown W. Brackets
7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Kingcom
8955fedf44 Open directory as disc image 2013-07-23 17:24:33 +02:00
The Dax
da9472c486 Simplify the HDRemaster struct, eliminating the need for the g_MemoryEnd variable. 2013-07-07 03:07:51 -04:00
The Dax
0bbcec9ad4 Remove redundant include and fix comments. 2013-06-26 16:02:53 -04:00
The Dax
d11deba3cd Fix HD Remasters and tidy up. This should be the final commit for the preliminary support, no further coding style issues withstanding. 2013-06-26 16:02:53 -04:00
The Dax
695f7eeec5 Fix more style issues, and abstract most of the init code from MemMap.cpp. 2013-06-26 16:02:52 -04:00
The Dax
8ab734d516 Restructure the hack to be more correct, and add support for double texture coordinates. Fixes #2314.
Also address various coding style issues.
2013-06-26 16:02:52 -04: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
Henrik Rydgard
3b07090682 Give GameInfo some new powers, like deleting savedata (no UI yet) and computing file sizes. Recognize directories with EBOOT.PBP in them as "games" in their own right, makes things a little cleaner. 2013-06-08 17:52:51 +02:00
Henrik Rydgard
1f50096d7f Don't save recent history from testrunner 2013-05-23 12:49:34 +02:00
Unknown W. Brackets
8f911a0ebe Add a setting to autosave the symbol map.
And move it into system, needs to be after the coreParameter too.
2013-03-30 22:28:55 -07:00
Henrik Rydgard
724a600381 Buildfix android, misc other fixes, some include cleanup 2013-03-29 20:55:32 +01:00
Henrik Rydgard
32a599c957 Win32 gl ui: Fixes and tweaks. 2013-03-29 19:32:20 +01:00
Henrik Rydgard
e7027b6c9c win32: Add menu option to open memory stick directory 2013-03-28 20:19:10 +01:00
Henrik Rydgård
be70c8ab04 Add buttons for recently played games to the empty space on the menu screen. 2013-03-24 20:04:29 +01:00
Unknown W. Brackets
0783e3b0f5 Note the PPSSPP version in the log.
Fixes #807.
2013-03-02 12:42:25 -08:00
Henrik Rydgard
3b681d3854 Make GLES_GPU own texturecache 2013-01-30 20:40:26 +01:00