Commit Graph
14759 Commits
Author SHA1 Message Date
Unknown W. Brackets 67fcdc0f4a Reflect font altCharCode in psp mem for tests.
Makes it easier to be sure it's working right.  Not completely impossible
a game will check it... but hopefully not.
2014-02-28 21:31:02 -08:00
Unknown W. Brackets bc3e123b61 Oops, fix negative clip regions.
Since they're summed, need to clamp the left/top side.  And the
bottom/right side is offset by x/y.
2014-02-28 21:25:45 -08:00
Unknown W. Brackets 692cffffd1 Use the correct default for font altCharCode. 2014-02-28 21:20:06 -08:00
Unknown W. Brackets 46370e2860 Implement sceFontGetShadowGlyphImage().
Not sure if any games actually use it, though...
2014-02-28 20:57:18 -08:00
Unknown W. Brackets 5dec831abc Reset initing if boot fails with threading off.
Fixes #5580.
2014-02-28 09:58:10 -08:00
Henrik Rydgård 909fc3d3f9 Merge pull request #5576 from thedax/decryptedEbootDump
Add a basic decrypted EBOOT.BIN dump feature.
2014-02-27 18:46:18 +07:00
Unknown W. Brackets 4a1c9645e8 Get rid of Memory::GetStruct(), use PSPPointer. 2014-02-27 00:28:57 -08:00
Unknown W. Brackets ab6b998710 Correct clipping in sceFontGetCharGlyphImage_Clip.
It was not clipping completely, and didn't handle negative clip w/h.
Also, reduce to debug log (seems to work fine now and has been working
fine in most games.)
2014-02-27 00:19:40 -08:00
The Dax 3fbf715d78 Fix wrong dump length. 2014-02-27 01:54:00 -05:00
The Dax 8c31e1ca21 Add a basic decrypted EBOOT.BIN dump function.
It won't dump already decrypted EBOOTs.
2014-02-27 01:35:17 -05:00
Henrik Rydgård 056968129c Merge pull request #5571 from unknownbrackets/font
Correct sceFindFont*() behavior
2014-02-25 23:28:37 +07:00
Unknown W. Brackets e0258bf347 Match sceFindFont*() behavior much more accurately.
Per tests.  Fixes bad font selection in Fieldrunners.
2014-02-25 08:16:10 -08:00
Henrik Rydgård 680283908c Merge pull request #5570 from thedax/warningFix
Fix GCC compiler warning.
2014-02-25 21:02:16 +07:00
The Dax 5bca8f1119 Fix GCC compiler warning. 2014-02-25 07:39:01 -05:00
Unknown W. Brackets db4e4c1c32 Improve sceFontFindFont() errors. 2014-02-25 00:43:24 -08:00
Henrik Rydgård 10a9d4967a Merge pull request #5565 from thedax/ps1EbootCheck
Add additional check to prevent PS1 EBOOTs from loading.
2014-02-25 15:16:27 +07:00
Henrik Rydgård 71f0f9d722 Merge pull request #5566 from chinhodado/patch-5
remove a check that is always false
2014-02-25 15:15:48 +07:00
Unknown W. Brackets 0e1dd5cb33 Improve error codes in sceFontFindOptimumFont(). 2014-02-24 23:42:22 -08:00
The Dax ffcae56209 Actually force the pause button on Symbian, iOS, and Meego Harmattan.
Instead of leaving a loophole open which could allow an ini edit, just force it on for these.
2014-02-25 01:57:32 -05:00
The Dax 57ed2149ef Let the touchscreen pause/menu button be available for everybody.
It's still forced ON on iOS, Symbian, and Meego Harmattan.
2014-02-25 01:39:10 -05:00
chinhodado 4f7a7d9434 remove a check that is always false 2014-02-25 00:22:52 -05:00
The Dax 7f89863319 Add additional check to prevent PS1 EBOOTs from loading. 2014-02-24 23:16:26 -05:00
Henrik Rydgård afdaaf3170 Merge pull request #5554 from hilesaz/master
Implemented sceKernelICacheInvalidateRange
2014-02-24 17:58:53 +07:00
Henrik Rydgård 40d867f74a Merge pull request #5551 from unknownbrackets/sas-minor
Revert resampling changes
2014-02-24 17:56:59 +07:00
Henrik Rydgård 1dbb925393 Merge pull request #5552 from unknownbrackets/font
Improve error codes in sceFont
2014-02-24 14:19:07 +07:00
Bovine 139c7ff5bb Implemented sceKernelICacheInvalidateRange
Fixes crash in mhp3 hot springs after some missions
2014-02-23 19:25:18 -07:00
Unknown W. Brackets 7298133c9a Allow open fonts in a few more calls.
It turns out if you open the same internal font twice, they both work
until you close both of them (it's reference counted, but the font handles
are different.)

