Commit graph

358 commits

Author SHA1 Message Date
Rosalie Wanders
2af19a57ca RMG-Core: don't use settings in CoreGetSharedDataDirectory()
CoreGetSharedDataDirectory() is called in CoreInit() before mupen64plus
has started, so the settings function will return an empty string, which
is not expected.
2022-01-19 15:43:38 +01:00
Rosalie Wanders
3e12c8c928 RMG-Core: introduce & use Config.hpp 2022-01-16 18:18:50 +01:00
Rosalie Wanders
cabfcc9f75 RMG-Core: introduce CoreGetDefault*Directory() 2022-01-14 18:18:19 +01:00
Rosalie Wanders
cd26941059 RMG-Core: remove support for non-portable builds on windows 2022-01-14 18:10:25 +01:00
Rosalie Wanders
94651bab91 RMG-Core: use CoreGetPluginDirectory() in Settings.cpp for plugins 2022-01-13 16:01:45 +01:00
Rosalie Wanders
9b589c50e1 RMG-Core: remove trailing slash in Directories.cpp 2022-01-13 16:01:05 +01:00
Rosalie Wanders
f7f41d330d RMG-Core: introduce CoreGetSave{,State}Directory() 2022-01-13 15:33:39 +01:00
Rosalie Wanders
ba015b6698 RMG-Core: use CoreGet*Directory() for m64p::Core.Startup() 2022-01-13 14:49:38 +01:00
Rosalie Wanders
7e79aa0fff RMG-Core: introduce & use CoreGet*Directory functions 2022-01-13 14:25:12 +01:00
Rosalie Wanders
93c7ef1de8 RMG-Core: link to winsock2 & correct included header 2022-01-09 13:55:19 +01:00
Rosalie Wanders
98ab96db6a RMG-Core: swap byteorder of CRC1 & CRC2 in CoreGetCurrentRomHeader() 2022-01-09 13:38:07 +01:00
Rosalie Wanders
a4111f2efa RMG-Core: minor fixes in Plugins.cpp 2022-01-06 14:52:00 +01:00
Rosalie Wanders
972e88b74f RMG-Core: restore plugin settings during failure in CoreStartEmulation() 2022-01-06 14:51:38 +01:00
Rosalie Wanders
f2d89bd1c9 RMG-Core: Shutdown() plugins before Unhook() 2022-01-06 14:29:39 +01:00
Rosalie Wanders
a96bc6e748 RMG-Core: improve error handling in Plugins.cpp 2022-01-06 14:18:39 +01:00
Rosalie Wanders
7147dfa858 RMG-Core: don't call CoreApplyPluginSettings() in CoreInit()
This allows for better plugin failure handling
2022-01-06 14:17:13 +01:00
Rosalie Wanders
b5cec10f97 RMG-Core: add GUI_{Pause,Resume}EmulationOnFocus settings 2022-01-05 17:50:19 +01:00
Rosalie Wanders
f1b8401ecb RMG-Core: include Rom.hpp in Core.hpp 2022-01-05 16:48:29 +01:00
Rosalie Wanders
e9ebc5ecd0 RMG-Core: close ROM on failure in CoreStartEmulation() 2022-01-05 16:40:36 +01:00
Rosalie Wanders
e7b0147eb4 RMG-Core: add audio plugin settings 2021-12-26 16:52:11 +01:00
Rosalie Wanders
4227469427 RMG-Core: turn on CMAKE_POSITION_INDEPENDENT_CODE 2021-12-26 16:51:53 +01:00
Rosalie Wanders
802fd2ca12 RMG-Core: add a version of CoreInit() for plugins 2021-12-26 16:51:33 +01:00
Rosalie Wanders
b5990826df RMG-Core: pause & resume emulation in CorePluginsOpenConfig() 2021-12-26 15:56:40 +01:00
Rosalie Wanders
e063e8745f RMG-Core: correct some comments in Plugins.cpp 2021-12-25 12:48:28 +01:00
Rosalie Wanders
e1464d2d30 RMG-Core: attempt to fix read_raw_file in Rom.cpp (again)
For some reason, some users are experiencing issues when using gcount()
here, so just use fileStreamLen instead, which fixes it for them weirdly
enough.
2021-12-24 15:20:32 +01:00
Rosalie Wanders
b66dbd7544 RMG-Core: introduce & use Settings_HasForceUsedSetOnce in Settings
This fixes some core settings reverting on each launch, like the
screenshot directory and save state/sram directory settings.
2021-12-24 13:20:20 +01:00
Rosalie Wanders
d42f770e06 RMG-Core: improve read_raw_file in Rom.cpp 2021-12-23 16:36:11 +01:00
Rosalie Wanders
43f04d83fe RMG-Core: use backslashes for default plugin settings on windows 2021-12-23 14:49:00 +01:00
Rosalie Wanders
a3f34da788 RMG-Core: implement SpeedLimiter functions 2021-12-23 14:16:33 +01:00
Rosalie Wanders
4f33c21130 RMG-Core: partially implement Callback functions 2021-12-23 13:17:28 +01:00
Rosalie Wanders
25250dd0e3 RMG-Core: set default plugin settings value 2021-11-21 23:04:58 +01:00
Rosalie Wanders
f25da945a4 RMG-Core: link to dl on unix platforms 2021-11-21 22:46:34 +01:00
Rosalie Wanders
346e023806 RMG-Core: startup m64p core lib in CoreInit() 2021-11-21 22:38:17 +01:00
Rosalie Wanders
e0b29ce1f3 RMG-Core: largely implement {Start,Stop}Emulation functions 2021-11-21 22:37:47 +01:00
Rosalie Wanders
9b2fc4940f RMG-Core: introduce CoreSetupVidExt function 2021-11-21 22:37:04 +01:00
Rosalie Wanders
336ec43964 RMG-Core: introduce CoreApplyRomPluginSettings 2021-11-21 22:35:46 +01:00
Rosalie Wanders
dabc415d0b RMG-Core: correct comment in Plugins.cpp 2021-11-14 13:47:35 +01:00
Rosalie Wanders
deaa158a0c RMG-Core: implement RomSettings & RomHeader functions 2021-11-09 16:44:49 +01:00
Rosalie Wanders
ab703bd829 RMG-Core: introduce some more Settings functions 2021-11-09 16:43:38 +01:00
Rosalie Wanders
26da21f19b RMG-Core: implement Screenshot function 2021-11-04 13:03:59 +01:00
Rosalie Wanders
f7a3543e57 RMG-Core: implement Key functions 2021-11-04 12:50:17 +01:00
Rosalie Wanders
1e0a50a0b3 RMG-Core: implement Video functions 2021-11-04 12:48:47 +01:00
Rosalie Wanders
92ea40c7f6 RMG-Core: implement Rom functions 2021-11-03 14:30:57 +01:00
Rosalie Wanders
bb0b358f9e RMG-Core: remove unneeded include in Plugins.cpp 2021-10-31 14:26:52 +01:00
Rosalie Wanders
8da210f362 RMG-Core: implement some Emulation functions 2021-10-31 14:26:29 +01:00
Rosalie Wanders
31b0c4fabb RMG-Core: add extern "C" to m64p_custom.h 2021-10-31 14:01:01 +01:00
Rosalie Wanders
e32f3af6ac RMG-Core: remove NULL usage in SaveState functions 2021-10-28 19:04:31 +02:00
Rosalie Wanders
7ad2c6003f RMG-Core: find core lib instead of hardcoding it 2021-10-28 13:21:08 +02:00
Rosalie Wanders
24cc7a1bc2 RMG-Core: minor changes to Plugin functions 2021-10-28 08:22:28 +02:00
Rosalie Wanders
6a6104bc3f RMG-Core: add CoreArePluginsReady 2021-10-28 08:22:10 +02:00