Commit Graph

4560 Commits

Author SHA1 Message Date
raven02
92042e6b55 Apply offset by 1px to our provided PSP fonts 2013-10-27 10:02:13 +08:00
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
Henrik Rydgard
3d5a85f1a7 Restore accidental change to sceAtracGetInternalInfo, minor indentation reduction, demote a log message 2013-10-22 10:53:48 +02:00
Henrik Rydgard
bf89c01215 When atrac3+ decoding fails, stop decoding silently-ish instead of decoding garbage, spamming the log 2013-10-21 23:10:30 +02:00
Henrik Rydgard
f7feefcb03 Cleanup: Remove a check that will never be true 2013-10-21 23:02:37 +02:00
Henrik Rydgård
598e06faa8 Make Home in the game browser available on linux/mac/etc too.
Misc tweaks.
2013-10-21 12:21:22 +02:00
Henrik Rydgård
8556eaf59d sceAtrac: Report occurences of multiple packets in one. Update native
with minor UI fix.
2013-10-21 11:19:13 +02:00
The Dax
98c6e87c0f Make touch Dpad and Select show by default. 2013-10-20 12:02:19 -04:00
sum2012
fc3d3c9a78 fix maxim-at3plus crash
Thanks @unknownbrackets
https://github.com/hrydgard/ppsspp/issues/4248
Digimon Adventure Voice probrem can be fixed later
2013-10-20 20:57:24 +08:00
Henrik Rydgard
f5a63d7d41 Better fix for the UINT_64 define issue on android 2013-10-20 13:52:31 +02:00
Siddharth
55a664bd13 made buttons invisible in the layout screen if they are disabled 2013-10-20 17:17:32 +05:30
Henrik Rydgård
4b063228f6 Fix path bug by using the right quotes.. 2013-10-20 10:46:23 +02:00
Henrik Rydgård
be39646223 Merge pull request #4252 from thedax/touchControlVisibility
Add a screen to toggle onscreen touch control visibility.
2013-10-20 01:13:03 -07:00
Henrik Rydgård
9f9d7d961e Merge pull request #4249 from unknownbrackets/io-minor
Support \ paths within filenames (Linux/Android?/etc.)
2013-10-20 01:07:37 -07:00
Unknown W. Brackets
afb578a325 Use the newer interface for Qt's gpu debugging. 2013-10-20 00:14:39 -07:00
Sacha
40da2f7f5b Buildfix Symbian and Blackberry from the ffmpeg merge.
Fix a header issue on Blackberry.
Fix a UINT64_C define issue.
FFMPEG is no longer 'beta'.
2013-10-20 16:41:34 +10:00
The Dax
11a34746cf Default to true for all touch control visibility, and actually translate Control Visibility. 2013-10-20 00:01:29 -04:00
The Dax
d099692ed0 Make Toggle All actually function. 2013-10-19 23:24:38 -04:00
The Dax
a88a30fb1d Add a touch control visibility screen. All touch controls can now be toggled on or off, except for the Pause button on platforms that have it, as a safety precaution. 2013-10-19 23:24:09 -04:00
Unknown W. Brackets
3499ef341a Support \ paths within filenames. 2013-10-19 17:06:29 -07:00
Henrik Rydgard
f15e21c5f8 Remove the Enable Atrac3+ checkbox 2013-10-20 01:07:18 +02:00
Siddharth
38442c090e allow loading and unloading of onScreen control coordinates. Also, use sane (bottom left origin)coordinate system for all onScreen elements
can now reposition on screen controls

removed unnessecary files

fixed indenting issues

