Commit Graph
5277 Commits
Author SHA1 Message Date
Henrik Rydgård b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik RydgårdandGitHub 97880e32a9 Merge pull request #16707 from unknownbrackets/reporting-homebrew
Reporting: Send game ELF crc with reports
2023-01-04 10:25:53 +01:00
Henrik RydgårdandGitHub fa22ec575d Merge pull request #16610 from unknownbrackets/state-fonts
Font: Avoid late load on save state
2023-01-04 10:25:40 +01:00
Unknown W. Brackets 6d9d517700 Reporting: Send game ELF crc with reports.
Getting a lot of spam from homebrew with different IDs that appear to be
the same actual homebrew, in part from ID generation.
2023-01-02 12:23:05 -08:00
Henrik RydgårdandGitHub a4d3e0ead8 Add range checks in replaced memcpy/memset functions. (#16693)
* Add range checks in replaced memcpy/memset functions.

Keep seeing especially Replace_memcpy as a semi-rare crash in the
reports. Hopefully this will take care of it, though if games hit this,
they're probably on their way to failing somehow anyway.

* Alternate approach, correctly causing memory exceptions if not ignoring
2023-01-01 18:25:40 +00:00
Unknown W. Brackets 7ed238a0b7 Font: Avoid late load on save state.
If they weren't loaded yet, we can stay that way.
2023-01-01 10:25:05 -08:00
Unknown W. Brackets ff3e70be2f UsbMic: Fix copy on resize shrink. 2022-12-30 21:31:33 -08:00
Unknown W. Brackets 1a85370c0a UsbMic: Avoid some temp buffers, check range. 2022-12-30 21:29:26 -08:00
Unknown W. Brackets 0496ca32ff Global: Cleanup some minor includes and typos. 2022-12-27 08:33:07 -08:00
Unknown W. Brackets ef04c4f55c Utility: Report YugiohSaveFix usage. 2022-12-19 07:56:23 -08:00
Unknown W. Brackets 9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets 2b58ac7e95 Psmf: Fix pointer check. 2022-12-03 07:17:27 -08:00
Henrik Rydgård 21647cd3c1 Blind workaround for Shining Ark circle button problem
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.

Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00
Henrik Rydgård 72ec865f7e Fix for the aspect ratio plugin variable. Disable aspect ratio control in stretch mode. 2022-11-27 21:55:22 +01:00
Henrik Rydgård bdfde4cbac Implement the new screen sizing parameters 2022-11-27 16:16:04 +01:00
ThirteenAG 223ca5888e exposed more emulator things to devctl api
added
EMULATOR_DEVCTL__TOGGLE_FASTFORWARD
EMULATOR_DEVCTL__GET_ASPECT_RATIO
EMULATOR_DEVCTL__GET_SCALE
2022-11-27 00:26:57 +03:00
Unknown W. Brackets 1eac95ea25 Kernel: Respect partition param in heap funcs. 2022-11-22 00:13:06 -08:00
Henrik Rydgård 9482578fbb Twinbee Portable: Add config flag to avoid the system languages the game doesn't work with 2022-11-13 23:37:56 +01:00
Unknown W. Brackets 50f7095002 GPU: Correct Marvel copy hook size check. 2022-11-11 21:54:58 -08:00
Unknown W. Brackets 0ae0a9b389 Mpeg: Correct YUV order from decode. 2022-11-08 22:26:21 -08:00
Unknown W. Brackets 4d8eb38b3a Mpeg: Fix ConvertToYuv420 return value.
This matches some of sceJpeg, so it may fix bugs if the width/height was
passed from here directly to sceJpegCsc.
2022-11-08 21:51:00 -08:00
Henrik Rydgård 519db766b6 Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations. 2022-11-06 19:26:56 +01:00
Unknown W. Brackets 17d94cd358 SaveState: Restore replacements in only one place. 2022-10-29 17:59:35 -07:00
Unknown W. Brackets 95d8b108be Kernel: Fix reported StopThread error.
Was trying to delete -1, since it was never created.
2022-10-18 21:48:49 -07:00
Unknown W. Brackets 91bfa3ee49 Kernel: Stop reporting invalid semaphore names. 2022-10-16 08:48:15 -07:00
Unknown W. Brackets a000c32820 Kernel: Stop reporting invalid mutex names.
We know this behavior is correct, let's just make it logging.
2022-10-16 08:40:01 -07:00
Henrik RydgårdandGitHub 7d53606ec1 Merge pull request #16233 from unknownbrackets/jit-clear
jit: Ignore zero byte icache invalidates
2022-10-16 09:42:43 +02:00
Henrik RydgårdandGitHub 0f296f67db Merge pull request #16236 from sum2012/mp4msv
Add draft mp4msv module
2022-10-16 09:40:12 +02:00
sum2012 4764c54803 Fix save states 2022-10-16 15:23:33 +08:00
sum2012 266872bf15 OOP 2022-10-16 14:09:52 +08:00
sum2012 620c515704 know unknown in sceMp4Create
It is callbacks
2022-10-16 13:51:08 +08:00
sum2012 0d86eafe2f Add draft mp4msv module
Meruru no Atelier Plus - Arland no Renkinjutsushi 3 - Official PlayView  use it
2022-10-16 13:13:40 +08:00
Unknown W. Brackets 770fdbeece Kernel: Add reason to reported stop error. 2022-10-15 21:38:08 -07:00
Unknown W. Brackets c4bf2cb5c0 jit: Ignore zero byte icache invalidates.
These were getting marked pending and were clearing all cache, causing
performance concerns in for example LittleBigPlanet.
2022-10-15 18:27:52 -07:00
Henrik RydgårdandGitHub 44f61c0cee Merge pull request #16089 from ANR2ME/adhoc_matching
[AdhocMatching] Fix assertion issue when playing Cars over public adhoc server.
2022-10-11 14:14:00 +02:00
Henrik Rydgård 6833589e38 Update elfSize to uncompressed elf size when needed. Fixes infinite loading in Wipeout.
Also minor cleanups.
2022-10-10 12:22:05 +02:00
Unknown W. Brackets 7e462c087c Loader: Get rid of overalloc on module exec. 2022-10-09 16:42:24 -07:00
Henrik RydgårdandGitHub bc9215ca93 Merge pull request #16190 from unknownbrackets/save-slow
Reduce IO primarily during save operations
2022-10-10 00:03:17 +02:00
Unknown W. Brackets 8c1acc30e4 Savedata: Combine file info and dir listing calls. 2022-10-09 14:42:31 -07:00
Unknown W. Brackets 6fd2940376 Font: Reduce internal font loading IO.
Improves startup for games that load sceFont on devices with slow storage.
2022-10-09 14:42:31 -07:00
Unknown W. Brackets 4db30e7724 Io: Defer GetFileInfo() until it's needed.
We often won't need this, so skip the call until needed.
2022-10-09 14:42:30 -07:00
Unknown W. Brackets d473aa6db0 Module: Cleanup file read pattern.
Let's always use ReadEntireFile() when we can.
2022-10-09 14:42:30 -07:00
Unknown W. Brackets 55d5dc3834 GPU: Rename readback and buffer write operations.
Avoid download/upload and pack, which don't have clear directions.
2022-10-09 13:49:41 -07:00
Henrik RydgårdandGitHub 28bc45451c Merge pull request #16184 from unknownbrackets/depth-download
GPU: Hook Gods Eater Burst avatar read
2022-10-09 16:37:42 +02:00
Henrik RydgårdandGitHub 7ed3eeea22 Merge pull request #16179 from unknownbrackets/jpeg
Correct size and YUV order for jpeg decoding
2022-10-09 10:15:07 +02:00
Unknown W. Brackets 057661380e GPU: Hook Gods Eater Burst avatar read.
Currently not working since depth comes back as 0.
2022-10-09 00:52:35 -07:00
Unknown W. Brackets 33993b8574 Jpeg: Cleanup debug dump file access. 2022-10-08 20:31:39 -07:00
Unknown W. Brackets 9c026927bd Jpeg: Encode and decode YCbCr as 2x2.
Verified this is what's output from a PSP's DecodeMJpegYCbCr, and games
directly use its output in MJpegCsc - so change to match.

This makes the colors in Gods Eater Burst character portraits look better.
2022-10-08 20:24:54 -07:00
Unknown W. Brackets 1c18d9b49b Jpeg: Correct some logging of return types. 2022-10-08 18:12:37 -07:00