Recent content by Kirbedev

  1. Kirbedev

    Homebrew Drawing issues with my GBA Program

    In the end I just used Butano with a custom .h file that defined some addresses. Everything works now. Thanks for the help though! P.S. You have no idea how good it feels to use C++ again after hours of fumbling away in C
  2. Kirbedev

    Homebrew Drawing issues with my GBA Program

    Strange... it's valid now, but compiling the program raises a number of errors: C:\devkitPro\libnds\include\nds\dma.h: In function 'dmaFillWords': C:\devkitPro\libnds\include\nds\dma.h:216:9: warning: implicit declaration of function 'DMA_FILL'; did you mean 'DMA_FIFO'...
  3. Kirbedev

    Homebrew Drawing issues with my GBA Program

    Thanks for the response. I included ndstypes (installed libnds from the graphic devkitpro installer) but it says dmaFillHalfWords is undefined. When I highlight it in visual studio, it says it's an int, rather than an errorType. What am I missing?
  4. Kirbedev

    Homebrew Drawing issues with my GBA Program

    Hello! I really appreciate the response, and I apologize for taking so long to reply. The part I am struggling with is what I need to define and use to set a specific pixel to a specific color. While Tonc goes into great detail about how this stuff works, it doesn't seem to specify how a pixel...
  5. Kirbedev

    Homebrew Drawing issues with my GBA Program

    Not sure if this belongs here but I am having an issues with devkitpro and my gba program. I created a function in my `.h` file, which looks like this: void draw_rect_f(int x, int y, int w, int h, int color) { // Draw a filled rectangle for (int i = 0; i < w; i++) { for (int j =...