3c23746e4b
Change CMakeLists.txt to use globs and pkg-config
...
NOTE: libtonc does not have a pkg-config file packaged in devkitpro. You
must write one and place it in
$DEVKITPRO/portlibs/gba/lib/pkgconfig/libtonc.pc
2024-03-11 02:17:58 -06:00
661fd32ba4
Change debug::puts to use raw char* and copy
...
In order to handle the self-assign case, string::operator= moves the
string, which may copy the string in reverse. The MGBA string register
does not allow this I believe. In order to avoid this, it now uses a raw
character buffer and is copied using string_view::copy.
string_view::copy will always copy the string forward.
2024-03-07 15:58:51 -07:00
86e92e42e5
Update MTL submodule
2024-03-07 15:58:12 -07:00
6a6a114fed
Change debug::puts to use string_view instead of const char*
2024-03-07 14:27:44 -07:00
2f8eb0775f
Update MTL submodule
2024-03-07 14:27:19 -07:00
ca363f685c
Update MTL submodule
2024-03-06 23:51:12 -07:00
b7663d37f5
Change debug registers to use references instead of pointers
2024-03-04 21:18:45 -07:00
b088b7499d
Change debug::string to use MTL string instead of C strings
2024-03-04 21:17:16 -07:00
e0f06fd2c2
Fix missing pragma once in debug.hpp
2024-03-04 21:06:32 -07:00
d1e2c7be71
Add debug CXX flags, disable exceptions
2024-03-04 21:05:41 -07:00
898112a9f4
Build MTL and ETL in project, update MTL submodule
2024-03-04 21:02:07 -07:00
900afd55fd
Add MTL submodule
2024-03-04 19:51:56 -07:00
a469e58a06
Add ETL submodule
2024-03-04 19:50:37 -07:00
cc454bba24
Test MGBA logging
2024-02-29 16:59:32 -07:00
b33aadf3bb
Add MGBA debug logging to build
2024-02-29 16:59:07 -07:00
88a759aec1
Add MGBA debug logging w/ puts
...
MGBA debugging must be enabled using debug::open and disabled using
debug::close. This commit adds logging through debug::puts. TODO: add
logging using debug::printf and debug::write.
2024-02-29 16:57:04 -07:00
53aca1cae7
Display bitmap image instead of gradient colors
2024-02-22 18:22:25 -07:00
3eee7b9240
Change test image to store data as uint16
2024-02-22 18:16:58 -07:00
6a056ae336
Add graphics bin to include directories and fix include scope.
2024-02-22 17:52:00 -07:00
921f9f7d4a
Add test image to CMake build
2024-02-22 17:45:47 -07:00
c40d88477c
Add test image grit file and grit output
2024-02-22 17:43:03 -07:00
c688ab58e1
Add test image
2024-02-22 17:06:07 -07:00
5b14fdb0ac
Display color gradient from black->RGB on separate lines
2024-02-22 16:03:09 -07:00
3fa268e2cd
Set display mode and busy-loop VSync
2024-02-22 12:58:52 -07:00
6af1386772
Add main.cpp
2024-02-22 12:25:55 -07:00
c48c8c5aa8
Add CMakeLists.txt
2024-02-22 11:55:55 -07:00
614dac9f06
Add GBA files and build artifacts to .gitignore
2024-02-22 11:47:28 -07:00
8772edde49
Initial commit
2024-02-22 11:49:38 -07:00