Commit graph

49 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
8c543186da Apply CZipArchiveWriter refactoring. 2023-07-23 17:22:18 -04:00
Jean-Philip Desjardins
5412af6cb3 Allow replacing HLE modules by name. 2023-01-18 15:53:29 -05:00
Jean-Philip Desjardins
3497c95a0f Properly handle module starting from IOP.
Wait for module to finish starting before handing control over to calling thread.
2022-02-24 11:41:32 -05:00
Jean-Philip Desjardins
025315a9a6 Allow loading modules at specific addresses.
As per LoadModuleBufferAddress requirement.
2022-02-24 11:41:32 -05:00
Jean-Philip Desjardins
9f54a508ab Implement ReleaseLibraryEntries. 2021-03-02 07:24:06 -05:00
Jean-Philip Desjardins
c1f2cad12b Add warning when module can't be registered. 2021-01-11 15:59:13 -05:00
Jean-Philip Desjardins
c666117b1e Add SaveState and LoadState in Module interface. 2020-09-22 17:20:14 -04:00
Jean-Philip Desjardins
bd485299c9 Make cdvd_ee_driver stoppable and unloadable, even if it doesn't exist. 2019-12-20 21:27:21 -05:00
Jean-Philip Desjardins
2076edf3c0 Fix Linux build. 2019-08-17 13:51:31 -04:00
Jean-Philip Desjardins
b9cf34c129 Add a stub for GetLibraryEntryTable.
Fixes some undefined behavior while loading DEV9 module in PGEN.
2019-07-29 07:41:25 -04:00
Jean-Philip Desjardins
5941b9a93c Set result of LoadModule operation. 2019-07-24 12:49:10 -04:00
Jean-Philip Desjardins
872dd72e3d Add another version case. 2019-05-11 22:04:27 -04:00
Jean-Philip Desjardins
e5ae547e66 Move saved state helper classes to a subfolder. 2019-02-06 19:04:51 -05:00
Jean-Philip Desjardins
1e1eed8a67 Style fixes. 2018-05-25 12:26:07 -04:00
Jean-Philip Desjardins
0f2fcc31bb Use Warn function. 2018-05-25 12:24:51 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Jean-Philip Desjardins
018889ceb5 Remove some annoying and useless asserts. 2018-04-07 11:40:33 -04:00
Mahmood(Thunder07)
97c229ec98 Cleanup
Silence:"warning: '0' flag ignored with precision and ‘%X’ gnu_printf format"
2017-05-29 06:01:32 +01:00
Jean-Philip Desjardins
6d9a9b469e Change return value of initialize call.
Depending on version loaded by game.
2017-04-15 00:36:48 -04:00
Jean-Philip Desjardins
e9cb5f0160 Cleanup. 2017-04-15 00:36:48 -04:00
Jean-Philip Desjardins
8d49923ec5 Allow some HLE modules to be loaded by a program. 2016-01-23 22:12:30 -05:00
Jean-Philip Desjardins
56f5f921fd Removed storing dynamic IOP modules in a separate list.
Had an higher risk of memory handling problems only for
the sake of slightly easier load/save state operations.
2016-01-23 22:12:29 -05:00
Jean-Philip Desjardins
7a38d9c172 IOP modules are now stored using shared_ptrs. 2016-01-23 22:12:28 -05:00
Jean-Philip Desjardins
f74f7b2f95 Added hack to make sure 'doom.elf' still works. Built-in modules cannot be loaded explicitly. 2015-06-28 00:35:41 -04:00
Jean-Philip Desjardins
40e5329fda Added support for StopModule and LoadModule. 2015-06-27 19:21:13 -04:00
Jean-Philip Desjardins
aad90daa9a LoadModule functions now return proper values. 2015-06-27 04:09:50 -04:00
Jean-Philip Desjardins
53b7bc35a5 Added support for LoadModuleBuffer and StartModule and made necessary changes in IOP BIOS to support that. 2015-05-01 21:47:26 -04:00
Jean-Philip Desjardins
801acebb8c Cleanup. 2014-12-21 21:08:46 -05:00
Ian Brown
45a025872f more IOP functions 2014-12-21 20:01:37 -05:00
Jean-Philip Desjardins
3b7dc5ee1d When LOADCORE LoadAndStartModule fails, reply immediately to the EE to prevent it from being locked down. 2014-08-23 21:42:02 -04:00
Jean-Philip Desjardins
0f47086258 Added stub for QueryBootMode in LOADCORE. 2014-07-15 01:32:52 -04:00
Jean-Philip Desjardins
c20b5f199b Improved logging of RegisterLibraryEntries in LOADCORE. 2014-07-15 01:31:42 -04:00
Jean-Philip Desjardins
9c9b58be0c Also make loading a module from memory synchronous. 2014-07-11 00:05:29 -04:00
Jean-Philip Desjardins
290355bda4 Loading an IOP module through LOADCORE will block the EE till its initialization is complete. This is needed to prevent race conditions. 2014-07-10 23:43:29 -04:00
Jean-Philip Desjardins
c4191c6c56 Added basic support for "SearchModuleByName" in LOADCORE. 2014-07-05 01:12:41 -04:00
jpd002
91030fbbdd Added support for LOADCORE's "LoadElf" function which allows loading an executable into EE memory.
Fixed a bug with module parameter passing in the LoadModule function.

