Commit Graph

1937 Commits

Author SHA1 Message Date
Gleb Mazovetskiy
78ad98e6c4 jpge.cpp: Remove malloc.h include
`malloc.h` is deprecated and doesn't exist on macOS.
`stdlib.h` provides malloc.

Fix sent upstream in https://github.com/richgel999/jpeg-compressor/pull/18
2021-01-30 12:13:13 +00:00
Gleb Mazovetskiy
5a09bc3d30 Update ext/jpge
From aeb7d3b463

Fixes #14012

Also now comes with SSE2 SIMD
2021-01-30 12:13:08 +00:00
Unknown W. Brackets
01676bc795 Windows: Fix miniupnpc build on ARM64. 2021-01-02 17:42:43 -08:00
Henrik Rydgård
7391abcfd6 Unrelated warning fixes 2020-11-08 14:57:43 +01:00
aliaspider
8bff088bb3 libkirk: fix buffer overflow. 2020-10-13 03:08:03 +01:00
Henrik Rydgård
3788537ddc Fix additional snappy warnings. 2020-10-10 19:21:12 +02:00
shenweip
a66cb1237d Warning fixes. 2020-10-10 19:18:46 +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
Unknown W. Brackets
137f03c71d Adnroid: Add back arm32 files for libpng. 2020-09-29 23:04:30 -07:00
Unknown W. Brackets
af307d05e2 Android: Fix include paths. 2020-09-29 22:51:53 -07:00
Unknown W. Brackets
af57eb582c Global: Add back arm files for libpng. 2020-09-29 22:41:43 -07: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
5e976ff842 Buildfixes 2020-09-29 19:33:18 +02:00
Henrik Rydgård
11ab77b995 Remove some TLS. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
835b819faa Remove some color util functions 2020-09-29 15:51:51 +02:00
Henrik Rydgård
311fe431d0 Move buffer.cpp/h from base to Common 2020-09-29 15:51:51 +02:00
Henrik Rydgård
17a9767585 Buildfixes 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
656adf1fcd Remove old define for thread local storage 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ecceeaa810 We no longer use TCHAR. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
51e2e7f8d5 Remove our usage of ssize_t 2020-09-29 15:51:51 +02:00
Henrik Rydgård
ec7458b6a9 Delete more useless math code 2020-09-29 10:13:27 +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
30ecde5bc9 Delete some unused string functions 2020-09-29 00:41:32 +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
9cdf4941f2 Revert a bad optimization in word wrapper 2020-09-24 00:32:36 +02:00
Henrik Rydgård
cea7c1b6bb Remove an allocation in the word wrapper. 2020-09-22 21:29:01 +02:00
Henrik Rydgård
437818aa45 Minor optimization in wrap_text.cpp 2020-09-22 21:12:45 +02:00
Henrik Rydgård
707e9cf7ac Remove some unnecessary function parameters, improve some comments. 2020-09-20 20:44:18 +02:00
Henrik Rydgård
7c76f4e65c Minor improvement to gl_debug_log.h 2020-09-17 20:53:02 +02:00
Henrik Rydgård
d71ec8d82c The new asserts found something. 2020-09-17 20:53:02 +02:00
Henrik Rydgård
d0f7b1e30f Make the implementations of CopyFramebufferDepth more similar.
Also avoid matching framebuffers with bad z for copies.
2020-09-17 20:52:45 +02:00
Henrik Rydgård
7f1e35e761 Add missing asserts after some VK resource creation functions 2020-09-16 01:03:56 +02:00
Jean-André Santoni
6f2310b8ea
Fix libretro OSX build
Fixes these errors:

```
../ext/zlib/gzlib.c:492:14: error: implicit declaration of function 'lseek' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
../ext/zlib/gzwrite.c:84:15: error: implicit declaration of function 'write' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
  1 /* gzguts.h -- zlib internal header definitions for gz* operations
        got = write(state->fd, strm->next_in, strm->avail_in);
```
2020-09-13 15:07:08 +07:00