Commit Graph

2 Commits

Author SHA1 Message Date
Paul Cercueil
6ea25ff3c7
samples: Fix dual inclusion of romdisk file
The romdisk is automatically initialized when linked, and does not have
to be initialized in any way in C code. Doing so results in multiple
inclusions of the romdisk file.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2026-06-27 12:14:33 +02:00
GPF
0d1179808f Add nehe06_dt Dreamcast texture sample
Add a Dreamcast GLdc sample that loads a .dt texture from romdisk.

This adds a new nehe06_dt sample based on the existing NeHe cube demo, but loading a Dreamcast .dt texture directly from romdisk instead of the older texture formats.

Changes:
- add samples/nehe06_dt/main.c
- add samples/nehe06_dt/romdisk/NeHe.dt
- register the sample in CMakeLists.txt

The sample is useful for checking GLdc texture loading with Dreamcast-native .dt assets and for comparing the output against the source artwork on hardware.
2026-06-07 00:33:55 +00:00