Commit graph

4085 commits

Author SHA1 Message Date
Henrik Rydgård
22e65ba80d Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11 2017-08-31 01:14:51 +02:00
twinaphex
7424e6485f Revert "PACK should be defined different for Win32 based on whether"
This reverts commit 553c7083ca.
2017-08-30 21:31:18 +02:00
twinaphex
553c7083ca PACK should be defined different for Win32 based on whether
we compile with Mingw or MSVC
2017-08-30 19:53:26 +02:00
twinaphex
a9bf8e7b18 More mingw patches pt. 2 2017-08-29 22:41:50 +02:00
Henrik Rydgård
91783a3281 SIMD-optimize some data conv routines used in uniform updates. 2017-08-20 11:43:35 +02:00
Unknown W. Brackets
1cf5e30bd6 Add hooks for Marvel video copy func.
Not tested - but should make videos visible in Marvel Ultimate Alliance 1.

See #9852.
2017-08-19 11:47:42 -07:00
Unknown W. Brackets
79cb51aa91 UI: Show slow message based on refresh rate.
It was always showing because it wasn't divided by 1000.
2017-07-01 16:21:47 -07:00
zminhquanz
7347c28464 Fixes 2017-06-15 21:43:41 +07:00
zminhquanz
e2c9fa7f57 Fixes 2017-06-15 12:15:56 +07:00
zminhquanz
bb5114bc84 Add 1 line 2017-06-12 13:41:04 +07:00
zminhquanz
98586e0af8 Oops 2017-06-11 20:42:54 +07:00
zminhquanz
1fb31c73cb Fix running slow message , it's always show when game run stable above 98% speed 2017-06-11 19:26:17 +07:00
Unknown W. Brackets
1339bf18c1 sceVaudio: Fix typo in constant name.
Same value, but this is clearer.
2017-06-07 18:54:47 -07:00
Henrik Rydgård
42bdf3e19b ELF loading potential out-of-bounds fix 2017-06-07 00:22:37 +02:00
Henrik Rydgård
b1b3b7c9d7 Refuse to load truncated ~PSP files. 2017-06-06 23:41:23 +02:00
Henrik Rydgård
57a20f02ed Fix minor overallocation during elf loading 2017-06-06 23:20:09 +02: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
LunaMoo
21497b5235 Patch unusual way of checking for firmware version. 2017-06-05 17:03:43 +02:00
Unknown W. Brackets
7e26c75a27 GE Debugger: Pass filename into dump replay. 2017-06-04 15:11:10 -07:00
Unknown W. Brackets
2a388ba785 GE Debugger: Fix replay FPS. 2017-06-04 10:39:02 -07:00
Unknown W. Brackets
82beb726fc GE Debugger: Record init state and display buf.
Some things are now visible, but still drawing wrong...
2017-06-04 10:38:52 -07:00
Unknown W. Brackets
73d21ab859 GE Debugger: Initial GE dump replay.
Doesn't work for a few reasons, mainly need existing matrix state/etc.
2017-06-04 10:38:50 -07:00
Unknown W. Brackets
60bf4ff99b GE Debugger: Start a module/thread for dump runs.
Otherwise some things might get confused.
2017-06-03 15:29:12 -07:00
Unknown W. Brackets
36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
LunaMoo
f10c9dfd8c Initialize pspWidth and increase the max size. 2017-06-01 16:52:36 +02:00
LunaMoo
7cee37c4e8 Needs to be square! O.o 2017-06-01 13:46:33 +02:00
LunaMoo
17d8eb19c5 Fix jpeg's with width not matching psp buffer size. 2017-06-01 13:31:25 +02:00
LunaMoo
0cdd55f450 Implement sceJpegDecodeMJpeg & sceJpegDecodeMJpegSuccessively 2017-05-31 18:46:19 +02:00
Henrik Rydgård
3d1ea531e6 Should probably stick to the old way here. 2017-05-26 19:55:52 +02:00
Henrik Rydgård
21fe73c8e7 Switch strncpy to truncate_cpy in a bunch of places. 2017-05-26 19:04:08 +02:00
Henrik Rydgård
083f7ff280 Strncpy doesn't terminate correctly, switch to truncate_cpy. 2017-05-26 18:26:26 +02:00
Henrik Rydgård
e981139e71 Some constification in ElfReader, sanity checks in sceKernelMutex. Might help #9718 a little bit, though probably not the Elf issue (and if the workarea pointer is bad, it's not likely the game will limp along for much longer) 2017-05-24 10:52:19 +02:00
LunaMoo
ea725e3b19 Init rtcBaseTime.tv_usec to 0 2017-05-24 02:43:32 +02:00
LunaMoo
00585e70ea Add sceKernelLoadExec_28D0D249. 2017-05-21 17:17:31 +02:00
Henrik Rydgård
85654aafce Merge pull request #9698 from hrydgard/managedtexture-reliability
General crash and hang fixes
2017-05-18 17:15:19 +02:00
Henrik Rydgård
b286283ced Since we know from #9601 that e9d5eb694b is wrong, at least make it more specific. 2017-05-18 15:30:12 +02:00
Henrik Rydgård
6d58a8d8f6 Move up Software Rendering to Rendering where it belongs. Makes it easier to turn it off if enabled by accident. Also warn if used and it runs slow. 2017-05-18 14:56:10 +02:00
Henrik Rydgård
70b000bba7 Remove slowness warning if software renderer is enabled, it'll show on almost everything. 2017-05-16 12:27:40 +02:00
Unknown W. Brackets
eb5c55e869 Core: Fix log spam in debug mode.
No need to log every single call.
2017-04-24 10:16:26 -07:00
Henrik Rydgård
c899882034 Fix issues with software GPU on D3D11 2017-04-11 12:53:11 +02:00
Henrik Rydgard
5ce73f7264 Restore calls to UpdateUI from sceUmd, now that it's faster. 2017-04-05 11:46:41 +02:00
Henrik Rydgard
a029195f57 Forgot one line 2017-04-04 10:14:07 +02:00
Henrik Rydgard
0a0aa02aae Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546 2017-04-04 10:11:03 +02:00
Henrik Rydgard
6313d2a7af Make the slow framerate warning yellow. Don't show it if running at "alternate speed". 2017-04-03 20:58:51 +02:00
Unknown W. Brackets
51fe978fe1 Core: Clear debug stats on frame start.
This way we can log drops and debug stats at the same time - oops.
2017-04-02 14:49:18 -07:00
Henrik Rydgård
f011ac39bf Merge pull request #9496 from unknownbrackets/idle-timing
Core: Reduce frame idle delay
2017-03-25 08:55:47 +01:00
Unknown W. Brackets
1fdf7c5373 UI: Skip game bg lookup without game.
This avoids trying to identify a file without a name.
2017-03-24 22:15:22 -07:00
Unknown W. Brackets
cf37da47ba Core: Reduce frame idle delay.
Otherwise we only have a single vblank of time left.  Sometimes that's not
enough.  Effectively, this makes us only sleep one vblank at a time.
2017-03-24 21:55:24 -07:00