Update Bitmap fns
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include "app/gui/canvas.h"
|
||||
#include "app/rom.h"
|
||||
|
||||
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
namespace zelda3 {
|
||||
@@ -62,7 +61,8 @@ void Inventory::Create() {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
bitmap_.Create(256, 256, 128, data_);
|
||||
|
||||
PRINT_IF_ERROR(bitmap_.InitializeFromData(256, 256, 8, data_))
|
||||
bitmap_.ApplyPalette(palette_);
|
||||
rom()->RenderBitmap(&bitmap_);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user