Commit graph

808 commits

Author SHA1 Message Date
kub
31efd4546e sh2 drc, several bug fixes 2024-06-15 00:12:11 +02:00
kub
a43c77c0e5 build, fix libchd zstd support for libretro static linking 2024-06-15 00:12:01 +02:00
kub
4af2edc365 32x, fixes for comparing cycles 2024-06-02 08:03:12 +00:00
Tomáš Kelemen (vudiq)
8d04801518 remove fflush() call before exit()
the buffer is flushed anyways at exit() and fixes compile error with
gcc14:

    pico/carthw/svp/compiler.c: In function 'ssp_translate_block':
    pico/carthw/svp/compiler.c:1800:24: error: passing argument 1 of 'rfflush' from incompatible pointer type [-Wincompatible-pointer-types]
     1800 |                 fflush(stdout);
          |                        ^~~~~~
          |                        |
          |                        FILE *
    In file included from ./pico/pico_port.h:12,
                     from ./pico/pico_int.h:15,
                     from pico/carthw/svp/compiler.c:9:
    platform/libretro/libretro-common/include/streams/file_stream_transforms.h:89:25: note: expected 'RFILE *' but argument is of type 'FILE *'
       89 | int64_t rfflush(RFILE * stream);
          |                 ~~~~~~~~^~~~~~

this error presents itself when building the libretro core, so this
could be also solved by wrapping the call to fflush():

    #ifndef __LIBRETRO__
    		fflush(stdout);
    #else
                fflush((RFILE *)stdout);
    #endif
2024-05-25 10:26:16 +02:00
notaz
cc1174c988 update libchdr for zstd support 2024-05-24 16:25:20 +00:00
kub
3b480be4c0 core z80, partially revert ebde43d (bus blocking DMA)
it causes audio lag in OD2
2024-05-24 00:07:37 +02:00
kub
b72095041e sms, fixes to bios initialisation and mapper autodetection 2024-05-24 00:05:35 +02:00
kub
1eb630c232 md, no floating bus in cart address space 2024-05-23 19:17:28 +02:00
kub
75a6b6a954 md, add some unlicensed carts 2024-05-23 19:16:56 +02:00
kub
257baf1520 platform ps2, fixes for gcc14 2024-05-20 13:29:05 +02:00
kub
96e5982134 core vdp, reset fix 2024-05-18 22:29:56 +02:00
kub
2531b6fd16 sms, minor optimization 2024-05-18 22:29:56 +02:00
kub
4167049666 core, fix floating bus read for 68k (regression) 2024-05-18 22:29:49 +02:00
kub
864ac1d6a6 sound, don't reinitialize after menu if not needed 2024-05-18 21:21:54 +02:00
kub
67c9ba38cb core, improve system and mapper detection 2024-05-17 19:12:15 +00:00
kub
8341673054 32x, fix reset interrupt handling 2024-05-14 00:19:48 +02:00
notaz
695e6de85e 32x, internal BIOS hack for jumping to 0x140 2024-05-08 01:20:01 +02:00
kub
52cb58c50d core z80, improve save/load (cycles) 2024-05-08 00:09:18 +02:00
kub
ebde43de9d core z80, bus blocking for VDP DMA 2024-05-08 00:09:18 +02:00
kub
274dd51a60 core z80, cycle counting fixes (reset, bus request) 2024-05-08 00:09:18 +02:00
notaz
c9f9453414 32x: adjust handlers according to hw tests
"Pico32x.regs[6] |= P32XS_RV;" had wrong offset, but tests show this
doesn't happen at all so remove.
2024-05-08 00:07:53 +02:00
kub
eec6905e0b 32x, some reset related fixes 2024-05-05 22:54:03 +02:00
kub
0290987ccb core vdp, fix regression (irq not cleared on disable) 2024-05-05 22:54:02 +02:00
kub
b8a38093ed core vdp, fix regression (irq not cleared on disable) 2024-04-27 10:12:30 +02:00
kub
4985bad0fb mcd, add poll detection for gfx busy 2024-04-27 10:12:30 +02:00
kub
e61dbac103 mcd, fix irq2 handling (not cleared on disable) 2024-04-27 10:12:25 +02:00
kub
ce5c904a39 mcd, improve pre/post reading 2024-04-27 10:11:38 +02:00
kub
c7b771de6c 32x, make sh2 sram poll detection less agressive 2024-04-24 21:51:01 +02:00
kub
d9bb2921ee mcd, implement pre/post reading in play/read state 2024-04-21 16:20:28 +02:00
kub
691abdfa0f mcd, some improvements (dma timing, interrupt handling) 2024-04-20 00:41:57 +02:00
kub
4447902711 mcd, revisit track handling in cdd 2024-04-20 00:41:57 +02:00
kub
db2b6d9966 core z80, fix cycle counting in reset state 2024-04-12 20:29:50 +02:00
kub
c7661b80ef md, fix vdp reset handling 2024-04-12 20:08:33 +02:00
kub
51d6248b95 md, fix vdp reset handling 2024-03-28 21:39:12 +01:00
kub
15cc45c0da platforms, display pad overlay and storyware pages for Pico 2024-03-25 23:08:23 +01:00
kub
da4148881e sms, fix save/load bugs (irq, mapper) 2024-03-24 17:45:10 +01:00
kub
64360d13b0 core, big endian fix (save/load) 2024-03-21 19:10:44 +01:00
kub
c87e36d750 core+platforms, revise pico pen handling
the MSB in the tablet position register denotes pen on surface.
add logic and a hotkey for handling pen not on surface. This allows
for repositioning of the pen without the storyware reacting to it.
2024-03-18 18:24:54 +01:00
kub
9f29605f55 core, floating bus read for 68k in some more places 2024-03-16 15:58:47 +01:00
kub
71f9c68f5b core z80, improve timing for bus request/grant timing from 68k 2024-03-14 23:18:26 +01:00
kub
5adcc16534 68k, some fixes for musashi 2024-03-10 01:26:06 +00:00
kub
02d578601b core, fix crash bug in DrZ80 (SP wrap) 2024-03-07 20:36:00 +01:00
kub
83025d7abe core, implement ym2612 busy flag 2024-03-04 21:59:52 +01:00
kub
c066c40ba9 core z80, more timing fixes 2024-03-04 21:59:52 +01:00
kub
a17fb0210b core z80, some timing improvements 2024-03-03 13:01:51 +01:00
kub
80f51a1d59 core, slightly increase accuracy of some hw timers 2024-03-02 10:36:49 +01:00
kub
506adbd5eb core, another fix for z80 reset 2024-03-02 10:34:50 +01:00
kub
d128474f6f mcd, fix crash (plat_mmap not zeroing memory) 2024-02-26 23:10:35 +01:00
kub
2eeee072ea mcd, increase audio volume slightly 2024-02-23 19:23:41 +01:00
kub
4aaedc899e mcd, fix audio not playing when buffer RAM enabled 2024-02-23 19:23:37 +01:00