Commit Graph

263 Commits

Author SHA1 Message Date
Henrik Rydgård
f4ea3ccf22 Move the generic vertex shader generator into GPU/Common and rename it. 2020-11-01 19:58:54 +01:00
Henrik Rydgård
99d63714b5 UWP buildfix 2020-10-31 22:52:54 +01:00
Henrik Rydgård
3d0630c04a Remove the HLSL fragment shader generator. The GLSL one can now do its job. 2020-10-31 18:32:43 +01:00
shenweip
a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
Henrik Rydgård
3d36049b65 Rename shader generator functions, a bit of moving around and adding an errorString param. 2020-10-21 23:20:25 +02:00
Henrik Rydgård
886a8b1ac6 Remove Timer.cpp/h. Move various collections into Common/Data/Collections. 2020-10-05 21:05:23 +02:00
Henrik Rydgård
4310e35714 Windows: Remove the native project. 2020-10-05 06:56:10 +02:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02: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
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +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
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
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
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård
65617889dd Merge ext/native/ext/... directly into ext. 2020-09-30 00:30:42 +02:00
Henrik Rydgård
4d3ec20082 ByteSwap.h results in a file name collision on some systems with byteswap.h. Fix this by merging it into BitSet.h. 2020-09-30 00:09:13 +02:00
Henrik Rydgård
63c8b0ffd5 Additional UWP buildfix 2020-09-29 21:58:58 +02:00
Henrik Rydgård
800be8ad6d UWP buildfix 2020-09-29 20:44:59 +02:00
Henrik Rydgård
d9edc68966 Remove unnecessary use of thread local storage 2020-09-29 15:51:51 +02:00
Henrik Rydgård
40ec0d8358 Finish getting rid of basictypes.h 2020-09-29 15:51:51 +02:00
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 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
Henrik Rydgård
db9cc41a1a Delete unused math code 2020-09-29 10:07:53 +02:00
Henrik Rydgård
1e6c13cb56 Delete more old detritus 2020-09-29 10:07:07 +02:00
Henrik Rydgård
204fbe463e Delete unused backtrace.cpp 2020-09-29 00:36:29 +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
Henrik Rydgård
1b3413945b Some header include cleanup 2020-09-16 09:20:41 +02:00
Unknown W. Brackets
37d7096703 SaveState: Update to latest Snappy v1.1.8. 2020-09-12 18:16:27 -07:00
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
Unknown W. Brackets
e383b0279f Plugins: Support for loading game-specific plugins. 2020-09-08 09:12:19 -07:00
Henrik Rydgård
9561a4f80a Move MsgHandler into Log.cpp/h 2020-08-16 14:48:54 +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
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
004119fd32 UWP buildfix 2020-08-15 19:47:04 +02:00
Henrik Rydgård
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +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
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
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
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
2da977bed2 SaveState: Add header to other makefiles. 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
58ef0c8e80 Texture from framebuffer: Logging improvements 2020-08-04 14:45:14 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
parport0
fd62d30773 Debugger: Add memory.read_*, memory write_* 2020-07-26 01:18:16 +03:00
Henrik Rydgård
5f2156fa27 Windows: Run the upnp string gen script regardless of architecture, and in UWP. 2020-07-22 00:31:34 +02:00
Henrik Rydgård
c3afdaf99f UWP: Unify linker options 2020-07-21 23:30:32 +02:00
Henrik Rydgård
91c7210757 Set up Windows UWP project for miniupnpc.
Gets all the way to linking where it's missing 'in6addr_any' for some
reason.
2020-07-21 23:23:59 +02:00
Henrik Rydgård
fa0b9dc1bc Make the instance counter global and initialized at startup.
Turn off config saving for secondary instances.
2020-07-20 11:40:54 +02:00
Henrik Rydgård
626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Henrik Rydgard
1fce6de8b1 Simple exception handler so we can ignore accesses that happen within the PSP memory space. 2020-07-14 09:25:45 +02:00
Unknown W. Brackets
0edc3fa869 UWP: Fix safe insets. 2020-05-25 15:10:55 -07:00
Unknown W. Brackets
e299eb8743 UWP: Link ChatScreen. 2020-05-25 09:57:18 -07:00
Unknown W. Brackets
8f2fb0530c UWP: Stub new inputbox system func. 2020-05-25 09:57:18 -07:00
Unknown W. Brackets
b97fbcb462 UWP: Add libpng17 include path. 2020-05-25 09:44:05 -07:00
Henrik Rydgård
a9befb5496 Remove our custom atomics code entirely. 2020-05-17 13:11:36 +02:00
Unknown W. Brackets
d39b0bdca2 GPU: Split FramebufferCommon into two classes.
Only some things moved over so far.

