Commit Graph

429 Commits

Author SHA1 Message Date
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
Henrik Rydgard
792dd1557c Improve StorageFileLoader enough to actually kind of work 2017-03-23 10:02:28 +01:00
Henrik Rydgard
e195377d20 Add mousewheel support 2017-03-23 10:02:28 +01:00
Henrik Rydgard
ac843b0b1e Enable FFMPEG in the UWP build 2017-03-23 10:02:28 +01:00
Henrik Rydgard
d58ee6670e UWP: Fix audio sample rate, savestates, memory leak. 2017-03-23 10:02:28 +01:00
Henrik Rydgard
ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgård
c0f6a24a21 Fix issue where we were a little too aggressive when eliminating calls to SetRenderTarget 2017-03-23 10:02:28 +01:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Henrik Rydgard
86f4559748 UWP: Hook up basic keyboard support 2017-03-23 10:02:28 +01:00
Henrik Rydgard
52cd3164ee Hook up the backbuffer. PPSSPP draws now, though with issues. 2017-03-23 10:02:27 +01:00
Henrik Rydgard
dfc0b32733 More work on UWP upbring 2017-03-23 10:02:27 +01:00
Henrik Rydgård
227942bce7 UWP: Add simple script to produce the square-shaped UWP logos. Add gold assets 2017-03-23 10:02:27 +01:00
Henrik Rydgard
c8ec72bd02 UWP: Add a temporary directory with the assets until we can figure out how to copy these at build time. 2017-03-23 10:02:27 +01:00
Henrik Rydgard
3c52570552 Add UWP projects and rough UWP entry point application based on the sample
Delete sample load, hook things up. It now builds but doesn't run

Reformat, add an event
2017-03-23 10:02:27 +01:00