Commit Graph

301 Commits

Author SHA1 Message Date
Henrik Rydgård
0e978ba2e3 Pre-check the contents of ZIP files before allowing install. 2019-07-13 18:19:43 +02:00
Henrik Rydgård
663f10d08b GameManager: Actually allow installing ISOs from zip files. Refactor. 2019-07-13 18:19:43 +02:00
Henrik Rydgård
4d30a8d04e Start refactoring GameManager zip handling to easier support ISOs in zips 2019-07-13 18:19:43 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
driver1998
5072584781 Fix neon headers for MSVC ARM64
MSVC uses arm64_neon.h for ARM64, arm_neon.h is ARM32 only.
2019-05-04 22:45:15 +08:00
Henrik Rydgård
bd71af24db Fix some minor things found looking at Valgrind output 2019-02-27 13:42:00 +01:00
Unknown W. Brackets
b1146d8d9d PPGe: Correct text wrap without height. 2019-02-20 17:04:30 -08:00
Unknown W. Brackets
9a5fbe5ea5 Savedata: Truncate detail if it's too long.
We could add scrolling later, but this makes it more usable without ugly
text overlap, at least.

Fixes #11711.
2019-02-16 14:52:01 -08:00
Unknown W. Brackets
68317f0067 Core: Match up NOEN define usage a bit more.
Some compile parameters were resulting in us try to use a func we didn't
compile.  We should at least use the same defines in usage and definition.
2018-09-01 19:56:35 -07:00
Unknown W. Brackets
fd8a0612fa SaveState: Initialize some memory that is saved.
At the very least, will help them compress better.  Also good not to leak
random memory.
2018-06-22 21:29:18 -07:00
Henrik Rydgård
407812916d Avoid wrapping when shifting down the audio after scaling by a 20-bit value. Fixes #9967 2017-11-30 18:24:26 +01:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgård
22e65ba80d Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11 2017-08-31 01:14:51 +02:00
Unknown W. Brackets
f35fa998a6 Core: Handle 20-bit volumes in SIMD optimizations.
It was previously only accounting for 17 bits of volume, by mistake.
This was introduced in v1.0.0.

