Henrik Rydgård
b1f8830bd8
Don't try to present from little temp framebuffers used by Godfather to draw text.
...
The framebuffer does contain the top of the video frame at the present
time though, so things have partially gone well. However the rest of the
frame lies after it in VRAM. What we probably technically should do when
we see this is to assemble an image from both the framebuffer we find
and VRAM contents exceeding the range of that image, but seems kinda
impractical.
This works, but there seems to be some other issue with how the text is
rendered or copied. Could be a color precision issue confusing the game
I suppose.
2023-04-17 12:24:31 +02:00
Unknown W. Brackets
e7ebb03103
Module: Save ELFs by name and fix when compressed.
...
Causes confusion for people using this feature.
2023-04-16 19:28:15 -07:00
Unknown W. Brackets
1faa4031e6
HLE: Log longer string args.
...
Sometimes was hiding useful parts of filenames, etc.
2023-04-16 19:17:45 -07:00
Nemoumbra
5bf22c15d0
sceKernelPrintf improvement, QOL adjustments
2023-04-11 15:47:50 +03:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
d223d3c316
Rename CenterDisplayOutputRect to CalculateDisplayOutputRect
2023-04-02 22:29:08 +02:00
Henrik Rydgård
04d3d3111c
Clean up __Ctrl button functions.
2023-04-01 08:55:45 +02:00
Henrik Rydgård
38f4cc4cc9
Make reverse mapping lookup work for the simple PSP buttons.
2023-03-31 11:05:29 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
26bf40c497
ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. ( #17209 )
...
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor.
* SetAllButtons: Separate bits to set and bits to clear.
* Oops, missed committing some files somehow
2023-03-30 10:47:28 +02:00
Unknown W. Brackets
00d84695d8
headless: Rename collectEmuLog for clarity.
...
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Unknown W. Brackets
76ef95a841
headless: Remove printfEmuLog, simplify output.
2023-03-26 10:17:34 -07:00
Henrik Rydgård
acb61e4781
Merge pull request #17189 from unknownbrackets/minor-cleanup
...
Miscellaneous cleanup from recent changes
2023-03-26 09:44:29 +02:00
Unknown W. Brackets
2d13b40123
GPU: Rename match flags to avoid confusion.
2023-03-25 23:25:42 -07:00
Unknown W. Brackets
05c225655d
GPU: Add xfer flag to ignore create vfb flags.
...
Save icons need CPU reads to work.
2023-03-25 23:19:21 -07:00
Unknown W. Brackets
3d4dd1ac39
Debugger: Update symbols properly on prx load.
2023-03-25 18:02:56 -07:00
Unknown W. Brackets
4e3ec384fb
headless: Use requests for debug output.
...
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Henrik Rydgård
9cf7870ffa
host nullchecks
2023-03-25 11:06:47 +01:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
5e36acb9eb
Remove Host::UpdateSound
2023-03-25 10:18:29 +01:00
Henrik Rydgård
349b73acec
Move the resampler usage to a common file, AudioCommon. ( #17176 )
...
* Move the resampler usage to a common file, AudioCommon.
Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.
* Android.mk typo
* libretro makefile fix
* libretro buildfix
* libretro: try a different approach for the temporary solution
* duh
* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård
e95662cebf
Separate out the core interface around the resampler, in order to move it out from __sceAudio.
2023-03-24 14:48:53 +01:00
Henrik Rydgård
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Henrik Rydgård
87d0c21f14
Make proper requests for the external hardware commands (gps, microphone, camera)
2023-03-22 23:52:25 +01:00
fp64
3409dba557
Merge branch 'master' into rtc-fix
2023-03-22 02:11:25 -04:00
fp64
0584c6f414
Fix RTC failures in autotests on 32 bit
...
Also simplifies code. Note: some uses of (potentially 32-bit) time_t
are still left.
2023-03-22 01:50:50 -04:00
Henrik Rydgård
fc1732cc22
Move NotifySwitchUMDUpdated
2023-03-21 13:37:19 +01:00
Henrik Rydgård
c92a4acb40
Move NotifySymbolMapUpdated to System_Notify
2023-03-21 13:37:19 +01:00
Henrik Rydgård
dda8635c89
Move three notifications out of Host
2023-03-21 13:37:19 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
99c11901f2
Merge pull request #17130 from unknownbrackets/leak-minor
...
Minor leak fix
2023-03-18 16:58:58 +01:00
Henrik Rydgård
66d2fb2aa4
Reduce logspam from fonts, and a less angry error message for missing textures.zip.
2023-03-16 23:12:46 +01:00
Unknown W. Brackets
3fcecfa5ec
Atrac: Ensure codecCtx doesn't leak.
...
Although, I don't think we're reallocating it.
2023-03-15 22:03:21 -07:00
Henrik Rydgård
1071d0808c
Undo Daxter's rotation of the analog input. See #17015
...
I think this is quite a bit better actually. Appears to be exactly 15 degrees.
2023-02-27 11:10:47 +01:00
Henrik Rydgård
c2c479b217
Remove function InitClear. Was only implemented for DX9, and only barely meaningful in non-buffered.
2023-02-25 16:32:50 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
78f3d450ff
Eat some CPU cycles in sceUtilityOskUpdate. Works around timing bug in Ghost Recon Predator.
...
The bug is in the game, it uses the wrong vblank wait, but it only works
because the dialog processing takes so much time that it misses the
vblank period anyway.
Fixes #12044 , and hopefully won't break anything else.
2023-02-14 20:14:49 +01:00
Henrik Rydgård
dc74778dea
Do the last ones too
2023-02-09 10:27:29 +01:00
Henrik Rydgård
c52db636ce
Optimize tag formatting
2023-02-09 10:22:46 +01:00
Unknown W. Brackets
4bc205b7bc
Impose: Log when ignoring requested language.
2023-02-08 19:07:54 -08:00
Henrik Rydgård
9827dd536c
Count listsyncs and drawsyncs in gpu stats. Eat some cycles in listSync
...
Chose a conservative number (same as sceGeContinue)
2023-02-08 00:41:26 +01:00
Unknown W. Brackets
88ba003f46
ThreadManager: Add a simple priority field.
...
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Sergey P
bf2cabb82c
merge from upstream
2023-02-01 13:33:07 +03:00
Sergey P
64f1e5ed61
range checks
2023-02-01 13:26:17 +03:00
sum2012
aa047233e1
Add font's logging of requestedStyle
2023-01-28 01:58:52 +08:00
Sergey P
91aa6ad608
merge from upstream
2023-01-26 14:50:09 +03:00
Sergey P
2358ae01dd
Merge remote-tracking branch 'upstream/master'
2023-01-26 13:56:14 +03:00
sum2012
ad83a5a201
Add more logging in sceFontFindOptimumFont
...
Will easier to compare real psp's font
2023-01-26 05:30:47 +08:00
Unknown W. Brackets
6af6ccc1cf
Global: Fix some format warnings.
2023-01-18 21:42:19 -08:00