mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Level editor and resource loader fixups and refactors
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "MenuManager.h"
|
||||
#include "QDManager.h"
|
||||
#include "ResourceManager.h"
|
||||
|
||||
// Menu resource structure:
|
||||
// uint16 menu ID
|
||||
@@ -21,7 +22,7 @@
|
||||
|
||||
MenuHandle GetMenu(int resID)
|
||||
{
|
||||
Handle menuRes = GetResource('MENU', resID);
|
||||
Handle menuRes = PortabilityLayer::ResourceManager::GetInstance()->GetAppResource('MENU', resID);
|
||||
|
||||
if (!menuRes)
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user