Commit Graph

2124 Commits

Author SHA1 Message Date
Flyinghead 7ecd384612 StrideSel is now part of the texture cache and must be set by RTT 2018-06-29 19:03:43 +02:00
Flyinghead d980f505ad Fully revert f571d6c594
Fixes NAOMI bios flickering
2018-06-29 17:16:39 +02:00
Flyinghead a52654e2de Added some game ids to per-game settings 2018-06-29 17:10:35 +02:00
Flyinghead 17a34c079c Backported EG hack. Courtesy of libretro.
See 13dacb0021
2018-06-29 17:04:07 +02:00
Stefanos Kornilios Mitsis Poiitidis ad05c35a7e Implement CheckBlock for x64 2018-06-29 15:19:49 +02:00
Stefanos Kornilios Mitsis Poiitidis c52165adbd Update XBYAK to 71b75f653f3858403eb33d48f6346eef34b837fe 2018-06-29 15:18:57 +02:00
Flyinghead f18aa63a67 Add stride and scan order to texture cache key as they are used to update the texture
Fixes glitchy FMV title screen in Bomberman Online
2018-06-29 11:59:48 +02:00
Flyinghead a94f01ee78 Force autosort TR triangles using depth func Always to be drawn on top of others
When autosorting triangles, ignore the depth of triangles using the depth func Always and force
them to be on top. Seems to help Psyvariar 2.
2018-06-28 13:21:40 +02:00
Flyinghead 6871061ca0 Modifier Volumes: summing up with triangles is faster than using a quad. 2018-06-26 15:38:55 +02:00
Flyinghead 7c93727b5e Improve modifier volume parsing and drawing logic.
Parse modifier volumes similarily to other polys (first, count, params).
Draw all triangles in one shot and use quad to sum up instead of
redrawing entire strip. Use OR operation for open volumes/quads
(Soulcalibur).
2018-06-26 14:45:58 +02:00
TwistedUmbrella e30f868c57 Android: refactor broken v6 config for EGL14
This is still far from functional, but can better serve as a test for implementing EGL14 over attempting to be a broken attempt to force newer APIs
2018-06-25 12:04:26 -04:00
TwistedUmbrella bf62cb8bd1 Prevent overriding Android setting w/ config.ini 2018-06-25 12:04:26 -04:00
TwistedUmbrella 7f96b0218c Android: Support interchangeable BIOS files
The previous code supported replacing the BIOS with a regional counterpart, but destructively replaced the existing image with the new one. This should allow swapping to a new region without removing that region as a future option, so it can be switched between multiple regions with multiple files. It will still fall back to the previous method simply to prevent the removal of a useable BIOS.
2018-06-25 12:04:25 -04:00
TwistedUmbrella c39e1e7d2b Android: Use minSdkVersion for APP_PLATFORM
This value should reflect the minimum supported SDK level of the library when it differs from the minSdkVersion of the base application, as per https://developer.android.com/ndk/guides/application_mk
2018-06-25 12:04:25 -04:00
TwistedUmbrella 291d02933c Android: Add missing module declaration 2018-06-25 12:04:25 -04:00
TwistedUmbrella 9bb71fe23d Travis: repositories.cfg could not be loaded 2018-06-25 12:04:25 -04:00
TwistedUmbrella f9775dad1b Android: Add missing imports from class merge 2018-06-25 12:04:25 -04:00
TwistedUmbrella de4ea7fabc Android: prepare for debug server expiration
This server is being closed down, as it was piggybacked on the server for another project that has moved to static pages.
2018-06-25 12:04:25 -04:00
TwistedUmbrella 9a9de2c9db Add Samsung exFat filesystem support
The isolated source, taken from the Note 8 kernel, can be found at https://github.com/pjm0616/sdfat
2018-06-25 12:04:24 -04:00
TwistedUmbrella b4762106ef Increase minSDK according to NDK minimum (16)
Remove proprietary Xperia Play support (API 9 - 14)
2018-06-25 12:04:24 -04:00
TwistedUmbrella 3183b3185a Remove unused imports, variables, declarations 2018-06-25 12:04:24 -04:00
TwistedUmbrella 8cd6953f7c Shell: Changes provided by Android NDK compiler 2018-06-25 12:04:24 -04:00
TwistedUmbrella 4636d41394 Import TargetAPI annotations for Honeycomb 2018-06-25 12:04:23 -04:00
TwistedUmbrella c84000a3c6 Avoid leaking context in FileBrowser
While this is a bit of an excessive conversion, it is worthwhile for a long-running task to avoid leaking context and memory.
2018-06-25 12:04:23 -04:00
TwistedUmbrella 98dbcf0aff android: better error checking for external drives 2018-06-25 12:04:23 -04:00
TwistedUmbrella 3876a3e3ad http: read strings as strings, rather than bytes 2018-06-25 12:04:23 -04:00
TwistedUmbrella f71f2ca91f Eliminate static variables and hacky workarounds
Avoid retrieving preferences from static function

Unify numerous calls to the same fragment

Not entirely sure why I added more when this is much cleaner

Avoid a redundant call to SharedPreferences