FramebufferCommon does too much, we want to share it with softgpu without
all the buffer management stuff.
2020-05-13 18:07:22 -07:00
Henrik Rydgård
bf73d3d663 Address Unknown's feedback
https://github.com/hrydgard/ppsspp/pull/7965/files
2020-04-26 11:19:31 +02:00
Henrik Rydgård
271f79ea63 UI: Break out the hierarchy functions into ui/root.cpp/h 2020-03-08 14:49:29 +01:00
Henrik Rydgård
f8a0ba3b86 Update the glslang submodule, fix the build afterwards. 2020-03-03 22:19:32 +01:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård
aea3cf74f0 Remove support for "lowmem" UI atlas. Had to regenerate unfortunately. 2020-02-29 19:00:52 +01:00
Henrik Rydgård
d35fd5040d Delete unused support for ETC1 texture compression 2020-02-29 17:50:35 +01:00
Henrik Rydgård
06dc3dbd29 UWP: Update "certificate thumbprint" to one that works 2020-02-12 09:24:25 +01:00
Henrik Rydgård
b5f65c5643 Fix linking issue in the UWP build (add camera files to project) 2020-02-11 21:16:09 +01:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
Henrik Rydgård
970adfbcc9 Isolate most of the softgpu specialization code to RasterizerRectangle.
See comments.
2019-10-28 09:33:30 +01:00
Henrik Rydgård
a7ce74150e Add sceUsbMic.cpp/h to the UWP project 2019-08-20 11:10:19 +02:00
Cameron Cawley
ba7ea39a1c Move NKCodeFrom*.h into the relevant platform folders 2019-08-06 16:12:19 +01:00
Silent
0b5458f759
Remove KeyboardDevice which was essentially useless
Refactor InputDevice to simplify it
2019-07-02 19:17:52 +02:00
Silent
0237c7cb3e
UWP: Fix overscan on Xbox One
Previously the game would display with on around 80% of the screen and aligned to top left (so with black bars on right and bottom). With this fix, it displays fullscreen properly.

