Commit graph

6288 commits

Author SHA1 Message Date
Unknown W. Brackets
b583e446e6 Skip reporting savedata stuff in known cases.
We were always doing 3 before for 5, so skip reporting it.  Other cases
are the interesting ones.
2014-07-09 23:30:20 -07:00
Henrik Rydgård
41601d714b Change default of "disable slow framebuf effects" to false 2014-07-09 13:42:46 +02:00
Unknown W. Brackets
4a8d52ab1a Add a config option for the slow framebuf effects.
Like cluts, blitting, etc.  At higher render resolutions these are
expensive, and on some mobile devices they may be too much.

Of course, they're only used when needed so this is a speedhack.
2014-07-08 23:57:27 -07:00
Unknown W. Brackets
0b22d8f56c Check for missing SAVEDATA_PARAMS. 2014-07-06 22:42:14 -07:00
Unknown W. Brackets
30f8ec447a Hash and detect savedata hashmode correctly.
Fixes Persona 1 savedata compatibility.
2014-07-06 19:27:51 -07:00
Unknown W. Brackets
b1b2c91eb3 Fix issues on win32 with multithreading.
We weren't properly rechecking based on spurious wakeups (which
technically can happen on x64 too.)
2014-07-06 14:02:00 -07:00
Unknown W. Brackets
b370621a3a Fix sceCtrl buffer update timing drift.
Spotted by xsacha.  Only when not using vblank timing (most commonly used
by games.)
2014-07-06 01:08:44 -07:00
Unknown W. Brackets
09b9d2ad81 Keep track of ranges that have emuhack ops.
So that we can invalidate them smarter.
2014-07-05 16:25:16 -07:00
Unknown W. Brackets
2910f7e7a2 Flush icache before memcpys.
Maybe there's a way to optimize this better...
2014-07-05 13:23:47 -07:00
Unknown W. Brackets
d2e7dfcc51 Minor logging improvement. 2014-07-05 13:19:53 -07:00
Unknown W. Brackets
4b9229a5ba x86jit: Flush the PC before r/w in debug.
This way we get better log output.
2014-07-05 12:57:44 -07:00
Unknown W. Brackets
cd78e1676d Fix savestates broken by #6493. 2014-07-05 07:30:03 -07:00
Henrik Rydgård
8a308fa7a7 Merge pull request #6493 from xsacha/master
HLE: sceUsb stubs.
2014-07-05 14:35:42 +02:00
Unknown W. Brackets
a5b0901c36 Improve cross-platform savestate compat.
If 0 files are open in flash0:, which is very very common, this will make
them work the same.
2014-07-04 13:34:38 -07:00
Sacha
2bb87bbe23 HLE: sceUsb stubs. 2014-07-04 06:27:01 +10:00
Sacha
135c79ee78 Implement sceGzipDecompress and sceDeflateDecompress. Some games (eg. Suto Mani / Strobe Mania) required this. They are now playable. Fixes #146 2014-07-03 13:58:47 +10:00
Karen Tsai
1d1096633f Removed some extraneous tabs in sceKernelModule.cpp 2014-07-02 13:21:27 -04:00
Henrik Rydgård
da32e5d4e3 Merge pull request #6481 from sum2012/sceKernelModule
Correct sceKernelSelfStopUnloadModule
2014-07-02 18:30:38 +02:00
Unknown W. Brackets
f835c158a3 Also fire mhz change listeners on load state. 2014-07-02 08:19:49 -07:00
Unknown W. Brackets
2d54c1cf4e Reset the audio rate on save/load state.
Should fix #6484.
2014-07-02 08:11:26 -07:00
sum2012
96c6a53e58 Fix space bug 2014-07-02 20:27:17 +08:00
sum2012
0256c7e056 Use with same code with sceKernelStopUnloadSelfModuleWithStatus 2014-07-02 20:08:27 +08:00
Unknown W. Brackets
b73c1ba29b Reduce audio drift from 44.1kHz.
Although, not sure what the PSP's actual exact timing is...
2014-07-01 23:08:38 -07:00
Unknown W. Brackets
f5440c2357 Fire a callback when cpu mhz changes.
So these can adjust efficiently.  It's not like it changes often.
2014-07-01 23:01:30 -07:00
Unknown W. Brackets
0f7f00c635 Play it safer with savedata dialog thread safety. 2014-07-01 22:52:51 -07:00
sum2012
eecd9038cd Init exitCode variable 2014-07-02 08:00:41 +08:00
sum2012
bc4a9149d3 Correct sceKernelSelfStopUnloadModule
Fix #4237
2014-07-02 07:25:49 +08:00
Unknown W. Brackets
e505655c2b Fix a potential crash/race condition.
If anything is behind, it might run __AudioWakeThreads() within
reschedule, and get confused.
2014-07-01 08:02:34 -07:00
Unknown W. Brackets
5cd4a17e88 Fix periodic events drifting when eating cycles.
Need to set the next timer before rescheduling threads or etc.
2014-07-01 00:26:15 -07:00
Unknown W. Brackets
e9fd43b947 Correct cyclesLate if an event consumes cycles.
This can prevent things from drifting out of sync.
2014-07-01 00:26:14 -07:00
Sacha
86284aa91a Fix #6477 by sleeping for 16ms when minimized. 2014-07-01 13:29:39 +10:00
Unknown W. Brackets
c0e6f26bb5 Fix startDefaultPrefix tripping.
We want the regs already initialized when we set this up.
2014-06-30 08:10:14 -07:00
Henrik Rydgård
cca896b0e4 Merge pull request #6468 from unknownbrackets/savedata
Execute savedata operations on a thread, notify of failure
2014-06-30 14:07:06 +02:00
Henrik Rydgård
bfffe33438 Merge pull request #6469 from unknownbrackets/logging
Enforce semicolons at the end of log lines
2014-06-30 11:44:02 +02:00
Henrik Rydgård
7c54a3e8b6 Merge pull request #6470 from unknownbrackets/armjit-minor
Use the ARM rounding mode flag for conversions
2014-06-30 11:43:00 +02:00
Unknown W. Brackets
c6f5ddd7a4 Reset replacements on loadexec.
Just to make sure we don't get confused.
2014-06-30 00:27:05 -07:00
Unknown W. Brackets
433f4eb00a Use the ARM rounding mode flag for conversions.
It's at least much simpler.  Not sure if faster.  Handles NAN correctly.
2014-06-29 20:36:00 -07:00
Unknown W. Brackets
f339f7d539 armjit: Handle NAN correctly in float conversion. 2014-06-29 20:05:59 -07:00
Unknown W. Brackets
c168db5943 armjit: Fix really bad typo in cvt.w.s. 2014-06-29 19:43:17 -07:00
Unknown W. Brackets
0a33eb4c42 Fix missing log semicolons only affecting logging. 2014-06-29 19:09:39 -07:00
Unknown W. Brackets
0078faef8b Fix some log semicolons that might affect logic.
But, these should all be right.
2014-06-29 19:09:38 -07:00
Unknown W. Brackets
5db79dcf11 Fix some missing semicolons on log statements. 2014-06-29 19:09:37 -07:00
Unknown W. Brackets
01d3dcdc99 Prevent a possible race condition in save/load. 2014-06-29 17:44:56 -07:00
Unknown W. Brackets
e3c6876365 Show a message when saving/loading fails. 2014-06-29 17:42:20 -07:00
Unknown W. Brackets
553c870ee9 Execute savedata io on a separate thread.
Some savedata is sorta large, like 1MB, this makes it save more smoothly.
2014-06-29 17:32:57 -07:00
Unknown W. Brackets
51909a3256 Separate out io actions from save dialog display. 2014-06-29 17:07:04 -07:00
Henrik Rydgard
2d05b6e5e8 bugfix: Strdup the generated mac address 2014-06-30 01:08:45 +02:00
Henrik Rydgård
4c0f4f2e38 Merge pull request #6467 from GreenBagels/init-rand-mac
Change RandMAC function call to function pointer
2014-06-30 00:40:52 +02:00
GreenBagels
c006bbd51b Change RandMAC function call to function pointer
Left out .str() stringstream function

No need for forward declaration

Left an extra pair of parenthesis on CreateRandMAC

Something deleted a )...
2014-06-29 18:27:03 -04:00
Kingcom
dc80123b93 Add options to import/export .sym files from the menu 2014-06-30 00:02:22 +02:00