Cleanup, Fix regressions, Finalize design changes

This fixes a few minor issues, including the missing title when options is opened from file browser, the release build product being named debug, and the possibility that JNIdc.config is not set when opening the BIOS without a game selected.
2018-06-25 12:04:23 -04:00
TwistedUmbrella 919c6d6288 Simplify log notification messages
Nobody actually understood where the "Files Dir" path was located and this led to more confusion than useful information. It also prevents the message from being overlapped.

Remove unused / ignored Snackbar parameters
2018-06-25 12:04:23 -04:00
TwistedUmbrella 60b501b747 Fix for unreliable createNewFile function
At one point, this was necessary(?). It appears to be problematic and the root cause of an unnecessary FileNotFoundException. Apache's FileUtils will create the directory and file, if necessary, when using version 1.3+ of the io library. This avoids maintaining workarounds.
2018-06-25 12:04:22 -04:00
TwistedUmbrella f88cb7f0e4 Move file list navigation to background (multi-threaded)
An xml view will never not exist, but it may be empty. Check the appropriate condition to avoid a crash.

Fix some error checking for file list clearing
2018-06-25 12:04:22 -04:00
TwistedUmbrella 1d3964588c Add basic shell for game search functionaliy
Implement search using current file handling
2018-06-25 12:04:22 -04:00
TwistedUmbrella f88561614e Convert global Toast to per-activity Snackbar
Assign activity menu icon to activity Snackbar

Unify appearance of Snackbar, Fix overlap in log sender

See https://stackoverflow.com/a/49583210/461982 for the StackOverflow submission on modifying Snackbar location.
2018-06-25 12:04:22 -04:00
TwistedUmbrella c684629128 Remove site label, Fix displaying site in navbar
Fix heading layout for removal of fake title bar

Make instances of reicast url clickable links
2018-06-25 12:04:21 -04:00
TwistedUmbrella 55fa2e6577 Use vectors in API 23+ (https://stackoverflow.com/a/41408100) 2018-06-25 12:04:21 -04:00
Apostolis Papadimitriou 831e7e3f9f Various changes in colors and styles 2018-06-25 12:04:21 -04:00
TwistedUmbrella 858d617673 Asynchronus preferences, where appropriate
Most UI settings should be saved asynchronously with immediate results few from runtime memory, but storing the keys for cloud saves should probably remain direct to disk with error checking.
2018-06-25 12:04:20 -04:00
TwistedUmbrella 81d2389c42 Remove secondary title and default to updating main 2018-06-25 12:04:20 -04:00
Apostolis Papadimitriou 1da3a95d42 Update navigation according to material design 2018-06-25 12:04:20 -04:00
TwistedUmbrella 03834ad48b Extend application for global functionality
Rather than attempt to locate each vector reference, it was best to extend the application for global support. This created a good place to handle native options that are separate from UI config

Clean up formatting and remove whitespace

Android Sudio does not verify global variables well

Conflicts:
	shell/android-studio/app/src/main/java/com/reicast/emulator/GL2JNINative.java
2018-06-25 12:04:20 -04:00
Apostolis Papadimitriou 7ab6e9f0c4 file browser colors and styles redesign 2018-06-25 12:04:19 -04:00
TwistedUmbrella 29ce6bd71a Realign with cherry-pick and fix formatting 2018-06-25 12:04:19 -04:00
TwistedUmbrella c9be03bc5e Calls to app_dummy are no longer necessary. 2018-06-25 12:04:19 -04:00
Apostolis Papadimitriou 0b52fcf2e5 A first view of browser file browser redesign
Transition to updated file browser resources
2018-06-25 12:04:19 -04:00
TwistedUmbrella 0265c635fe Fix per-case return, Disable rateme when hidden 2018-06-25 12:04:18 -04:00
TwistedUmbrella 4f8ae7f822 Avoid installing flash if BIOS has not been installed 2018-06-25 12:04:18 -04:00
TwistedUmbrella 068eedc325 Move button install to background thread and fix
Fix a crash related to file creation access unavailable

Move button install to background thread and fix
2018-06-25 12:04:18 -04:00
TwistedUmbrella f0e2b7831c Add bluetooth permission for controller support 2018-06-25 12:04:18 -04:00
TwistedUmbrella 159e9fe0ad Update Apache dependency to non-legacy
Apache-compliant log upload functionality (non-legacy)

Apache-compliant xml parsing functionality (non-legacy)

Apache-compliant image url functionality (non-legacy)

Apache-compliant changelog functionality (non-legacy)

Remove apache legacy library dependency (deprecated)
2018-06-25 12:04:18 -04:00
TwistedUmbrella 0f45296ea4 Cleanup comments, Permission compliance
The permission request is not necessary on rooted devices and the emulator may not run on non-root devices. This permissions simply circumvents a crash so the user can be notified of incompatibility through means other than a crash.
2018-06-25 12:04:18 -04:00
TwistedUmbrella d34590c158 Conversion to AppCompat drawable resource calls
Add compatibility prefix to layouts (app:srcCompat)
2018-06-25 12:04:17 -04:00