mirror of https://github.com/WerWolv/ImHex.git
Compare commits
2 Commits
13a61f5249
...
94723dbba3
Author | SHA1 | Date |
---|---|---|
WerWolv | 94723dbba3 | |
WerWolv | 6e0b92a4de |
|
@ -1 +1 @@
|
|||
Subproject commit 4a056a51a95536255d42fc98be4297251ca6b735
|
||||
Subproject commit 86d8d8fdc88a5f8f732075a1b444c994fac203e7
|
|
@ -89,6 +89,7 @@ namespace hex::init {
|
|||
}
|
||||
|
||||
bool WindowSplash::loop() {
|
||||
hex::log::debug("Using romfs: '{}'", romfs::name());
|
||||
auto splash = romfs::get("splash.png");
|
||||
ImGui::Texture splashTexture = ImGui::Texture(reinterpret_cast<const ImU8 *>(splash.data()), splash.size());
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#include <hex/plugin.hpp>
|
||||
|
||||
#include <hex/api/content_registry.hpp>
|
||||
#include <hex/helpers/logger.hpp>
|
||||
|
||||
#include <romfs/romfs.hpp>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
|
@ -37,6 +39,7 @@ IMHEX_PLUGIN_SETUP("Built-in", "WerWolv", "Default ImHex functionality") {
|
|||
|
||||
using namespace hex::plugin::builtin;
|
||||
|
||||
hex::log::debug("Using romfs: '{}'", romfs::name());
|
||||
for (auto &path : romfs::list("lang"))
|
||||
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include <hex/plugin.hpp>
|
||||
|
||||
#include <hex/api/content_registry.hpp>
|
||||
#include <hex/helpers/logger.hpp>
|
||||
|
||||
#include <romfs/romfs.hpp>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
@ -57,6 +58,7 @@ static void checkBorderlessWindowOverride() {
|
|||
IMHEX_PLUGIN_SETUP("Windows", "WerWolv", "Windows-only features") {
|
||||
using namespace hex::plugin::windows;
|
||||
|
||||
hex::log::debug("Using romfs: '{}'", romfs::name());
|
||||
for (auto &path : romfs::list("lang"))
|
||||
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue