Isaac Marovitz
af043c55cd
CMake Refactors ( #1979 )
...
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-06-24 16:33:12 +02:00
Flyinghead
c860807fef
gdrom: reduce dma buffer size. reios: schedule dma reads by chunks
...
Reduce gdrom dma buffer size to 16 sectors from 32.
Limit serialization of dma and pio buffers to actual content.
reios: schedule transfer of dma data in chunks.
Fixes Soul Calibuf audio drop outs at boot with HLE BIOS (RA).
Issue #1755
2024-11-30 16:37:55 +01:00
Flyinghead
6612e3fef8
gdrom: update settings and more when swapping disks
...
Set forced and per game settings.
Update game id and save state file name.
Reset cheats and custom textures.
Update game title and window title.
Issue #1748
hle bios: reboot the game when "exit to bios" vector is called
2024-11-20 11:46:34 +01:00
Flyinghead
76638df001
sh4: split xffr array. Fix FPCB_PAD on windows
...
Split xffr[32] into xf[16] and fr[16].
Set FPCB_PAD size to 64_KB. Issue #1736
Get rid of shil_param::reg_aofs
2024-11-13 10:31:45 +01:00
Flyinghead
1cadeb276e
sh4: test fix
2024-11-08 22:01:48 +01:00
Flyinghead
db846ca933
sh4: pass context to interpreter funcs. get rid of sh4 regs #define
2024-11-08 18:36:08 +01:00
Flyinghead
897e06b887
sh4: refactor GetDR/SetDR and access to fp registers
2024-11-06 19:26:04 +01:00
Flyinghead
f346bcd68b
elf: only load PT_LOAD sections
2024-03-24 10:16:02 +01:00
Flyinghead
593b3205bd
reios: fix GETSCD and GET_DRV_STAT status during disk swapping
...
GET_DRV_STAT returns BUSY when disk is being recognized.
GETSCD returns asc and ascq in result 1 on error, does not return unit
attention if drive is busy.
Fixes disk swapping for Shenmue II, Dancing Blade II and Kaen Seibo.
Fixes wrong drive visual in Golf Shiyouyo Course Data Syuu
Issue #1046
2024-01-28 16:00:46 +01:00
Flyinghead
cbd01fba38
gdrom: fix disk swapping for some games
...
Add a 1 s delay when inserting a disk before the drive is ready.
Fixes disk swapping for Skies of Arcadia, Shenmue II (except HLE), Alone
in the Dark, Dancing Blade, First Kiss Story II and Kaen Seibo.
Issue #1046
Issue #189
Fixes BIOS menu disk swapping.
2024-01-24 18:35:23 +01:00
Flyinghead
9c964ac955
refactor embedded resource loading. Use for imgui font and android OSD
...
Generic embedded resource loading function
Zip bios and printer fonts
Add buttons.png and Roboto-Medium.ttf as embedded resources
2024-01-02 14:37:29 +01:00
Flyinghead
0d36154618
hle bios: wince games hang after IP.BIN
...
regression introduced by 41723a831f
2023-12-28 17:17:11 +01:00
Flyinghead
41723a831f
use static init when possible. use unnamed bit-fields. refactor vmuBeep
...
no functional changes
2023-11-11 18:54:10 +01:00
Flyinghead
18f9b84af6
elf: memory corruption if .elf file is invalid
2023-10-05 11:45:14 +02:00
Flyinghead
c637ae8281
Merge remote-tracking branch 'origin/master' into dev
2023-07-30 18:05:38 +02:00
Flyinghead
30e66d1c17
reios: ignore high order bits for FAD
...
Mask FAD with ffffff. Apparently the regular BIOS does the same. Fixes
bogus FAD issued by Guilty Gear X when playing CD audio.
Issue #1124
2023-07-05 10:23:54 +02:00
Flyinghead
b47f4f56ef
user-defined literals: _KB, _MB, _GB
2023-07-01 14:31:25 +02:00
scribam
f590766421
deps: update nowide
2023-06-04 12:49:55 +02:00
Flyinghead
920666bc70
rent a hero 1: hle bios fix
...
Issue #1070
2023-05-17 16:20:46 +02:00
Flyinghead
e5344d37d0
gdrom: fix cdda restart. revert previous change. fix hle pause/release
...
Revert changes from Issue #690
Fixes cdda restart in Mr.Driller, Bust-a-move 4, Wetrix+ and Reel
fishing. Issue #1019
hle: returning current cdda information fixes the pause/release issue
2023-05-16 14:33:33 +02:00
Flyinghead
01c7250be2
hle bios: add latin-1, jis x0201 and jis x0208 glyphs to bios font
...
Use CMakeRC to embed font binary file
2023-03-18 16:11:03 +01:00
Flyinghead
afc1f5f4e1
Merge remote-tracking branch 'origin/master' into dev
2023-03-15 21:09:47 +01:00
Flyinghead
cd7168772d
reios: crash when CDDA play with no disk
...
Fixes MINIDUMP-HW
2023-03-12 15:51:05 +01:00
namtsui
27b6bafd0f
vendor newest libelf ( #955 )
...
* vendor newest libelf
source:
2d5b59c99a/libelf
* use exec_elf.h from openbsd to define structs
* libelf: build fixes
- do not link against muslc.
- windows and apple use bundled exec_elf.h.
- casts added like the old elf32.h, elf64.h and elf.c so pointer
arithmetic works. otherwise some compilers complain about void*.
- remove unused bits of exec_elf.h and added typedefs.
* adapt CMakeLists.txt to use libelf's CMakeLists.txt
* adapt reios_loadElf() to new libelf API
2023-03-03 16:05:12 +01:00
Flyinghead
885a0508c0
Merge remote-tracking branch 'origin/master' into dev
...
# Conflicts:
# core/hw/aica/sgc_if.cpp
# core/hw/naomi/naomi.cpp
# core/hw/sh4/dyna/driver.cpp
2023-02-28 20:02:23 +01:00
Flyinghead
f885cbb4ea
reios: don't crash if system settngs can't be read from flash
...
Log a warning and proceed. This can happen if the flashrom is corrupted.
Fixes MINIDUMP-9W
2023-02-22 17:51:25 +01:00
Flyinghead
a156edbd73
Merge remote-tracking branch 'origin/master' into dev
2023-02-19 14:10:37 +01:00
scribam
d8137a967c
C++17 ( #926 )
...
* cmake: use c++17
* Use std::size
* Use std::make_unique
* Use std::clamp
* Use structured binding
* Use [[fallthrough]]
* Use enable_if_t/is_enum_v/is_integral_v/is_same_v
* Use if constexpr
* Use try_emplace
* Use auto for iterators
* Use inline variables
2023-02-18 13:24:34 +01:00
Flyinghead
98531e07ea
hle bios: fix SF rush, jeremy mc grath and the grinch
...
protection checksum and game bugs
2023-02-06 15:15:44 +01:00
Flyinghead
27ea6ca092
aica: rename mem and reg accessors
2023-01-30 13:21:43 +01:00
Flyinghead
b1479e6e34
aica: use namespaces, simplify api, handle serialization
...
Rename VArray2 to RamRegion. Add alloc(), free(), setRegion() and
de/serialize()
2023-01-30 10:40:07 +01:00
Flyinghead
143073b61d
rename _vmem to addrspace and move platform vmem stuff to virtmem ns
...
use namespaces
simplify names
no functional changes
2023-01-29 18:48:33 +01:00
scribam
80cf4406a7
cleanup include headers
2023-01-26 10:06:51 +01:00
Flyinghead
f8372c51a7
Revert "wip headers"
...
This reverts commit e3e2c3a0d2
.
2023-01-24 14:26:14 +01:00
scribam
e3e2c3a0d2
wip headers
2023-01-23 18:29:04 +01:00
Flyinghead
f63cf7406a
logging changes
2023-01-18 14:03:02 +01:00
Flyinghead
e21d666328
reios: allow loading CDIs with ip_meta.wince = 1
...
For some reason Neo XYX has this flag set. I haven't found any wince CDI
that has this flag set but it shouldn't hurt.
Fix for MINIDUMP-47
2023-01-18 10:12:24 +01:00
Flyinghead
0f214b1441
reios: fix crash if disc is null at boot
...
Don't overflow Disc::sessions
Fix for MINIDUMP-41
2023-01-17 11:39:00 +01:00
Flyinghead
bf3f927a99
reios: don't crash on unknown trap vector. log error and ignore
2023-01-07 11:46:59 +01:00
Flyinghead
f133e3cccb
verify() must not call a function with side-effect
2022-12-16 20:40:23 +01:00
Flyinghead
c15f446ffc
hle bios: fix pal detection for some pal wince games
...
Caesar's Palace 2K, The Next Tetris, KISS
2022-10-31 11:31:21 +01:00
Flyinghead
9070c246d4
move iso9660.h
2022-07-28 10:43:44 +02:00
Flyinghead
ad8b41adb0
boxart: extract 0GDTEX.PVR. Offline scraping
...
extract iso9660 file system utility out of reios
.pvr limited parser
2022-07-21 10:43:45 +02:00
Flyinghead
9d17fc15a3
gdrom, hle: don't restart cdda if paused or playing
...
Fix regression due to ab791d1b9c
(unpausing restarts the current track)
Issue #690
2022-07-14 16:49:56 +02:00
Flyinghead
e84cdce398
reios: flashrom read returns 0 on success. system id/timezone flash fix
...
flashrom read returns 0 on success, not size read.
Fixes Slave Zero (PAL) crash
2022-05-21 15:46:22 +02:00
Flyinghead
0fb177bf85
reios: fix regression on many games due to 77a2bbbb
...
Jeremy McGrath
Skies of Arcadia
Speed Devils Online
Sydney 2000
Tech Romancer
Time Stalkers
Virtua Athlete 2000
Quake 3 (EU)
Climax Landers (JP)
Frame Gride
Pop'n'Music 1 & 2
Simple2000 2 & 3
2022-05-18 14:56:14 +02:00
Flyinghead
77a2bbbb8d
reios: cancel gd dma int in g1_end_dma. drv_stat returns busy when busy
...
Cancel G1 DMA interrupt in G1_DMA_END (fixes MSR, Psychic Force, Pro
Pinball, Sega Swirl)
GET_DRV_STAT must return busy when drive is busy (fixes Hell Gate, Zero
Gunner)
Better named constants
2022-04-29 15:18:41 +02:00
Flyinghead
039c666247
more types.h clean up. better aica handler templates
2022-04-15 17:03:49 +02:00
Flyinghead
e5d517dad2
use platform.isConsole(), platform.isNaomi(), ...
2022-01-27 17:52:19 +01:00
flyinghead
46044c068b
cheats: don't rely on cheat count on load. Fix compile warnings
2021-12-11 18:33:28 +01:00