Henrik Rydgård
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
41eeb491e7
Replace a few more sprintf with snprintf
2024-10-15 15:45:19 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Herman Semenov
309f0d97f2
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 19:26:10 +03:00
Unknown W. Brackets
9844422fc8
Debugger: Ignore func imports in ppmap files.
2023-09-30 15:25:48 -07:00
Henrik Rydgård
5a5779dcd6
Remove symbol-map related functions from Host
2023-03-24 18:08:31 +01:00
Unknown W. Brackets
21332c677b
Build: Allow compiling without armips.
2022-12-17 10:08:46 -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
Herman Semenov
29b87e0c0b
Merge branch 'master' into master
2022-10-03 07:49:13 +00:00
Unknown W. Brackets
ac335ad61a
armips: Update to UTF-8/c++17 armips.
2022-09-30 19:48:14 -07:00
lainon
3cdf72b68b
Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back'
2022-09-30 12:35:28 +03:00
Unknown W. Brackets
e2425a1e00
Debugger: Speed up GetFunctionSize().
...
Tested games with lots of functions, it's just never worth generating the
full active symbols. Direct lookup saves 0.005s startup on desktop in a
typical game.
2021-12-04 14:49:50 -08:00
Henrik Rydgård
bea9f67c02
Fix assorted path issues
2021-07-19 17:34:51 +02:00
Kingcom
bb6f6051fc
Transform labels to lower case for armips
2021-06-04 17:51:28 +02:00
Henrik Rydgård
4d344f556a
Additional feedback.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
13ec384dbe
Build: Explicitly include ppsspp_config.h.
...
This adds it to all files that use it. Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
8ae157e27f
Debugger: Update to latest armips.
2018-06-30 14:18:26 -07:00
Unknown W. Brackets
89f89ec749
Debugger: Defer active symbol updates.
...
This makes it faster when loading many modules/functions/etc., for example
when using the freeze debug feature.
2017-12-26 18:11:22 -08:00
Henrik Rydgård
21fe73c8e7
Switch strncpy to truncate_cpy in a bunch of places.
2017-05-26 19:04:08 +02:00
Henrik Rydgard
26a2d42731
Big mutex overhaul - remove our custom ones, make them non-recursive where possible
2017-02-28 11:40:29 +01:00
Henrik Rydgard
03dab0fdbd
More UWP prep
2017-02-25 09:57:22 +01:00
latot
7047ad2271
fix sscanf types
2016-12-02 22:46:52 -03:00
Henrik Rydgard
3ba911bf07
Replace some calls to fopen with File::OpenCFile (utf8).
2016-01-17 15:59:20 +01:00
Unknown W. Brackets
86127b3d0d
Update armips to latest version.
...
The new version has some speed and other improvements.
2015-12-26 20:30:35 -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
Unknown W. Brackets
936ccbf18a
Fix symbolmap loading issue on MSVC 2015.
2015-09-07 09:24:15 -07:00
Unknown W. Brackets
a191b9ac7f
Fix a potentially not null terminated string.
2015-01-17 18:42:59 -08:00
Unknown W. Brackets
ff59cd6e11
Fix a potential debug buffer overrun.
2015-01-17 18:21:03 -08:00
Unknown W. Brackets
58ff826b73
Cleanup to link assembler on arm unittest builds.
2014-12-07 15:41:11 -08:00
Kingcom
f6cedcbff5
Replace assembler with a submodule
2014-11-23 21:09:40 +01:00
Henrik Rydgard
1d7642fa48
Remove most mentions of the "_XBOX" define
2014-08-24 14:21:35 +02:00
Kingcom
dc80123b93
Add options to import/export .sym files from the menu
2014-06-30 00:02:22 +02:00
Unknown W. Brackets
c3a6092e26
Upgrade symbolmaps with module address info.
...
This fixes some issues with jit replacement only if you had a map laying
around.
2014-05-04 01:24:18 -07:00
chinhodado
481250931c
Avoid using an invalidated iterator
2014-03-07 16:43:02 -05:00
Henrik Rydgård
374e12afc3
Merge pull request #5590 from unknownbrackets/xbox
...
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Ced2911
d82911de58
[Xbox] fixes
2014-03-02 11:27:20 -08:00
Ced2911
cc9f238d36
[xbox] 360 support for Core
2014-03-02 11:22:02 -08:00
Unknown W. Brackets
e3506ead69
Clear the symbol map between each test.
...
This way we could, for example, test function replacement properly.
Actually slows down tests because it spends more time correctly
determining the function boundaries.
2014-03-02 10:20:40 -08:00
Unknown W. Brackets
d22793e257
Avoid a dangerous cast in LoadSymbolMap().
...
Not sure if we can have any safety with an int cast like that...
2014-02-15 16:23:18 -08:00
Unknown W. Brackets
8948990871
Optimize searching for existing symbols.
...
Checking every time is slow, we should just skip by the address. Some is
just the locking overhead.
2014-02-14 22:26:35 -08:00
Unknown W. Brackets
04776c8125
Small optimization: avoid fallback if possible.
...
Speeds up symbol map loading a little bit (when inserting new items.)
2014-02-14 22:07:39 -08:00
Unknown W. Brackets
26b4335637
Optimize symbol map in debug mode a bit more.
...
Avoid UpdateActiveSymbols().
2014-02-14 21:49:20 -08:00
Unknown W. Brackets
d279dcd454
Fix renaming a function from disassembly.
2014-02-11 07:45:13 -08:00
Henrik Rydgård
0f4ccf52f4
Update README. Avoid recursing the symbolmap lock when we don't need to.
2014-02-11 14:21:40 +01:00
Henrik Rydgård
b1d6eefb8a
Call UpdateActiveSymbols only once from MIPSAnalyst instead of for every recognized function.
...
Reduces startup slowdown when using a function signature file drastically.
2014-02-11 11:21:56 +01:00