Windows is unaffected, and reportedly no issues on Windows Phone either.
2019-06-25 20:59:21 +02:00
Unknown W. Brackets
93069756e6 GE Debugger: Split playback into a separate file. 2019-06-23 18:49:27 -07:00
Henrik Rydgård
2ed535af29 Update SPIRV-Cross 2019-06-20 00:41:47 +02:00
driver1998
3cd037f570 UWP: white space fix 2019-06-09 18:54:15 +08:00
driver1998
6cd12678d3 UWP: Full screen support, config save fix 2019-06-07 22:00:24 +08:00
driver1998
56a87932bf UWP: fix prebuild commands 2019-06-07 06:07:21 +08:00
driver1998
8fab38ecdd TextDrawerUWP based on DirectWrite 2019-06-07 05:20:21 +08:00
driver1998
792d9e30ba UWP: enable SYSPROP_LANGREGION 2019-06-07 05:15:24 +08:00
driver1998
7252999921 UWP: project filiter update, add assets to other architectures 2019-06-07 05:13:47 +08:00
driver1998
c80961e41c UWP: fix prebuild commands 2019-06-06 15:17:08 +08:00
Henrik Rydgård
29bc9a6508 Silence robocopy error codes 2019-06-01 18:49:23 +02:00
Antx64
97195b254d Edited version of #12031, without the ISO/CSO ability.
This commit deletes useless binary files from UWP/Content folder, since they are now being correctly copied from the assets folder and should no longer just update files. Fixed gold build, fixes submodules alter, and also, fixes the format change that occured thanks to copy paste and VS. Deleted .empty file from content folder accidentaly and had to recommit. Hurray for megit status
2019-06-01 18:41:30 +02:00
Silent
bb2ba8086b
Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Cameron Cawley
8afc2b72ef Remove base/arch.h 2019-05-15 20:06:23 +01:00
driver1998
1a9a617325 UWP: Use default (latest) toolset and remove dependency to 16299 SDK 2019-05-13 16:07:48 +08:00
driver1998
1804b88454 Proper device type detection for UWP
implement proper device type detection instead of relying on architecture.
2019-05-13 16:07:02 +08:00
driver1998
0e9f53c8b4 UWP Window resizing support
this correctly resize the render view when the Window is resized
2019-05-13 15:43:11 +08:00
driver1998
e010d06c5c Add CPU string in Windows ARM 2019-05-11 19:27:21 +08:00
Henrik Rydgård
5fe02a4ea8 UWP: Update the temporary-key with a new one generated by dominater01 2019-05-08 00:14:19 +02:00
driver1998
83302f665e UWP: add missing files for ARM64 2019-05-04 23:56:55 +08:00
driver1998
3bbbf13f53 Update UWP project files for ARM64 2019-05-04 23:56:55 +08:00
driver1998
0b714f599f Update .gitignore 2019-05-04 23:54:36 +08:00
6alileo
15ac3da116
Hori Minipad S 2019-03-02 12:40:40 -08:00
Henrik Rydgard
c28bbde053 Add more games to RequireBlockTransfer. Plus, for whatever reason we seem to have a separate compat.ini for UWP, update it.
See #11558
2019-02-21 09:52:47 +01:00
Henrik Rydgard
014668b9bc Update glslang to latest version 2019-02-05 18:07:18 +01:00
Henrik Rydgård
f9c37cce56 Fix for weird Xbox B button behavior, see #10948. A simpler change was tested to work by Ruler. 2019-01-22 22:02:04 +01:00
Henrik Rydgård
04646fe678 Build system updates 2018-12-19 14:01:19 +01:00
pent0
d9fab1c4e0 Disable precompiled header for all configurations of Armips 2018-12-11 23:09:51 +07:00
pent0
d8458c212e Disable SDL check with armips dependency
Uninitialized pointer
2018-12-10 21:29:27 +07:00
pent0
4a53853f79 Update UWP port 2018-12-10 20:55:07 +07:00
6alileo
c90ff6f59d
Madcatz Fightpad SFvTekken / Hori Mini Wired 4 2018-12-01 16:01:57 -08:00
Unknown W. Brackets
a004196d43 Qt: Buildfix with removed debugger methods. 2018-09-01 14:29:23 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Henrik Rydgård
9c22f6ed55 Don't forget to update the other build systems and try to fix the
builds.
2018-08-13 00:28:12 +02:00
Henrik Rydgård
a589a371e6 Update SPIRV-Cross to a fresher version. 2018-07-16 20:00:45 +02:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Unknown W. Brackets
082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
b33tlejuice
077da66882
Update UWP.vcxproj 2018-04-21 02:19:11 -05:00
b33tlejuice
6fe4d29723 Fixed Certification and img issues
Generated a new Certificate, as well as fixed the issue (img size, pixels) on Wide310x150Logo. Also fixed another img issue that was not added to the payload properly, StoreLogo.
2018-04-21 02:08:49 -05:00
Henrik Rydgård
6fccefae5f
Merge pull request #10888 from unknownbrackets/replay
WIP: Initial basic replay recording
2018-04-08 14:20:19 +02:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Henrik Rydgård
93bf866125 UWP: Fix (or patch up...) a race condition in StorageFileLoader. Might help #10882, fixes some other freezes.
Not convinced it's 100% correct but it appears to work, heh. Can't be
bothered to investigate too deeply.
2018-04-07 17:47:02 +02:00
Henrik Rydgård
32d1a85223 UWP buildfix 2018-04-07 16:01:56 +02:00
Henrik Rydgård
f76e5e70a7 Enable FlushInstructionCache on UWP, it's been allowed finally.
Minor warning fixes, UWP buildfix

