Commit graph

824 commits

Author SHA1 Message Date
kub
73411ac447 sound, add panning for ym2612 dac 2024-07-08 22:41:01 +02:00
kub
4af69a1df0 sms, improve pad handling (TR as output) 2024-07-05 21:48:38 +02:00
kub
7bf552b5fa add/update copyright notices for substantially changed files 2024-07-02 22:55:50 +02:00
kub
2f0c5639c1 core z80, fix cycle counting if z80 in hold on frame change 2024-07-02 22:43:26 +02:00
kub
25559e5417 sms, add sram in codemasters mapper 2024-06-30 17:55:37 +02:00
kub
40172b9319 sms, improve system detection by extension 2024-06-30 17:19:34 +02:00
kub
c1812e1a85 core vdp, some cleanup 2024-06-28 00:23:38 +02:00
kub
6fd16ed6f5 core vdp, fix display enable in hblank 2024-06-27 23:39:45 +02:00
kub
711628f3a3 core z80, revert non-working ebde43d (bus blocking DMA) 2024-06-27 23:39:45 +02:00
kub
444c592a1d core vdp, fix status for very short DMA transfers 2024-06-27 23:39:45 +02:00
kub
da10229772 core vdp, change cram write sync 2024-06-27 23:39:45 +02:00
kub
c5ecd7a0bb core, some save state fixes 2024-06-27 23:39:45 +02:00
kub
f5c022a8e4 core, revisit ym2612 busy flag implementation 2024-06-27 23:39:44 +02:00
kub
cbb9a09837 core vdp, arm rendering fix (1st window col prio) 2024-06-18 22:45:02 +02:00
kub
7cbd42bc54 md, minor cleanup for region code handling 2024-06-15 10:15:19 +00:00
kub
7647f87b29 md vdp, fix v_counter reading, some cleanup 2024-06-15 00:12:11 +02:00
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