Commit Graph

1908 Commits

Author SHA1 Message Date
i30817 3fdd7f50ea
fix gdi track parsing in unixx
Same problem as https://github.com/libretro/reicast-emulator/pull/24

in unix that iteration would not work if the path of the original .gdi file (where we are finding the 'parent directory') was:

1. not existent, ie a gdi on the same directory as the current. It was iterating until the index 3 and stop there. Disaster strikes later ofc, if the first characters weren't C:\ or other thing like that.
2. in a relative subdirectory that is 'small enough' ie: a/crazy-taxi.gdi. In this case the last '/' wouldn't be found, the derived string would be 'crazy-taxi.gdi' and the file not found ofc.

Anyway, this can be solved simply by searching the whole string and using a signed integer. It will go up to -1, stop iteration and increase to 0 on the len++.

Dunno if using relative subdirectories for the tracks on *other* platforms works because of the path separator being different from what's inside the gdi but with this code fixed it works on linux with / at least.
2018-03-25 18:53:18 +01:00
Stefanos Kornilios Mitsis Poiitidis 9adadd5d7a
Merge pull request #1086 from reicast/skmp/fix-travis
Travis CI fix: install ant
2018-03-22 16:16:39 +01:00
Stefanos Kornilios Mitsis Poiitidis 901001da9a Travis CI fix: install ant 2018-03-22 16:06:11 +01:00
Apostolis Papadimitriou bf03828a24
Update README.md
Add one more device in devices tested list
2018-03-22 12:33:38 +02:00
TwistedUmbrella b4631f6715
Merge pull request #884 from williansti/master
update PT-BR brazilian translation
2018-03-09 12:40:47 -05:00
TwistedUmbrella 045ab285ca
Merge pull request #1068 from promi/fix-evdev_mapping
Fix #1051
2018-03-09 12:35:06 -05:00
TwistedUmbrella a29fbc62c9
Merge pull request #1080 from nhoudelot/master
some typo fix
2018-03-09 12:31:03 -05:00
Nicolas HOUDELOT bf9ff3c0ed GNU Public License -> GNU General Public License 2018-03-05 01:57:40 +01:00
Nicolas HOUDELOT 5c343a219c fix typo 2018-03-05 01:57:00 +01:00
Nicolas Adenis-Lamarre 8ba58a3d9d configuration parsing: get_entry must not look into virtual sections only
in emu.cfg, when i set rend.WideScreen = 1, its not read.
has_entry and get_entry doesn't use the same check,
thus while has_entry can return true, get_entry can not return the entry.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2018-02-13 23:20:23 +01:00
Stefanos Kornilios Mitsis Poiitidis d9e65bfbe4
Merge pull request #1074 from hissingshark/vero4k
Added detection for Vero4K
2018-01-17 12:57:32 +01:00
hissingshark 2034aca3f5 Added detection for Vero4K 2018-01-16 13:38:00 +00:00
Stefanos Kornilios Mitsis Poiitidis ad0ec384cf
Merge pull request #1071 from zerojay/master
Fix hardware detection for Odroid-XU4 against newer kernels
2017-12-25 12:33:01 +01:00
zerojay c3e6dc7bd7
Fix hardware detection for Odroid-XU4 against newer kernels
On older kernels, the Odroid-XU4 would be identified as "ODROID-XU3". On newer kernels, such as the latest Ubuntu kernel for ODroid, the XU4 is now being identifed as "ODROID-XU4" which would cause the hardware detection to fail and have it build a generic ARM build instead of our desired "platform = odroidxu3".
2017-12-21 17:59:56 -05:00
Promi 5615694ea0 Fix #1051 2017-12-09 15:51:57 +01:00
Stefanos Kornilios Mitsis Poiitidis 7ab3357675
Merge pull request #1060 from reicast/skmp/update-readme
Readme: Add slack link
2017-11-13 14:17:03 +01:00
Stefanos Kornilios Mitsis Poiitidis 990ac46acc Readme: Add slack link 2017-11-13 14:12:48 +01:00
sL1pKn07 18570281f9 [cmake] add EVDEV and JOYSTICK options 2017-07-07 00:16:43 +02:00
TwistedUmbrella 8a680202a4 Merge pull request #808 from reicast/loungekatt
iOS rebuild to support file list and controllers
2017-06-17 13:07:42 -04:00
TwistedUmbrella 3df7e0a093 Remove deprecated third-party configuration 2017-06-17 09:18:32 -04:00
TwistedUmbrella c80dbb1629 Create Xcode external build system for zlib 2017-06-17 09:18:27 -04:00
TwistedUmbrella c16d3195b5 iOS: Add button tag as secondary identification 2017-06-04 13:38:56 -04:00
TwistedUmbrella 2d43e958cc Switch to local gitignore for proprietary items 2017-06-04 13:38:56 -04:00
TwistedUmbrella 158eef7883 Remove fp.h leftovers after limping update 2017-06-04 13:38:56 -04:00
TwistedUmbrella 656a230d06 Centralized key handling in EmulatorView 2017-06-04 13:38:56 -04:00
TwistedUmbrella e6fe7df468 Fix overlay by restoring independent xib view
This resolves an issue with the GLKView stealing z-order with every
frame and allows disabling the view, not just hiding it.
2017-06-04 13:38:55 -04:00
TwistedUmbrella 2e41057e7f Connect on-screen controls to an IBAction method 2017-06-04 13:38:55 -04:00
TwistedUmbrella c073e5632f Add default disk image, Disable touch on GLKView 2017-06-04 13:38:55 -04:00
TwistedUmbrella 52015ced17 Support loading disk / BIOS from selection 2017-06-04 13:38:55 -04:00
TwistedUmbrella 4b5d116812 Covert to assets library to support iPhone 6 2017-06-04 13:38:55 -04:00
TwistedUmbrella 3b44f3dc04 Attach controller view to hardware config, Fix cells 2017-06-04 13:38:55 -04:00
TwistedUmbrella 9766627918 Integrate controller into storyboard emulator view 2017-06-04 13:38:55 -04:00
TwistedUmbrella c8c455483f Convert to navigation controller to push view 2017-06-04 13:38:54 -04:00
TwistedUmbrella c4b6ee3333 Move controller to storyboard, Add file parameters 2017-06-04 13:38:54 -04:00
TwistedUmbrella d106f541e6 Fix table crash, Use modal EmulatorView
The current layout does not yet support the sliding view. The requires
and update and / or replacement of the backend library.
2017-06-04 13:38:54 -04:00
TwistedUmbrella 458492f611 Add custom cells to support disk image 2017-06-04 13:38:54 -04:00
TwistedUmbrella df707aa60e Create compound predicate for various file types 2017-06-04 13:38:54 -04:00
TwistedUmbrella 5f0d58dc65 Preliminary file list and controller overlay support 2017-06-04 13:38:54 -04:00
TwistedUmbrella 4fd15e515d Add a basic hardware control scheme for iOS 2017-06-04 13:38:54 -04:00
Stefanos Kornilios Mitsis Poiitidis 3c802cde5a Merge pull request #1030 from reicast/skmp/vs-2015
vs: Upgrade sln to visual studio 2015
2017-06-04 19:00:10 +02:00
Stefanos Kornilios Mitsis Poiitidis 3579c9aabf vs: Upgrade sln to visual studio 2015 2017-06-04 18:41:03 +02:00
TwistedUmbrella 49ada26a69 Merge pull request #1019 from reicast/lk/cleanup
Updates for newer APIs / remove outdated code
2017-06-04 12:37:21 -04:00
TwistedUmbrella 09c7213b32 Remove deprecated dependancy
Enough devices have updated that a few stray Checkbox “victims” are
worth removing this severely outdated compatibility library
2017-05-24 13:02:35 -04:00
TwistedUmbrella 1dd951540a sdcard0 is now sdcard on most current hardware
This was an attempt to circumvent read permission, but that can be
handled by the user simply choosing the directory correct.
2017-05-24 13:02:35 -04:00
TwistedUmbrella defd2d1941 Add a "better" label to native mode
It is less about general hardware performance and more about
proprietary hardware requiring native support
2017-05-24 13:02:35 -04:00
TwistedUmbrella 7a1b22b3b8 Cleanup for Nougat compatibility
This will also stop preventing a build when a translation is missing.
2017-05-24 13:02:35 -04:00
TwistedUmbrella b7d33ee013 Remove direct use of library in favor of Manifest 2017-05-24 13:02:35 -04:00
TwistedUmbrella bced0a81ea Add legacy HTTP support library for Android 23+ 2017-05-24 13:02:35 -04:00
TwistedUmbrella f4a1082f75 Update some really outdated UI display code 2017-05-24 13:02:34 -04:00
Stefanos Kornilios Mitsis Poiitidis 6eb48808aa Merge pull request #1023 from reicast/skmp/optimize-ta-handling
Cleanup/optimize ta_thd_data32_i
2017-05-18 12:29:55 +02:00