diff options
author | pixel <pixel> | 2003-06-20 14:08:16 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-06-20 14:08:16 +0000 |
commit | 30f218eb43414407ff8fad136ac1b14d419c29b5 (patch) | |
tree | 1e4c1dd71272f861daf90baced75fa604cdbf168 /str-player.cpp | |
parent | 7fc9c6dfbef57331c8b5eae0943f3fe95f2e63e1 (diff) |
Compiling again
Diffstat (limited to 'str-player.cpp')
-rw-r--r-- | str-player.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/str-player.cpp b/str-player.cpp index 3343881..b1a814a 100644 --- a/str-player.cpp +++ b/str-player.cpp @@ -8,10 +8,11 @@ #include "generic.h" #include "cdutils.h" #include "psxdev/xadecode.h" +#include "Main.h" /* - From the SONY documentation: + From the documentation: 32 bytes header: @@ -67,6 +68,7 @@ void mixaudio(void *unused, Uint8 *stream, int len) { audio_len -= len; } +CODE_BEGINS void process_one_sector(Handle * f) { Byte sector[2336]; STR_Header * h; @@ -190,7 +192,7 @@ void process_one_sector(Handle * f) { // printm(M_BARE, "---------------------------------\n\n"); } -int main(int argc, char ** argv) { +virtual int startup() throw (GeneralException) { Handle * file = 0; int c; @@ -232,4 +234,6 @@ int main(int argc, char ** argv) { SDL_CloseAudio(); SDL_Quit(); + return 0; } +CODE_ENDS |