Flyinghead
d41e405a50
Naomi: non-encrypted M4 carts fix (sl2007)
2018-12-13 13:06:01 +01:00
Flyinghead
35d7d24b6b
Naomi: use naomi BIOS for alpilot
2018-12-13 12:11:15 +01:00
Flyinghead
5664bfb9b6
pvr: use u32 for vertex indices to avoid overflow
...
Fixes alpilot glitches
2018-12-13 10:57:51 +01:00
Flyinghead
fea5f05b20
dispframe: initialize color clamping, for and palettes after loading
2018-12-13 09:37:11 +01:00
Flyinghead
a3cba92665
Android: load/save jvs eeprom
2018-12-12 23:30:54 +01:00
Flyinghead
10d9761a65
minor fix
2018-12-12 13:49:53 +01:00
Flyinghead
5763da184c
Fix bug in WriteMemBlock_nommu_ptr when size is not word-aligned
...
Bump max opaque polygon to 8192 (alpilot)
Minor lr backport and clean up
Fix corruption in doa2[m] and alpilot
Fix missing sound in Jambo Safari
2018-12-12 12:40:04 +01:00
Flyinghead
9c556007fb
Naomi: lr backport
2018-12-11 23:20:30 +01:00
Flyinghead
5ac99d3ad5
pvr: gouraud affects drawing. don't die if render queue not empty after
...
waiting.
2018-12-11 23:14:14 +01:00
Flyinghead
864939da42
minor lr backport
2018-12-11 23:11:21 +01:00
Flyinghead
2b16edd71f
Android: enable DSP, Add dynarec safemode/disable div matching
2018-12-07 12:58:07 +01:00
Flyinghead
9fe13e20e8
Clip high z vertices
...
Fixes Soul Calibur intro bogus triangles
2018-12-06 20:46:23 +01:00
Flyinghead
064531df95
Add some ExtraDepthScaling for NHL 2K2
...
Fixes tiny pause menu in-game
2018-12-03 15:14:00 +01:00
Flyinghead
93436c5ec1
Partially revert previous commit as it causes problems with RTT
2018-11-30 18:15:47 +01:00
Flyinghead
284dcf35a7
Add StrideSel to texture cache key as well
2018-11-30 18:06:32 +01:00
Flyinghead
63337d5178
Add ScanOrder to texture cache key
...
Fixes corrupted title screen in Grandia II
2018-11-30 17:56:57 +01:00
Flyinghead
7dc5fef352
Use xxhash for palette hashing
...
15 us -> 6 us
2018-11-30 15:24:04 +01:00
Flyinghead
e444acbc09
Android: set NoBatch to 1 to enable the DSP
2018-11-30 12:40:43 +01:00
Flyinghead
87a8fcb6f6
ARM dynarec: do a block check on the entire block
...
The check was on the first 4 bytes only.
Fixes Grandia II freezing on Now Loading... screen
2018-11-29 17:01:31 +01:00
David Miller
f03219473c
Merge pull request #1400 from reicast/baka/chdv5_2
...
Support reading CHDv5
2018-11-28 14:14:02 -05:00
Flyinghead
2ef90152c9
GL: add #if in shader for trilinear filtering
2018-11-23 22:33:51 +01:00
Flyinghead
24e7837eaa
Naomi: backport force region setting
2018-11-23 20:51:26 +01:00
Flyinghead
cfc215233f
Naomi: 7z archives - Split/parent roms
2018-11-23 18:46:21 +01:00
Flyinghead
d438f6d9c9
x64 dynarec: don't reset the cycle counter but add a time slice
...
This is how the interpreter and other dynarecs work. Better scheduling
precison.
Fixes Gundam Side Story freeze at boot.
2018-11-22 18:57:07 +01:00
Flyinghead
0d720ae0d6
Naomi: fix hotd2 and alpilot controls
2018-11-20 12:43:10 +01:00
Flyinghead
894991a44d
Naomi: use default eeprom from mame rom
...
More I/O boards
2018-11-19 16:43:41 +01:00
Flyinghead
a1aea570c5
Ignore bogus maple dma xfer
...
Workaround for csmash game test menu crash
2018-11-19 16:15:05 +01:00
Flyinghead
eef297706c
Bogus triangles due to huge negative z
...
Per-pixel only
Fixes vathlete
2018-11-19 15:38:44 +01:00
Flyinghead
4ec078441e
Naomi: fix GD-rom games id
2018-11-17 19:27:09 +01:00
Flyinghead
4be52b7b69
missing changes...
2018-11-17 12:29:59 +01:00
Flyinghead
6274e4c3d3
Build fix
2018-11-17 12:21:48 +01:00
Flyinghead
ed912ecb94
Naomi: All gd-roms defs. Build fix for OSX and Android
2018-11-17 12:09:05 +01:00
Flyinghead
62a3380bfa
Naomi: GD-ROM support
2018-11-16 22:27:35 +01:00
Flyinghead
40f2d64b6c
Android: Add zip files to naomi manifest. Load per-game std settings.
2018-11-16 18:35:17 +01:00
Flyinghead
5210c315dd
Naomi: wrong M2 game id if char is unsigned
2018-11-16 18:33:10 +01:00
Flyinghead
52a2d3dbdc
dsp: mask aica ram addr to avoid overflow
...
fixes ninja assault crash when starting a game
2018-11-15 21:58:04 +01:00
Flyinghead
1055c8366f
Naomi: JVS boards refactoring, support for Ninja Assault
2018-11-15 18:30:54 +01:00
Flyinghead
d716dfd74c
Naomi: fix alpilot and world kicks series rom def
2018-11-15 18:29:19 +01:00
Flyinghead
cb410438a2
Naomi: fix game id for some M2 carts
2018-11-15 18:25:23 +01:00
Flyinghead
074026842e
Naomi: fix M2 carts 4MB addressing mode
2018-11-14 20:50:22 +01:00
Flyinghead
b5e6d7e54a
Naomi/AW: input descriptors. Load bios from naomi.zip for .bin/.dat
2018-11-14 14:13:42 +01:00
baka0815.de
3b38afd1dd
SDL: Rename SDK to SDL in output
2018-11-13 10:32:00 +01:00
baka0815.de
453fccb835
SDL: Only create controller when evdev is not available
...
If evdev is available the controller is most likely already created using evdev.
2018-11-13 10:30:54 +01:00
Flyinghead
6f3b492175
Naomi/AW: Allow bios region selection
...
Per-game flash and bbram save files
naomi_boot.bin now optional
2018-11-12 17:54:38 +01:00
Flyinghead
895b3a5af1
Naomi/AW: Backport rom list from lr. Skip ram test at aw startup
2018-11-12 14:53:15 +01:00
Flyinghead
9ccf0efdea
switch between interpreter and dynarec at runtime
2018-11-11 23:49:41 +01:00
Marcel Szewczyk
4d39c10c91
Build fixes
2018-11-11 23:22:17 +01:00
Marcel Szewczyk
5f19eb7ae8
Rtt menu options are now handled by GLES
2018-11-11 22:01:18 +01:00
Marcel Szewczyk
4fd9de54ce
Added rtt menu options
2018-11-11 17:55:18 +01:00
Flyinghead
fb92d8d8c5
less log
2018-11-09 13:23:47 +01:00
Flyinghead
4c334f09ea
AW: various fixes, more roms
2018-11-09 13:22:27 +01:00
Flyinghead
3e8033cc70
Don't die on Maple DMA abort
2018-11-08 10:41:40 +01:00
baka0815.de
ab49ef89d0
SDL: Create the first controller with two VMUs
2018-11-08 09:02:25 +01:00
Flyinghead
0702682693
AtomisWave support
...
Better AtomisWave platform support
Refreshed flashrom implementaion
AtomisWave carts
Merged rom+bios romsets
2018-11-07 23:27:32 +01:00
Flyinghead
e93260634d
Naomi: save cart state into save state
2018-11-06 17:54:54 +01:00
Flyinghead
eff998dc53
Naomi: Decrypt M4 roms header to get game id. Refactoring and clean up
2018-11-06 14:30:34 +01:00
Flyinghead
22558d190a
Naomi: add dual I/O boards config for Ring Out 4x4
2018-11-06 14:01:54 +01:00
Flyinghead
592630ae5f
clean up
2018-11-06 13:04:27 +01:00
Flyinghead
7fde9fe35c
Naomi: finalize M4 carts support
2018-11-06 12:40:15 +01:00
Flyinghead
a3f898b7d0
Naomi: implement undocumented SH4 registers to make version h bios happy
2018-11-06 10:54:13 +01:00
Flyinghead
c95d13fdf1
Naomi: M1/M2/M4 missing files
2018-11-05 22:54:35 +01:00
Flyinghead
4e56432a2b
Naomi: M1/M2 mame roms support. M4 carts still WIP
2018-11-05 22:53:38 +01:00
David Miller
6589f4ddbd
Update Beta from merge, no real change
2018-11-04 23:49:17 +00:00
baka0815
8ab66a44b7
Merge pull request #1448 from reicast/fh/wacky-races
...
Enable log2 depth at runtime when supported (GL, GLES 3)
2018-11-03 22:01:22 +01:00
Christoph "baka0815" Schwerdtfeger
001a767ab7
CHD: swap bytes of CHDv5+ audio tracks
...
Thanks @flyinghead
See https://github.com/libretro/reicast-emulator/pull/370
2018-11-03 19:29:55 +01:00
Christoph "baka0815" Schwerdtfeger
161e84598d
Respect the offset of the padding
...
The StartHunk logic was flawed and while working with CHD files before v5 didn't work for v5 (and above).
The extraframes logic did work in some cases (read 3 track CHDv5) but didn't work in all cases and was merely a hack in retrospective.
Thanks to the comment of @flyinghead (see also b6c2508922 (diff-cb507bb17d74342aa45b6e4d10d607af)
) the logic is now correct and works for v4 and v5 files.
2018-11-03 19:24:53 +01:00
Flyinghead
2003fc88d7
CHD v5 support
2018-11-02 10:14:25 +01:00
baka0815
bf3d1b2186
Merge pull request #1453 from luserx0/master
...
Documentation additions
2018-11-02 10:13:25 +01:00
Harry Pantazis
997bdef772
Update README.md
2018-11-01 11:33:23 +02:00
Christoph "baka0815" Schwerdtfeger
6f358ebf8f
CHD: Only pad when version >= 5
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
98c1e7253c
CHD: Use the hunk caching
...
We didn't remember the last hunk and always read again.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
4bb9507695
CHD: Reworked the extra frame handling
...
This way Sonic 2, F355, Crazy Taxi, Rayman 2 and Daytona USA work.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
eca88de501
CHD: If uncompressed we don't need to check compression
2018-10-30 21:27:25 +01:00
Christoph 'baka0815' Schwerdtfeger
c5f21ab9a3
CHD: Enable FLAC on Windows
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
68d2641672
Trying to break-fix Windows using __inline instead of inline
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
2862926f2c
CHD/FLAC: Use local deps for FLAC and enable on Android
...
Using locally installed FLAC libs, so no more need for libflac-dev.
2018-10-30 21:27:25 +01:00
Christoph 'baka0815' Schwerdtfeger
a008a736d8
CHD/FLAC: surround flac.c with #ifdef
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
5e16412629
Fix includes
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
0fa4900af4
CHD: Enable FLAC via library (on Linux builds)
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
50bcc8cd46
CHD: Enable support for LZMA (CDLZ) compression
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
4691418689
CHD: Check for extra frames
...
If the frame count is not dividable by 4, there are extra frames added to keep a padding.
This is true for F355 (450 frames -> 2 extra frames) and others.
Also move CD_TRACK_PADDING to chd.cpp to work around problems with including from C and C++.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
d24b68f592
CHD: read additional track types
...
Also don't print "Unable to find metadata" as it's mostly not true (we reach this part after the last track)
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
2de15899f2
CHD: Wrap FLAC and LZMA with defines
...
Make CHDv5 generally work without FLAC and LZMA decoding possibilities so there is currently no need for extra deps.
2018-10-30 21:27:25 +01:00
Christoph "baka0815" Schwerdtfeger
401d931b96
CHD: Imported 96a2ce8a5b
2018-10-30 21:27:25 +01:00
Flyinghead
4bce2bbbbf
OSX wants GLSL 1.4 or later
2018-10-30 11:48:44 +01:00
Flyinghead
5e59901e70
OSX build fixes
2018-10-30 11:29:30 +01:00
Flyinghead
2b25244c95
cResetEvent: needs absolute timeout value. Fixes Android FPS drop.
2018-10-30 10:56:25 +01:00
Iam Bot
0d69050b63
Documentation additions
2018-10-30 03:26:55 +02:00
flyinghead
0d965fe3a3
mingw32 build fix
2018-10-29 22:59:46 +01:00
Flyinghead
a1745801f0
cResetEvent: convert to ns instead of us
2018-10-29 21:41:57 +01:00
Flyinghead
dd7d0a1ac2
Android: deadlock due to cResetEvent.Wait() bug
2018-10-29 20:56:45 +01:00
Flyinghead
dc9780eb46
Android: fix black screen at boot on some devices
2018-10-29 20:03:47 +01:00
Flyinghead
3e9d8d8a07
Free TA contexts on exit
2018-10-29 20:02:12 +01:00
Flyinghead
6177a5b33a
Clear texture cache on exit
2018-10-29 18:02:47 +01:00
Flyinghead
415e0ab356
Fix x86 builds
2018-10-29 16:53:26 +01:00
Flyinghead
bffccac5a6
coreio file handle leak in cdi image reader
2018-10-29 16:45:49 +01:00
Flyinghead
7bb00a339f
Free maple devices on exit. Avoid mem leaks on startup.
2018-10-29 16:31:44 +01:00
Flyinghead
47be33d388
Free dynarec code blocks on exit
2018-10-29 16:10:39 +01:00
Flyinghead
8a56710841
New save state format
2018-10-29 15:11:34 +01:00
Flyinghead
ffb72cd0b6
Texture-based fog table
2018-10-29 00:31:24 +01:00
Flyinghead
96157de639
Enable log2 depth at runtime when supported (GL, GLES 3)
...
Fix issues with pixel scaling and scissoring.
Wacky Races should not be playable.
2018-10-28 22:09:36 +01:00
Marcel Szewczyk
f309a59fac
Render to texture single pass implemented
2018-10-28 20:16:45 +01:00
David Miller
75d319ea3c
removed pragma once from arm-new.h, inline file
2018-10-28 15:10:53 -04:00
David Miller
c9abcf6cbb
Merge branch 'master' of https://github.com/reicast/reicast-emulator
2018-10-28 11:46:55 -04:00
David Miller
a8c09197a3
os_MakeExecutable() using sizeof(sz)
2018-10-28 11:45:35 -04:00
David Miller
b907e3ff4d
Merge pull request #1441 from ccawley2011/no-evdev
...
Fix compilation on systems without evdev
2018-10-28 11:40:40 -04:00
Flyinghead
cdb5cf662b
Initialize PVR function pointer to non-null
2018-10-28 11:33:35 -04:00
Flyinghead
a88bed1690
Fix mismatched new/delete operators (master)
2018-10-28 15:42:26 +01:00
Flyinghead
0cfd8f5494
Sprites face culling is reversed.
...
Fixes South Park Rally and Wacky Races invisible menus.
2018-10-28 09:43:48 -04:00
David Miller
45bf5e51b1
Merge pull request #1443 from janisozaur/patch-1
...
Fix mismatched new/delete operators
2018-10-28 09:17:01 -04:00
Michał Janiszewski
a69bd937c3
Add missing include guards
2018-10-28 13:45:46 +01:00
Michał Janiszewski
2cae875fa2
Fix mismatched new/delete operators
2018-10-28 13:18:25 +01:00
Flyinghead
e4055f3192
Naomi: return ones when reading past the actual rom size. dc_reset()
...
Special JVS setting for Outtrigger (rotary encoders)
Return FF when reading past the actual roms area
Extract dc_reset() function for future use
2018-10-28 12:35:19 +01:00
Flyinghead
22b18d97a0
Don't flush the dynarec cache when the sh4 instruction cache is flushed
...
Fixes Shikigami No Shiro II slowness
2018-10-28 01:29:44 +02:00
Flyinghead
15372f4187
Modem: close connecting sockets on exit
2018-10-26 19:38:59 +02:00
Flyinghead
cfbd261c75
Initialize PVR function pointer to non-null
2018-10-26 18:17:30 +02:00
Flyinghead
aab0a4e36d
Modem: Fix VC 2K game sport games series
2018-10-26 18:14:34 +02:00
Cameron Cawley
7a5a3301ae
Fix compilation on systems without evdev
2018-10-24 20:27:12 +01:00
flyinghead
ea993d92e9
DSP: access violation on win32 x86 due to missing exec perm
2018-10-24 18:37:11 +02:00
Flyinghead
4fcfabf55a
Aica-arm: fix x86 dynarec with gcc
2018-10-24 18:02:27 +02:00
null void
5496b52cdf
removed nullptr, after the previous rollback was remerged (partially?) it seems to be causing trouble for builds with old compilers, where c++ std isn't set to at least 11, etc.
2018-10-24 11:37:31 -04:00
flyinghead
ebca83e56e
Naomi: fix raw BIN/DAT files loading on win32
2018-10-24 10:34:50 +02:00
Flyinghead
6a16262b62
rec-ARM: increase significant bits in addresses for 8MB ARAM/16MB VRAM
2018-10-22 17:43:30 +02:00
Flyinghead
282534d7bc
cdi, chd: better error messages
2018-10-22 17:39:02 +02:00
Flyinghead
efcb95b4ee
Naomi: proper read/write handlers for memory area 0x600000
2018-10-22 17:35:08 +02:00
Flyinghead
af1b2da0bf
maple: minor fix
2018-10-22 17:33:38 +02:00
Flyinghead
b1bd3e251e
Naomi: get rid of .lst files
2018-10-21 22:16:28 +02:00
Flyinghead
c07cbbe9bf
JVS: fix substract coin
2018-10-21 03:25:49 +02:00
flyinghead
e7fd2919bd
win32: ignore lst size when mapping Naomi rom files
2018-10-21 02:55:07 +02:00
flyinghead
27b79edf6f
win32: Naomi test/service/coin keyboard bindings
2018-10-21 02:51:20 +02:00
flyinghead
e8a6835972
Naomi: force eeprom save. Ignore JVS node id if outside range
2018-10-21 02:50:08 +02:00
flyinghead
275c9c1516
Naomi: Cosmic Smash per-game setting
2018-10-21 02:48:24 +02:00
flyinghead
0d1a892515
JVS: fix buffer overflow (win32 crash)
...
Fix MSVC build.
2018-10-20 20:08:51 +02:00
Flyinghead
fb84df6665
Better logging
2018-10-20 19:38:21 +02:00
Flyinghead
9d327f3592
Aica-rec: revert to original ops order (load arm flags first)
2018-10-20 16:21:22 +02:00
Flyinghead
e31a1ddf71
Aica: fix ARM and x86 dynarecs for unaligned branch op
...
Fixes sound issue in Spikers Battle
Tentative implementation of x86 rec asm functions on linux
clean up
2018-10-20 13:59:12 +02:00
Flyinghead
431b3e4324
Naomi: buffer overflow
2018-10-19 19:23:43 +02:00
Flyinghead
921228c7a9
Naomi: rec-arm do_sqw_nommu_area_3 fix
...
Fixes black screen on boot with many Naomi games on arm:
Alien Front
Virtual Tennis 2
Virtua NBA
Gun Survivor 2 code: Veronica
Jambo Safari
2018-10-18 16:15:09 +00:00
Flyinghead
d27d4f9b00
Naomi: fix for ARM
2018-10-18 09:55:17 +00:00
Flyinghead
24f46f9813
Raspberry Pi build fix
2018-10-17 14:04:39 +00:00
Flyinghead
613e42a014
Naomi: better id of games, per-game jvs setup and settings
...
Better lst parsing with error handling
2018-10-17 13:18:24 +02:00
Flyinghead
18c6031bc8
JVS: Fix controls of Crazy Taxi, Power Stone and Zombie Revenge
2018-10-16 17:51:04 +02:00
Flyinghead
4b38b9b788
less log
2018-10-16 15:35:28 +02:00
Flyinghead
2214af734f
JVS: Fix multiple i/o board problems
...
Rotary encoders support for Virtua Golf and Shootout Pool
2018-10-16 15:34:45 +02:00
Flyinghead
7156a165e3
JVS: multiple I/O boards support and bug fixes
2018-10-15 00:59:52 +02:00
Flyinghead
2e367ed3c2
JVS: Fix length of various 86 commands
2018-10-12 17:19:59 +02:00
Flyinghead
cab0bdbe42
Fix light gun y position in VGA mode
2018-10-12 17:19:03 +02:00
Flyinghead
f24edb4df5
Don't die on ObjectList PVR list type
...
NAOMI Virtual On Oratorio
2018-10-12 17:18:21 +02:00
Flyinghead
2c4e68ff9f
JVS: refactoring to be closer to actual hardware
...
Returns multiple JVS messages at once
Multiple I/O boards correctly handled
Jambo Safari playable
Virtua Golf boots
2018-10-11 21:17:55 +02:00
Flyinghead
82e0fc7f60
Don't crash on invalid ram write size. Report and ignore
2018-10-11 21:15:00 +02:00
Flyinghead
ff01e3521b
Better NAOMI JVS emulation
2018-10-11 10:09:28 +02:00
Flyinghead
77fae1ef09
Backport changes from libretro
2018-10-05 15:07:30 +02:00
Stefanos Kornilios Mitsis Poiitidis
4ceac65b0d
Merge pull request #1412 from reicast/fh/aica-int-timing
...
AICA/DMA: Make the transfers take some time, add fallback option. Fixes sfa3 and bomberman online
2018-10-05 14:29:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
09f8a50bf2
AICA: Make async dma an option, default on
2018-10-05 14:24:56 +02:00
Flyinghead
124f920170
Backport GL 2.0 support from libretro core
2018-10-04 22:37:35 +02:00
Flyinghead
dfd0f2901b
minor clean up
2018-10-04 21:30:22 +02:00
Flyinghead
27b710e589
ifdef's around renderer types
2018-10-04 20:01:14 +02:00
Flyinghead
b47be37b32
Dynamic switching between GL3 - GL4 renderers
2018-10-04 19:44:52 +02:00
Flyinghead
8116072f7e
Refactor shader selection/compilation. Avoid using glcache for texture
...
in GL4 renderer.
2018-10-04 15:55:41 +02:00
Flyinghead
7203681202
Less code dup
2018-10-04 14:49:20 +02:00
Flyinghead
3a929aeeb1
Terminate A-buffers cleanly. Call renderer Term() at shutdown.
...
Less code dup.
2018-10-04 14:04:15 +02:00
Flyinghead
b8ae998252
If GL4 renderer is not supported, fall back to default. Fix SDL GL init.
2018-10-04 13:37:45 +02:00
Flyinghead
0260b00c00
Less code dup
2018-10-04 12:32:26 +02:00
Flyinghead
1dfc9902b7
Share scale_x and scale_y between GL and GL4 renderers. Don't use
...
ShaderUniforms in OSD.
2018-10-04 12:03:00 +02:00
flyinghead
ef5e8593fa
GL4: Initialize atomic buffer correctly. Limit size of pixel buffer.
...
SetupMainVBO should be static
2018-10-04 10:58:33 +02:00
flyinghead
ce65be2f63
dsound: always wait on push
2018-10-04 10:56:07 +02:00
Flyinghead
3f791d6f04
Merge OIT renderer into master
2018-10-04 10:29:23 +02:00
Ender's Games
8d52045265
Stop reading values that are "malformed" on Android
2018-10-03 00:12:57 -04:00
Stefanos Kornilios Mitsis Poiitidis
84bf6ab913
Merge pull request #1428 from reicast/fh/ftrc-op-fix
...
sh4: Fix FTRC (ipr, canonical, x86) by using correct positive cutoff value
2018-10-02 23:12:28 +02:00
Flyinghead
ba8e9dcab0
link error with dispframe
2018-10-02 12:29:29 -04:00
Flyinghead
0627530e33
GL: avoid white lines on the screen sides due to rounding
2018-10-02 12:28:42 -04:00
Abandoned Cart
9bc22e7ecc
Merge pull request #1427 from reicast/fh/implied-listinit
...
Some games send TA data without calling ListInit first. Don't crash in that case
2018-10-02 09:59:11 -04:00
Flyinghead
f419786584
Fix sh4 FTRC op to use correct positive cutoff value.
...
Fix for interpreter, common dynarec and x86 rec.
Fixes wrong car color in Tokyo Xtreme Racer car selection screen.
2018-10-02 12:38:49 +02:00
Flyinghead
41899230fb
Some games send TA data without calling ListInit first. Don't crash in that case.
...
Fixes crashes in Looney Tunes Space Race, Test Drive Le Mans and others.
2018-10-02 10:25:15 +02:00
Flyinghead
19b37b9957
Do not crash on unaligned VRAM read access. Just return 0.
...
Fixes House of the Dead 2
2018-10-02 10:07:11 +02:00
Flyinghead
601fafa1ad
Light gun support
2018-10-01 20:34:35 +02:00
Flyinghead
19c0e3aea5
arm: Link error when compiling for arm with TARGET_NO_AREC
2018-10-01 09:35:02 +02:00
Flyinghead
7b596bd388
Avoid heap corruption on android
...
No idea why this happens. Avoiding malloc/free during compile seems to
help.
2018-09-30 20:42:18 +02:00
Flyinghead
5d8d1bd107
GL: Partial redraws. OSD fixes
...
EGL: Request the surface to be preserved between two rendering
Clear the sides of the screen when not rendering widescreen.
Do not re-create GL resources multiple times (android)
2018-09-30 12:39:47 +02:00
Flyinghead
5ba9916b22
Add cable/region/broadcast to per-game configuration.
...
Do not save per-game settings if the game name or id is unknown (NAOMI).
2018-09-30 10:54:09 +02:00
Ender's Games
24504bc22e
Fix a typo. Always check your copy/paste twice.
2018-09-29 22:08:35 -04:00
Flyinghead
9de8379434
GL: clear gl framebuffer before drawing a direct FB write
2018-09-29 18:10:43 +02:00
Flyinghead
ac4a98ec85
Serialize broadcast, cable and region. Signal EOR after loading a state.
...
broadcast, cable and region must be restored when loading a state of a
crash is likely to happen.
After loading a state, the emulator may hang waiting for an end of
render interrupt. This happens if a render was done right before saving
the state but before the EOR interrupt is raised. So we signal an EOR
after loading a state just in case.
2018-09-29 16:34:58 +02:00
Flyinghead
d81a3cd720
save states: fully restore the maple devices when loading a state
2018-09-29 16:13:07 +02:00
Flyinghead
407a579bfc
GL: take pixel scaling into account for OSD buttons and text coords
...
Fixes OSD with Wacky Races and JoJo's Bizarre Adventure
2018-09-29 14:48:18 +02:00
Flyinghead
c49e6c17d0
gl: isinf() issues with GLES3. Use it with GL only
...
Fixes black screen in PSO and Sonic Adventure 2 on Android
2018-09-27 21:45:03 +02:00
Flyinghead
5fe41e5f1f
keyboard: reset released key
2018-09-26 22:58:15 +02:00
Flyinghead
af5931c214
House of the Dead 2 does unaligned vram access
2018-09-26 22:53:43 +02:00
Flyinghead
a522bf114b
maple: Fix mouse FD
2018-09-26 22:37:51 +02:00
Flyinghead
10c7650690
Schedule the interrupt signaling the end of an Aica DMA transfer instead
...
of raising it immediately.
Fixes Street Fighter Alpha 3 and Bomberman Online
2018-09-26 22:01:48 +02:00
Ender's Games
ee3a474ee4
Revert "Interrupt Hack setting w/ less stigma"
...
This reverts commits e5c0f0e
, eebf3fc
, 14fc7d9
2018-09-26 09:06:07 -04:00
Flyinghead
752d254982
X11: keyboard auto-repeat detection
2018-09-26 10:08:49 +02:00
Flyinghead
e3bb0a09ab
Detect TA overruns and cancel the rendering. Increase vertices, indices
...
and translucent polygons max count.
Fixes crashes in D2 and Triggerheart Exelica.
2018-09-26 09:42:43 +02:00
Flyinghead
4547973561
Better mouse handling on X11
2018-09-26 02:00:50 +02:00
Flyinghead
3ff14dd2b3
Modem: shutdown local socket when remote is shutdown
...
Fixes issues with http requests: web browsers, Monaco Grand Prix Online
2018-09-26 00:04:57 +02:00
flyinghead
c135ab0e90
Win32: fix msvc build. removed tick thread
2018-09-25 14:09:07 +02:00
Flyinghead
1320ce5949
Modem: Close pico socket when native one returns an error.
...
Linux build fix.
2018-09-25 12:39:37 +02:00
flyinghead
be8bae0547
Modem: port to win32/winsock
2018-09-25 12:29:51 +02:00
flyinghead
21f47c03ec
Fix dynarec x64 crash with mingw64.
...
Get rid of CDI warning pop up dialog
2018-09-25 12:27:37 +02:00
Flyinghead
c850093b0a
OSX: bind -> ::bind for UDP too
2018-09-24 21:37:07 +02:00
Flyinghead
36e13a9468
Proper way to close sockets
2018-09-24 21:19:43 +02:00
Flyinghead
84e7ca03ad
Don't connect a DC keyboard by default.
...
Not supported on most platforms.
Alien Front Online doesn't show the on-screen keyboard if a DC keyboard
is connected.
2018-09-24 20:53:21 +02:00
Flyinghead
2c343fddf2
modem: Transparent IP proxy. Removes the need for a TAP/TUN device
2018-09-24 19:06:14 +02:00
Flyinghead
dc5ce8fa8b
Create maple devices on Linux. Default to 2 VMUs per controller
2018-09-24 18:56:24 +02:00
Flyinghead
411baa6b8e
OSX: Save states support. Build fixes.
2018-09-23 16:18:35 +02:00
Flyinghead
98da3a28dc
rec-x86: Load PC from sh4 context in ngen_mainloop
...
Fixes load state freeze and problems when pausing the emu thread
2018-09-23 12:04:07 +02:00
Flyinghead
3c60d4745c
G2-EXT2 DMA channel
2018-09-21 18:27:45 +02:00
Flyinghead
6e017fd3ef
Tentative fix for Maken X hang
2018-09-21 17:56:29 +02:00
Flyinghead
0c575a51b3
Do not save per-game settings if the game name is unknown (NAOMI).
...
Add cable/region/broadcast to per-game settings.
2018-09-21 17:47:21 +02:00
Flyinghead
06a4f9f25d
Dynarec.safemode -> safe-mode in custom settings
2018-09-21 10:19:57 +02:00
Flyinghead
62eeca5882
Merge remote-tracking branch 'origin/master' into fh/mymaster
2018-09-21 00:37:34 +02:00
Ender's Games
0adc6b2bce
Compatibility getch() for VS 2008/2013
2018-09-20 17:49:04 -04:00
David Miller
1722a9abe4
getchar for non win32, so curses isn't req to be setup
2018-09-20 17:48:27 -04:00
David Miller
2e23ee4628
use enum for cli arg exit and android build ndef
2018-09-20 17:48:27 -04:00
David Miller
3dc16faa73
Android build fix
2018-09-20 17:48:27 -04:00
David Miller
b58e866b6b
Desktop command args support fixes and auto git versioning for VS and make
2018-09-20 17:48:27 -04:00
Flyinghead
6a5ae18179
Prepend game name to state file
2018-09-20 22:41:10 +02:00
Flyinghead
cebc7486f8
Change cycle_counter to an int instead of u32 in the x86 dynarec
2018-09-20 22:23:38 +02:00
Flyinghead
48225e7516
Don't serialize uneeded stuff. Fix windows build.
2018-09-20 22:00:03 +02:00
Flyinghead
a742b53369
Fix linux x86 startup crash
2018-09-20 21:59:19 +02:00
Flyinghead
f355dda6a4
savestates: build fixes
2018-09-20 20:06:54 +02:00
Flyinghead
de147549c3
Save states implementation
2018-09-20 19:48:46 +02:00
Christoph "baka0815" Schwerdtfeger
5b8749fbaa
evdev: If there was an error initializing a controller, don't proceed
...
If the controller was not correctly initialized, the fd and/or the mapping might not be set, which could then result in access violations or other errors.
2018-09-20 17:43:24 +02:00
Flyinghead
7ce4fccb37
Merge remote-tracking branch 'origin/master' into fh/mymaster
2018-09-20 17:28:41 +02:00
Flyinghead
37d014f002
Disable div matching for Surf Rocket Racers
2018-09-20 13:42:48 +02:00
Flyinghead
c5efc3531b
ppp: Fix FCS calc, better LCP negotiation, pppdump
...
Fix an error in FCS calculation of sent packet when header compression
is not being used. Fixes PSO connection issue.
Added support for Async Char Map and Magic number LCP options.
Added pppdump-compatible dump file for easier debugging.
2018-09-19 10:56:10 +02:00
Flyinghead
21b685c812
Spurious character in OS X code path
2018-09-18 19:22:58 +02:00
Flyinghead
df61073c39
Clip textures that extend past the end of VRAM.
...
Only load the valid portion of it.
Fixes Shenmue Space Harrier mini-arcade game.
Disable verify on non-square twiddled textures for Quake 3.
2018-09-18 12:01:16 +02:00
Flyinghead
8a2684ff55
Dreamcast mouse emulation
2018-09-18 09:27:16 +02:00
Flyinghead
2081a0c21b
Modem doc fix
2018-09-17 21:32:28 +02:00
Flyinghead
63a8d0cca9
Modem config documentation
2018-09-17 21:28:50 +02:00
Flyinghead
b9d0a4f688
msvc fix
2018-09-17 19:43:05 +02:00
Flyinghead
4a42cd6bae
msvc fix
2018-09-17 18:45:11 +02:00
Flyinghead
eb62b79791
OSX: Build fix
2018-09-17 18:41:44 +02:00
Flyinghead
b256141b0d
No picotcp for msvc
2018-09-17 18:14:48 +02:00
Flyinghead
fc96593e80
Fix android build
2018-09-17 17:52:29 +02:00
Flyinghead
1314a1551d
picotcp: add msvc-specific arch include. Win: never stop net stack
2018-09-17 15:29:20 +02:00
Flyinghead
843c912d86
win vs: more compile fix
2018-09-17 14:48:43 +02:00
Flyinghead
ae829405b5
picotcp msvc fix: __inline, usleep
2018-09-17 14:31:27 +02:00
Flyinghead
bc7fed4919
picotcp: wrong ifdef value
2018-09-17 14:10:53 +02:00
Flyinghead
92a39a1fc4
Static picotcp config for msvc. Fix warnings in modem.cpp.
2018-09-17 14:05:03 +02:00
Flyinghead
59fe373a3a
Tentative fix for win VS build. Fix Makefile clean
2018-09-17 13:33:50 +02:00
Flyinghead
663b77cee6
Fix OpenGL compile error with VMWare WS14 driver
2018-09-17 13:02:07 +02:00
Flyinghead
bc6a8f451a
Fix picotcp on Windows
...
Automatically configure tap IP address, route and proxy arp using iphlpapi.
Partial port to MINGW.
2018-09-17 12:59:52 +02:00
Flyinghead
6699a8a294
Use picotcp for ppp protocol processing. Now all is needed is a tap or
...
tun interface.
2018-09-15 21:41:54 +02:00
Flyinghead
ce3d8f2baa
picotcp initial commit - missing files
2018-09-15 21:34:50 +02:00
Flyinghead
aad38f965b
picotcp initial commit as of 4caf65005045f0d34592274a5edd20c0d40d83f7
2018-09-15 21:28:13 +02:00
Flyinghead
54308a0949
Incorrect modem status bit was causing all received data to be ignored.
...
All games connect to Dreamcast Live lobby.
Tested Quake III in-game.
2018-09-14 11:18:10 +02:00
Flyinghead
2a8591798f
Only clamp color if tsp.ColorClamp is set. Thanks p1pkin
2018-09-12 17:50:42 +02:00
Flyinghead
fe4c310306
more build fixing
2018-09-12 15:18:12 +02:00
Flyinghead
baa60bb097
Fix non linux builds
2018-09-12 14:52:45 +02:00
Flyinghead
e3d99541d6
Modem support and pipe out to ppp.
...
Allow Ooga Booga and NFL 2K2 to connect to network lobbby at https://www.dreamcastlive.net .
Sadly all other tested games still fail the ppp handshake. Work in progress...
2018-09-12 13:20:20 +02:00
Flyinghead
0e939b5f68
Keyboard: Better keycode mapping, added CTRL. Maple cleanup.
2018-09-08 14:35:46 +02:00
Flyinghead
5b9cbb2909
log macro
2018-09-07 12:58:04 +02:00
Flyinghead
562d64bed5
Cleanly stop the web UI thread on exit
2018-09-07 12:57:26 +02:00
Flyinghead
50010418ce
Fix size of framebuffer to watch for direct writes
2018-09-07 12:55:42 +02:00
Flyinghead
30f016e6a0
Use vram_mask on framebuffer watch start and end addresses
2018-09-06 22:20:17 +02:00
Flyinghead
54d0bdc5e2
Dreamcast keyboard emulation (X11 only for now)
2018-09-06 20:17:28 +02:00
Flyinghead
e54ac36544
Texture cache optimization for frequent palette updates
...
Some old 2D games change palettes very frequently, which causes the
texture to be updated for each render.
This change uses a hash of the palette to detect changes, and include
the palette type in the cache key to distinguish textures of different
depth.
2018-09-06 12:11:55 +02:00
Flyinghead
a167b43361
add game product id
2018-09-05 15:32:25 +02:00
Flyinghead
4a08856775
Render-to-texture upscaling must be accounted for when clipping
2018-09-05 15:07:30 +02:00
Flyinghead
c43446f355
Initialize ExtraDepthScale for Android
2018-09-04 23:38:00 +02:00
Christoph
00ecf2f1ce
Merge pull request #1370 from reicast/baka/sdl
...
SDL: Fix keyboard usage
2018-09-04 22:25:03 +02:00
Christoph
b402a56885
Merge pull request #1365 from reicast/baka/evdev_rework
...
Remove evdev specific code from main.cpp
2018-09-04 22:24:43 +02:00
Christoph "baka0815" Schwerdtfeger
d3de815a0a
Softrend: clean up if/else
2018-09-04 21:01:03 +02:00
Christoph "baka0815" Schwerdtfeger
f96e0f1e5d
Softrend: Error if no softrenderer backend found
2018-09-04 20:41:25 +02:00
Christoph "baka0815" Schwerdtfeger
981eb1b5ef
Softrend: works only with X11
...
If X11 support is not there, reicast doesn't compile because the softrenderer needs it.
Use #ifdef to do X11 only if SUPPORT_X11 is set.
2018-09-04 19:08:39 +02:00
Flyinghead
c1317cbad7
No web UI if no threads
2018-09-04 18:47:12 +02:00
Flyinghead
f202b3b143
Add new ExtraDepthScale setting to scale huge Z values.
...
Use 1e26 for Samurai Shodown 6 (NAOMI)
2018-09-04 18:37:59 +02:00
Christoph
1c880fc37c
Merge pull request #1369 from reicast/fh/ta-context-1mb
...
Round TA context to 1MB at ListInit time so it is found when rendering
2018-09-04 18:23:20 +02:00
Christoph "baka0815" Schwerdtfeger
69c4f163b8
SDL: Fix keyboard usage
...
Use kcode[port] directly (see evdev.cpp), because unsetting the keys didn't unset kcode and pressing the key another time didn't work.
2018-09-03 19:23:22 +02:00
Flyinghead
239e178226
Simplify framebuffer drawing and fix OSD
2018-09-03 15:05:37 +02:00
Flyinghead
ea9bc5ff1c
Round TA context to 1MB at ListInit time so it can be found at render time
...
Fixes black screen in NFL 2K2, NBA 2K2, Oooga Booga, Floigan Bros. and probably more Visual Concepts games.
2018-09-03 14:32:00 +02:00
Flyinghead
614ec7e9b1
Fix 32-bit vram bank mapping
...
Fixes texture corruption and other problems in many games
2018-09-03 12:39:52 +02:00
Flyinghead
395bfd5dbb
Fix 32-bit vram bank mapping
...
Fixes graphical glitches in Naomi games: Melty Blood Act Cadenza, 18
Wheeler, Spawn and probably others
2018-09-03 12:26:16 +02:00
Flyinghead
228b40136f
Only do color clamp when fog is on
2018-09-02 22:57:59 +02:00
Sven
daae7c8e68
add save states
2018-09-02 09:49:23 -04:00
Flyinghead
96e9bce0e0
(Fog) Color clamping support
2018-09-01 12:56:37 +02:00
Christoph "baka0815" Schwerdtfeger
555e140216
evdev: Remove unnecessary exports in header
...
``input_evdev_init(EvdevController* controller, const char* device, const char* mapping_fname)`` and ``input_evdev_button_duplicate_button(EvdevControllerMapping* mapping1, EvdevControllerMapping* mapping2)`` are no longer used outside evdev.cpp
Needed to move ``input_evdev_init()`` around a bit.
2018-08-31 16:59:37 +02:00
Christoph "baka0815" Schwerdtfeger
8cbc342b06
Maple specific header no longer necessary
2018-08-31 16:52:08 +02:00
Christoph "baka0815" Schwerdtfeger
a9a67fdaa5
Move the evdev specific code out of main.cpp
2018-08-31 16:47:55 +02:00
Flyinghead
1546e4fa8a
Revert a change in the previous commit which breaks sprite stripping.
...
Fixes sparks glitch in Sonic Adventure 2
2018-08-31 10:26:08 +02:00
Ender's Games
62c76475eb
Android: Implement trial disk swapping code
2018-08-28 14:08:36 -04:00
Abandoned Cart
4ed65fca3d
Revert "Fix to windows OpenFile dialog #1238"
2018-08-28 13:38:11 -04:00
Abandoned Cart
a1996f0fe9
Merge pull request #1352 from reicast/pold500/fix-openfile-dialog
...
Fix to windows OpenFile dialog #1238
2018-08-28 08:12:42 -04:00
Abandoned Cart
95c06b942b
Fix formatting to force restart wercker
2018-08-28 07:50:30 -04:00
Pavel Dmytriiev (Github)
88c104580c
Revert C++11 changes
2018-08-27 23:22:07 -04:00
Pavel Dmytriiev (Github)
3677e23e1d
Fixed magic digits sense codes with some meaningful values
2018-08-27 23:22:07 -04:00
Pavel Dmytriiev (Github)
a4e6dbadb5
Fix to windows OpenFile dialog
...
Now it actually says something about what exactly it tries to open, also on "cancel" it exits gracefully.
Proposal: instead of checking one thousand return codes, which are easily ignored, I suggest using an exceptions (this part of emulator doesn't require execution speed, so exceptions here would be just fine).
2018-08-27 23:20:39 -04:00
Abandoned Cart
7bd871490c
Merge pull request #1341 from reicast/baka/cdi_warning
...
CDI: Only warn if CDI image was really loaded
2018-08-27 22:52:38 -04:00
Christoph "baka0815" Schwerdtfeger
bc873cb228
Maple: Corrected creation of empty VMU
...
The VMU which was written to disk was never initialized and therefore consisted only of zeroes.
After saving for the first time the VMU was corrupted.
Changes:
* Not only initialize the VMU in memory but also write the correct contents to disk
* If an existing VMU consists only of zeroes overwrite it with the initial empty VMU
2018-08-27 13:50:59 +02:00
Ender's Games
25919cce78
PGC: Settings that should be per-game exclusive
2018-08-27 06:10:35 -04:00
Ender's Games
cbe7238986
PGC: Avoid an issue with extended IDs
...
Pro Pinball Trilogy is 9 characters, including spaces, which should not be truncated for accuracy.
2018-08-27 05:42:35 -04:00
Christoph "baka0815" Schwerdtfeger
81faa0935c
CDI: Only warn if CDI image was really loaded
...
If no image was loaded (or using ioctl) the CDI warning was always printed.
2018-08-27 10:40:08 +02:00
Christoph
14e1e4ded4
Merge pull request #1339 from reicast/baka/evdev_symlink
...
evdev: Search for libevdev.so.2 first
2018-08-27 10:25:40 +02:00
Christoph "baka0815" Schwerdtfeger
0f228690ad
evdev: Fix off by one error
...
The port for player1 is 0, not 1 (we're zero based here).
2018-08-27 10:01:08 +02:00
Christoph "baka0815" Schwerdtfeger
1d66d1e2da
evdev: Search for libevdev.so.2 first
...
Many Linux distributions provide livevdev.so.2 only so check that first.
2018-08-27 09:53:54 +02:00
Ender's Games
5bdc362da3
Remove QueueRender option (non-functional)
...
Reverts:
2c517896b2
e81f43ff20
9ed9f460e9
2018-08-27 00:42:21 -04:00
Ender's Games
bd6b0c003d
Core: Fix formatting of configuration options
...
Fix formatting using web editor to ensure accuracy
2018-08-27 00:12:16 -04:00
Ender's Games
14fc7d910a
Convert Interrupt Hack to name w/ less stigma
2018-08-26 23:13:25 -04:00
Flyinghead
e59d7eaf3d
Direct framebuffer writes support
2018-08-26 16:58:10 +02:00
Flyinghead
bb3753dc86
Use already defined constant TA_CURRENT_CTX
2018-08-26 16:31:41 +02:00
Ender's Games
2c66bf3b3a
Core / Android: Add dynarec to per-game config
2018-08-26 07:56:36 -04:00
Ender's Games
31fb575165
Core: Support retrieving disk info before full init
2018-08-26 07:56:28 -04:00
Stefanos Kornilios Mitsis Poiitidis
ba8b9014a2
Merge pull request #1326 from reicast/EvdevControllerMapping_string2
...
evdev: Mapping name as string
2018-08-25 21:25:32 +03:00
Stefanos Kornilios Mitsis Poiitidis
d4f12fae64
Merge pull request #1327 from gameblabla/voidlinuxmusl
...
WIP: Fixes for Musl
2018-08-25 21:25:02 +03:00
Stefanos Kornilios Mitsis Poiitidis
11f76f5fbe
Merge pull request #1321 from gameblabla/libaosound
...
Add support for libao
2018-08-25 21:24:29 +03:00
gameblabla
a40d8bc74b
add libao support
2018-08-25 21:24:30 +02:00
Ender's Games
14b1e66ed4
Mac: Reference / implement preprocessor directives
2018-08-25 13:03:29 -04:00
Christoph "baka0815" Schwerdtfeger
8593c209d9
Fixed type of formatting argument
2018-08-25 10:55:52 +02:00
Christoph "baka0815" Schwerdtfeger
80af04421a
evdev: Mapping name as string
...
That way we don't need to reserve memory and the output (on the command line) is correct.
2018-08-25 10:17:10 +02:00
gameblabla
55645a6fb7
Fixes for Musl
2018-08-24 23:34:03 +02:00
gameblabla
5f964de1fe
Fixes compiling if evdev is disabled
2018-08-24 23:13:41 +02:00
Abandoned Cart
d98f674ac5
Merge pull request #1315 from reicast/lk/abandoned
...
Porting libretro features back to mainstream reicast
2018-08-22 22:44:16 -04:00
Ender's Games
9ed9f460e9
Invert QueueRender to allow better explanation
...
Have the setting porform the action rather than having a value that, when disabled, did what the name implies it enables.
2018-08-22 21:14:49 -04:00
Ender's Games
d8226c7b5d
Fix: "Functions should be declared at file scope"
2018-08-22 21:14:42 -04:00
Ender's Games
2c517896b2
PVR: Add a QueueRender flag to force usage
...
Originally implemented with libretro-reicast commit:
38186045d9aebc8ff2b6118de70f4c2596914914
Modified for use w/ reicast per-game configuration
2018-08-22 21:14:19 -04:00
Ender's Games
f76df2da62
GDROM: Increase dma buffer cache sectors
...
4e956d9ef8
2018-08-22 21:14:11 -04:00
Ender's Games
e5c0f0ee71
https://code.google.com/p/nulldc/source/detail?r=108
...
Originally ported from nullDC to libretro in commits:
2fa562db1b46c52b663b3dd4bb33a64907357458
f8eb58ac16a9e5adf662b99be5d00729264808e0
Modified for use w/ reicast per-game configuration
2018-08-22 21:14:02 -04:00
Abandoned Cart
97c5b9e490
Merge pull request #1282 from reicast/baka/evdev_warnnotconfigured
...
evdev: Print a warning if a key is not configured
2018-08-22 18:14:18 -04:00
Abandoned Cart
d7b5533210
Merge pull request #1304 from gameblabla/glesfix
...
Fixes compiling with GLES and X11
2018-08-21 14:02:06 -04:00
Abandoned Cart
3905d6e9fb
Merge pull request #1310 from reicast/lk/lgtm
...
Core: Address some obvious lgtm issues
2018-08-21 10:08:32 -04:00
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
Flyinghead
ba78184461
Fix per-polygon sort option
2018-08-20 15:51:55 +02: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
Flyinghead
6ffe4c0280
Sprites face culling is reversed.
...
Fixes South Park Rally and Wacky Races invisible menus.
2018-08-17 19:13:59 +02:00
Flyinghead
ffb25a470d
Fix Wacky Races missing half screen
2018-08-17 18:33:24 +02:00
Flyinghead
2fb9927688
Less console spamming
2018-08-17 18:30:54 +02:00
Ender's Games
a3f585ea1c
Port the dynarec safe flag from nullDC (See #84 )
2018-08-16 20:00:10 -04:00
Flyinghead
a7cfa1f737
Disable Div matching for Record of Lodoss War
2018-08-14 09:17:22 +02:00