Commit Graph
310 Commits
Author SHA1 Message Date
Unknown W. Brackets 00a05e97ac Module: Scan modules with no sections at all.
Also, fix some off-by-one issues with end addresses.
2018-01-02 22:20:09 -08:00
Unknown W. Brackets 30b2d05bac Module: Correct detection of executable sections. 2018-01-02 21:53:13 -08:00
Unknown W. Brackets caf6277db7 Module: Reload imports later in save state load.
We want all the modules to have loaded when we start doing this, so that
itnerlinking can properly be handled.  Otherwise, earlier created modules
won't import later ones, and instead generate kernel object errors.
2017-12-27 13:36:26 -08:00
Unknown W. Brackets b2bb1b676e Reporting: Oops, fix module load log line.
Typo from 0a36549 - meant to disable reporting.
2017-12-01 18:25:06 -08:00
Unknown W. Brackets 0dba5cebb2 Module: Cleanup magic number. 2017-12-01 09:38:23 -08:00
Unknown W. Brackets 0a365495cd Reporting: Stop reporting module load versions.
We've got plenty of data, don't need to report anymore.
2017-12-01 09:29:17 -08:00
Unknown W. Brackets 9a71ac726b Module: Stop reporting bad magic numbers.
We get these a lot, and they seem to be related to corrupt isos, not
related to actual emulation issues we can do anything about.

Even if there's a game trying to load an SFO as a PRX out there somewhere,
we'll never find it among all the noise.
2017-11-30 15:17:02 -08:00
Unknown W. Brackets 039c69f031 SaveState: Fix use-after-resize iterator.
Only on older save states.
2017-11-11 08:08:59 -08: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
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 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
Henrik Rydgård 083f7ff280 Strncpy doesn't terminate correctly, switch to truncate_cpy. 2017-05-26 18:26:26 +02:00
Henrik Rydgård c899882034 Fix issues with software GPU on D3D11 2017-04-11 12:53:11 +02:00
Henrik Rydgård e74749f2b2 A function renamed, some logging improvements 2017-03-10 00:11:00 +01:00
Henrik Rydgård 440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Florent Castelli 373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Henrik Rydgard d3305b88b9 Partially implement KUBridge, trying to help #8925. However, it doesn't even call the function.... Odd. 2016-10-09 12:40:40 +02:00
Henrik Rydgard 853ea02201 Minor cleanups in elfreader 2016-09-18 23:11:41 +02:00
Unknown W. Brackets e02440b68a Module: Don't report broken stubs from old states. 2016-09-18 09:01:27 -07:00
Unknown W. Brackets f23391578f Psmf: Ignore stream size with old PsmfPlayer libs.
Until 5.50, the stream size was not used.  See #6574.
2016-08-14 17:24:29 -07:00
Unknown W. Brackets 4b4770bbc5 Log kernel syscalls with a K.
This way they can be properly differentiated.
2016-08-04 09:46:26 -07:00
Unknown W. Brackets 21ba67e1d7 Module: Add legacy save state stub fixup.
Forgot this, when we don't have the stub info.  Stub info is better, since
we might handle things differently.
2016-05-30 02:11:28 -07:00
Unknown W. Brackets 1a3fc9cdeb Module: Avoid writing missing stubs on reimport.
In case they were manually linked, or something.
2016-05-29 08:29:51 -07:00
Unknown W. Brackets 9b706975ad Module: Reimport stubs on load state. 2016-05-29 08:27:19 -07:00
Unknown W. Brackets 47f16ed97b Module: Refactor stub imports to dedicated func. 2016-05-29 08:07:01 -07:00
Henrik Rydgard 4645473dab Remove unused code 2016-05-01 11:35:16 +02:00
Henrik Rydgård b3402ef1fb Merge pull request #8560 from unknownbrackets/prescale-uv
Enable UV prescaling by default
2016-03-20 18:10:19 +01:00
Henrik Rydgard b137bf1af4 Oops 2016-03-13 18:42:26 +01:00
Henrik Rydgard c8457d39ed Fix a bunch of compiler warnings, delete some unused code 2016-03-13 15:17:31 +01:00
Unknown W. Brackets 0ea8cc9753 Minor const cleanup. 2016-02-07 14:07:21 -08:00
Henrik Rydgard 3ba911bf07 Replace some calls to fopen with File::OpenCFile (utf8). 2016-01-17 15:59:20 +01:00
Henrik Rydgard e11d0a7e1c Minor GPU interface cleanup 2016-01-06 23:49:02 +01:00
Unknown W. Brackets 51016eb1c5 Jit: Invalidate after module loads.
Just to be safe, let's invalidate the entire range.
2015-12-27 22:05:53 -08:00
Unknown W. Brackets f3df6b307f Use a FileLoader for PBPs.
Improves consistency, caching, etc.
2015-12-24 12:21:40 -08:00
Unknown W. Brackets a53f0360f3 Use a less leak prone interface for PBP reading. 2015-12-24 10:20:27 -08:00
Henrik Rydgard b998131581 Move the symbol map to the heap, deallocate it when no game is running. 2015-10-31 23:01:19 +01:00
Lioncash fea7428fdb Core: Add missing override specifiers 2015-10-17 02:58:02 -04:00
Unknown W. Bracketsandsum2012 e3254e05f6 Clean up a bit of logging. 2015-10-13 04:24:44 +08:00
Unknown W. Bracketsandsum2012 4aa8c35950 Removed unused code to return fake module id.
We already allocate modules now.
2015-10-13 04:24:38 +08:00
Unknown W. Bracketsandsum2012 5fe49b23e9 Reschedule on module load/unload more correctly. 2015-10-09 20:08:11 +08:00
Unknown W. Brackets e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
Unknown W. Brackets 2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets 8d5f843bb8 Cleanup thread start and create logging.
Also report less cases.
2015-03-28 14:46:09 -07:00
Unknown W. Brackets fcf0518223 Update all the HLE tables with arg and ret info. 2015-03-22 20:51:55 -07:00
Unknown W. Brackets 1b7ee8c269 Allocate less in sceKernelLoadModuleByID w/ offset.
Though, this may still be too much?  I wonder if it parses to figure the
size or anything.
2015-01-10 08:36:12 -08:00