comment out experimental code
This commit is contained in:
@@ -345,8 +345,8 @@ void OverworldEditor::DrawTile8Selector() const {
|
|||||||
|
|
||||||
void OverworldEditor::DrawPseudoVRAM() {
|
void OverworldEditor::DrawPseudoVRAM() {
|
||||||
if (!vram_loaded_ && rom_.isLoaded()) {
|
if (!vram_loaded_ && rom_.isLoaded()) {
|
||||||
rom_.GetVRAM().ChangeGraphicsTileset(
|
// rom_.GetVRAM().ChangeGraphicsTileset(
|
||||||
gfx::CreateGraphicsSet(0, rom_.GetGraphicsBin()));
|
// gfx::CreateGraphicsSet(0, rom_.GetGraphicsBin()));
|
||||||
// for (int tileset_index = 0; tileset_index < 16; tileset_index++) {
|
// for (int tileset_index = 0; tileset_index < 16; tileset_index++) {
|
||||||
// rom_.GetVRAM().GetTileset(tileset_index);
|
// rom_.GetVRAM().GetTileset(tileset_index);
|
||||||
// }
|
// }
|
||||||
@@ -354,9 +354,9 @@ void OverworldEditor::DrawPseudoVRAM() {
|
|||||||
pseudo_vram_canvas_.DrawBackground();
|
pseudo_vram_canvas_.DrawBackground();
|
||||||
pseudo_vram_canvas_.UpdateContext();
|
pseudo_vram_canvas_.UpdateContext();
|
||||||
pseudo_vram_canvas_.DrawGrid();
|
pseudo_vram_canvas_.DrawGrid();
|
||||||
draw_list->AddImage((void *)rom_.GetVRAM().GetTileset(0).GetTexture(),
|
// draw_list->AddImage((void *)rom_.GetVRAM().GetTileset(0).GetTexture(),
|
||||||
ImVec2(canvas_p0.x + 2, canvas_p0.y + 2),
|
// ImVec2(canvas_p0.x + 2, canvas_p0.y + 2),
|
||||||
ImVec2(canvas_p0.x + 256, canvas_p0.y + 64));
|
// ImVec2(canvas_p0.x + 256, canvas_p0.y + 64));
|
||||||
pseudo_vram_canvas_.DrawOverlay();
|
pseudo_vram_canvas_.DrawOverlay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user