Anyway, these funcs seem to crash on a PSP when used with a non-open font
so there's not a ton of risk here.
2014-02-23 11:48:31 -08:00
Unknown W. Brackets be79670efb Revert "Smooth SAS resampling when pitch != 0x1000."
This reverts commit 1efcebb121.
2014-02-23 08:48:49 -08:00
Unknown W. Brackets c806ae0982 Revert "Optimize mixing samples at common pitches."
This reverts commit dd434cd7c5.

Conflicts:
	Core/HW/SasAudio.cpp
2014-02-23 08:48:30 -08:00
Unknown W. Brackets 97e8f36a9b Revert "Actually use the resample buffer."
This reverts commit dc5d17971c.
2014-02-23 08:46:33 -08:00
Unknown W. Brackets d6f203db99 Revert "Reset resample hist on keyon, round up read."
This reverts commit 3edebbfba9.
2014-02-23 08:45:46 -08:00
Henrik Rydgård b7651b61c7 Merge pull request #5546 from chinhodado/fixes
some minor fixes and changes
2014-02-23 19:12:42 +07:00
Unknown W. Brackets e0d8fc5596 Pass in the font open mode for easier tracking.
Mostly concerned about handlers actually doing something...
2014-02-22 23:04:46 -08:00
Unknown W. Brackets 3edebbfba9 Reset resample hist on keyon, round up read.
If we have an uneven pitch, round up so that we get the next sample to
resample in.
2014-02-22 22:38:03 -08:00
Unknown W. Brackets 603c1dd614 Improve error codes in sceFontOpen*().
Fixes some unlikely cases of crashes as well.  I think there are leaks
here...
2014-02-22 20:35:58 -08:00
chinhodado 20ed422c3a remove a duplicate assignment 2014-02-22 23:23:33 -05:00
Unknown W. Brackets 6c34439e03 Populate the native font lib struct.
For now, this makes things a lot easier to compare (getting as much info
as possible out of these structs.)
2014-02-22 15:34:07 -08:00
Unknown W. Brackets 7ff6a2d738 Return an error on font allocation failure.
Some game might actually expect this code, you never know...
2014-02-22 15:34:07 -08:00
Unknown W. Brackets ba1f862c85 Allocate the right amount of font memory.
But it should be in multiple blocks...
2014-02-22 15:34:06 -08:00
Unknown W. Brackets afb188956f Cleanup sceFontNewLib() parameter handling.
It should error out without alloc/free funcs, and cap numFonts to 9, per
tests.  Most games pass these and use numFonts = 4.
2014-02-22 15:34:06 -08:00
Henrik Rydgård 9dacc2ba55 Merge pull request #5542 from unknownbrackets/sas-minor
Yet more exactness changes for SAS
2014-02-23 06:12:50 +07:00
Unknown W. Brackets 9cba543a4b sceSasCoreWithMix() returns an error in raw mode.
And does not reschedule, specifically.
2014-02-22 08:48:55 -08:00
Unknown W. Brackets 10bf116399 Don't report sceSasSetADSRMode(..., 5, 5, 5, 5).
It seems common.
2014-02-22 08:39:15 -08:00
Unknown W. Brackets 0939065333 Report the raw output mode to find examples.
I can't find any games actually leaving the output mode at 1.
2014-02-22 08:07:51 -08:00
Unknown W. Brackets ff920f6af6 Fix sceSas outputMode = 1 (which is not mono.)
May fix games that played audio only on the left side, or something.
2014-02-22 07:52:18 -08:00
chinhodado 586eb76ddf fix a mistake in a logic condition 2014-02-21 19:43:24 -05:00
Unknown W. Brackets ede385bfed Validate output mode, correct dry/wet handling.
Seems like any non-zero parameter sets it, actually.  I previously changed
it to check the lowest bit but I can't reproduce it now...
2014-02-21 09:47:46 -08:00
Unknown W. Brackets ce518a432f x86jit: Add a missing unknown prefix check. 2014-02-21 09:47:28 -08:00
sum2012 98e952ea6e Only can use __KernelLoadExec when load BOOT.BIN 2014-02-21 07:14:40 +08:00
sum2012 b8a8cc0049 Update log information - menthion we try __KernelLoadExec 2014-02-21 06:00:41 +08:00