Commit Graph

224 Commits

Author SHA1 Message Date
Unknown W. Brackets f530be0969 Dialog: Prevent reschedule on shutdown start.
This is a bit strange, but tests seem to suggest this is correct.
A worse priority thread won't run before savedata shutdown hits 0, but the
thread that initiated shutdown runs before shutdown completes.

Fixes Freakout Extreme Freeride loading savedata.
2021-08-14 20:15:34 -07:00
Unknown W. Brackets aecb138f90 Dialog: Avoid crash with hacked dialog start.
See #14727.  If a dialog shutdown is in progress and we incorrectly allow
a startup at that time, it breaks other things.  This tries to at least
work around that.
2021-08-14 07:46:38 -07:00
Unknown W. Brackets c3da85234c Savedata: Eat less cycles in savedata init.
Other threads do get scheduled more, but I'm not sure what factors this is
based off of.  Hoping this helps #14382.
2021-04-25 18:38:30 -07:00
Unknown W. Brackets 4128b5c6e6 Dialog: Reset last status more consistently.
This is only used to reduce log spam.
2021-04-07 21:22:31 -07:00
Unknown W. Brackets 90f4098b3d Dialog: Lock volatile on thread.
This means it doesn't matter if GetStatus is called.
2021-04-07 18:13:51 -07:00
Unknown W. Brackets 429b4594d0 Dialog: Use a thread to init dialogs too. 2021-04-07 18:13:46 -07:00
Unknown W. Brackets 7da25563d3 Utility: Add a helper for the active dialog. 2021-04-06 22:23:17 -07:00
Unknown W. Brackets 4200021a95 Utility: Update logging to new syntax for dialogs. 2021-04-06 22:18:28 -07:00
Unknown W. Brackets 7b5d8bc38f Utility: Move dialog classes to heap.
This makes it easier to properly reset them on game reset.
2021-04-06 21:59:40 -07:00
Unknown W. Brackets 88fe2e9863 Dialog: Use dialog type header more consistently. 2021-02-27 13:43:12 -08:00
Unknown W. Brackets 52c5f4bf95 Dialog: Respect accessThread priority on shutdown.
This influences shutdown timing.
2021-02-27 13:15:12 -08:00
Unknown W. Brackets aa13f5afb7 Dialog: Track type id on dialog class. 2021-02-27 12:01:52 -08:00
Unknown W. Brackets 2b9b157151 Savedata: Eat cycles in savedata shutdown start. 2021-02-27 10:35:26 -08:00
Unknown W. Brackets 2a9dde684d Dialog: Unlock volatile without Update call.
Crisis Core depends on this unlocking, likely it should really be on a
thread.
2021-02-16 19:15:09 -08:00
Henrik Rydgård 226a8be1cc Minor refactor in sceUtility.cpp, making future changes easier. 2020-12-13 19:55:37 +01:00
Henrik Rydgård 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
ANR2ME 20ad57a511 Fixed return value when using Automatic Wlan Channel. Fixes Ridge Racer 2 and Warriors Orochi 2 2020-09-08 10:33:20 +07:00
Unknown W. Brackets b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets 1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets 4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Unknown W. Brackets 500107a540 Savedata: Correct AM/PM and time/date settings.
The defaults and exposed system param values were out of sync.
2020-07-14 18:59:23 -07:00
Unknown W. Brackets aca68d711b Net: Stub network sign-in dialog.
Without this, games hang.  Now they act like you canceled.
2020-03-15 13:05:33 -07:00
Unknown W. Brackets 97bc0a5245 Net: Support NETCONF_CONNECT_APNET_LAST request.
Also cleanup the dialog to handle timing like other dialogs.  May fix
issues where it lingers "open" and prevents other dialogs from working.
2020-03-15 12:23:22 -07:00
Henrik Rydgård 86c781e434 Hack around most of the problems with the save/load dialog. Software stretch gets enabled in non-wide mode, so wallpapers work at a cost of speed. 2019-10-27 20:55:32 +01:00
sum2012 b82b42fab0 Use compat setting instead 2018-11-27 22:45:51 +08:00
sum2012 ee34a73e80 yugioh save fix tool 2018-11-26 21:34:00 +08:00
Henrik Rydgård c17f5f1a13 Fix get/set confusion 2017-06-06 19:07:11 +02:00
sum2012 0081f5775e Format fix 2017-06-06 19:05:59 +02:00
sum2012 e5001a115f Implemented sceUtilityGetSystemParamInt 2017-06-06 19:05:59 +02:00
Unknown W. Brackets ee664fdc25 Utility: Only require avcodec for mp4.
Test was ambiguous - testing more carefully only 300 is required.  Not
sure how I got this wrong before since only 300 was required for the
others...

Should help #8926.
2016-08-27 10:15:35 -07:00
Unknown W. Brackets bc03aa11f2 Log module id as hex, clearer. 2016-04-18 20:19:27 -07:00
Unknown W. Brackets 5a74826372 Use new logging in utility module load/unload. 2016-04-18 20:17:49 -07:00
Unknown W. Brackets f9ba0d7321 Correct dependency handling when loading modules.
Should help #8700.
2016-04-18 20:08:27 -07:00
Unknown W. Brackets 7bfe100b0f Fix some unused variable warnings.
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Unknown W. Brackets cb99c9fc4a Prevent a warning when loading some utility mods. 2015-10-18 12:53:18 -07:00
sum2012 5f7cbc9603 Crash fix by @hrydgard 2015-10-09 20:10:57 +08:00
Unknown W. Brackets cc92d6fb34 Allocate for utility modules, handle dependencies. 2015-10-09 20:08:07 +08:00
Unknown W. Brackets fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
sum2012 09c8670730 oop 2015-03-22 06:01:06 +08:00
sum2012 38eb713794 Fix tab 2015-03-22 05:58:00 +08:00
sum2012 b26e597479 Imp sceUtilityCheckNetParam
CS Combined Assault v06 homebrew use it
2015-03-22 05:42:44 +08:00
daniel229 88249e89a8 Report sceUtility(Un)loadUsbModule. 2015-03-15 23:33:32 +08:00
daniel229 655c25c692 Add sceUtilityLoadUsbModule() and sceUtilityUnloadUsbModule() 2015-03-15 21:08:11 +08:00
Unknown W. Brackets 0a8e6c2a06 Remove some unused functions. 2014-12-14 17:35:20 -08:00
Lioncash 4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Unknown W. Brackets 2c99baf295 Delay sceUtilityMsgDialogUpdate() per tests.
This is an approximate value, but it should be close.
2014-09-27 00:13:27 -07:00
sum2012 38844ac0e7 Remove sceUtilityLoadAvModule report
Now no need
2014-05-29 23:36:36 +08:00
sum2012 4ae98826e1 Increase sceUtilityLoad(unload) AvModule
I want do more research of #5993
2014-05-14 15:32:15 +08:00
Henrik Rydgård 55f9e8619d Merge pull request #5968 from sum2012/sceUtility
Avoid duplicate logging in sceUtility*GetStatus
2014-05-08 10:54:05 +02:00
raven02 8ed82f3d25 Fixes #5779 with new PSPScreenShotDiag class 2014-04-30 19:28:05 +08:00