Commit graph

179 commits

Author SHA1 Message Date
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Unknown W. Brackets
51fe978fe1 Core: Clear debug stats on frame start.
This way we can log drops and debug stats at the same time - oops.
2017-04-02 14:49:18 -07:00
Henrik Rydgard
8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
Henrik Rydgård
33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
Unknown W. Brackets
438af2f4fa Core: Separate collecting and displaying stats. 2017-03-23 18:57:18 -07: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
09a3de1e66 Windows: Get rid of my private gold branch, simply gate behind a define instead. 2017-03-16 15:47:59 +01:00
Henrik Rydgard
5b835839fa Make IdentifiedFileType a proper enum class 2017-03-02 12:29:03 +01: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
c219ae9e63 Further UWP fixes 2017-02-25 09:57:24 +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
dfae4b6551 Fix directory creation. On Android, also create a .nomedia file in PPSSPP_STATE to avoid it showing up in galleries and stuff.
Additionally, commit a little script to help make Windows releases.

See #9333
2017-02-20 15:15:04 +01:00
Henrik Rydgard
e8eb657091 Create the expected default directories on memstick on startup, to reduce confusion for homebrew. See #9333 2017-02-20 14:22:05 +01:00
Chris Burgener
7d089a0f76 Clean up various files 2016-09-03 19:23:17 -04:00
Chris Burgener
1fc6191c85 Add Frame Dumping for Windows 2016-09-02 12:52:52 -04:00
Unknown W. Brackets
c4e98433b8 Add config to save or load replaced textures. 2016-04-30 14:05:03 -07:00
Henrik Rydgard
29bc07eb0a SoftGPU with Vulkan runs but displays black 2016-03-20 20:04:49 +01:00
Unknown W. Brackets
0b7e43d05c Allow the graphicsContext to be overridden.
This is useful when coming from, for example, headless.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
4063f7e0db Fill out GPU_Vulkan.cpp with what's mostly a copy of GLES_GPU.cpp 2016-03-20 19:30:11 +01:00
Henrik Rydgard
b94572e3ba Assorted cleanup 2016-03-13 15:17:31 +01:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgard
94c91e199a Minor GPU interface change needed for a WIP backend 2016-01-06 23:53:21 +01:00
Henrik Rydgard
e11d0a7e1c Minor GPU interface cleanup 2016-01-06 23:49:02 +01:00
Unknown W. Brackets
aa0055cea7 Track the running GPU backend separate from config.
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Henrik Rydgard
15de6e6b98 GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
Needed to prevent clutter all over the codebase.

Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
Unknown W. Brackets
a563e606b3 Resolve PBP directories earlier in load process.
This allows us to initialize the memory AFTER determining the proper size,
in the case of remasters.  It also avoids going through load twice.
2015-12-28 14:13:07 -08:00
Unknown W. Brackets
d273deedeb Use MEMSIZE SFO param to detect 64MB homebrew.
Now, use 32MB for normal games even in PSP-2000 mode, which is how real
firmware behaves.
2015-12-23 15:16:48 -08:00
Unknown W. Brackets
dd5c91108c Use a background thread to load ISO into RAM.
This way we don't get slow startup.  This will also cache the CSO data,
for example, rather than the raw data, using up less RAM.  It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -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
Henrik Rydgard
d6a370a4c4 Add comments to compat.ini, System.cpp 2015-09-27 01:23:21 +02:00
Henrik Rydgard
b07b002040 Introduce "Compatibility Flags".
These should be used very restrictively, see comment in Compatibility.h.

Should help #8004, by disabling depth rounding in Fight Night round 3.
2015-09-27 01:23:20 +02:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgard
58d3137b10 Get rid of a bunch of more uses of stat64 on Windows. 2015-09-23 09:48:55 +02:00
Henrik Rydgard
0084b2ac30 Simplify FileUtil::Exists. Minor cleanups.
Might possibly help #7967 (XP) by avoiding _wstat64? That would be a libc bug though.
2015-09-22 22:50:29 +02:00
Unknown W. Brackets
e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
Henrik Rydgard
e69a14ffff Don't set ARM "FastMode". Not worth the compat impact as is, could be made smarter. Should help issue #7234 2015-07-19 18:22:22 +02:00
Unknown W. Brackets
88b23460f1 Add a file loader to perform disk caching.
Had to do some tricks to handle gameinfocache threads properly.
2015-07-02 20:58:58 -07:00
Henrik Rydgard
381e0c0fe3 Implement basic savedata UI. Not much actual functionality yet but can browse saves and states. 2015-06-11 23:59:02 +02:00
Peter Tissen
ba96b7b31c Just save the current config every time the config file is switched
also undo #7473 because it would now introduce redundant writes.
2015-02-14 19:21:26 +01:00
Peter Tissen
aa6985f5c2 Save after changing recent list
regarding #7472 . If this is not done then the config file (the main config,
the per-game config files do not have recent entries) is loaded when a game
with game-specific settings is touched.
2015-02-13 10:27:11 +01:00
Henrik Rydgard
62d86f3246 Remove useless indirection class "PSPMixer" 2015-01-11 12:02:49 +01:00
Unknown W. Brackets
0a6a70f53f Allow switching cpu thread on/off ingame. 2014-12-20 17:39:42 -08:00
Henrik Rydgård
71c9804ffd Merge pull request #7195 from Bigpet/copydefaults
copy the current config when creating a pre-game config
2014-12-20 19:25:31 +01:00
Unknown W. Brackets
8d68c055cc Clear SFO data on game quit.
Saves the correct MENU after game exit.  Seems more sane.
2014-12-20 08:29:56 -08:00
Peter Tissen
a5fcf9dd5f Make 'load defaults' work for per-game configs. Move 'stop' code into PSP_Shutdown 2014-12-19 14:56:36 +01:00
Henrik Rydgard
75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Unknown W. Brackets
b620070fa6 Kill FileLoader::Reopen()...
Was a bad idea.
2014-11-23 14:08:14 -08:00
Unknown W. Brackets
fd2d7406d1 Make LocalFileLoader essentially private. 2014-11-23 14:02:35 -08:00