Commit Graph
5353 Commits
Author SHA1 Message Date
Henrik Rydgard 35b6c7341b Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets f1afb50fd1 Shutdown EGL properly when quitting render loop. 2016-02-07 16:30:40 -08:00
Henrik Rydgard da528d15ad ARM32 emitter: Tighten up distance check for forward jumps. Was off by one. 2016-01-30 21:38:42 +01:00
Henrik Rydgard e0cba1dd5a EGL: Try again with ES 2 if we fail to create an ES 3 context. 2016-01-24 11:33:02 +01:00
Henrik Rydgård 19b0858d5e Merge pull request #8490 from unknownbrackets/ui-tweaks
Show save state titles in the save state manager
2016-01-24 00:51:04 +01:00
Unknown W. Brackets 6a5096e546 Save the game title in savestates, if available.
So that the UI can show them.  Old savestates still load fine, just don't
have the title.
2016-01-23 12:56:36 -08:00
Henrik Rydgard 81fe914137 More EGL heuristics 2016-01-23 19:16:46 +01:00
Henrik Rydgard 1d6e48b817 Even more EGL logging 2016-01-23 18:42:05 +01:00
Henrik Rydgard 1a02274def A little bit more EGL logging 2016-01-23 18:31:34 +01:00
Henrik Rydgard 4155712113 Improve EGL logging, fallback to a really simple config if the normal one fails. May help #8469, if not may at least give us more info. 2016-01-23 13:17:53 +01:00
Henrik Rydgard 3ba911bf07 Replace some calls to fopen with File::OpenCFile (utf8). 2016-01-17 15:59:20 +01:00
Unknown W. Brackets da78ec0b4d Use USING_WIN_UI for desktop Windows console. 2016-01-03 15:10:50 -08:00
Unknown W. Brackets d165680ee7 Don't assume _MSC_VER / _WIN32 mean x86/x64. 2016-01-03 15:07:36 -08:00
Henrik Rydgård b29f46f9ac Merge pull request #8363 from unknownbrackets/jit-alloc
Jit: Properly re-allocate when jit is freed a lot
2016-01-03 18:55:12 +01:00
Unknown W. Brackets f3a616df24 Jit: Properly re-allocate when jit is freed a lot.
Fixes #8334.
2016-01-02 13:24:58 -08:00
Henrik Rydgard ae3458ec6e Buildfixes linux 2016-01-01 14:40:17 +01: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
gmvbif 281f0e18e6 Fixed some errors from PVS-Studio in Core project
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
latot c7b98b84c2 Add extended keys(latam) 2015-12-27 15:45:50 -03:00
gmvbif dff476c4f4 Make field for HWND in ConsoleListener 2015-12-26 09:54:34 +03:00
gmvbif ae1c1a0295 Fixed some errors from PVS-Studio in Common project
Color conversion assigned 'a' twice.
Console listener use local variable with the same name a class member.
Some additionals to nocopy for FileUtils and mutex
2015-12-25 09:49:26 +03:00
Unknown W. Brackets 103b959d50 Fix a type comparison warning. 2015-12-23 15:22:13 -08:00
Henrik Rydgard ebf9bd74c6 Minor fixes 2015-12-17 19:38:23 +01:00
Henrik Rydgard fd2557dbd7 EGL: Add autodetect mode that only chooses between ES2 and ES3 2015-12-16 21:48:19 +01:00
Henrik Rydgard db633aa377 Lots more debug logging. Terrifying compatibility hack for devices that for some reason create 16-bit buffers.
Like Xperia Play.
2015-12-16 21:37:39 +01:00
Henrik Rydgard 13515bf235 Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp. 2015-12-16 14:52:44 +01:00
Henrik Rydgard 04f8bffa29 Use EGL from native code to initialize and run OpenGL on Android.
Should be more robust, allows initializing desktop GL if available, and lets us take control of the render loop.
2015-12-16 10:57:24 +01:00
Henrik Rydgard c2eb6a2fcb Minimal port of Android EGL code from Dolphin. 2015-12-13 22:46:50 +01:00
Unknown W. Brackets 7bfe100b0f Fix some unused variable warnings.
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Henrik Rydgard 44be9f2a50 Move Windows GPU init code into Windows/GPU 2015-11-03 23:22:09 +01:00
Henrik Rydgard c84f0e6059 Show the id of unknown mapped keys in the UI. 2015-10-31 15:20:02 +01:00
latot afeb012d04 Add missing include files to unittest 2015-10-24 13:24:05 -03:00
Henrik Rydgård e0de346036 Merge pull request #8046 from unknownbrackets/jit-alloc
Reset memory alloc pointer when jit alloc fails
2015-10-10 18:13:49 +02:00
Unknown W. Brackets 935b802dad Reset memory alloc pointer when jit alloc fails.
On Windows x64, we keep track of our last allocation.  Once we run out of
our 2GB range, we need to start over or it'll just fail.

Fixes #8021.
2015-10-10 09:07:34 -07:00
Henrik Rydgard 8914cd9914 ARM64 disassembler improvements (show many kinds of branch targets properly) 2015-10-10 11:27:28 +02:00
Henrik Rydgard 6785a95384 Fix some memory leaks on corrupt savestates 2015-10-04 14:11:33 +02:00
Henrik Rydgård 5dc6e96168 Fix key mapping defaults on nVidia Shield TV 2015-10-04 13:25:57 +02:00
Henrik Rydgard 6d5bde9748 Fix more buggy string arithmetic in LogManager 2015-10-04 11:09:44 +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 6fcbfabdd2 Rename fields to avoid some gross #define hack that linux is doing 2015-09-23 12:10:23 +02:00
Henrik Rydgard 77e9ea38aa Get rid of remaining uses of stat() on Windows 2015-09-23 11:34:22 +02:00
Henrik Rydgard 51a5adfff2 More buildfixes 2015-09-23 10:59:12 +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
Henrik Rydgard 351baa101c Some Android warning fixes 2015-09-22 18:30:57 +02:00
Henrik Rydgard 60bbe16c89 Make LogManager string handling code safer. 2015-09-19 15:55:49 +02:00
Henrik Rydgard ecbef7a2ff Remove easy_file.cpp/h. Minor cleanups. 2015-09-19 14:29:02 +02:00
Henrik Rydgård 9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +02:00
Henrik Rydgard 3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
Henrik Rydgård a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00