SternXD
d983b2b066
Copyright: Change year from 2002-2025 to 2002-2026
2026-01-15 00:22:32 +01:00
Ty
53598b970d
IopBios: Use typedefs and explicit casting
2025-11-24 18:07:25 -05:00
TellowKrinkle
d8f3717119
iop: Fix wrong limit given to snprintf
...
We appended to the string in places other than the snprintfs too, and they didn't update remaining_buf
2025-08-05 03:30:28 -05:00
Ziemas
643c83c2a0
debugger: Find and build IOP module list
2025-06-29 16:52:17 -04:00
lightningterror
e37f8a6521
IopBios: Fix -Wcompare warnings.
2025-06-23 10:18:00 +02:00
GovanifY
8eb46b5a4c
IopBios: remove clang deprecated carveout
...
we use snprintf now, so this isn't useful anymore.
2025-06-10 20:59:25 +02:00
GovanifY
8be16d1039
IopBios: do not overflow snprintf tmp buffer
...
We could otherwise overflow as snprintf does not return the number of
written bytes but the number of written bytes assuming an infinite
buffer.
2025-06-10 20:59:25 +02:00
GovanifY
1aa922f700
IopBios: allow %u string formatting in IOP kprintf
2025-06-10 14:47:27 +02:00
GovanifY
4c9d2f99b1
IopBios: truncate printf output if bigger than our buffer
...
I also increased the buffer size while we are at it to avoid breakage,
despite the obvious unintended allowed situations that we allowed up
until now
Reported-By: Michael Lappas
2025-06-10 14:47:27 +02:00
TheTechnician27
23fd57f641
Copyright: Change year from 2002-2024 to 2002-2025
2025-01-20 05:07:26 +01:00
Ty Lamontagne
5a8921dd22
IOPBios: Defer to iopMemSafeReadBytes when HLEing writes
2024-12-18 16:15:07 -05:00
Ty Lamontagne
f964dfaa5e
IOPBios: Defer to iopMemSafeWriteBytes when HLEing reads
2024-12-18 16:15:07 -05:00
TheLastRar
4a04100207
[SAVEVERSION+] HostFS: Always write savestate tag
2024-11-28 15:47:52 -05:00
Ty Lamontagne
ab21d22514
Misc: wire up and refactor trace logging
2024-10-19 20:04:02 -04:00
chaoticgd
2c3abe33d5
Debugger: Add settings to control the analysis passes
2024-10-18 13:57:05 -04:00
Ty Lamontagne
1c1f67c091
IOP HLE: Only track handles to valid files.
...
Bonus check for file validity when saving states.
2024-10-08 18:01:11 -04:00
pips3
bba85dc08f
HostFS: Retain File Handles in Save States
...
[SAVEVERSION+]
Save file handle information in save states, and reopen handles when states are loaded.
2024-10-07 09:56:31 -04:00
Ty Lamontagne
84d16802a3
iop/hostfs: don't replace back slashes with forward slashes on Windows
2024-09-29 10:20:31 -04:00
chaoticgd
48de49b85d
DebugTools: Fix iterator invalidation bug in IopBios.cpp
2024-08-27 18:13:25 -04:00
chaoticgd
44b50bee26
Debugger: Replace SymbolMap class with new SymbolGuardian class
...
This new class uses the CCC library I added in the last commit and
parses the symbol tables on a worker thread.
2024-08-27 12:48:40 -04:00
GovanifY
132431b7c8
headers: relicense to GPL-3.0+
...
also update to 2024 while i'm at it
2024-07-30 17:17:13 -04:00
Stenzek
71036c95a4
Core: ARM64 compatibility
2024-06-14 17:06:45 +10:00
lightningterror
f0c331e32b
IopBios: Fix function parameter should be passed by const reference warnings.
...
Codacy.
2024-05-10 20:00:43 +02:00
Benjamin Moir
4081d07dd8
CDVD: Improve handling of host: paths in cdvdLoadElf
2024-05-09 15:48:03 +10:00
Ty Lamontagne
2e0988ff03
IOP HLE: Fix broken dopen implementation
2024-01-01 04:07:21 +10:00
Stenzek
d9abe10308
Misc: Remove explicit PCH include, switch to SPDX
2023-12-24 14:03:14 +10:00
Stenzek
76f36b780c
StringUtil: Replace StartsWith/EndsWith with C++20 equivalents
2023-12-24 14:03:14 +10:00
Daniel Gerendasy
4af89576aa
IOP HLE: Rename update host root functions
2023-11-14 18:38:19 +10:00
Daniel Gerendasy
b5f8ef0106
Added support for HostFs when booting an iso
2023-11-14 18:38:19 +10:00
Ty Lamontagne
2f95dc20c6
IOP HLE: Generate module list on release builds
2023-11-04 17:31:38 +00:00
Ty Lamontagne
46a0c2d5b6
Debugger: IOP Function Tree
...
Co-authored-by: Ziemas <ziemas@ziemas.se >
2023-10-31 15:42:56 +00:00
Stenzek
a18c940503
IopBios: Mute deprecated warnings
...
This would be annoying/slow to rewrite.
2023-10-02 17:37:38 +10:00
Stenzek
36c27188a4
VMManager: Refactor and improve boot process
...
[SAVEVERSION+] VM struct changes.
- Serial/title is now linked to disc, instead of running ELF.
- Save states can be created during BIOS boot.
- Patches now apply based on the executing CRC, and only after the
entry point starts executing (fixes multi-game discs).
- Add "Fast Forward Boot" option.
- Split achievements download and activation, downloads occur on
initialization, but are not activated until after the ELF loads.
- Prevent HostFS access while in PS1 mode.
- Remove multiple sources of truth for ELF/CRC/etc.
- Move ELF state from global scope to VMManager.
- Prevent game fixes and hw fixes being active while booting game.
- Simplify game update.
- Flush recompilers after ELF loads. No point keeping boot code around
which gets overwritten.
2023-06-17 17:38:43 +10:00
Stenzek
512d24cea6
Misc: More build system cleanups
...
Set UTF-8 source file format globally.
Set permissive/compliance mode globally.
Get rid of include of base 3rdparty directory, be explicit.
Get rid of duplicated properties.
Get rid of leftover plugin property files.
2023-05-16 12:58:19 +01:00
Stenzek
51420dade4
VMManager: Clear host root on booting ISO
2023-02-15 10:04:39 +00:00
Ziemas
9420615317
Implement thread listing for IOP
...
Abstracts away threads behind a common interface for both EE and IOP
2023-02-09 15:49:56 +00:00
Ty Lamontagne
14e0aeb4f3
IOPBios: Implement the different iomanx stat file modes
2022-09-20 18:09:58 +01:00
Ty Lamontagne
435b5a2b27
IOPBios: Differentiate ioman and iomanx dread & getStat HLE
...
Structure differences with fio_stat_t and fxio_stat_t make them incompatible
2022-09-18 01:52:22 +01:00
Ty Lamontagne
4ad563f8fc
IOPBios: Properly increment host dir iterator
...
Fixes uLaunchELF and any other homebrew that iterates over directories.
2022-09-18 01:52:22 +01:00
Ty Lamontagne
7d4ca441d5
clang-format: pcsx2/IopBios.cpp
2022-09-07 20:54:12 +01:00
Ty Lamontagne
cee8598b3f
IOPBios: Hook iomanx library as well as ioman
...
Fixes fileXio incompatibility
2022-09-07 20:54:12 +01:00
Connor McLaughlin
cb2a21ef19
IopBios: Fix opening host: or host:. as a directory
2022-08-31 21:29:01 +01:00
Connor McLaughlin
bbc0bcae1e
IopBios: Replace ghc::filesystem with our wrappers
2022-07-02 06:21:30 +01:00
Ty Lamontagne
2a980d9fc0
IOPBios: Make our hostfs HLE safer
...
For example, if you mkdir a path that is taken by an existing _file_, GHC would throw an exception and crash the emulator.
2022-06-30 01:19:12 +01:00
Connor McLaughlin
ea051c6d5f
Everything: Get rid of wx entirely from the Qt build
2022-05-22 13:58:56 +01:00
Connor McLaughlin
d535331b4b
Misc: Remove __fastcall, __fc, __concall and friends
...
These have no meaning in x64 (apart from throwing compiler warnings),
and we don't do 32-bit anymore. Also saves needing to include
`Pcsx2Defs.h` in files which don't otherwise need it.
2022-05-12 14:58:03 +01:00
kenshen112
fdabc82342
Remove IopCommon.h added proper includes to files. Removing circle includes in several files that sometimes was several layers deep
2022-04-11 21:25:20 +01:00
Connor McLaughlin
501af632f7
IopBios: Use FileSystem for host access
2021-12-12 03:27:43 +00:00
Ty Lamontagne
509e24f966
IOPBios: Fix OOB read when IRQ line is invalid.
...
Fixes a PS2AutoTest where RegisterIntrHandler(-1,... ) crashes PCSX2.
2021-08-21 20:08:36 +01:00
Francisco Javier Trujillo Mata
407a64c118
HostFS: make const several no mutable variables
2021-07-31 23:23:40 +01:00