Retarget UWP project to latest SDK.
2018-03-20 20:30:33 +01:00
Henrik Rydgård
adc9beefc6 UWP buildfix? 2018-02-27 20:04:41 +01:00
Henrik Rydgård
3e56d8bbdf Noticed that the UWP build has been broken for some time, fix it.
Should probably set up a buildbot if we care about this...
2018-02-05 16:21:39 +01:00
Unknown W. Brackets
b4b850bce8 UI: Add a simple tween class. 2017-12-03 09:39:50 -08:00
Henrik Rydgård
b689e8e15f Fix some ports 2017-11-09 13:55:33 +01:00
Henrik Rydgård
b9ba525de1 Don't call functions in asserts, they get compiled out in release... 2017-10-20 14:45:00 +02:00
Henrik Rydgård
017d3da067 Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
Henrik Rydgård
ed602a3319 UWP buildfix. See comments in #9575 2017-10-11 14:27:50 +02:00
Henrik Rydgård
ff3d799871 Remove snprintf compatibility hacks for MSVC versions before 2015 2017-08-31 16:46:54 +02:00
Henrik Rydgård
6ee8cb5f2e Review fixes, thanks unknown 2017-08-08 10:14:20 +02:00
Henrik Rydgård
f4cf501cf6 Separate X and Y dpi_scale 2017-08-07 13:37:01 +02:00
Henrik Rydgård
3606111113 Fix UWP build 2017-06-09 11:23:43 +02: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
Unknown W. Brackets
1b491fe156 SoftGPU: Stub a jit for texel fetch. 2017-05-30 22:57:30 -07: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
fc730b76df Fix XInput polling in UWP apps. Should help #9555 2017-04-05 14:13:25 +02:00
Henrik Rydgård
1094842b55 Run git-version-gen.cmd for pure UWP builds as well. 2017-03-23 15:11:00 +01:00
Henrik Rydgård
a787010341 Heh, oops 2017-03-23 12:09:26 +01:00
Henrik Rydgård
576e940342 UWP: Remove tests configuration. Start experimenting with CI. 2017-03-23 10:11:09 +01:00
Henrik Rydgård
7ca186fe93 Initial work on StorageFolderBrowser 2017-03-23 10:02:29 +01:00
Henrik Rydgård
5f1e9dd822 StorageFileLoader: More safety 2017-03-23 10:02:29 +01:00
Henrik Rydgård
5880f37598 Simplify log initialization a little. Minor logging improvments in native. Don't disable logging in UWPMain 2017-03-23 10:02:29 +01:00
Henrik Rydgård
22782b6439 UWP: Fix DPI calculations for touch. Implement back button support. 2017-03-23 10:02:29 +01:00
Henrik Rydgard
429f1227a8 Boost the DPI on mobile. Touch is off for some reason, needs investigation 2017-03-23 10:02:29 +01:00
Henrik Rydgard
6bac42e9e2 Turn off WholeProgramOptimization in Release mode, link is too slow 2017-03-23 10:02:29 +01:00
Henrik Rydgård
d55bc86d3e Split out the UWP build into a separate .sln file. 2017-03-23 10:02:29 +01:00
Henrik Rydgård
e583a85798 UWP: Do some build system hackery to make it workable to make GOLD builds. Give the Gold build its own GUID 2017-03-23 10:02:29 +01:00
Henrik Rydgård
3c89ab9577 UWP asset fixes 2017-03-23 10:02:29 +01:00
Henrik Rydgård
f9ed47bd5d UWP: Fix window resize 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4a98bd904e D3D11: Implement basic screen rotation (90 degree is the only one fully implemented) 2017-03-23 10:02:28 +01:00
Henrik Rydgard
c02060594d Fix touch events on mobile Windows 10 2017-03-23 10:02:28 +01:00
Henrik Rydgard
94bfad95e7 Disable logging 2017-03-23 10:02:28 +01:00
Henrik Rydgard
0bd43b242d Get things building on Windows ARM.
Add simple emulation of Tls* API on Windows Phone.
2017-03-23 10:02:28 +01:00