Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions components/tab5-emu/src/tab5-emu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ Tab5Emu::Tab5Emu()
/////////////////////////////////////////////////////////////////////////////

bool Tab5Emu::initialize_tab5() {
// the video tile first: it needs one 64 KB block of internal RAM, which the
// BSP's own allocations (its rotation tile, audio DMA) can otherwise split
ensure_tile_buffer();
auto &bsp = Bsp::get();
if (!bsp.initialize_io_expanders()) {
logger_.error("Failed to initialize IO expanders");
Expand Down Expand Up @@ -526,9 +529,10 @@ bool Tab5Emu::initialize_video() {
logger_.error("Could not register a PPA client: {}", esp_err_to_name(err));
return false;
}
// the conversion tile (internal RAM) is allocated now, before the GUI
// fragments the internal heap, and kept for the life of the app: every
// cart needs it and the cores' own hot data lives in PSRAM
// the conversion tile (internal RAM), normally already allocated at the top
// of initialize_tab5(), before the BSP and the GUI fragment the internal
// heap, and kept for the life of the app: every cart needs it and the
// cores' own hot data lives in PSRAM
if (!ensure_tile_buffer()) {
return false;
}
Expand Down
Loading