Commit Graph

148 Commits

Author SHA1 Message Date
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
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård
311fe431d0 Move buffer.cpp/h from base to Common 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Unknown W. Brackets
e383b0279f Plugins: Support for loading game-specific plugins. 2020-09-08 09:12:19 -07:00
Henrik Rydgård
c0dffd56aa Log the first 100 block transfers instead of just the first one. Should make it easier to spot interesting things without hacking the log code. 2020-08-16 22:38:15 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
1dc5ee424b SaveState: Split out Do types to reduce headers. 2020-08-10 08:03:44 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Unknown W. Brackets
bce25bcaed Reporting: Use a single message posting thread.
This could cause a short delay when quitting a game, because it now waits
for them all to finish posting on exit.  Only when reporting enabled.
2019-09-28 10:45:45 -07:00
Unknown W. Brackets
2eee84b5ce Switch: Add basic defines for checks/reporting. 2019-09-28 09:00:20 -07:00
driver1998
ed61850b90 Report: Add Windows ARM identifiers 2019-05-05 07:05:26 +08:00
Unknown W. Brackets
0b775bdac0 Reporting: Disable when jit flags are disabled. 2019-02-03 14:57:08 -08:00
Henrik Rydgard
ee88bc79ff Oops, x2 2018-12-14 16:14:43 +01:00
Unknown W. Brackets
4cbfb4aa98 Reporting: Provide suggestions on negative reports.
Based on other reports, try suggesting settings to change or actions to
take.  Fairly rudimentary currently.
2018-06-06 05:55:31 -07:00
Unknown W. Brackets
ebce6da223 UI: Remove auto-download options.
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Henrik Rydgård
4f1e0de9a9 Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too. 2017-12-20 11:24:05 +01:00
Henrik Rydgård
dc6a4ea753 Fix annoying name clashes (Status is in X11 headers..) 2017-12-15 16:34:29 +01:00
Unknown W. Brackets
786a3ae17c Reporting: Don't report with locked CPU speed. 2017-12-01 10:06:06 -08:00
Jan Beich
206d287f53 Core: report Debian GNU/kFreeBSD separately 2017-11-24 14:46:07 +00: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
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard
cbf24a9d78 Get rid of "AutoInit", instead always keep the network initialized.
See #9305
2017-02-14 13:12:02 +01:00
Henrik Rydgard
d9acd27126 Rename GLES files to match the convention the other backends use. 2017-01-23 17:08:58 +01:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets
372798e16c Auto-disable CRC reporting in power save mode. 2016-07-24 17:31:41 -07:00
Unknown W. Brackets
226abfeea8 Reset flag when trying server anew. 2016-07-04 12:12:41 -07:00
Unknown W. Brackets
42fd4aeb12 Show feedback when the compatibility is submitted. 2016-07-04 12:12:40 -07:00
Unknown W. Brackets
45218be5e3 Send a CRC hash with compatibility reports. 2016-07-04 12:07:15 -07:00
Unknown W. Brackets
7695cd78cb Show a confirmation screen after feedback submit. 2016-06-25 23:11:20 -07:00
Unknown W. Brackets
c0c43acb6e Buildfix for gcc.
At least our Travis gccs are hitting an ICE.
2016-06-12 12:08:34 -07:00
Unknown W. Brackets
85e7980c44 Prompt for reporting even when disabled.
To improve visibility.
2016-06-12 10:46:57 -07:00
Unknown W. Brackets
2ceee79324 Send screenshots with compatibility reports. 2016-06-12 10:00:32 -07:00
Unknown W. Brackets
da0a79f695 Add an extra param for reporting to verify data. 2016-06-12 07:34:21 -07:00
Unknown W. Brackets
7af1deb768 Reduce chance of reporting data corruption.
We already check for spam, so this shouldn't be happening, but let's play
it safer.
2016-06-12 07:30:36 -07:00
Henrik Rydgard
4197148dc4 Add some paranoid checks hoping to fix crashes reported in Google Play developer console. 2016-04-09 18:27:35 +02:00
Unknown W. Brackets
4ddc12ce40 Generate windows version automatically.
This allows for the same customization git-version.cpp allows.

