Commit Graph

8659 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -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
82df6af4c6 Merge pull request #9746 from LunaMoo/minorCWC
CWC: Respect _C2 as an activation.
2017-05-31 13:17:56 +02:00
LunaMoo
3aae24aea5 Remove unnecessary \ / conversion. 2017-05-31 12:44:05 +02:00
LunaMoo
ce74423381 Simplify some cwc detection code, respect _C2 as activation. 2017-05-31 11:58:24 +02:00
LunaMoo
5e0f8141d2 Corrections, some %i->%d around other code as well. 2017-05-30 13:52:29 +02:00
LunaMoo
2674ea07ba Add matching title for savestates. Cosmetic ~ for savestate manager. 2017-05-30 12:20:34 +02:00
LunaMoo
12dc7163f6 Add savestates to the list(with automatic rename) 2017-05-30 12:20:32 +02:00
LunaMoo
939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
Unknown W. Brackets
9b7f43db04 Add additional button defines.
Not yet functional (overlap with virtkeys.)
2017-05-27 10:25:04 -07:00
Henrik Rydgård
8c1d352184 Merge pull request #9729 from hrydgard/truncate-cpy
Switch from strncpy to truncate_cpy
2017-05-26 20:36:54 +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
867a1d8bb2 Buildfix, oops 2017-05-26 19:05:18 +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
Unknown W. Brackets
708a54d60b Merge pull request #9726 from hrydgard/remove-always-depth-write
Remove "Always Depth Write" setting. One step forward for #8171
2017-05-26 11:17:40 -04:00
Unknown W. Brackets
ba483853c5 Merge pull request #9725 from hrydgard/remove-mipmap-setting
Remove the Mipmap setting. One step forward for #8171
2017-05-26 11:16:37 -04:00
Henrik Rydgård
0ec1e5e3b2 Don't erase and rewrite the dispatcher when the cache is cleared. Fixes #9708 2017-05-26 15:48:03 +02:00
Henrik Rydgård
1d96ead852 Remove "Always Depth Write" setting. One step forward for #8171 2017-05-26 10:23:45 +02:00
Henrik Rydgård
1b05a54800 Remove the Mipmap setting. One step forward for #8171 2017-05-26 10:21:20 +02:00
Unknown W. Brackets
32b2331efc Merge pull request #9722 from hrydgard/softgpu-rescue
SoftGPU Android rescue operation
2017-05-24 19:44:45 -04:00
Henrik Rydgård
9ce874d2cf Typo fix, MOBILE_DEVICE 2017-05-25 00:31:00 +02:00
Henrik Rydgård
6bccc06628 Reset (through renaming) and hide the software rendering setting on Android. Only show it if it's already enabled. 2017-05-24 20:53:00 +02:00
Henrik Rydgård
875e7f0372 Throw in a few more checks in ElfReader 2017-05-24 20:45:29 +02:00
Henrik Rydgård
5a7d245c31 Merge pull request #9721 from LunaMoo/MEMSIZEforHomebrew
Use InitMemoryForGamePBP also for homebrew(PSP_PBP_DIRECTORY).
2017-05-24 18:32:41 +02:00
LunaMoo
a67e5bc8db Use InitMemoryForGamePBP also for homebrew(PSP_PBP_DIRECTORY). 2017-05-24 18:12:35 +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
Unknown W. Brackets
1bf3885048 Merge pull request #9716 from LunaMoo/TimeStuff
Init rtcBaseTime.tv_usec to 0 to return matching time in some syscalls
2017-05-23 22:47:41 -04:00
LunaMoo
ea725e3b19 Init rtcBaseTime.tv_usec to 0 2017-05-24 02:43:32 +02:00
Unknown W. Brackets
505941908a Merge pull request #9709 from hrydgard/selective-partial-restart
Don't use partial-restart unless debugger is present.
2017-05-21 12:40:29 -04:00
Henrik Rydgard
a1e3be445a Don't use partial-restart unless debugger is present.
Works around #9666 for most practical purposes.
2017-05-21 17:25:00 +02:00
LunaMoo
00585e70ea Add sceKernelLoadExec_28D0D249. 2017-05-21 17:17:31 +02:00
Unknown W. Brackets
984060a85f Merge pull request #9677 from hrydgard/joystick-sensitivity
Quick hack to enable analog stick sensitivity on non-windows platforms.
2017-05-20 13:41:27 -04:00
Henrik Rydgård
66dc0ea62f Typo fix 2017-05-19 11:23:22 +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
75fa53e63b Make sure the analog sensitivity defaults correctly on non-Windows 2017-05-18 15:16:32 +02:00
Henrik Rydgård
4491c7e2ca Quick hack to enable analog stick sensitivity on non-windows platforms.
See #8028
2017-05-18 15:15:10 +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
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +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
LunaMoo
0e44c3b9fe Add reduceHash option, to hash 50% of texture when it's otherwise unreliable. 2017-05-07 21:12:26 +02:00
Unknown W. Brackets
6b3944d329 UnitTest: Correct vertex and jit tests.
We now convert texcoords to floats.
2017-05-06 18:45:04 -07:00
LunaMoo
36d7933c24 Disable ignoreAddress on quick hash and inform the user about it. 2017-05-07 00:12:20 +02:00
LunaMoo
3c1f62d691 Expose XXHASH for Texture Replacement 2017-05-06 14:51:24 +02:00
LunaMoo
88dabd59e3 Add "ignoreAddress" to texture replacement. 2017-05-05 21:40:40 +02:00
Unknown W. Brackets
793178c106 Windows: Initialize WindowsHost in EmuThread.
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgård
712fb08105 Merge pull request #9655 from unknownbrackets/leaks
Fix some leaks
2017-04-29 22:15:54 +02:00
Unknown W. Brackets
9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07:00
LunaMoo
3f90c2ded0 Fix "copy type" pointer cwc 2017-04-29 19:47:37 +02:00
LunaMoo
5fd6d4aab6 Minor OCD fix;]. 2017-04-29 16:24:01 +02:00
Unknown W. Brackets
7613fd97aa Windows: Fix minor leak in disassembly UI. 2017-04-27 20:02:49 -07:00
LunaMoo
26006e9d80 Add an option to trap mouse within window/display area. 2017-04-27 16:29:08 +02:00
LunaMoo
26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +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
Unknown W. Brackets
53a8e4213d Core: Fix PPGe text drawing with missing icon. 2017-04-24 09:37:55 -07:00
Unknown W. Brackets
b483444fab IR: Cleanup some invalid ops. 2017-04-20 21:11:40 -07:00
Unknown W. Brackets
c91f9f3a2c Windows: Fix buffer overflow on load.
This was causing headless to crash, not sure what it was doing otherwise.
2017-04-20 21:09:55 -07:00
Unknown W. Brackets
960ffd2e85 Core: Remove bRestartRequired config hack. 2017-04-15 16:34:25 -07:00
Unknown W. Brackets
e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Unknown W. Brackets
638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
LunaMoo
372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets
989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgård
c899882034 Fix issues with software GPU on D3D11 2017-04-11 12:53:11 +02:00
Henrik Rydgård
4f7bfbe539 Merge pull request #9580 from unknownbrackets/rewind
SaveState: Correct crash on rewind usage
2017-04-09 09:37:18 +02:00
Unknown W. Brackets
07ce4c213d SaveState: Correct crash on rewind usage.
Since the mutex is now non-recursive, make the Compress/Decompress API
asymmetric.
2017-04-09 00:19:35 -07:00
Henrik Rydgard
b1a530b3a5 Use the root of the memstick as a tempdir for downloads. Should help #8711 2017-04-07 09:58:36 +02:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +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 Rydgard
7230a8b427 Remove the "Disable alpha test" setting. It breaks too many things.
The  performance benefits in a few games on older hardware are not worth it.
We are able to automatically remove redundant alpha test in many cases now.
2017-04-01 11:36:35 +02:00
Henrik Rydgard
8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
Unknown W. Brackets
c9a5c00bf7 UI: Allow overriding colors in the ini. 2017-03-26 09:51:33 -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
Henrik Rydgård
33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
Unknown W. Brackets
47565e1a9e Core: Add a feature to log stats on any frame drop. 2017-03-23 19:02:19 -07:00
Unknown W. Brackets
438af2f4fa Core: Separate collecting and displaying stats. 2017-03-23 18:57:18 -07:00
Henrik Rydgård
a769724fd0 Fix old bug breaking "non-fast" memory on ARM64. May help #9477, also see #9488 2017-03-23 16:53:16 +01:00
LunaMoo
4a2677e0c6 Revert unintentional change from: 429bf5d8b3 2017-03-23 11:54:54 +01:00
Henrik Rydgård
656645fb93 Improve a sad comment 2017-03-23 10:02:29 +01:00
Henrik Rydgård
4bad28046b UWP: Save memory by only committing the ranges we need, instead of doing a giant allocation. 2017-03-23 10:02:29 +01:00
Henrik Rydgård
5ce7e5e109 UWP ARM: Shrink the JIT hack 2017-03-23 10:02:29 +01:00
Henrik Rydgård
29ad3180a0 Add hack to make the JIT stable(r) on UWP ARM. Can't make it right without FlushInstructionCache which is not available. Sigh... 2017-03-23 10:02:29 +01:00
Henrik Rydgard
792dd1557c Improve StorageFileLoader enough to actually kind of work 2017-03-23 10:02:28 +01:00
Henrik Rydgard
ac843b0b1e Enable FFMPEG in the UWP build 2017-03-23 10:02:28 +01:00
Henrik Rydgard
d58ee6670e UWP: Fix audio sample rate, savestates, memory leak. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Unknown W. Brackets
7a7e4ed23f Video: Enable threads for video decoding.
This was previously getting (accidentally?) enabled by the call to
`avformat_find_stream_info()`.  See #9262.
2017-03-22 20:36:42 -07:00
Henrik Rydgård
70e6732430 Merge pull request #9470 from zminhquanz/master
Add warning simulate block transfer , setting info
2017-03-21 08:55:32 +01:00
zminhquanz
ea0aab9340 Add warning simulate block transfer , setting info
Add some games compatibility required buffered rendering and warning
required simulate block transfer set to on
2017-03-21 14:23:31 +07:00
Henrik Rydgård
fdfc572b69 Misc logging improvments, minor safety check 2017-03-20 13:07:22 +01:00
Henrik Rydgard
d4ea291a10 Set PSP_SAS_MAX_GRAIN correctly. 2017-03-20 09:42:46 +01:00
Unknown W. Brackets
88780fe1dd Cut down on some logspam. 2017-03-19 07:44:44 -07:00
Unknown W. Brackets
a1f59deafe Fix some type narrowing warnings and typos. 2017-03-19 07:44:31 -07:00
Henrik Rydgard
d30116b8c3 Change another mutex back to being recursive. Oops. Fixes #9450 2017-03-18 22:34:19 +01:00
Henrik Rydgard
23367925f1 Change a PanicAlert to an ERROR_LOG. Should possibly report..
http://forums.ppsspp.org/showthread.php?tid=1310&page=3

