mirror of
https://github.com/advancingdragon/Dirtbox.git
synced 2024-05-16 20:00:19 -04:00
22 lines
379 B
C++
22 lines
379 B
C++
// Dirtbox.cpp : Defines the entry point for the console application.
|
|
//
|
|
|
|
#include "Types.h"
|
|
#include "Xbe.h"
|
|
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
if (argc < 3)
|
|
{
|
|
printf("Usage: Dirtbox input output\n");
|
|
return 1;
|
|
}
|
|
Xbe XbeFile(argv[1]);
|
|
XbeFile.WriteExe(argv[2]);
|
|
return 0;
|
|
}
|
|
|