Commit Graph

290 Commits

Author SHA1 Message Date
Henrik Rydgård
ecceeaa810 We no longer use TCHAR. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
Unknown W. Brackets
c1ce8383ae Headless: Setup logman earlier.
So we can control all the GPU init logging.
2020-09-08 15:52:39 -07:00
Henrik Rydgård
61bf512244
Merge pull request #13291 from hrydgard/assert-cleanup
Assert function cleanup
2020-08-16 13:57:22 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Henrik Rydgård
c8a06d40c9 Buildfix 2020-08-16 10:00:26 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
b22083e7a6 Even more base/logging.h removal and fixes 2020-08-15 19:09:01 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Unknown W. Brackets
4ef63843d2 Display: Allow unthrottle to skip only flipping.
Before, it either flipped continuously, or forced frameskip on.  This
makes it so you can still draw frames, but skip actual flips.

This is useful when games draw things only in a single frame and reuse
later.  It's also useful when measuring speed improvements if you already
get 100% speed on a device.
2020-07-19 13:57:04 +02:00
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +02:00
Henrik Rydgård
104bf3915e
Merge pull request #12956 from unknownbrackets/project
Cleanup MSVC project a little and move git-version-gen
2020-05-24 11:03:26 +02:00
Unknown W. Brackets
9064bbcad1 Windows: Move git-version update to build event.
Doing it on each project made it possible for two to overwrite each other.
It's rare, but this could corrupt git-version.cpp.

This makes it run when Core is resolved, and also on Windows/Headless only.
It may still require two compiles to update, but that's not a new problem.
2020-05-23 13:34:41 -07:00
Unknown W. Brackets
86c0418f14 Headless: Fix flash0/font path.
This was causing some automated tests to fail incorrectly, after the
assets/flash0/ change.
2020-05-23 10:40:32 -07:00
Henrik Rydgård
f77b78d429 Oops, need to pass an (invalid) slot number in headless too. 2020-05-16 18:38:30 +02:00
Florin9doi
7c92b1abda update VS projects 2020-04-19 09:19:13 +03:00
Unknown W. Brackets
580c74c3e7 Audio: Remove latency setting.
This setting only changes some internal values that are shown in tests not
to match PSP behavior.  Removed, it now matches how the PSP works.

This setting wasn't really affecting any actual audio latency.
See #11844.
2020-04-08 00:08:19 -07:00
Unknown W. Brackets
41dfe05de2 Headless: Fix compile on Android. 2020-04-05 15:23:13 -07:00
Unknown W. Brackets
6b453c4708 Net: Better simulate sceWlanGetEtherAddr timing.
Also, interestingly, this does not fail if the wifi switch is off.
2020-03-15 11:37:12 -07:00
Unknown W. Brackets
dfb10f197e Net: Handle memory allocation better. 2020-03-15 11:37:12 -07:00
Unknown W. Brackets
efceb031ce UI: Make System_InputBox API asynchronous.
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
051a84e9bd GPU: Restart when changing inflight frames setting.
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
shenweip
5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
Unknown W. Brackets
5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
Conn O'Griofa
18edfefa0a SDL: ensure swap interval is set correctly for SDL2 kmsdrm driver
It appears that SDL2's kmsdrm driver ignores the swap interval setting
if the SDL context has not yet been created. Moving the call to after context
creation allows it to work as expected.

Fixes vsync when running ppsspp in a KMS context using the SDL2 kmsdrm driver
(which is especially useful for Raspberry Pi 4 B, but is also needed for other
systems including Raspberry Pi 3B via firmware KMS & Intel Haswell i965 via
KMS on x64).
2019-10-03 07:40:19 +01:00
Unknown W. Brackets
5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
c3ae97e237 Travis: Build Windows on Travis too. 2019-07-06 14:56:29 -07:00
Unknown W. Brackets
7d2b332b2d Audio: Improve error messages for sample counts. 2019-06-30 16:39:14 -07:00
Henrik Rydgård
efa1406d8f VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
Henrik Rydgård
fe77b836c7 Spacing fix 2019-05-11 06:41:55 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55 Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason. 2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828 Add WindowsSDKDesktopARM64Support to vcxproj files 2019-05-10 22:44:12 +02:00
Henrik Rydgård
c3fab33354 Revert "Remove default SDK version from project files"
Seems to have been the wrong thing to do, see:
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html

Though due to the bug described there, there's no perfect solution, just
some ugly ones (which I might try later). Anyway, I guess most people
will move on to VS 2019 anyway..

This reverts commit 056494522e.
2019-05-09 23:58:23 +02:00
driver1998
87f43d51ef Fix UnixTests and HeadlessHost on ARM 2019-05-04 23:56:55 +08:00
driver1998
0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
driver1998
763b85d723 Update Visual Studio project files for Windows ARM32/ARM64 2019-05-04 22:45:15 +08:00
LunaMoo
056494522e Remove default SDK version from project files 2019-04-27 23:01:41 +02:00
LunaMoo
280f7fec39 Fix VS2019 builds and remove _xp dependency
(drops Win XP support, allows latest SDK etc.)
2019-04-25 23:56:55 +02:00
Henrik Rydgård
703fdc5561 MSVC project files: Fix silly search/replace error from #11883 2019-03-24 11:17:47 +01:00
Henrik Rydgård
4d5af330a7 Windows: Change FP model to Precise. See #11384 2019-03-14 10:59:35 +01:00
Unknown W. Brackets
adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Henrik Rydgard
56bc7b1d52 Remove outdated TrueColor setting. 2018-12-14 16:13:44 +01:00