mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-23 11:24:34 -05:00
Display the correct version in the config menu
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
#pragma once
|
||||
#include "plugin/PluginContainer.h"
|
||||
#include "utils/ConfigUtils.h"
|
||||
#include "version.h"
|
||||
#include <forward_list>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
#include <wums/defines/relocation_defines.h>
|
||||
|
||||
#define VERSION "v0.1"
|
||||
#define VERSION_FULL VERSION VERSION_EXTRA
|
||||
|
||||
extern StoredBuffer gStoredTVBuffer;
|
||||
extern StoredBuffer gStoredDRCBuffer;
|
||||
|
||||
|
||||
@@ -262,7 +262,7 @@ void ConfigUtils::displayMenu() {
|
||||
DrawUtils::setFontSize(24);
|
||||
DrawUtils::print(16, 6 + 24, "Wii U Plugin System Config Menu");
|
||||
DrawUtils::setFontSize(18);
|
||||
DrawUtils::print(SCREEN_WIDTH - 16, 8 + 24, "v1.0", true);
|
||||
DrawUtils::print(SCREEN_WIDTH - 16, 8 + 24, VERSION_FULL, true);
|
||||
DrawUtils::drawRectFilled(8, 8 + 24 + 4, SCREEN_WIDTH - 8 * 2, 3, COLOR_BLACK);
|
||||
|
||||
// draw bottom bar
|
||||
|
||||
2
source/version.h
Normal file
2
source/version.h
Normal file
@@ -0,0 +1,2 @@
|
||||
#pragma once
|
||||
#define VERSION_EXTRA ""
|
||||
Reference in New Issue
Block a user