May help #9379.
2017-07-30 11:48:01 -07:00
Henrik Rydgård
66dc0ea62f Typo fix 2017-05-19 11:23:22 +02:00
Henrik Rydgård
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgard
b1a530b3a5 Use the root of the memstick as a tempdir for downloads. Should help #8711 2017-04-07 09:58:36 +02:00
Henrik Rydgård
fdfc572b69 Misc logging improvments, minor safety check 2017-03-20 13:07:22 +01:00
Henrik Rydgard
b0bd7e3c6f Minor changes for compatibility with VS2017 2017-03-12 17:33:00 +01:00
Henrik Rydgård
85c8d9b806 Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374 2017-03-06 16:03:05 +01:00
Henrik Rydgard
7b3f84aae8 More buildfixes for Windows on ARM 2017-03-05 10:52:08 +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
a1ec735f6c ARM64Emitter: Implement instructions to move data to/from SP 2017-01-26 14:23:42 +01:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Henrik Rydgard
106a7d6a3b Remove more unused code (advanceCallback) 2016-05-01 11:35:16 +02:00
Henrik Rydgard
e611915a52 Rename some GPU classes and enums to fix some consistency issues between the backends. 2016-04-10 10:21:48 +02:00
Henrik Rydgard
3924d8bdea Fix bug in ZIP file extraction breaking the Mega Drops homebrew, and others.
Was rounding file sizes up to the nearest 128k...
2016-03-09 17:02:15 +01:00
Henrik Rydgard
6ef779402a Update PPGE atlas (font used for in-game save dialogs etc) 2016-02-15 19:24:39 +01:00
Unknown W. Brackets
d5196b44f9 Minor tweaks. 2016-01-17 09:45:55 -08:00
Henrik Rydgard
3ba911bf07 Replace some calls to fopen with File::OpenCFile (utf8). 2016-01-17 15:59:20 +01:00
Unknown W. Brackets
ea6afdff93 Avoid remaster vertex doubling in PPGe. 2015-12-28 14:13:07 -08:00
Henrik Rydgård
27a124dcff Merge pull request #8043 from sum2012/modules---
Allocate memory better  by @unknownbrackets
2015-10-14 21:18:00 +02:00
Henrik Rydgard
8914cd9914 ARM64 disassembler improvements (show many kinds of branch targets properly) 2015-10-10 11:27:28 +02:00
Unknown W. Brackets
ecd5062617 Leave free space for alignment "holes" in mem.
This allows other, small allocates to fit in these spaces, which happens
in some games (like Gods Eater Burst.)
2015-10-09 20:08:02 +08:00
Henrik Rydgard
cf63ec6d3c Delete some duplicate code 2015-09-22 23:02:02 +02:00
sergiobenrocha2
5ec87f3459 Improve detection of for shared libs in both sdl and Qt (zlib, libzip, snappy and glew). 2015-09-16 00:59:31 -03:00
Henrik Rydgard
fdea85138c Update project files, fix minor issues for VS 2015 2015-09-06 19:32:15 +02:00
Henrik Rydgard
72651835c3 A bunch more ARM64 encodings (*MIN,*MAX,XTN,SHRN, etc) 2015-07-11 12:16:56 +02:00
Henrik Rydgard
937feb6892 ARM64 disasm: Fix disasm of msr/mrs 2015-07-05 11:00:23 +02:00
Henrik Rydgard
b865070de1 ARM64 emitter/disasm: Fix LDNP/STNP disassembly, also fix test of smaddl 2015-07-05 09:57:58 +02:00
Unknown W. Brackets
adb2ebe87f Refresh buttons after installing homebrew. 2015-07-04 08:41:24 -07:00
Unknown W. Brackets
31a5227076 arm64: Add umull alias. 2015-07-02 20:31:35 -07:00
Henrik Rydgård
04ce8a63e5 Workaround issue where some homebrew (like moppi-flower) would erroneously load into kernel ram where it won't fit 2015-07-02 15:55:09 +02:00
vnctdj
c8d4ebdbfa Consistently use *sy for the System i18n category 2015-07-02 01:00:04 +02:00
Unknown W. Brackets
afe52db366 Fix some issues in sceNetAdhoc with old savestates.
This was causing the PPGe dlist to be shared with the thread, causing
weirdness and a double-free on exit.
2015-04-27 07:53:19 -07:00
Unknown W. Brackets
c10373ef06 ARM64: Fix some minor MSVC warnings. 2015-04-10 12:05:51 -07:00
Henrik Rydgård
39be916d8a ARM64: More emitter/disasm 2015-04-06 18:13:44 +02:00
Henrik Rydgård
459ba28655 ARM64: SW skinning runs without crashing but is broken. 2015-04-06 18:13:44 +02:00
Henrik Rydgård
f82b613371 ARM64 emitter/disasm: Implement ASIMD LDP/STP instructions 2015-04-06 18:13:42 +02:00
Henrik Rydgård
013bbc71af ARM64: Fix DUP disasm, INS disasm 2015-04-06 18:13:40 +02:00
Henrik Rydgård
a3db3ed5c1 ARM64 emitter: Fix UXTL/SXTL and friends. Add disasm. 2015-04-06 18:13:40 +02:00
Henrik Rydgård
853d6ea34b ARM64 emitter: Add FMLA/FMLS vector versions 2015-04-06 18:13:39 +02:00
Henrik Rydgård
065cd97dc2 ARM64: LLVM buildfix, some more disasm 2015-04-06 18:13:39 +02:00
Henrik Rydgard
7d918c0ad8 ARM64: Just some disasm improvements 2015-04-06 18:13:35 +02:00
Henrik Rydgard
4618275f99 ARM64: Add a few aliases to emitter. Disasm fixes. 2015-04-06 18:13:33 +02:00
Henrik Rydgard
acf08eefa8 ARM64: Fix FCVTL, use it in v2hf 2015-04-06 18:13:33 +02:00
Henrik Rydgard
0849e270ee ARM64: fmla encoding, more disasm 2015-04-06 18:13:31 +02:00
Henrik Rydgard
9c79831237 ARM64 emitter: Fix FP immediates 2015-04-06 18:13:29 +02:00
Henrik Rydgard
9a5a093105 ARM64 emitter/disasm: More scalar FPU instructions 2015-04-06 18:13:27 +02:00
Henrik Rydgard
6cb107d6fc ARM64: Fix LDP disassembly 2015-04-06 18:13:25 +02:00
Henrik Rydgard
5a5f3c94fd ARM64: Guess what? more emitter & disasm 2015-04-06 18:13:24 +02:00
Henrik Rydgard
0f430e6cd1 ARM64: More asimd scalar disasm, encoding fix 2015-04-06 18:13:23 +02:00
Henrik Rydgard
9f689b871a ARM64: Work on emitting and disassembling fp conversion ops 2015-04-06 18:13:22 +02:00
Henrik Rydgard
2566972a4d ARM64: Further disasm work 2015-04-06 18:13:21 +02:00
Henrik Rydgard
120e0bba3c ARM64: Disassemble csel and multiply instructions 2015-04-06 18:13:19 +02:00
Henrik Rydgard
a12e448fb4 ARM64: Stub vertex decoder jit, implementing just enough for the cube.elf cube. 2015-04-06 18:13:18 +02:00
Henrik Rydgard
acd9502b44 ARM64: stp/ldp disasm improvements 2015-04-06 18:13:17 +02:00
Henrik Rydgard
2bca05c4f2 ARM64: implement shifts, movz/movn. Corresponding fixes to emitter/disasm 2015-04-06 18:13:14 +02:00
Henrik Rydgard
70f44c3894 ARM64 emitter: Default to non-extend instruction forms (LSL 0), fix bugs. also fixes to disasm. 2015-04-06 18:13:12 +02:00
Henrik Rydgard
d3669daba4 ARM64: Fixes to emitter and disassembly for logical immediates 2015-04-06 18:13:12 +02:00
Henrik Rydgard
0922db6062 ARM64: Some FP work. 2015-04-06 18:13:11 +02:00
Henrik Rydgard
d16bd1fd30 ARM64: Port over basic load/store from ARM. Works in FastMem only. 2015-04-06 18:13:10 +02:00
Henrik Rydgard
742f48ad56 ARM64: More emitter and disasm work 2015-04-06 18:13:08 +02:00
Henrik Rydgard
c4cdca83fc ARM64: Fix some branch distance checks, add more stuff to disasm 2015-04-06 18:13:08 +02:00
Henrik Rydgard
73dd26fb75 More ARM64 disasm, warning fixes 2015-04-06 18:13:07 +02:00
Henrik Rydgard
f732fbb885 ARM64 emitter: Add MRS/MSR support (only for the flags register). Add some more to ARM64 Disasm 2015-04-06 18:13:04 +02:00
Henrik Rydgard
8945b2476d Add the beginnings of a rudimentary ARM64 disassembler 2015-04-06 18:13:03 +02:00
Henrik Rydgard
b309c83973 Initial work on ARM64, based on the ARM jit. 2015-04-06 18:13:01 +02:00
Unknown W. Brackets
2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
sum2012
4c827d1b3e Add install error translatable 2015-03-04 20:59:09 +08:00
Unknown W. Brackets
d497bc7c8c Ensure safe zim access regardless of file contents. 2015-01-17 18:43:00 -08:00
Unknown W. Brackets
50f5809c54 Oops, typo.
How did I not notice the distorted sound?
2015-01-11 16:49:22 -08:00
Unknown W. Brackets
4705a2568e Convert s16->float using SSE2. 2015-01-11 14:31:21 -08:00
Unknown W. Brackets
db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Lioncash
f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Unknown W. Brackets
b279b6d461 Typo. 2014-11-03 09:00:20 -08:00
Unknown W. Brackets
2d5733407b Small optimization to __PPGeInit().
Small factor in startup time.
2014-11-02 17:44:24 -08:00
Unknown W. Brackets
996fa39684 Reduce some unnecessary includes in Core/. 2014-03-15 10:41:07 -07:00
lioncash
b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
Kentucky Compass
fb1a3149fa Don't use strstr for single character search terms 2013-12-30 21:48:36 -08:00
Unknown W. Brackets
f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Henrik Rydgård
00c32ddadb Mostly get rid of including "Globals.h" 2013-12-30 10:17:11 +01:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
497537a4c4 Fix another dumb typo.
Arg, need to stop rushing things.  May have caused #4869.
2013-12-17 23:36:51 -08:00
Unknown W. Brackets
b2795b31c0 Only draw visible savedata icons, fix leak.
Fixes #4870.
2013-12-17 08:07:30 -08:00
Unknown W. Brackets
f7bad51cc7 Clip in PPGe, fixing issues in softgpu.
We were just drawing wrong, so softgpu was correct.
2013-12-15 11:59:23 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
2d3f0758c1 Dynamically manage PPGe images so 50+ are okay.
Otherwise, we try to allocate all at once and could run out of ram.