Also, improve messaging slightly during build if git is missing, and
disallow reporting for builds generated without version info to make it
clear to users.
2015-08-16 14:03:59 -07:00
Jan Beich
87be57a1fa Core: report every BSD as distinct operating system
Each one has different kernel and userland. They do cross-pollinate
frequently but otherwise do not try to be compatible.
2015-05-26 15:23:19 +03:00
Unknown W. Brackets
41631eb2b1 Try a different format of HLE logging. 2015-03-22 20:49:42 -07:00
Unknown W. Brackets
af822b1647 Add actual reporting of compatibility. 2014-09-27 16:41:34 -07:00
Unknown W. Brackets
e4792116a7 Initial attempt at a compat report screen. 2014-09-27 16:41:33 -07:00
Unknown W. Brackets
8ef0be6d55 Increase the reporting message buffer a bit.
Although, I'm not sure it's actually being hit.
2014-09-04 00:38:49 -07:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Sacha
ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
Unknown W. Brackets
3ebf47bbd5 Oops, fix compat reports on Android.
Always forget about the VFS thing...
2014-03-03 07:25:17 -08:00
Ced2911
cc9f238d36 [xbox] 360 support for Core 2014-03-02 11:22:02 -08:00
Unknown W. Brackets
fb1ca6823c Oops, fix reporting showing disabled outside game. 2014-02-20 01:02:22 -08:00
Unknown W. Brackets
5e57a2ffa8 Don't allow reporting from bad savestates.
If the savestate was created with bad settings, or was loaded from an
older version, it may be damaged.  Let's not report old problems.
2014-02-17 09:43:12 -08:00
Unknown W. Brackets
3dea6fdd86 Cache reporting support to avoid slowdown.
Turns out checking flash0:/ was not fast, oops, but especially when
disabled.

Also, make the box show as disabled when it's been disabled during the
session, and make it not do that in the menu.
2014-02-15 20:34:03 -08:00
Unknown W. Brackets
f5c7837e93 Disable reporting when using cheats as well. 2014-02-15 15:41:27 -08:00
Unknown W. Brackets
49d61743c0 Blacklist a few more settings in reporting. 2014-02-15 15:19:59 -08:00
Unknown W. Brackets
d1c9cdd8e4 Don't disable error reporting while in menu.
Oops.
2014-02-15 15:15:19 -08:00
Unknown W. Brackets
7b99561839 Use consistent names for reporting config settings. 2014-02-09 17:39:19 -08:00
Unknown W. Brackets
9e02b4307c Redo the rest of the config sections.
Now they're all just once, rather than twice.
2014-02-09 17:39:19 -08:00
Unknown W. Brackets
4f45731119 Add configuration settings to reporting. 2014-02-09 17:39:17 -08:00
Unknown W. Brackets
553b284e95 Skip reporting when fonts do not exist.
I'm really tired of all the "no font" reports that aren't really valid.
2014-02-09 17:39:17 -08:00
Unknown W. Brackets
b46ca9f94b Lock out reporting if harmful settings are used.
Before, if you turned it on, broke stuff, and then turned it off, we
reported the broken stuff.  This could be responsible for various
messages that have seemed strange.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets
ad8488ecc4 Reset reporting on a new game.
This way "once" and "spam" no longer persist between runs.  Makes it
easier to test a bunch of games in a row without restarting in between.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets
a8b55c3e10 Keep track of whether a savestate has been used.
Mostly to improve info we get in reporting.
2014-02-09 17:39:15 -08:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgard
9e109e16d9 Android buildfix.
Also, this warning flag appears not supported. (4.6?)
2013-12-21 13:06:29 +01:00
raven02
ee566d2e79 emnu fix#4 2013-12-21 16:24:16 +08:00
Sacha
e411968dc9 Remove duplicate thread library (StdThread) 2013-10-29 11:50:29 +10:00
Sacha
d616cc72a2 Add Blackberry statistics overlay option. 2013-10-28 14:19:27 +10:00
Unknown W. Brackets
49bd553238 Avoid some shadowing warnings. 2013-10-05 11:13:39 -07:00
adrian17
7e3f35dfe3 Removed redundant includes 2013-09-30 19:05:04 +02:00
Unknown W. Brackets
2da30d59d1 Fix reporting's net shutdown as well. 2013-09-30 01:25:40 -07:00
Unknown W. Brackets
c0e54735f5 Disable reporting when copy framebuffer is used.
Causes too much noise.  Also, use a proper interface to enable/disable it.
This should prevent future problems with accidentally enabling it.
2013-09-01 12:57:39 -07:00
Unknown W. Brackets
4f68703cfd Rename "VPS"/"FPS" to "Speed"/"FPES" so it's clear.
Still scaled to 60, but could change to 100 instead?

