Commit Graph
14759 Commits
Author SHA1 Message Date
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
raven02 5aeed7c6c4 Add ERROR_JPEG_INVALID_VALUE 2014-02-09 00:10:28 +08:00
raven02 5557571c86 sceJpeg(): code cleanup and some additions 2014-02-09 00:09:25 +08: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
The Dax 7efaadaf3c Win32: Add a command-line option to let the escape button exit the emulator. 2014-02-07 16:46:40 -05:00
sum2012 8cd5720b0b Remove report 2014-02-07 04:31:51 +08:00
raven02 2321d4c19c Code cleanup scePsmf 2014-02-06 22:11:26 +08:00
sum2012 1c3adb42f2 Fix Diabolik: The Original Sin crash
This commit orignal want fix #3326 by @unknownbrackets
2014-02-06 20:40:18 +08:00
Unknown W. Brackets b4db1e6941 Stop reporting SMALLEST vpl priority.
It's supported now.
2014-02-06 00:04:56 -08:00
Henrik Rydgård 1b4cc5edb8 Merge pull request #5339 from raven02/patch-8
Use avcAu & atracAu to represent AVC and ATRAC access unit
2014-02-05 10:37:27 +01:00
Unknown W. Brackets 4a84541eb7 Merge branch 'module-load' 2014-02-04 23:50:31 -08:00
Unknown W. Brackets 9cb14cb58b Add some reporting for module loading params.
To see what types of values even get passed...
2014-02-04 23:49:20 -08:00
raven02 c3f6c086ad Keep it original 2014-02-05 09:10:27 +08:00
Henrik Rydgård 9bea246509 Upgrade savestates correctly for the brightnessLevel addition. 2014-02-04 17:10:46 +01:00
raven02 601bc39f9c Use avcAu & atracAu to represent AVC and ATRAC access unit 2014-02-04 22:55:41 +08:00
raven02 a71039351f Set pts/dts as -1 when psmfplayer->mediaengine->IsVideoEnd() 2014-02-04 22:49:37 +08:00
raven02 b783723098 Implement sceDisplaySetBrightness()/sceDisplayGetBrightness() 2014-02-04 22:22:06 +08:00
raven02 0890567240 Small fix :) 2014-02-04 20:12:50 +08:00
Henrik Rydgård 557a3917e5 Merge pull request #5334 from raven02/patch-4
sceSas : should always delay thread
2014-02-04 04:07:38 -08:00
raven02 3f20b5ad77 sceSas : should be always delay thread 2014-02-04 20:03:54 +08:00
Henrik Rydgård 8bc6e3f861 Add a setting in System to set the screen rotation. Default is locked to landscape. 2014-02-04 12:58:37 +01:00
Henrik Rydgård 013a20f61a Merge pull request #5332 from raven02/patch-3
Sanity Check ctx->mpegFirstTimestamp != 90000
2014-02-04 01:42:29 -08:00
Unknown W. Brackets a00d5a2df8 Set a voice as keyed off when its envelope ends. 2014-02-04 01:35:53 -08:00
raven02 cb2528ab99 Report the mpeg first timestamp 2014-02-04 10:59:34 +08:00
raven02 2c212d5cd6 Sanity Check ctx->mpegFirstTimestamp != 90000 2014-02-04 09:21:16 +08:00