Commit graph

5429 commits

Author SHA1 Message Date
Unknown W. Brackets
9e02b4307c Redo the rest of the config sections.
Now they're all just once, rather than twice.
2014-02-09 17:39:19 -08:00
Unknown W. Brackets
db918d01e8 Centralize getting and setting or config settings.
Typos in Set() and etc. can be things of the past.

Only General so far.
2014-02-09 17:39:18 -08:00
Unknown W. Brackets
4f45731119 Add configuration settings to reporting. 2014-02-09 17:39:17 -08:00
Unknown W. Brackets
553b284e95 Skip reporting when fonts do not exist.
I'm really tired of all the "no font" reports that aren't really valid.
2014-02-09 17:39:17 -08:00
Unknown W. Brackets
b46ca9f94b Lock out reporting if harmful settings are used.
Before, if you turned it on, broke stuff, and then turned it off, we
reported the broken stuff.  This could be responsible for various
messages that have seemed strange.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets
ad8488ecc4 Reset reporting on a new game.
This way "once" and "spam" no longer persist between runs.  Makes it
easier to test a bunch of games in a row without restarting in between.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets
a8b55c3e10 Keep track of whether a savestate has been used.
Mostly to improve info we get in reporting.
2014-02-09 17:39:15 -08:00
Unknown W. Brackets
80704d013e Fix #5390, crash on Exit on Windows. 2014-02-09 17:35:43 -08:00
Henrik Rydgard
6de30f5cbd Our symbian compiler doesn't seem to be too fond of new style loops indeed 2014-02-10 01:11:16 +01:00
Henrik Rydgard
aae787168e Did not mean to commit this line. 2014-02-09 23:48:31 +01:00
Henrik Rydgard
9a5ea8ec60 Let's see if the new-style for loops work everywhere by seeing if this breaks the build. 2014-02-09 23:26:06 +01:00
Henrik Rydgard
ca500b0bf4 Add setting for Kitkat Immersive Mode on Android. 2014-02-09 23:16:08 +01:00
Unknown W. Brackets
a0d5610f36 Report usage of sceIoAssign() and sceIoUnassign(). 2014-02-09 12:29:22 -08:00
Henrik Rydgård
19a3ede2ef Merge pull request #5387 from unknownbrackets/sas-minor
Fix recent ADSR regressions
2014-02-09 20:46:29 +01:00
Unknown W. Brackets
df7d25f4bf Correct a case where release rate was set negative.
Seems to be capped at INT_MAX like the others, oops.
2014-02-09 11:30:15 -08:00
Henrik Rydgård
91b9089646 Merge pull request #5338 from raven02/patch-7
scePsmf() : add isPlayingStatus check
2014-02-09 20:29:40 +01:00
Henrik Rydgård
9e9408e44c Merge pull request #5375 from unknownbrackets/dialogs
Make OSK and msg dialogs take time to init/shutdown
2014-02-09 20:28:53 +01:00
Unknown W. Brackets
a610c30c12 Oops, remove extra PSPModel reference. 2014-02-09 10:55:55 -08:00
Unknown W. Brackets
a14850c16b Drop height to 0 when VAG ends.
Otherwise we will set it to !playing and never step the height.
Should fix Yu-Gi-Oh again.  Probably release before was miscalculated as
0 which is why it worked before.
2014-02-09 10:53:47 -08:00
Henrik Rydgård
e5e4eba924 Merge pull request #5374 from sum2012/patch-2
Fix sceUtilityOskGetStatus
2014-02-09 18:16:29 +01:00
raven02
78f980e1c3 Add __isPlayingStatus() check 2014-02-09 23:24:33 +08:00
Unknown W. Brackets
e30e8937c1 Make it possible to override dialog fade out.
Useful to show multiple osk dialogs.  Not sure if any game actually uses
this feature...
2014-02-08 17:44:14 -08:00
Unknown W. Brackets
bdf94a8909 Delay init/shutdown for msgdialogs as well. 2014-02-08 17:44:13 -08:00
Unknown W. Brackets
1f5639a489 Add a delay for status changes to the OSK.
I cut down the init delay because it's really annoyingly long.
2014-02-08 17:44:13 -08:00
Henrik Rydgård
9798af3b17 Merge pull request #5370 from unknownbrackets/defines
Improve define usage (USING_GLES2 -> MOBILE_DEVICE, _WIN32 -> USING_WIN_UI)
2014-02-09 02:06:03 +01:00
sum2012
740ce033cd Fix sceUtilityOskGetStatus
@unknownbrackets have confirmed it
2014-02-09 09:05:24 +08:00
Unknown W. Brackets
a0262a5263 Reset savedata to NONE when stopping emulator.
This way the second game you play won't hang.  Also fixes tests.  Oops.
2014-02-08 16:48:40 -08:00
Unknown W. Brackets
f539269079 Allow PSPModel to be set/saved on mobile devices.
Fixes #5289, still defaulting off on mobile.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets
7add81fbd2 Use USING_WIN_UI instead of _WIN32 for differences.
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets
cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Henrik Rydgård
7937c1920d Merge pull request #5372 from sum2012/patch-1
Increase sceUtility*InitStart log level
2014-02-09 01:30:45 +01:00
sum2012
c42ec3a111 Increase more log level for InitStart 2014-02-09 08:01:41 +08:00
sum2012
8313c37c2a Increase sceUtilityOskInitStart log level 2014-02-09 06:54:12 +08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
Henrik Rydgård
d0fcf3b3c5 Merge pull request #5369 from unknownbrackets/savedata
Make sure to check current status for changes
2014-02-08 20:59:29 +01:00
Unknown W. Brackets
1e8611a756 Make sure to check current status for changes.
The game may not even call GetStatus(), but the status should still
change.

