copy all local files to repo
cp/m files, sprites, circuit design
This commit is contained in:
17
z80screentest/spriteconvert/program.cpp
Normal file
17
z80screentest/spriteconvert/program.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <SDL2/SDL.h>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
||||
//initialize SDL2
|
||||
if (SDL_Init() < 0) {
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Init failed: %s", SDL_GetError());
|
||||
SDL_Quit();
|
||||
return 3;
|
||||
};
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user