mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-01 21:17:44 -05:00
fix: GDB provider not working nicely anymore
This commit is contained in:
@@ -39,7 +39,7 @@ namespace hex::plugin::builtin {
|
||||
auto provider = ImHexApi::Provider::get();
|
||||
|
||||
u8 byte = 0x00;
|
||||
provider->readRaw(offset, &byte, sizeof(u8));
|
||||
provider->read(offset, &byte, sizeof(u8), false);
|
||||
|
||||
const auto &patches = provider->getPatches();
|
||||
if (patches.contains(offset) && patches.at(offset) != byte)
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ViewProviderSettings::ViewProviderSettings() : hex::View("hex.builtin.view.provider_settings.name") {
|
||||
EventManager::subscribe<EventProviderCreated>(this, [](hex::prv::Provider *provider) {
|
||||
if (provider->hasLoadInterface())
|
||||
if (provider->hasLoadInterface() && !provider->shouldSkipLoadInterface())
|
||||
EventManager::post<RequestOpenPopup>(View::toWindowName("hex.builtin.view.provider_settings.load_popup"));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user