Commit Graph
14759 Commits
Author SHA1 Message Date
Unknown W. Brackets 81823d0d74 Fix a small type comparison warning. 2013-10-26 18:52:56 -07:00
Unknown W. Brackets e3834d5833 Avoid some unlikely uninitialized values. 2013-10-26 18:31:14 -07:00
Unknown W. Brackets 95c68ae1e7 Assert some unlikely buffer overflows. 2013-10-26 18:30:55 -07:00
The Dax 105894fdc0 Remove useless ffmpeg Librarian dependencies from Core. 2013-10-26 16:10:58 -04:00
Henrik Rydgård 4cc6171cf9 Merge pull request #4316 from shenweip/patch-12
Fallback to default path if current directory doesn't exist.
2013-10-25 14:38:33 -07:00
shenweip 6a149200b6 Fallback to default path if current directory doesn't exist. 2013-10-26 00:44:19 +08:00
Sacha 4c52346063 Use Blackberry/UNIX time functions instead of fallbacks. 2013-10-25 21:52:50 +10:00
Henrik Rydgård f73aec2570 Only disable buffered rendering by default on Galaxy Y instead of all
Armv6 devices.

Would have like to use gpu feature flags but GL isn't necessarily initialized
when we load the config. Will need to find a different solution.

Also a buildfix for headless non-windows.
2013-10-25 11:47:44 +02:00
Unknown W. Brackets 0b64c5e014 Savestate and shutdown sceMp3 properly.
It wasn't even being saved before.
2013-10-24 20:07:07 -07:00
Unknown W. Brackets 100c188df6 Fix savestate backwards compat.
Broken since 80702109f5.
2013-10-24 20:01:14 -07:00
Unknown W. Brackets 453628946f Free mp3 contexts more carefully. 2013-10-24 19:18:36 -07:00
Unknown W. Brackets 9eda1fc578 Remove code to use last mp3 handle on error.
It was copied from mpeg, where it was added for safety, and it shouldn't
be hit anyway.
2013-10-24 19:07:24 -07:00
Henrik Rydgård badf33a872 Merge pull request #4286 from unknownbrackets/vtimers
Fix a bunch of issues in vtimers
2013-10-24 11:32:13 -07:00
Unknown W. Brackets e8091dce44 Speed up FPURegCache::Start() on x86.
This cuts that func by 97% when running the automated tests, and it was 8%
of the total time.  Won't really affect games.
2013-10-24 08:27:42 -07:00
Unknown W. Brackets 4803dfdce1 Use CoreTiming::GetGlobalTimeUs() for vtimers. 2013-10-24 01:10:46 -07:00
Unknown W. Brackets 9c874c754e Use the us based time for rtc/etc.
Instead of incorrect conversions from ticks based on current mhz.
2013-10-24 01:10:09 -07:00
Unknown W. Brackets e16d1a926b Keep more careful track of microsecond time. 2013-10-24 01:09:35 -07:00
Henrik Rydgard f0e47838c6 Just break out some functions in SasAudio 2013-10-24 01:19:08 +02:00
Henrik Rydgard a790c0a723 SasAudio: Add some comments about reverb, and add the reverb type list 2013-10-23 22:59:42 +02:00
adrian17 0a086915f5 We don't need to reset the counter as it's already done in Reset() 2013-10-23 19:05:08 +02:00
Henrik Rydgård 2b278d4c13 Buildfix 2013-10-23 17:00:10 +02:00
Henrik Rydgård 70738c1755 Automatically clear the JIT when exiting the Cheats dialog box.
Plus some simple cleanup.
2013-10-23 16:10:58 +02:00
Sacha 9e20e1a297 Fix time compares in save focus. Was breaking platforms (like QNX) where time is stored as a 64-bit unsigned value (nanoseconds). 2013-10-23 23:25:25 +10:00
Sacha 1af2f99959 Initialise everything in the SaveFileInfo to 0.
We were getting std::tm initialised to random values which non-existent files become the preferred save.
2013-10-23 23:19:50 +10:00
Sacha 07e8d475b3 Use name count instead of data count for grabbing focus. 2013-10-23 23:16:49 +10:00
Unknown W. Brackets 05f2f53358 The vtimer return value is treated as u32. 2013-10-22 22:50:52 -07:00
Henrik Rydgard 1595ac3386 Log spam reduction - only WARN about non-zero bad handles, and sceAtracSetLoopNum gets demoted to DEBUG. 2013-10-22 19:56:05 +02:00
Unknown W. Brackets 580d4436a3 Fix vtimer uid param type, add algorithm include. 2013-10-22 07:46:33 -07:00
Unknown W. Brackets 47714d4b82 Don't change the vtimer schedule with no handler. 2013-10-22 07:45:53 -07:00
Unknown W. Brackets 0a373b08b7 Return better vtimer errors within interrupts. 2013-10-22 07:45:53 -07:00
Unknown W. Brackets b7fd768ecc Correct vtimer scheduling. 2013-10-22 07:45:52 -07:00
Unknown W. Brackets a47c88d658 Run missed handlers when setting vtimer time. 2013-10-22 07:45:52 -07:00
Unknown W. Brackets 856e3b7071 Fix error code on start vtimer with current. 2013-10-22 07:45:51 -07:00
Unknown W. Brackets 4a444776ab Sign extend sceKernelUSec2SysClock().
Wow, I guess this has been broken forever.
2013-10-22 07:45:51 -07:00
Unknown W. Brackets 002aed1080 Update current and limit bytes in vtimer refer. 2013-10-22 07:45:50 -07:00
Unknown W. Brackets ea507388ea Return a special error for the running vtimer.
Also, ues 0 when none is running.  This explains the different error code.
2013-10-22 07:45:50 -07:00
Unknown W. Brackets 9bd988e376 Fix doubling of current on vtimer stop. 2013-10-22 07:45:49 -07:00
Unknown W. Brackets 167699ac9e Correct sceKernelGetVTimer*Wide() error value. 2013-10-22 07:45:49 -07:00
Unknown W. Brackets 67cd13702e Correct sceKernelSetVTimerTime*(). 2013-10-22 07:45:48 -07:00
Unknown W. Brackets 29d7d00b08 sceKernelCancelVTimerHandler() resets handler only. 2013-10-22 07:45:48 -07:00
Unknown W. Brackets c9755d7886 Correct errors from sceKernelCancelVTimerHandler(). 2013-10-22 07:45:47 -07:00
Unknown W. Brackets 7edebd1c2f Put vtimer args on the stack, skip allocation.
This is roughly where they are on the PSP based on tests, and it avoids
having to manage memory or etc.
2013-10-22 07:45:47 -07:00
Henrik Rydgård 7fd6a7e06b Merge pull request #4288 from sum2012/log
Fix Naruto Shippuden Kizuna Drive (error module load failed)
2013-10-22 06:27:12 -07:00
Henrik Rydgard 614ec822e8 Let's only bother with symbol loading on the desktop. 2013-10-22 15:14:47 +02:00
sum2012 94694ded55 Add error log of SCE_KERNEL_ERROR_LIBRARY_NOTFOUND in sceUtilityLoadModule 2013-10-22 21:08:36 +08:00
sum2012 e130ec64a7 Fix DmacMemcpy and sceDmacTryMemcpy by @unknownbrackets
Fix Ikki Tousen - Eloquent Fist crash
2013-10-22 20:57:07 +08:00
sum2012 ab9f39851a correct last time commit
seem this should right
2013-10-22 20:29:25 +08:00
sum2012 940d819d00 Increase sceUtilityUnloadModule log level 2013-10-22 20:15:32 +08:00
Henrik Rydgard bf59f3db73 Add ugly hack setting for PowerVR to disable alpha test
Causes glitches but the speedup is truly massive in some games so I relent :/

Please do not report graphics bugs when this is enabled...

Future: Maybe remove this setting except on PowerVR?
2013-10-22 13:00:19 +02:00
Henrik Rydgard de39a81dce sceAtrac: Force mono when needed. (see #4248) 2013-10-22 11:01:46 +02:00