Commit graph

96 commits

Author SHA1 Message Date
Jean-Philip Desjardins
30568a057d Use app_config module.
Some checks failed
Build macOS / build_macos (push) Has been cancelled
Build Android / build_android (apk) (push) Has been cancelled
Build Android / build_android (libretro) (push) Has been cancelled
Build Linux ARM32 / build_linux_arm32 (push) Has been cancelled
Build Linux ARM64 / build_linux_arm64 (push) Has been cancelled
Build Windows Psf / build_windows_psf (off, x86_64, Visual Studio 16 2019, installer64.nsi, x64) (push) Has been cancelled
Build Windows Psf / build_windows_psf (on, x86_64, Visual Studio 16 2019, installer64.nsi, x64) (push) Has been cancelled
Build Windows / build_windows (x86_32, Visual Studio 16 2019, installer32.nsi, win32_msvc2019, Win32) (push) Has been cancelled
Build Windows / build_windows (x86_64, Visual Studio 16 2019, installer64.nsi, win64_msvc2019_64, x64) (push) Has been cancelled
Check Format / run_clangformat (push) Has been cancelled
Build iOS / build_ios (push) Has been cancelled
Build JavaScript / build_js (push) Has been cancelled
Build Linux / build_linux (push) Has been cancelled
2025-03-11 16:18:58 -04:00
Jean-Philip Desjardins
6ce05c4d6b Report a successful registration of cdrom_stm IOMAN driver.
Allows proper initialization of CDVD ST module.
2024-10-29 15:02:22 -04:00
Jean-Philip Desjardins
d41c1b032e Implement Rename in IOMAN. 2024-08-12 18:10:33 -04:00
Jean-Philip Desjardins
55e98a8ea6 Add implementation for ChStat in IOMAN. 2024-08-09 17:05:21 -04:00
Jean-Philip Desjardins
207d840329 Save and load IOMAN file positions in saved states. 2023-11-28 10:57:52 -05:00
Jean-Philip Desjardins
6d9a4a42ae Updates following Xml code changes. 2023-11-14 17:42:31 -05:00
Jean-Philip Desjardins
b4f635bdd2 Change the way AppConfig base path is initialized. 2023-08-30 17:35:10 -04:00
Jean-Philip Desjardins
8c543186da Apply CZipArchiveWriter refactoring. 2023-07-23 17:22:18 -04:00
Jean-Philip Desjardins
aee69ac97c Fix a bunch of warnings. 2023-05-03 21:05:08 -04:00
Jean-Philip Desjardins
1bdc635f17 Add basic CdStatus DevCtl implementation. 2023-03-15 10:37:13 -04:00
Jean-Philip Desjardins
3ec389bb15 Catch exceptions when calling a device's TryGetStat. 2023-03-05 10:05:18 -05:00
Jean-Philip Desjardins
1eb1839986 Fix style. 2023-01-18 15:53:33 -05:00
Jean-Philip Desjardins
ac64f8350d Keep track of mounted devices in saved states. 2023-01-18 15:53:33 -05:00
Jean-Philip Desjardins
200fe6a469 Fix style. 2023-01-18 15:53:32 -05:00
Jean-Philip Desjardins
ac147fb173 Allow using GetStat on partitions. 2023-01-18 15:53:32 -05:00
Jean-Philip Desjardins
2fff103dbb HDD dump work. 2023-01-18 15:53:32 -05:00
Björn Gerdau
6a0eece588
Add ioman directory calls to invoke function
Used by OPL
2022-03-10 14:23:24 +01:00
Jean-Philip Desjardins
334b401ebf Add support for GetDirectory in OpticalMediaDevice.
Needs an abstraction layer over current GetDirectory implementation.
2022-02-27 14:54:23 -05:00
Jean-Philip Desjardins
697e16db15 Add HDD MaxSector DEVCTL. 2022-02-01 08:49:32 -05:00
Jean-Philip Desjardins
e37bb91258 Add placeholder for ReadClock DevCtl. 2021-03-09 13:07:04 -05:00
Jean-Philip Desjardins
2e1de70243 Allow dev9x device to be registered in IOMAN.
Allows the dev9 module to initialize properly.
2021-03-09 13:07:04 -05:00
Jean-Philip Desjardins
232c79e35f Code style fixes. 2021-03-09 13:07:03 -05:00
Jean-Philip Desjardins
32f044c471 Add DevCtl in IOMAN. 2021-03-09 13:07:02 -05:00
Jean-Philip Desjardins
420f7b50cc Move DevCtl logic in IOMAN. 2021-03-09 13:07:02 -05:00
Jean-Philip Desjardins
1c8d79372b Code style fixes. 2021-03-02 07:24:07 -05:00
Jean-Philip Desjardins
fedaee8807 Add write function in IOMAN. 2021-03-02 07:24:05 -05:00
Jean-Philip Desjardins
ec5ecf27ea Add some prints to help debugging. 2021-01-11 15:59:13 -05:00
Jean-Philip Desjardins
14b6421cf6 Formatting fixes. 2021-01-11 15:59:13 -05:00
Jean-Philip Desjardins
ed5ee84096 Try getting directory first on Getstat.
Opening a directory as a file is possible on the host system.
2021-01-11 15:59:11 -05:00
Jean-Philip Desjardins
4985420fb2 Rename CreateDirectory to MakeDirectory.
Avoid clash with Win32 function name.
2021-01-11 15:59:10 -05:00
Jean-Philip Desjardins
0e202d1c85 Implement Seek64. 2021-01-11 15:59:10 -05:00
Jean-Philip Desjardins
d813125129 Seek uses a signed offset. 2021-01-11 15:59:10 -05:00
Jean-Philip Desjardins
6f62954220 Add basic mount/umount support for HDDs. 2021-01-11 15:59:09 -05:00
Jean-Philip Desjardins
8f2e8d3140 Devices don't support directory creation by default. 2021-01-11 15:59:09 -05:00
Jean-Philip Desjardins
8dc4c55457 Remove game specific hack.
CDVD device doesn't seem to care about file access.
2020-11-11 20:03:47 -05:00
Björn Gerdau
6a64117f48
Implement FileNotFoundException in CIoman
Enables Mafia to boot - it checks for a specific error code
2020-11-06 22:28:18 +01:00
Jean-Philip Desjardins
c666117b1e Add SaveState and LoadState in Module interface. 2020-09-22 17:20:14 -04:00
Jean-Philip Desjardins
4ecb979844 Prevent crashing when we can't get a file stream. 2020-07-06 19:07:05 -04:00
Jean-Philip Desjardins
038d564caf
Merge pull request #888 from Zer0xFF/devices
add rom0, host0 devices
2020-07-06 19:04:45 -04:00
Björn Gerdau
1759482214
Implement CIoman::Mkdir
Partially fixes ps2sdk mc_example.
2020-05-15 19:09:53 +02:00
Mahmood - Zer0xFF
f3d2a7060e print the path when it fails to open 2020-04-26 02:30:27 +01:00
Jean-Philip Desjardins
7131a28fd4 Remove usage of boost::filesystem. 2019-10-23 20:48:46 -04:00
Jean-Philip Desjardins
0efc933dbc Prevent crashing when erasing something that's not there. 2019-10-15 13:18:46 -04:00
Jean-Philip Desjardins
096f385209 Make IsUserDeviceFileHandle implementation slightly different.
Was causing issues if STDOUT was not opened.
2019-09-21 22:36:56 -04:00
Jean-Philip Desjardins
598cf5b699 Code style fixes. 2019-09-21 22:36:56 -04:00
Jean-Philip Desjardins
d3ec8c693b Update saved state with user device info. 2019-09-21 22:36:56 -04:00
Jean-Philip Desjardins
3acea245e0 Move CFile helper to another file. 2019-09-21 22:36:55 -04:00
Jean-Philip Desjardins
d6e2878659 Add support for custom device drivers in IOMAN. 2019-09-21 22:36:55 -04:00
Jean-Philip Desjardins
ed6d05d434 Give IopBios to IOMAN. 2019-09-21 22:36:55 -04:00
Jean-Philip Desjardins
d58e17055f Sort includes. 2019-09-21 22:36:55 -04:00