Commit graph

81 commits

Author SHA1 Message Date
Henrik Rydgård
7d2ad6980e Another batch of changes 2025-01-20 12:20:21 +01:00
Henrik Rydgård
42a2dfbbc1 Convert more code 2025-01-19 17:34:29 +01:00
Nemoumbra
1a1f779ce7 Added memory tags for volatile memory 2024-12-23 21:22:55 +03:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
b22e27a537 Compat: Enforce "RequireDefaultCPUClock" by disabling overclocking for these games
Instead of just warning.

Fixes #12811
2023-12-07 14:06:41 +01:00
Unknown W. Brackets
edcc1a7104 HLE: Fix some type convert warnings.
Almost missed these.
2022-01-30 22:06:54 -08:00
Unknown W. Brackets
cc7366e63c HLE: Add a few syscall names. 2021-10-18 06:50:18 -07:00
Unknown W. Brackets
6db0f5106c Power: expose volatile memory lock/unlock funcs. 2021-01-18 10:37:12 -08: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
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Unknown W. Brackets
ad299ca92d Power: Match reschedule timing better. 2019-04-14 15:06:32 -07:00
Unknown W. Brackets
bc4a203fcf Power: Correct hz on update and improve resched.
It only reschedules when the PLL changes, which changes in steps.  This
also reads back much more accurate Mhz for each of PLL, CPU, and bus.
2019-04-14 14:51:35 -07:00
Henrik Rydgård
89f0ffc1bc Just reduce some log levels 2017-11-25 12:13:27 +01:00
LunaMoo
1b25959d86 Modify Hack for Crash Tag Team Racing to fix Gundam games 2017-02-03 01:13:02 +01:00
sum2012
d5a5d13a34 Add report for scePowerSetBusClockFrequency 2017-01-01 16:11:28 +08:00
sum2012
9aeb8c65d7 Fix scePowerSetClockFrequency 2016-12-30 07:01:37 +08:00
sum
d774f80bc2 oop 2016-09-06 19:51:59 +08:00
sum
94c8d6d8e4 remove space 2016-09-06 19:30:23 +08:00
sum
5d6c9701f2 Fix scePowerSetClockFrequency timing by JPCSPTrace
Fix #4523
2016-09-06 19:28:23 +08:00
Unknown W. Brackets
fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
raven02
21e4dc60eb Move POWER_VMEM_IN_USE to sceKernel.h 2014-04-27 20:50:11 +08:00
Felix-Dev
3f98fda8ed Changed comment characters from /* */ to // . 2014-04-03 21:38:58 +02:00
Felix-Dev
d434435340 Core/HLE/sceKernel.h: Added name for PSP error code 0x80000023 and replaced the used if its error number with its error code name. 2014-04-03 18:42:10 +02:00
Felix-Dev
5fe0783593 Added name for PSP error code 0x80000023 and replaced the various uses of that error code number with its error code name. 2014-04-03 18:12:22 +02:00
Unknown W. Brackets
f55c81f096 Add some basic bounds checking for power freq sets. 2014-03-29 19:56:49 -07:00
Unknown W. Brackets
3b0924278c Apply the volatile mem thread on the right thread.
Inside __KernelVolatileMemLock(), it applies also when unlocking when
waking another thread.  This was causing the tests to hang and die.
2014-03-24 00:55:47 -07:00
Unknown W. Brackets
05ab192c9c Reduce includes in Core/HLE/.
Especially templates.
2014-03-15 11:22:19 -07:00
Henrik Rydgard
5705496233 Reduce the delay in __KernelVolatileTryMemLock. However, it's still too large. 2014-03-15 10:51:16 +01:00
Henrik Rydgard
ce1d449bed Try a simple workaround for the Crash Tag Team Racing issue.
Hopefully this is reasonably safe...
2014-03-13 19:00:34 +01:00
Unknown W. Brackets
446418d783 Properly reset some state between games. 2014-03-04 07:55:08 -08:00
The Dax
85e3a2dbfb Make the model option ini-only.
Move PSP_MODEL_FAT and PSP_MODEL_SLIM to Config.h.
Default to a PSP Slim, and enable 64 megs of memory by default.
2013-11-28 14:37:10 -05:00
The Dax
5d310e6014 Add an option to allow the emulated PSP model to be changed. Some games require a PSP-2000 for features such as multiplayer. 2013-11-28 12:37:12 -05:00
Henrik Rydgard
a028f07951 Turn down some logging. 2013-11-08 18:52:07 +01:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
b898e397aa Correct sceKernelGetThreadStackFreeSize().
It was always returning 0.
2013-09-10 01:31:03 -07:00
Unknown W. Brackets
6d949f4d0b Improve volatile mem locking w/ suspended intr. 2013-09-09 23:49:06 -07:00
Unknown W. Brackets
64b75ed3ff Decentralize callback registration.
Callbacks are always tied to THEIR thread, and the registration was all
based on the current thread which is just not the right way.
2013-09-09 00:21:15 -07:00
Unknown W. Brackets
15a0f39fa1 Return yet more errors while inside interrupts. 2013-08-28 23:15:13 -07:00
Unknown W. Brackets
211c2bd955 Refuse a few more waits w/ dispatch/intr disabled. 2013-08-28 22:35:05 -07:00
the avenger
914392708c iOS buildfix 2013-08-26 06:01:23 -07:00
Unknown W. Brackets
fa57e23305 Implement volatile memory lock waiting. 2013-08-26 01:04:37 -07:00
Unknown W. Brackets
ea2a92a2c8 Seems like these are just aliases. 2013-08-26 01:04:12 -07:00
Unknown W. Brackets
2ef650aa2d Add a bunch of HLE functions for better reporting. 2013-08-22 23:04:55 -07:00
Unknown W. Brackets
72ce41f41c Report a couple unhandled blocks. 2013-08-21 01:20:06 -07:00
Unknown W. Brackets
9a241e8e24 Add a couple new HLE functions for logging. 2013-07-31 00:01:21 -07:00
The Dax
62342668d7 Rebased to latest master. 2013-06-26 16:01:07 -04:00
173210
3fc397c590 Added scePowerGetBatteryTemp support
It returns 0 celsius degrees
2013-06-23 16:52:41 +09:00
Henrik Rydgard
96a15b893c Workaroud for homebrew loading modules from flash0:/kd/ 2013-06-11 11:48:45 +02:00