renamed RepositionOnScreenControlScree to TouchControlLayoutScreen
2013-10-20 00:39:38 +02:00
Unknown W. Brackets
edf3faf251 Clear the audio buffer on game reset.
Avoids blips.
2013-10-19 15:11:06 -07:00
Unknown W. Brackets
e99cc01976 Fix some switch/case warnings. 2013-10-19 14:57:45 -07:00
Unknown W. Brackets
e95f55a5fe Fix some enum type warnings. 2013-10-19 14:57:45 -07:00
Unknown W. Brackets
1283a93492 Avoid some minor warnings. 2013-10-19 14:57:45 -07:00
Henrik Rydgård
2f8a78dd7a Clean up SimpleAT3Dec, don't allocate new Frame objects all the time 2013-10-19 23:09:28 +02:00
Henrik Rydgård
2c5adc96cf Rip out the support for the Atrac3+ plugin. It is gone, to never return. 2013-10-19 23:09:26 +02:00
Henrik Rydgård
be40289d6c Use ffmpeg for Atrac3+ decoding during video playback as well. 2013-10-19 23:09:26 +02:00
Henrik Rydgard
3cefa1ad79 Things seem more stable after initializing the AVPacket.
More testing needed though.
2013-10-19 23:09:25 +02:00
Henrik Rydgard
f311901e5e Use ffmpeg for decoding Atrac3+ in sceAtrac. Thanks Maxim. 2013-10-19 23:09:25 +02:00
Henrik Rydgård
51196742ee Clear symbol map in AttemptLoadSymbolmap on non-windows 2013-10-18 18:23:17 +02:00
Henrik Rydgård
2d331cb8c4 Revert "Clear the symbol map in LoadExec. Fixes some hangs on switching games,"
This reverts commit 6c3f2155c7.
2013-10-18 18:08:18 +02:00
Henrik Rydgård
f85b4a4252 Buildfix 2013-10-18 15:07:04 +02:00
Henrik Rydgård
6c3f2155c7 Clear the symbol map in LoadExec. Fixes some hangs on switching games,
unclear why.
2013-10-18 14:40:58 +02:00
Henrik Rydgård
07c818251c Some formatting cleanup.
Yeah, I said we shouldn't do big overhauls..
2013-10-18 14:39:04 +02:00
Unknown W. Brackets
9a707f6c00 Fix typo, ARM build. 2013-10-17 15:28:50 -07:00
Unknown W. Brackets
2e8ef3027f Write the retaddr to rd, not always ra, in jalr.
Thanks go entirely to @Kingcom for pointing this out.

Don't know of any games not using RA as the rd.
2013-10-17 07:39:33 -07:00
Henrik Rydgård
99fec75f06 Delete OMAConvert, entirely unused 2013-10-17 12:33:57 +02:00
Henrik Rydgård
ac2334386a Move BufferQueue out of the at3 plugin header 2013-10-17 12:31:22 +02:00
Sacha
fafe4fc4f2 Fix multi-threading crashes on shutdown with Linux and Blackberry. Fixes issue #3133 -- thanks @unknown 2013-10-17 17:39:04 +10:00
shenweip
e7601b4399 Change some log level. 2013-10-17 11:57:55 +08:00
Henrik Rydgard
aa3cf34fc1 Jit: Fix valgrind warnings.
The first time PrefixStart was entered with startDefaultPrefix = true, it would
call EatPrefix, which checks the so far entirely uninitialized prefixXFlags.
2013-10-16 22:33:48 +02:00
Henrik Rydgård
9caaa86a87 Merge pull request #4206 from bollu/AudioArtefactFix
optional atomic audio locks
2013-10-16 12:11:50 -07:00
Siddharth
06c13926ee made atomic lock optional
fixed an incorrect merge to nativeApp.cpp

made atomic locks init correctly

reintroduced atomic locks in audio as an optional setting

converted global pointers to global objects on stack

moved all mixing code into PSPMixer

internaized all code into __sceAudio.cpp

cleaned up rebase

cleaned up rebase
2013-10-16 23:42:47 +05:30
Henrik Rydgard
1ec0a977e4 Fix too-slow fade in/out of save dialogs and others in 30hz games. 2013-10-16 18:54:40 +02:00
Unknown W. Brackets
f5e0d80ead Pass arguments to root threads same as regular.
Before it would have issues or crash if the args were > 256 bytes.
Fixes Ys 1 & 2 Chronicles.
2013-10-16 01:31:58 -07:00
Henrik Rydgard
e88a049e79 Windows: Center window on first start 2013-10-15 13:10:25 +02:00
The Dax
fec7dab628 Have CWCheats use it, too. It's useful pretty much anywhere one needs the real path instead of a virtual memory stick path. 2013-10-15 03:41:11 -04:00
The Dax
845a25e897 Whoops. Forgot to push this. 2013-10-15 03:41:11 -04:00
The Dax
b549a4e6e5 Assume g_Config.memCardDirectory will have a trailing slash. Make InitSysDirectories for Win32 only. 2013-10-15 03:41:10 -04:00