Add a comment.
2017-03-18 21:25:30 +01:00
Unknown W. Brackets
404c61d77d Minor typo fixes. 2017-03-18 11:51:05 -07:00
Henrik Rydgård
8a29705165 Windows: Update dpiScale of fonts before recreating them on resize. Fixes #9437 2017-03-17 13:29:22 +01:00
Henrik Rydgård
aefad893f8 Windows: Start at a sensible window size if high-DPI. Avoids the worst of #9437 but does not fix it. 2017-03-17 13:22:00 +01:00
Henrik Rydgård
09a3de1e66 Windows: Get rid of my private gold branch, simply gate behind a define instead. 2017-03-16 15:47:59 +01:00
Henrik Rydgård
f8343e9efc Add Gradle build. This time, we don't remove the old build system and we don't switch Travis. 2017-03-15 19:42:17 +01:00
Henrik Rydgard
f5c3b15746 Buildfix on Windows 2017-03-15 19:33:33 +01:00
Henrik Rydgård
e17772b58d Merge pull request #9430 from unknownbrackets/input-state
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgard
b4740a2bca Fix bug where dispatcher would not check core state directly after Advance. Fixes #9398 properly (it was previously hidden somehow with extra backbuffer binds). 2017-03-14 12:32:20 +01:00
Henrik Rydgard
e78d85f386 Don't warn about slowness in debug builds 2017-03-14 10:40:18 +01:00
Henrik Rydgard
e37decc9a8 Warn if trying to run some games that are known to require buffered rendering with it not enabled. 2017-03-14 10:36:51 +01:00
Henrik Rydgård
7e007c3973 Merge pull request #9426 from unknownbrackets/input-state
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets
2812ddcc86 Remove End/UpdateInputState and ButtonTracker.
No longer used for anything.
2017-03-13 22:58:38 -07:00
LunaMoo
429bf5d8b3 Use $(DefaultPlatformToolset)_xp for easier VS builds with different toolsets. 2017-03-13 21:40:08 +01:00
Henrik Rydgård
ad5bf8c6f6 This mutex should not have been made local, thanks @unknownbrackets 2017-03-13 16:14:47 +01:00
Unknown W. Brackets
ef57eafaad Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgard
b0bd7e3c6f Minor changes for compatibility with VS2017 2017-03-12 17:33:00 +01:00
Henrik Rydgard
525df21751 Unbreak version check on Windows 2017-03-12 17:24:46 +01:00
Henrik Rydgård
cfb93a707c Merge pull request #9370 from fireballwayne/remoteiso
Remoteiso
2017-03-12 12:39:45 +01:00
Unknown W. Brackets
ad8a0e6cc0 Add an ini setting to hide performance warnings. 2017-03-11 19:31:00 -08:00
Unknown W. Brackets
10ad7e1b5b Detect when the game is running slow, and warn.
Many users assume that sound emulation is broken, and don't realize they
may need to tweak their settings - we don't even show the FPS counter by
default.
2017-03-11 19:24:00 -08:00
Henrik Rydgard
9bb81a24c0 Fix bug where we'd reload the post shader information every frame. Fixes #9410 2017-03-11 12:25:43 +01:00
Fireball Wayne
6dd0f7a152 Remoteiso Manual Mode Backend 2017-03-11 00:46:48 -05:00
Henrik Rydgård
32a71c4c74 Fix typo, preprocessor warning 2017-03-10 18:02:41 +01:00
Henrik Rydgård
62dcb9c70c Log if Comp_SysCall encounters bad syscall instructions 2017-03-10 00:13:06 +01:00
Henrik Rydgård
4cdbe0b957 Fix an ancient bug in sceKernelExitDeleteThread 2017-03-10 00:11:01 +01:00
Henrik Rydgård
7590a44fc4 Enable "FrameskipUnthrottle" on Windows UWP as we don't control VSync (yet) 2017-03-10 00:11:00 +01:00
Henrik Rydgård
e74749f2b2 A function renamed, some logging improvements 2017-03-10 00:11:00 +01:00
Henrik Rydgård
ed16096365 Don't crash if not enough memory to save a state. Very annoying.
Minor tweaks.
2017-03-07 15:32:34 +01:00
Henrik Rydgård
85c8d9b806 Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374 2017-03-06 16:03:05 +01:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgård
cfe2621604 LogManager: Hook up save/load, remove "long names" 2017-03-06 11:44:35 +01:00
Henrik Rydgård
a1941d8a81 It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls. 2017-03-06 10:51:28 +01:00
Henrik Rydgård
18898fb965 Merge pull request #9388 from LunaMoo/PostShaderRefresh
Add PostShader option to force 60fps for animated effects
2017-03-05 21:56:03 +01:00
LunaMoo
33282939fb Make sure it doesn't bother when buffer effects are skipped 2017-03-05 21:11:40 +01:00
Henrik Rydgard
37646d67b7 Don't crash when trying to take screenshots outside a game. 2017-03-05 20:18:37 +01:00
LunaMoo
2b0ab12c4d Add PostShader option to force 60fps for animated effects 2017-03-05 15:04:22 +01:00
Henrik Rydgard
d64f367e1d Assorted warning fixes 2017-03-05 10:52:45 +01:00
Henrik Rydgard
7b3f84aae8 More buildfixes for Windows on ARM 2017-03-05 10:52:08 +01:00
Henrik Rydgard
b0eab68760 Fix compiler warning 2017-03-03 14:16:19 +01:00
Henrik Rydgard
83c108836b Fix a hang/crash when using the Windows GE debugger 2017-03-03 11:17:59 +01:00
Henrik Rydgard
d68953c18c Buildfixes 2017-03-02 13:29:51 +01:00