Also, error when using InitStart() during Shutdown(), per tests.
2014-02-08 09:58:31 -08:00
Henrik Rydgård
a95c0f5c3d Merge pull request #5368 from unknownbrackets/savedata
Use a delay to approximate timing of savedata status changes
2014-02-08 18:55:37 +01:00
Unknown W. Brackets
67b1aee1f8 Use a time delay to change sceUtility statuses.
This is probably more based on IO (maybe even loading and unloading
the module for the dialog or something?) but time should approximate it.

May improve games not expecting the status to switch right away.
2014-02-08 09:39:50 -08:00
Unknown W. Brackets
b03ca7049b Return an error in FILES based on SDK version.
Tested to require this exact version to return that error.  Not sure if
any games will actually hit this anyway, but they did with lower SDK
versions.
2014-02-08 09:08:27 -08:00
Henrik Rydgård
ac5fd715e6 Merge pull request #5366 from raven02/patch-14
Add ERROR_MPEG_AVC_INVALID_VALUE
2014-02-08 18:04:27 +01:00
Henrik Rydgård
279f375f9c Merge pull request #5361 from unknownbrackets/sas
Improve SAS ADSR rates and types
2014-02-08 17:07:29 +01:00
Unknown W. Brackets
b5ac7b0c5f Dumb typo. 2014-02-08 07:29:02 -08:00
raven02
9df71811e0 Return ERROR_MPEG_AVC_INVALID_VALUE 2014-02-08 23:20:49 +08:00
raven02
25eb2d5664 Add ERROR_MPEG_AVC_INVALID_VALUE 2014-02-08 23:19:19 +08:00
raven02
82add9725e sceMpeg : Remove obsolete getMpegHandle() 2014-02-08 16:46:55 +08:00
Unknown W. Brackets
fa6f004213 Validate ADSR modes in sceSasSetADSRmode().
Might prevent a game bug from breaking sounds, pretty unlikely.
2014-02-07 23:52:29 -08:00
Unknown W. Brackets
7e4e40b4d8 Reject invalid values in sceSasSetADSR().
Might happen due to a bug in a game, rejected by real firmware.
2014-02-07 22:44:11 -08:00
Unknown W. Brackets
074ef84559 Correct the rates set by sceSasSetSimpleADSR().
They were wrong for a few combinations before.  Could have effected how
accurate sound effects were (they may have been too quite, or dropped off
wrong, etc.)
2014-02-07 22:29:54 -08:00
Henrik Rydgard
ef6e6083dc Including <cstddef> here was reported to fix a build problem. 2014-02-07 23:05:03 +01:00