Commit Graph

2638 Commits

Author SHA1 Message Date
Flyinghead 0e939b5f68 Keyboard: Better keycode mapping, added CTRL. Maple cleanup. 2018-09-08 14:35:46 +02:00
Ender's Games 5ef7b60134 Android: Simplify and optimize InputModFragment 2018-09-07 12:47:55 -04:00
Ender's Games 2a45346099 Android: Simplify and optimize OptionsFragment 2018-09-07 12:42:49 -04:00
Ender's Games 86e3379a65 Android: Simplify and optimize InputFragment 2018-09-07 12:42:47 -04:00
Ender's Games c8d2517d95 Android: Simplify and optimize FileBrowser 2018-09-07 12:20:57 -04:00
Ender's Games 8f981e648c Android: Remove some unnecessary conditions 2018-09-07 11:51:17 -04: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
David Miller af8aab1337
Merge pull request #1373 from reicast/baka/x11soft
Add error message for softrend w.o X11
2018-09-04 15:42:19 -04: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 61748632de
Merge pull request #1368 from reicast/fh/32b-vram-mapping
Fix 32-bit vram bank mapping
2018-09-04 18:23:06 +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
Abandoned Cart a8711e2cf2
Merge pull request #1362 from reicast/lk/abandoned
Android: Fix OSD editor and standardize launch
2018-08-29 16:12:02 -04:00
Ender's Games ddffa3b8de Android: Fix OSD editor and standardize launch 2018-08-29 15:34:45 -04:00
Abandoned Cart 205affbf2b
Merge pull request #1359 from reicast/lk/abandoned
Delete an unused variable left from testing
2018-08-29 00:29:37 -04:00
Ender's Games 36d094949d Circumvent some false Google assumptions
Not all urls are links. Not all links require a web browser.
2018-08-28 23:49:49 -04:00
Ender's Games 3ca9a153e5 Delete an unused variable left from testing 2018-08-28 22:07:31 -04:00
Abandoned Cart b59b09d3b0
Merge pull request #1356 from reicast/lk/disk-swap
Android: Support disk swapping / boot disk
2018-08-28 22:03:29 -04:00
Ender's Games 3eba9ae6ad Android: Improved null checking, Optimize 2018-08-28 15:11:02 -04:00
Ender's Games e19212ee9e Android: Support per-game boot disk 2018-08-28 14:08:36 -04:00
Ender's Games 2ceae8b42e Android: Parameter to swap dynamic disk 2018-08-28 14:08:36 -04:00
Ender's Games f51f04ba9a Android: Close keyboard when editing complete 2018-08-28 14:08:36 -04:00
Ender's Games 72f11223f7 Android: Remove unstable TextWatcher 2018-08-28 14:08:36 -04:00
Ender's Games 62c76475eb Android: Implement trial disk swapping code 2018-08-28 14:08:36 -04:00
Ender's Games 925daa2bfd Android: Begin implementing disk swap options 2018-08-28 14:08:36 -04:00