Update github actions to print the memory map
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
||||
echo "GID=$(id -g)" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Build the project
|
||||
run: docker compose -f docker-compose.yml run --rm balatro sh -c "make -j$(nproc)"
|
||||
run: docker compose -f docker-compose.yml run --rm balatro sh -c "make -j$(nproc) && ./scripts/get_memory_map.sh"
|
||||
|
||||
- uses: softprops/action-gh-release@v2
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#include "sprite.h"
|
||||
#include "joker.h"
|
||||
#include "card.h"
|
||||
|
||||
POOL_ENTRY(Sprite, MAX_SPRITES);
|
||||
POOL_ENTRY(SpriteObject, MAX_SPRITE_OBJECTS);
|
||||
POOL_ENTRY(Joker, MAX_ACTIVE_JOKERS);
|
||||
POOL_ENTRY(JokerObject, MAX_ACTIVE_JOKERS);
|
||||
POOL_ENTRY(Card, MAX_CARDS);
|
||||
POOL_ENTRY(CardObject, MAX_CARDS_ON_SCREEN);
|
||||
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
|
||||
# Run this from the root directory of the project, not the scripts directory
|
||||
POOL_DEF_FILE='./include/pools.def'
|
||||
ELF_FILE='./build/balatro-gba.elf'
|
||||
ELF_FILE='./build/balatro.elf'
|
||||
READELF='/opt/devkitpro/devkitARM/bin/arm-none-eabi-readelf'
|
||||
|
||||
get_pool_names() {
|
||||
|
||||
Reference in New Issue
Block a user