Flyinghead
0fd51fb52a
android: ignore audio latency. skip less frames in synchronous mode
...
android: use minimum size for audio buffer
alsa: use period size of 1024 instead of 512
hide audio latency option for android, win32 and mac
relax frame skipping formula
2020-06-05 21:16:48 +02:00
Flyinghead
002a05f866
dsp: proper MIXS input shift
2020-05-30 19:57:58 +02:00
Flyinghead
1301103245
maple: fix vmu reset in BIOS. naomi: support P2 buttons mapped to P1
2020-05-29 14:45:12 +02:00
Flyinghead
5de78a4687
osx: avoid hang when quitting emu during gameplay
2020-05-23 13:03:59 +02:00
Flyinghead
df97c42e4e
add some naomi/aw widescreen cheats
2020-05-15 20:33:00 +02:00
Flyinghead
2e9238d719
omx: fix buffer overflow. evdev: better default gamepad mapping
2020-05-11 16:11:31 +02:00
Flyinghead
fec79624df
gl/gl4: simplify clipping. share code with vulkan
2020-05-11 16:11:31 +02:00
Flyinghead
5b1d093778
fix GLES2+SDL build
2020-05-09 18:20:56 +02:00
Flyinghead
b907aa2d98
fix GLES2 build
2020-05-09 12:07:49 +02:00
Flyinghead
34575d577c
fix sdl+egl build. get rid of USES_HOMEDIR. thread deadlock at exit
...
fix odroid xu3 build
sdl: use left or right alt+enter to maximize window
deadlock at exit if dc_exit called from emu thread
2020-05-08 18:41:36 +02:00
scribam
2ee8ca37c0
CMake refactoring
2020-05-05 21:13:12 +02:00
scribam
cb889ad36e
Use predefined macros to define HOST_CPU and HOST_OS
2020-05-05 19:01:07 +02:00
flyinghead
1e14e12015
Merge pull request #87 from scribam/c++11
...
Use C++11 without GNU extensions
2020-05-02 18:24:33 +02:00
Flyinghead
8a6dbef775
naomi: don't die if eeprom cannot be updated (network), log instead
2020-05-02 18:24:13 +02:00
scribam
10bd4dd9b4
Use C++11 without GNU extensions
2020-05-02 10:57:08 +02:00
Flyinghead
e8a655d99b
fix race condition in cResetEvent::Wait(u32)
2020-05-01 13:06:07 +02:00
Flyinghead
d75d4400f0
win32: fix path separator issue
2020-04-30 12:49:56 +02:00
flyinghead
836780d8a7
Merge pull request #84 from scribam/glslang
...
deps: Update glslang to version 8.13.3743
2020-04-28 18:51:42 +02:00
scribam
0ddcce4854
deps: Update glslang to version 8.13.3743
2020-04-28 14:19:33 +02:00
scribam
6ee4b6de85
Replace OS_DARWIN by __APPLE__
2020-04-26 14:19:21 +02:00
Flyinghead
aac8b30bce
naomi: fake wrungp drive board. marine fishing inputs
...
set jvs board for dog walking and touch de uno
force region to japan for the same
2020-04-26 11:32:15 +02:00
Flyinghead
c9d8222889
input: don't exit when mapping the exit key
2020-04-26 11:27:45 +02:00
flyinghead
edda259adc
Merge pull request #80 from scribam/7zArchive-algorithm
...
Enable 7zArchive for MSVC
2020-04-25 19:42:06 +02:00
flyinghead
01682fc966
network: win32 fix
2020-04-25 19:41:46 +02:00
scribam
2d9390df9f
Enable 7zArchive for MSVC
2020-04-25 12:45:31 +02:00
Flyinghead
2c54dfd132
arm64: check CpuRunning at end of each timeslice. clean up
...
fixes hang when exiting service menu in kofnw
2020-04-24 19:56:38 +02:00
Flyinghead
482b7427f0
ui: get rid of 100% notif message. avoid logging garbage when canceled
2020-04-24 19:46:23 +02:00
scribam
0b1d739673
MSVC Cleanup
2020-04-23 14:10:49 +02:00
scribam
0b9ecd35c6
Remove Visual Studio solution/project files
2020-04-23 14:10:49 +02:00
scribam
429957f830
Compilation fix for MSVC
2020-04-23 13:37:07 +02:00
Flyinghead
adfe30cf4c
osx: allow exit with button. clean exit
...
terminate network in dc_term to avoid static init order issues
osx: call dc_term before exit
osx: exit app when exit button is pressed (dc_exit)
osx: ignore -NSDoc... app args
2020-04-23 11:46:34 +02:00
Flyinghead
1d1cd347ef
win32 build fix
2020-04-22 19:20:03 +02:00
Flyinghead
bec7a9f452
network: start network before starting game to configure eeprom/flash
...
do second net sync when comm board is reset
close menu/cancel loading when pressing menu button
2020-04-22 19:11:49 +02:00
Flyinghead
65f156817c
win32: reserve vmem with MEM_TOP_DOWN. Use 1MB increment for prepare_jit
2020-04-22 10:06:25 +02:00
scribam
58abddfd27
Compilation fixes for MSVC
2020-04-20 22:17:32 +02:00
Flyinghead
64249eb68e
gdrom: shrink gdrom buffer to decent size
2020-04-20 18:53:08 +02:00
Flyinghead
17a2c3644f
ui: add loading screen with cancel button. don't freeze ui on load
2020-04-20 18:52:02 +02:00
Flyinghead
06313dd540
naomi: auto configure eeprom and bbsram for network
2020-04-19 21:45:15 +02:00
Flyinghead
98b2a32eae
naomi: auto-rotate screen, no widescreen when rot, lightgun as analog
...
rotate screen for naomi games that need it
disable widescreen when rotating screen
detect lightgun games and enable proper settings
disable model 3 comm board for atomiswave
2020-04-17 22:11:11 +02:00
Flyinghead
3660cf49f4
naomi net: don't xmit the packet number
2020-04-17 18:09:56 +02:00
Flyinghead
7058ffeb61
dsp: fix output shift
...
fix wrungp ear rape
2020-04-17 18:04:58 +02:00
Flyinghead
c364d6379b
input: per controller instance mapping file. Hide DPad U/D/L/R
...
Try to load a per-controller instance mapping file first, then fallback
to the per device type file.
Hide DPad U/D/L/R and DPad2 U/D/L/R in analog axes mapping to avoid
confusion.
2020-04-17 17:55:43 +02:00
flyinghead
ed1a9fabd0
Merge pull request #73 from scribam/thread-rework
...
Rework cThread to use std::thread
2020-04-17 10:05:29 +02:00
Flyinghead
a9fc78b88e
SDL: don't use guid as unique id as it's not unique to a device instance
...
Issue #74
2020-04-16 16:17:30 +02:00
scribam
62afe5714a
Rework cThread to use std::thread
2020-04-15 20:20:30 +02:00
Flyinghead
2d1c3fa307
win32: play sound even in background
2020-04-15 19:09:16 +02:00
Flyinghead
be1f2138e7
naomi: add inputs for wrungp. network error handling/reporting
2020-04-15 19:07:04 +02:00
flyinghead
3495a0b53e
Merge pull request #72 from inada-s/garkun/skip-recvfrom-with-invalid-sock
...
[MODEM] avoid WSAEINVAL error
2020-04-15 10:43:23 +02:00
flyinghead
477bbe935f
Merge pull request #71 from inada-s/garkun/modem-recv-tune
...
[MODEM] recv tune. set small callback_cycles to recv fllowing data quickly
2020-04-15 10:43:13 +02:00
Shingo INADA
645c771af2
[MODEM] mark as invalid-socket if failed to bind udp sockets to avoid WSAEINVAL error
2020-04-15 11:44:01 +09:00
Shingo INADA
2d67334cb4
[MODEM] recv tune. set small callback_cycles to recv fllowing data quickly.
2020-04-15 11:27:59 +09:00
scribam
cb8308387a
deps: Update zlib to version 1.2.11
2020-04-14 20:47:54 +02:00
Flyinghead
17c7e0b3ed
win32 build fix. fix crash when 2 or more slaves
2020-04-14 20:23:17 +02:00
Flyinghead
c86fd8498f
log: add network category
2020-04-14 17:54:54 +02:00
Flyinghead
c4f0dbab09
naomi m3: missing changes. SDL: get gamepad events if focus lost
2020-04-14 17:44:27 +02:00
Flyinghead
a41a81f5dd
naomi: network code for model 3 comm board
2020-04-14 17:43:11 +02:00
Flyinghead
6215623640
naomi: add tokyo bus guide
2020-04-13 18:32:58 +02:00
Flyinghead
381f0f0f95
ui: scan games in a background thread. hide unknown zips and naomi chds
2020-04-09 11:44:19 +02:00
Flyinghead
786c8e7744
get rid of libpng and use stb_image_write instead. OSX: static link SDL
2020-04-08 15:34:21 +02:00
scribam
5b60e3e47b
Load custom textures with stb_image exclusively and remove loadPNGData function
2020-04-07 19:17:16 +02:00
flyinghead
2711912bcf
Merge pull request #66 from tokuio/axis_buttons
...
Add ability to map analogue triggers to digital buttons
2020-04-07 17:23:51 +02:00
Flyinghead
b2af81cdb0
custom textures: use strtoll since long is 32-bit on windows
2020-04-07 16:32:38 +02:00
Flyinghead
f03de11521
missing change
2020-04-07 14:36:54 +02:00
Flyinghead
cc2ddad53b
custom textures: support JPEG format
2020-04-07 14:32:09 +02:00
tokuio
f5887d64c2
Add ability to map analogue triggers to digital buttons
2020-04-07 01:33:05 +01:00
Flyinghead
d001b40430
modem: fix isp settings in flash. dc_flash.bin no longer used
...
fix crash in World Series Baseball when connecting
fix Jet Grind Radio web site access
2020-04-05 19:58:50 +02:00
Flyinghead
df7bb18e2c
picotcp: keep track of ppp timer and cancel it on destroy
2020-04-05 12:44:39 +02:00
Flyinghead
553447ed76
allow buttons to be mapped to left analog stick
...
Issue #55
2020-04-04 18:18:36 +02:00
flyinghead
8482b9130c
Merge pull request #59 from scribam/deposterize
...
Remove unused deposterize code
2020-04-03 20:42:59 +02:00
scribam
63ffb2efe0
Rewrite cResetEvent to use std::condition_variable
2020-04-03 19:00:02 +02:00
scribam
1ce40ff0ec
Compilation fix for MSVC
2020-04-03 18:55:10 +02:00
scribam
0077bbe295
Remove unused deposterize code
2020-04-03 18:55:02 +02:00
Flyinghead
d1b29a59d2
vulkan: re-enable vulkan 1.1 on Android. Fix TEST_AUTOMATION
...
disable vmem32 for Heroes of Might and Magic III
support no vmem in _vmem.cpp
2020-04-03 16:32:53 +02:00
Flyinghead
3f29bac591
pvr: textured background plane
...
fix for Who Wants to Be a Millionaire
2020-04-03 16:26:00 +02:00
Flyinghead
37d3625bf3
gui: Add log to file option. don't create log file if disabled
2020-04-02 12:20:03 +02:00
Flyinghead
578071e8f9
win32: avoid deadlock if waiting for current thread. La Keyboard input
2020-04-02 11:51:39 +02:00
Flyinghead
ca3c2a2387
rend: use original palette data to compute palette hash
2020-04-01 17:12:55 +02:00
Flyinghead
320d0a5ce7
fix crash when TR polys count is 0
2020-03-31 21:09:42 +02:00
scribam
769770ab81
Replace cMutex by std::mutex
2020-03-30 23:00:43 +02:00
scribam
a155282fd0
Cleanup compiler warnings (mostly sign-compare)
2020-03-30 23:00:43 +02:00
scribam
3198cf65d9
Remove old "types.h" for x86_emitter
2020-03-30 23:00:43 +02:00
scribam
e99aac3575
Remove "using namespace std;"
2020-03-30 23:00:43 +02:00
scribam
c1b37b56bc
Remove "sh4_if.h" and "stdclass.h" from "types.h"
2020-03-30 23:00:43 +02:00
scribam
9a420b0093
Remove macros EMUERROR
2020-03-30 22:18:44 +02:00
Flyinghead
b3e466afed
sort triangles even with 1 poly
...
fixes missing Naomi boot logo and vtennis2 black frame during replay
2020-03-30 18:48:06 +02:00
scribam
0038dc3ae8
deps/xbrz: backport change from 1.7 to fix android debug build
2020-03-29 14:45:05 +02:00
scribam
4bf6802855
Cleanup include headers
2020-03-29 14:26:21 +02:00
scribam
65590e8c49
deps/xbrz: backport change from 1.7 to fix android build
2020-03-29 13:47:20 +02:00
scribam
427b428718
deps: Update xxHash to version 0.7.3
2020-03-29 13:47:20 +02:00
scribam
fef96c125a
deps: Update xbyak to version 5.891
2020-03-29 13:47:20 +02:00
scribam
484a7cdd10
deps: Update volk to commit ec2d513
2020-03-29 13:28:06 +02:00
scribam
c731cbcaf8
deps/vulkan: Update vk_mem_alloc.h to version 2.3
2020-03-29 13:28:06 +02:00
scribam
5a9ad280a5
deps: Update glslang to version 8.13.3559
2020-03-29 13:28:05 +02:00
scribam
472053df42
deps: Update glm to version 0.9.9.7
2020-03-29 13:28:05 +02:00
Flyinghead
f8ca801877
holly: don't die if read/write-only reg is written/read. log instead
2020-03-29 12:55:16 +02:00
Flyinghead
9ce25a4e72
gl: crash when deleting null shader
2020-03-29 12:30:22 +02:00
scribam
0035871422
Replace RELEASE by NDEBUG
2020-03-29 10:12:32 +02:00
Flyinghead
6a447cb0b5
support multi-session cue/bin
2020-03-28 12:19:36 +01:00
Flyinghead
c5a42a57bc
limit maple schedule time, allow vram 8-bit reads, minor changes
2020-03-28 12:19:36 +01:00
Flyinghead
ed1c9c9091
fix command-line help text
2020-03-28 12:19:36 +01:00
Flyinghead
96c8353364
pvr: don't discard RTT frames
2020-03-28 12:19:36 +01:00
tokuio
255d19d40f
let windows terminals use Nix ConsoleListener, fix windows timestamp
2020-03-27 19:05:24 +00:00
Flyinghead
8ada1d5320
pvr: defer index building and strip merging, filter out infinite verts
...
don't reset tileclip_val on each frame (Irides - master of blocks)
spg clean up
2020-03-27 13:03:49 +01:00
scribam
3ccd8c624f
libpng: use the public api to retrieve io_ptr
2020-03-25 18:15:32 +01:00
tokuio
7e4a31c786
Add game description to roms in file list
2020-03-25 12:49:58 +00:00
Flyinghead
5894992f70
android: don't use storage for default buttons.png
2020-03-24 23:31:34 +01:00
Flyinghead
c098790f3b
naomi: connect C1 VMU fvor P2
2020-03-24 23:22:57 +01:00
Flyinghead
09c439bbe8
naom: VMU support (vonot, sf3zu). Fix otrigger inputs.
2020-03-23 17:48:43 +01:00
Flyinghead
c5b56b874c
Merge remote-tracking branch 'origin/fh/win32-sdl'
2020-03-23 14:52:25 +01:00
Flyinghead
39d81923c9
keyboard support for totd and luptype
2020-03-23 14:09:50 +01:00
Flyinghead
f99d7fa262
naomi: add default eeproms
2020-03-22 16:46:16 +01:00
flyinghead
8db02cf503
sdl: Support hats. Save/restore window state and size. Fullscreen mode
2020-03-22 14:10:07 +01:00
flyinghead
6831258a57
win: include SDL2 in deps
2020-03-21 17:10:01 +01:00
flyinghead
8f92315207
Use sdl on windows
2020-03-21 15:25:02 +01:00
Flyinghead
5a1b7374e5
change icons. display error message when game fails to load.
2020-03-21 15:05:38 +01:00
Flyinghead
0c2e95185c
support for right analog stick. Fix gunsur2 inputs
2020-03-20 16:57:50 +01:00
Flyinghead
bccea0e991
win32: link pthread statically. Alien Front naomi needs safe mode
2020-03-20 12:42:13 +01:00
Flyinghead
6b2e815b49
naomi: fix monkey ball inputs
2020-03-19 23:38:01 +01:00
Flyinghead
e44ed4a8e8
gdrom: don't resume cdda if not playing. stop if cur > end
2020-03-19 17:04:47 +01:00
Flyinghead
34ac18479f
osx build fix
2020-03-18 19:09:25 +01:00
Flyinghead
54261b69c9
renderer: handle mipmap D-adjust param (convert to lod bias)
2020-03-18 18:51:34 +01:00
Flyinghead
268b0cdcfd
vulkan: mipmap levels must be 4-byte aligned
2020-03-17 19:24:00 +01:00
Flyinghead
ef223bb20d
vulkan: disable vulkan 1.1 on android for now
...
Issue #30
2020-03-17 16:34:14 +01:00
scribam
6dd35cc811
Add NOMINMAX for MSVC and use <algorithm>
2020-03-16 23:44:06 +01:00
scribam
1afc102910
Compilation fix for ao audio backend
2020-03-16 18:17:51 +01:00
Flyinghead
1abfdaf64e
audio: pulse async driver, null driver, latency setting
...
Pulse: use async API instead of simple API
Null driver: no audio driver with accurate timing
Add latency setting to alsa, pulse and android drivers
android: start and stop AudioTrack on audiobackend init/term
Simplify audiostream. Get rid of "none" option
2020-03-14 22:46:40 +01:00
Flyinghead
ad3dce1102
fix alignment issues reported by ubsan on x64
...
Fix chd lzma and zlib buffers alignment
Fix ChannelEx struct alignment
2020-03-14 22:23:13 +01:00
Flyinghead
e3313d27b2
custom texture: stop loader thread before loading state
2020-03-13 18:01:33 +01:00
Flyinghead
4e73af0f94
Mem leaks in input mapping/jvs/x11. Fix crash when latin-1 char is input
...
Fix warnings
2020-03-12 16:09:05 +01:00
Flyinghead
aff2b9e1af
fix simple texture bleeding case when upscaling. Clean up
2020-03-11 17:55:13 +01:00
Flyinghead
8567c42b30
gl4: Use GL_LINEAR_MIPMAP_LINEAR for mipmapped textures
...
improve custom texture packs rendering quality
2020-03-10 17:55:44 +01:00
Flyinghead
a5171a1d09
gl,gl4: don't use GL_NEAREST_MIPMAP_LINEAR if tex isn't mipmapped
...
fixes black grass in Virtua Striker 2
2020-03-10 15:32:17 +01:00
Flyinghead
0b6b6339ed
nvmem: generate console ID at startup. rec-x64: Call stack alignment
...
Generate console ID in dc_nvmem.bin if blank. Used by chuchu rocket
login.
Align stack to 16-byte
2020-03-10 14:47:45 +01:00
Flyinghead
5b644cf1ca
gl: switch to GL_NEAREST_MIPMAP_LINEAR for mipmapped textures
2020-03-09 23:29:02 +01:00
Flyinghead
03f096384b
generate mipmaps for custom textures when needed
2020-03-09 22:49:05 +01:00
Flyinghead
015dcf117d
naomi: enable lightgun if one is connected
2020-03-09 21:03:54 +01:00
Flyinghead
797dabe11f
Add more buttons for arcade games. Show arcade mapping in UI.
...
Issue #40
2020-03-09 19:44:16 +01:00
scribam
53bde38035
Replace DECL_ALIGN macros by alignas
2020-02-27 22:17:33 +01:00
Flyinghead
21f1517a5f
dsp x64: use returned code buffer ptr on windows cuz it's reallocated
...
fixes dsp crash on windows
2020-02-27 11:52:00 +01:00
Flyinghead
99f04ec753
nuke softrend
2020-02-26 23:41:05 +01:00
Flyinghead
1b8c2a63c2
stop being permissive
2020-02-26 23:00:29 +01:00
Flyinghead
f7e811e463
x64 dsp: OSX fix
2020-02-26 19:46:46 +01:00
Flyinghead
091c14c78a
X64 dsp jit compiler
...
fix clamping in arm64 dsp
2020-02-26 18:38:05 +01:00
Flyinghead
6bfde76514
vk: avoid calling List::head() in loops
2020-02-25 16:34:49 +01:00
Flyinghead
0ef54aa16b
vram32 small optim
2020-02-25 12:55:26 +01:00
Flyinghead
dd29a62811
remove buggy LimitFPSAuto option
2020-02-25 12:52:21 +01:00
Flyinghead
0ff22ed0a6
custom tex: disable mipmapping when dumping textures
2020-02-21 16:16:54 +01:00
Flyinghead
75bfd25224
custom tex: support v1 (content+pal) and v3 (...+format) hashes only
2020-02-19 18:48:56 +01:00
Flyinghead
e2b3ef147d
custom tex: recreate gl/vk texture when loading custom tex. vk crash
2020-02-19 14:31:35 +01:00
Flyinghead
1cf4c36ede
disable div matching for Donald Duck Goin' Quackers
2020-02-17 18:26:14 +01:00