Ender's Games
eb11d19687
Include header guards to prevent multiple inclusions
2018-08-21 09:28:54 -04:00
Ender's Games
75215ec0d1
Core: Address some obvious lgtm issues
2018-08-21 02:52:03 -04:00
Christoph "baka0815" Schwerdtfeger
ad20b55d2c
Fix lgtm-warning
2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger
c8baaac632
evdev/MapleType: Controller in port 1 defaults to VMU for Maple device, all other to None
...
Also allow 0 for "None"
2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger
11b01633d0
Fix Windows
2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger
638a97d1ae
Maple: Reworked the way controllers are created
...
A new function was introduced to abstract the setup of input devices for each os: os_SetupInput().
I hope I implemented this everywhere correctly and the behaviour is identical to before.
The new function mcfg_CreateNAOMIJamma() creates the NAOMI Jamma interface and is hidden behind a compile flag (same as before).
The previous function mcfg_CreateDevices() was renamed to mcfg_CreateDevicesFromConfig() because it creates the devices based on the configuration (``nb`` setting).
2018-08-21 00:33:18 -04:00
Christoph "baka0815" Schwerdtfeger
8212be4850
MapleDeviceType: Add MDT_None
2018-08-21 00:32:05 -04:00
Christoph "baka0815" Schwerdtfeger
7ef105822a
evdev: Move creation of controllers
...
Don't expose mcfg_Create() directly, but use a proxy method mcfg_CreateController() to create the complete controller.
Using evdev the ``nb``-setting in the ``emu.cfg`` is no longer necessary (see #970 ) as the devices get created while initializing the controllers.
Moved the ``switch`` to it's own function.
2018-08-21 00:32:05 -04:00
Christoph "baka0815" Schwerdtfeger
f75ba32fa9
evdev/maple: Set devices via config
2018-08-21 00:32:05 -04:00
Christoph "baka0815" Schwerdtfeger
17d9159b82
evdev: Add maple devices 1 and 2 to mapping & cfg
2018-08-21 00:32:05 -04:00
Abandoned Cart
62837f4db0
Merge pull request #1235 from reicast/fh/alpha-pt-rounding-fix
...
Float math in alpha calculation causes some punch-through textures to…
2018-08-21 00:09:06 -04:00
Ender's Games
8f82e926b8
Android: Improve msgbox, printf cdi workaround
...
This partially reverts commit 405909bf91304db275dde4d163befa8fc654874f.
2018-08-20 23:50:47 -04:00
David Miller
1a4f597bd8
ngen_mainloop for x86 updated to use PC value from context, CDI warning
...
and removed redundant header causing build failure on libwebsockets (VS)
2018-08-20 23:49:15 -04:00
Ender's Games
ef6242d2f7
Android: Create a per-game configuration view
...
Android: Pass game configuration options to emu
TODO: Fix inability to reload fragment w/ new settings
Android: Limit preference scope, Avoid static crutch
Android: Obligatory button to commit PGC settings
Android pressures the use of async preferences, but does not properly block threads. This causes the settings from one view to bleed into the next when swapping back and forth. This can be overcome by explicitely writing to the specific pref object.
Android: Add PGC documentation to window
2018-08-20 22:02:59 -04:00
Ender's Games
9e57068192
Config: Only load modified game settings, don't save
...
There is no reason to build a configuration file of duplicate settings. The user can acquire the defaults from the config section and only inject the changes into the game section.
2018-08-20 14:29:13 -04:00
Ender's Games
2311253aa5
Config: log a software name to the configuration file
...
This value is printed to the config file alongside individual settings and cannot be modified. It will be replaced each time the configuration is read, preventing any risk of user error.
2018-08-20 13:23:50 -04:00
Ender's Games
78977387ac
Reios: perform initial configuration, as needed
2018-08-20 12:28:58 -04:00
gameblabla
8a53efec62
Fixes compiling with GLES and X11
2018-08-20 13:17:01 +02:00
Ender's Games
4424d84960
Port libretro reios params with less intrusive query
2018-08-19 05:41:00 -04:00
Ender's Games
f2b9b2fcf7
Unimplemented method for per-game configuration
...
This is a general outline of how per-game configuration would be read to replace the existing "default" values without restricting the settings to defined values. Each game could support it's own proprietary configuration that could be changed and updated, as needed. This separates per-game config from the emulator version.
2018-08-19 05:41:00 -04:00
Ender's Games
e64367a0ad
Android: A very simple method to set 4:3 resolution
2018-08-19 02:03:10 -04:00
Ender's Games
8d9d40dffc
Core: Changes provided by Android NDK compiler
2018-08-19 01:54:15 -04:00
Ender's Games
a3f585ea1c
Port the dynarec safe flag from nullDC (See #84 )
2018-08-16 20:00:10 -04:00
Abandoned Cart
b2e07d0c96
Merge pull request #1289 from reicast/baka/evdev_checkdup2
...
evdev/dupcheck: Don't check unassigned buttons
2018-08-13 18:59:52 -04:00
Flyinghead
c430a7906c
Block checks for rec-cpp
2018-08-13 21:37:59 +02:00
Christoph "baka0815" Schwerdtfeger
7029af98a3
evdev/dupcheck: Don't check unassigned buttons
...
Also removes the trailing whitespaces.
2018-08-13 13:10:59 +02:00
Christoph "baka0815" Schwerdtfeger
21ea713032
X11: Values >= 1 enable keyboard
2018-08-12 15:17:56 +02:00
Christoph "baka0815" Schwerdtfeger
369ecf2db2
evdev: Print a warning if a key is not configured
2018-08-12 09:50:14 +02:00
Christoph "baka0815" Schwerdtfeger
891666d9ce
evdev: Check for duplicate key assignment
2018-08-11 09:56:13 +02:00
Christoph "baka0815" Schwerdtfeger
e2d186f7be
evdev: Testing shows: You *can* assign the same device to multiple ports.
2018-08-10 10:16:29 +02:00
Out of Office
14bf4b5b1c
Merge pull request #1267 from reicast/lk/android-studio
...
Cleanup and improvements to Android Studio
2018-08-08 11:49:59 -04:00
Ender's Games
553ce3d352
Android: align calls with lifecycle, add core pause
...
This fixes the JNI naming structure to match the Android lifecycle stages and adds the ability to save things like the time when the app goes into the background without actually halting the emulator.
2018-08-08 11:22:47 -04:00
Ender's Games
f40826614a
libpng: address a non-compliant define
2018-08-07 23:36:20 -04:00
Ender's Games
38edff3dae
libpng: expose NEON w/out enabling
2018-08-07 23:18:05 -04:00
TwistedUmbrella
1f688173b8
libpng: restore original configuration
2018-08-07 23:02:56 -04:00
TwistedUmbrella
ce71108efa
libpng: update zlib references
2018-08-07 23:02:56 -04:00
TwistedUmbrella
ae8c41077f
libpng 1.6.34 [September 29, 2017]
2018-08-07 23:02:56 -04:00
TwistedUmbrella
66c3cb8a33
libpng 1.6.32 [August 24, 2017]
...
Courtesy of @mrfixit3000 ( https://github.com/reicast/reicast-emulator/issues/1121#issuecomment-383257219 )
2018-08-07 23:02:56 -04:00
Stefanos Kornilios Mitsis Poiitidis
b121fd1ba2
Revert "ngen_mainloop for x86 updated to use PC value from context, CDI warning"
...
This reverts commit 38539a9c2f
.
Reason: Breakage reported by beta testers
See #1260
2018-08-07 14:30:42 +02:00
David Miller
38539a9c2f
ngen_mainloop for x86 updated to use PC value from context, CDI warning
...
and removed redundant header causing build failure on libwebsockets (VS)
2018-08-06 15:01:15 -04:00
Abandoned Cart
9beb87ef64
Merge pull request #1236 from reicast/clean-exit-light
...
Exit cleanly in desktop platforms
2018-08-02 12:20:03 -04:00
Flyinghead
1ac497ba30
Update AEG params when FNS or OCT registers are updated
...
Fixes Bomberman Online FMV intro freeze, Jet Grind Radio and Psyvariar 2 intro music fade out and probably more.
2018-08-01 16:30:43 +02:00
Stefanos Kornilios Mitsis Poiitidis
7da4f09c01
TA: Alloc 8mb for fifo storage, workaround for doa2le
2018-07-31 00:56:26 +02:00
Flyinghead
5960450e76
Linux x86 fix. Wait for renderer thread to end.
2018-07-24 17:24:56 +02:00
Flyinghead
20de593a88
Clean exit on OS X. Minor changes.
2018-07-24 14:27:58 +02:00
Flyinghead
2e08d7a6c9
round() not available in GLES2. Using floor() instead
2018-07-23 20:55:53 +02:00
Flyinghead
45d4abb64d
"for" should be a "while"
2018-07-23 20:44:35 +02:00
Flyinghead
8dab514b2a
yet another tentative asm fix
2018-07-23 20:38:31 +02:00
Flyinghead
3d2de4a0dc
tentative fix for rec x86/win
2018-07-23 20:26:12 +02:00
Flyinghead
960904c401
Exit cleanly in desktop platforms
...
Lighter and cleaner version of the previous PR
2018-07-23 19:52:50 +02:00
Flyinghead
86235bb4a3
Float math in alpha calculation causes some punch-through textures to have alpha noise.
2018-07-23 15:15:05 +02:00
Flyinghead
4b5e863aa7
Use log2 depth scaling in fragment shader when available.
...
Currently a compile time option (!GLES). Fixes many depth issues (Dynamite Cop, Cannon Spike, etc.)
2018-07-23 10:25:55 +02:00
Stefanos Kornilios Mitsis Poiitidis
95ce251639
Merge pull request #1079 from myfreeweb/master
...
Build on FreeBSD
2018-07-22 00:37:34 +02:00
Stefanos Kornilios Mitsis Poiitidis
a5cf5406cb
Merge pull request #1181 from baka0815/X11
...
X11: Refactored and fixed buttons
2018-07-18 20:59:02 +02:00
Christoph "baka0815" Schwerdtfeger
2a167e343b
X11: use x11_keymap[] for the shoulder trigger
...
Use DC_AXIS_LT and DC_AXIS_RT for the sliders. They are not real axes on a keyboard, but it fits.
Also hide the printf() behind a define.
2018-07-18 19:31:35 +02:00
topu
90304f0c67
Fix controller support when building with GCC8
2018-07-15 13:59:37 +02:00
Stefanos Kornilios Mitsis Poiitidis
1ada311513
Continuous delivery to play store beta from travis
...
Merge pull request #1210 from reicast/skmp/reicast-beta-cd
Should build and deploy from master only
*crosses fingers*
2018-07-14 19:42:31 +02:00
barbudreadmon
8e7b6b72e1
(Naomi) Fix for "The Rumble Fish 2"
...
As confirmed by MettalliC, the correct value is 32KB
2018-07-11 18:14:12 +02:00
Stefanos Kornilios Mitsis Poiitidis
5525d5dde2
core: Android studio fixes
...
- Clang edge cases for shifts
- Avoid generating relocs by not using global symbols in ngen_arm.S (fixes #1109 )
2018-07-09 09:31:45 +02:00
Greg V
5d69e19ed1
Build on FreeBSD (and potentially other BSD)
2018-07-08 15:43:10 +03:00
Stefanos Kornilios Mitsis Poiitidis
03170fc0ef
Merge pull request #1163 from reicast/lk/android-studio
...
Android Studio Conversion
2018-07-08 11:12:16 +02:00
Stefanos Kornilios Mitsis Poiitidis
ae2b5e33b5
core.mk: Revert `-O0 -g` to `-O3`
2018-07-08 02:22:32 +02:00
TwistedUmbrella
64656a6eb3
rec_x64: Avoid recipe for target failed error
2018-07-03 09:09:30 -04:00
TwistedUmbrella
295570a9f3
Android: resolve posix_memalign NDK inconsistency
2018-07-03 08:45:39 -04:00
Stefanos Kornilios Mitsis Poiitidis
f45f888d0b
Use platform specific first argument register
2018-07-01 12:15:59 +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
TwistedUmbrella
bf62cb8bd1
Prevent overriding Android setting w/ config.ini
2018-06-25 12:04:26 -04:00
TwistedUmbrella
571b68d468
Fix building Windows alongside Android Studio
...
Windows: resolve missing reference to _SC_OPEN_MAX
https://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html
https://libwebsockets.org/lws-api-doc-master/html/libwebsockets_8h_source.html
Windows: comment duplicate x86_ptr_imm definition
Replaced by more explicit type definitions. Fixes x64 compile
Restore secondary x86_ptr_imm for non-Windows
This appears to be a necessary duplicate for other platforms.
2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis
563052a2e8
Really force -fPIC everywhere
2018-06-25 12:04:14 -04:00
Stefanos Kornilios Mitsis Poiitidis
86593d82e7
Add fpic option, remove ndk build stuff
2018-06-25 12:04:13 -04:00
Stefanos Kornilios Mitsis Poiitidis
1933aff8a2
First steps for android studio builds
2018-06-25 12:04:07 -04:00
TwistedUmbrella
e6afd22f98
Merge pull request #1191 from baka0815/gdi_skipws
...
GDI: Reset skipws-flag
2018-06-25 10:33:34 -04:00
git@baka0815.de
852d644a5f
GDI: Explicitly set skipws-flag
...
It's not neccesarry to set it every iteration, so just set it before and reset it afterwards.
2018-06-25 09:14:51 +02:00
Christoph "baka0815" Schwerdtfeger
41ee5707a8
GDI: Reset skipws-flag
2018-06-24 14:30:46 +02:00
barbudreadmon
2e8a87cbdf
Allow loading of lst files (Naomi support #1188 )
2018-06-21 19:24:05 +02:00
TwistedUmbrella
75189f0a78
Merge pull request #1180 from baka0815/unused_code
...
Removed unused code in core/linux-dist/main.cpp
2018-06-14 15:52:23 -04:00
Christoph "baka0815" Schwerdtfeger
3d43505504
Allow for custom <device>.cfg files in the /mappings/ directory.
...
Check if a configuration file named exactly like the device exists in the /mappings/ directory.
If it does, use this instead of the generic one.
Expose file_exists() from stdclass.
2018-06-13 19:33:51 +02:00
Christoph "baka0815" Schwerdtfeger
2e4cf087bd
Refactored and fixed X11 buttons.
...
Replaced magic number with X11 constants.
Added keys for left and right shoulder buttons.
Added key for (missing) Y button.
Moved the debug printf() where it belongs.
2018-06-13 19:24:48 +02:00
Christoph "baka0815" Schwerdtfeger
8309eb7d6a
Added most important X11-keys as constants.
2018-06-13 19:23:20 +02:00
Christoph "baka0815" Schwerdtfeger
e6854ef87d
Removed unused code in core/linux-dist/main.cpp
...
This is a leftover from #964
2018-06-13 19:17:20 +02:00
Flyinghead
08b8d30589
Implement clipping. Enabled by default.
2018-06-09 18:11:47 +02:00
Stefanos Kornilios Mitsis Poiitidis
d0cd5a5f64
Merge pull request #1152 from flyinghead/fh/modvols
...
Enable modifier volumes. Fix for exclusion volumes.
2018-06-09 17:52:51 +02:00
Flyinghead
7640a35720
Draw modifier volumes only if enabled in settings (defaults to true)
2018-06-09 17:22:01 +02:00
Flyinghead
1f95eb243c
Fix video choppiness
2018-06-07 19:06:16 +02:00
Flyinghead
c427997269
Enable modifier volumes. Fix for exclusion volumes. Prevent overflow of modifier triangles (JGR).
2018-05-19 10:13:00 +02:00
rrrh
bcdf38da0a
Merge pull request #1130 from reicast/rrrh/osx-high-sierra
...
Rrrh/osx high sierra
2018-04-21 19:26:27 +02:00
Hugo Hackenstein
d653d4e009
Remove unneeded stdlib include
2018-04-21 19:01:24 +02:00
Hugo Hackenstein
4fcb95a0d1
Mac compile on OSX - Remove deprecated malloc.h include and switch to stdlib.h instead
2018-04-21 19:00:36 +02:00
Stefanos Kornilios Mitsis Poiitidis
34b495baa7
Merge pull request #1098 from reicast/pr/1092
...
fix gdi track parsing in unix #1092
2018-04-19 20:51:13 +02:00
Stefanos Kornilios Mitsis Poiitidis
90e901f4a3
gdi: Normalize paths, add test gdi files
2018-04-18 22:28:05 +02:00
gizmo98
4a7d0b9e7e
rpi: add option to use mesa or new vendor gl libs
2018-04-11 21:42:57 +02:00
gizmo98
b09356f3f7
Fix GCC6 "Bool" issue
2018-04-11 21:37:31 +02:00
Stefan
8c967b0591
Merge pull request #1 from OrN/rpi2-stuff
...
omx audio backend, and dispmanx window
2018-04-11 21:33:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
4300951b51
gdi: Cleanup path code, use C++ strings
2018-04-11 11:40:15 +02:00
Stefanos Kornilios Mitsis Poiitidis
fe30e58504
tactx: Actually use aligned alloc functions
2018-04-11 11:06:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
894e9f1414
Cleanup changes for merge with master
2018-04-09 21:11:06 +02:00
hissingshark
d1bac19a0a
Fixed blunder and changed OS test.
2018-04-05 16:58:23 +01:00
hissingshark
dec5c7bdd2
Added helper functions for aligned memory (de)allocation
2018-04-05 12:13:49 +01:00
hissingshark
3ab9c22516
Fix issue from PR #1023
2018-04-03 17:38:30 +01:00