"FPES" is "frames per emulated second."  Or we could change it instead...
2013-06-29 20:06:34 -07:00
raven02
de4d970ab6 Toggle to adjust VPS/FPS/Both , new timeFormat/dateFormat/buttonPerference 2013-06-19 15:09:01 +08:00
Sacha
3956bd004e Qt Buildfix. 2013-06-01 15:31:05 +10:00
Henrik Rydgard
ab4987bc20 Update to latest version of "native" 2013-05-31 23:10:58 +02:00
Unknown W. Brackets
50eb11c66f Log some additional things during reporting. 2013-05-19 22:12:39 -07:00
Unknown W. Brackets
33cd860de3 Fix a crash in reporting without gpu set. 2013-05-18 09:47:17 -07:00
Unknown W. Brackets
b0ce9e934e Split out the GPU vendor and the full detail.
This way we can sort things more easily.
2013-04-29 00:30:54 -07:00
Unknown W. Brackets
8d4299a4d2 Reporting: add a couple missing platforms. 2013-04-29 00:26:45 -07:00
Unknown W. Brackets
8abe4dc621 Reporting: also send the CPU and platform. 2013-04-29 00:26:44 -07:00
Unknown W. Brackets
c102dc2c3a Add simple escaping to reporting.
Should fix those pesky + signs, etc.
2013-04-29 00:26:44 -07:00
Unknown W. Brackets
5cea38e405 Reporting: catch information about the GPU. 2013-04-29 00:26:43 -07:00
Unknown W. Brackets
2633ca5e7e Reporting: return the correct hostname w/o a port.
Add comments to clarify what's going on.
2013-04-14 01:25:25 -07:00
Henrik Rydgard
af06611691 Fix bug in ServerHostname found by MSVC's debug allocator. Sneak in a comment. 2013-04-14 10:04:07 +02:00
Unknown W. Brackets
6483b51f24 Oops, need a temporary when there's no port. 2013-03-26 00:54:42 -07:00
Unknown W. Brackets
d1af119c6f Buildfix for Mac/etc. 2013-03-24 10:18:22 -07:00
Unknown W. Brackets
0b9d4cca3b Clean up to server reporting, expose IsEnabled(). 2013-03-24 09:53:41 -07:00
Unknown W. Brackets
a350422004 Fix reporting parameters, oops. 2013-03-24 09:37:25 -07:00
Unknown W. Brackets
d9608bd608 Report the format string as a separate param.
This way it can have a "class" of messages more easily.
2013-03-04 00:01:41 -08:00
Unknown W. Brackets
78d320d576 Enable on non-Windows, works on Linux anyway. 2013-03-04 00:01:40 -08:00
Unknown W. Brackets
cbbbd2d595 Send server reports on a separate thread.
Well, maybe could be more efficient, but mostly worried about latency
not thread creation.
2013-03-04 00:01:39 -08:00
Unknown W. Brackets
a0851fb25e Add a simple spam protection limit to reporting.
And some small refactor.
2013-03-04 00:01:38 -08:00
Unknown W. Brackets
5e81b662d5 Cleanup, add notes for server reporting. 2013-03-04 00:01:38 -08:00
Unknown W. Brackets
2589a02934 Add basic server reporting interface, needs work. 2013-03-04 00:01:37 -08:00