git-svn-id: http://svn.purei.org/purei/trunk@1023 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-10-24 06:39:29 +00:00
jpd002
ea60d6f8b6 Added additional log when loading module from memory in LOADCORE.
git-svn-id: http://svn.purei.org/purei/trunk@1003 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-09-19 01:36:08 +00:00
jpd002
f43f131c81 Added support for passing arguments in Iop Loadcore.
git-svn-id: http://svn.purei.org/purei/trunk@962 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-06-30 02:02:41 +00:00
jpd002
b8e2e2cf55 Cleanup.
git-svn-id: http://svn.purei.org/purei/trunk@955 b36208d7-6611-0410-8bec-b1987f11c4a2
2012-06-25 18:28:43 +00:00
jpd002
ec00a5fc5f Some minor code changes.
git-svn-id: http://svn.purei.org/purei/trunk@500 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-04-16 00:56:30 +00:00
jpd002
e6915d20a4 git-svn-id: http://svn.purei.org/purei/trunk@473 b36208d7-6611-0410-8bec-b1987f11c4a2 2009-02-06 05:10:51 +00:00
jpd002
f4bd746de4 Some minor bugfixes and stuff.
git-svn-id: http://svn.purei.org/purei/trunk@460 b36208d7-6611-0410-8bec-b1987f11c4a2
2009-01-11 02:35:27 +00:00
jpd002
e64e16b5be Mucho IOP stuff.
git-svn-id: http://svn.purei.org/purei/trunk@441 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-12-08 03:43:30 +00:00
jpd002
e321b4d21c Some Iop addition and fixes.
git-svn-id: http://svn.purei.org/purei/trunk@429 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-12-01 04:00:36 +00:00
jpd002
d8b20c1b07 git-svn-id: http://svn.purei.org/purei/trunk@427 b36208d7-6611-0410-8bec-b1987f11c4a2 2008-11-28 23:46:52 +00:00
jpd002
6201ce907d Moar stuff for Guilty Gear XX.
git-svn-id: http://svn.purei.org/purei/trunk@381 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-10-20 04:14:13 +00:00
jpd002
6e9d1bf4eb More conversion done for Ys1&2. (Displays something now)
git-svn-id: http://svn.purei.org/purei/trunk@228 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-21 04:09:08 +00:00
jpd002
669ac71159 Even more conversion done for quake.elf (SIF/IOP overhaul)
git-svn-id: http://svn.purei.org/purei/trunk@224 b36208d7-6611-0410-8bec-b1987f11c4a2
2008-01-15 20:27:44 +00:00