Should fix #2242.
2013-12-08 11:06:18 -08:00
Henrik Rydgård
37de6eee0f Improved error handling in ZIP installer 2013-12-06 15:29:14 +01:00
Henrik Rydgård
c262e47bdc Error handling on disk full when installing zip files 2013-12-06 12:49:57 +01:00
Henrik Rydgård
3ab1aeb9ef Install zip file screen: Add working progress bar for install. 2013-12-05 17:49:37 +01:00
Sacha
31af63adf4 Buildfix: Another string::back() and including a .cpp? 2013-12-06 01:04:50 +10:00
Sacha
502621bb08 Travis: Fix android script. 2013-12-06 00:35:45 +10:00
Sacha
8eacddf549 Symbian buildfix. 2013-12-06 00:18:39 +10:00
Henrik Rydgård
160cafdb34 Game installer: Handle zip files without directory entries 2013-12-05 14:21:07 +01:00
Sacha
3ccbbcf63b Buildfixes from homebrew merge. 2013-12-05 22:41:23 +10:00
Henrik Rydgård
e7ec53a97f zip game installer: Extract files by streaming instead of reading the
whole thing into ram.
2013-12-05 13:22:06 +01:00
Henrik Rydgård
8e658d628f GameManager: Add functions to query progress 2013-12-05 13:01:00 +01:00
Henrik Rydgård
6e60db7c22 Store: Handle zip files with external URLs and deep paths inside. 2013-12-05 12:48:09 +01:00
Henrik Rydgård
eaed2e516b Show simple progress bars at the top of the screen during downloads.
Should do something more practical eventually.
2013-12-05 12:48:09 +01:00
Henrik Rydgård
8b1ef01b5a GameManager: Sanity check ZIP files when installing them 2013-12-05 12:48:09 +01:00
Henrik Rydgård
5833bd45c3 More work on the Homebrew Store. 2013-12-05 12:48:09 +01:00
Henrik Rydgard
3a6941c1ab Safeguard GameManager::Uninstall from calls with empty filename.
Could wipe all your games if a bug would cause this to happen.
2013-12-05 12:48:09 +01:00
Henrik Rydgård
15f45806b9 GameManager: Sanity check ZIP files when installing them 2013-12-05 12:48:09 +01:00
Henrik Rydgård
7f481905b0 More work on the Homebrew Store, get it working on Windows and Android 2013-12-05 12:48:09 +01:00
Henrik Rydgård
2fb2602387 Initial draft of the Homebrew Store. Lets you install a few homebrew. 2013-12-05 12:48:08 +01:00
Henrik Rydgard
32f479b0a6 Assorted log spam reductions.
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
adrian17
7e3f35dfe3 Removed redundant includes 2013-09-30 19:05:04 +02:00
Unknown W. Brackets
a7f60afecb Use a saved ctx not break/continue in PPGe. 2013-09-20 21:15:36 -07:00
Unknown W. Brackets
0735a9a679 Just disable PPGe during tests, should be okay. 2013-09-17 23:13:13 -07:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
2c763365b4 Check size is within bounds in AllocAt(). 2013-09-11 22:52:22 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Unknown W. Brackets
dc3de4dbff For an off-grain alloc, properly align size. 2013-08-20 00:58:38 -07:00
Unknown W. Brackets
69abe041b7 Properly handle off-grain allocations.
This was causing sceKernelMaxFreeMemSize() to report a size that wasn't
allocatable, since sizes are upaligned to grain.
2013-08-20 00:46:13 -07:00
Ced2911
0bae3f8bf9 fix endian in image 2013-08-16 09:18:30 +02:00
Unknown W. Brackets
2f94977efe Don't include gfx/gl* outside the OpenGL GE. 2013-07-29 22:47:38 -07:00
Unknown W. Brackets
0a9ce9ae85 Specify memory layout in PPGe. 2013-07-27 15:38:38 -07:00
aquanull
3867a774ba Text spacing adjustments. 2013-06-15 21:20:18 +08:00
aquanull
fb651156d8 Implement text truncation with ellipses. 2013-06-15 21:20:17 +08:00
aquanull
336f388fa2 Allow CJK characters to be wrapped individually. 2013-06-15 21:20:17 +08:00
aquanull
77a01c1526 Fix missing punctuation marks when the text is wrapped around them.
Truncate trailing white spaces instead of putting them on the beginning of the next line.
2013-06-15 21:20:17 +08:00
raven02
2e2ec5bcea Quick fix wrong sizing of CIRCEL 2013-06-15 11:30:01 +08:00
Sacha
5aba914a42 Build fix for non-ffmpeg and non-gcc non-++11. 2013-06-12 10:51:30 +10:00
aquanull
3c140106be Auto-height the "borders" of the message text area.
More dialog tweaks.
2013-06-10 21:24:48 +08:00
aquanull
ddc85988ab Improve PSP system dialogs' looks.
Format date according to configurations.
Swap positions of button tips.
Fix text wrapping with non-top-left text alignment.
2013-06-10 21:24:48 +08:00
Henrik Rydgård
7b09062611 Merge pull request #1973 from aquanull/language
Update lang/ and zim assets.
2013-06-03 02:32:53 -07:00
aquanull
3b21e452dc Update lang/ and zim assets. 2013-06-03 17:22:58 +08:00
Sacha
b39a572043 Buildfixes.
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
98f99e1e3c Fix some initialization order warnings. 2013-05-31 23:14:28 -07:00
aquanull
fb81e6b2eb Update lang/ and zim assets. 2013-05-29 12:22:55 +08:00
Unknown W. Brackets
5f3cede64c Fix typo making the first line wrap wrong. 2013-05-27 19:35:49 -07:00
Unknown W. Brackets
8c984c2440 Use better replacements for missing space chars. 2013-05-27 19:26:37 -07:00
Unknown W. Brackets
90715c2ec2 Avoid a double lookup in FreeExact(). 2013-05-26 23:48:55 -07:00
Unknown W. Brackets
776c8e8533 Rewrite BlockAllocator in attempt to free faster.
And more importantly try to find that weird heap corruption, but no
luck...
2013-05-26 23:09:27 -07:00
aquanull
87f398b1af Make more menu screen items translatable.
Update font atlas files.
2013-05-25 11:23:14 +08:00