\hypertarget{main_8c}{
\section{main.c File Reference}
\label{main_8c}\index{main.c@{main.c}}
}
{\tt \#include $<$pspkernel.h$>$}\par
{\tt \#include $<$pspdebug.h$>$}\par
{\tt \#include $<$pspsdk.h$>$}\par
{\tt \#include $<$stdlib.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include $<$unistd.h$>$}\par
{\tt \#include $<$pspdisplay.h$>$}\par
{\tt \#include $<$pspnet\_\-inet.h$>$}\par
{\tt \#include $<$pspnet\_\-apctl.h$>$}\par
{\tt \#include $<$pspnet\_\-resolver.h$>$}\par
{\tt \#include $<$psputility.h$>$}\par
{\tt \#include $<$netinet/in.h$>$}\par
{\tt \#include $<$kubridge.h$>$}\par
{\tt \#include $<$sys/select.h$>$}\par
{\tt \#include $<$pspctrl.h$>$}\par
{\tt \#include $<$errno.h$>$}\par
{\tt \#include $<$math.h$>$}\par
{\tt \#include $<$pspgu.h$>$}\par
{\tt \#include $<$pspgum.h$>$}\par
{\tt \#include $<$pspjpeg.h$>$}\par
{\tt \#include $<$oslib/oslib.h$>$}\par
{\tt \#include \char`\"{}lua.h\char`\"{}}\par
{\tt \#include \char`\"{}lauxlib.h\char`\"{}}\par
{\tt \#include \char`\"{}mikmod.h\char`\"{}}\par
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{main_8c_3cb9f0894fab1c8fbb0753c9c7c2a8d9}{printf}~pspDebugScreenPrintf
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hyperlink{main_8c_9896f109fc230f26bd20c188b5d52ede}{PSP\_\-MODULE\_\-INFO} (\char`\"{}Luamin\char`\"{}, 0, 0, 1)
\item 
\hyperlink{main_8c_e2bafcad228c85d900267ab1c67db868}{PSP\_\-MAIN\_\-THREAD\_\-ATTR} (PSP\_\-THREAD\_\-ATTR\_\-USER$|$PSP\_\-THREAD\_\-ATTR\_\-VFPU)
\item 
\hyperlink{main_8c_27e6350fa64a9612c93eff44c05efebe}{PSP\_\-HEAP\_\-SIZE\_\-KB} (-2 $\ast$1024)
\item 
void \hyperlink{main_8c_804f8a8e407a63e901505ec6ffe06193}{screen\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_3ec0b3e6fe14daef380a420996d48fb2}{image\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_57f8a6e75d1423fd7a3efba9e95fb666}{color\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_d347ac105307166df67115597dcebd4a}{timer\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_2873e172025381b28d67fcbf3803ca45}{control\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_c231bf9affd15ddcefc01c7bfa5528e7}{lua3d\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_fd8a10bfef27d3d7347e3eb5d080db27}{sys\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_a219358600a2227980363f45faf06cfe}{sound\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_2e1c8d8ddc2384c008972f4c8f5dd563}{net\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_7794537582d506c09a0520305d68844e}{font\_\-init} (\hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L})
\item 
void \hyperlink{main_8c_2d3e00bff2ed3133689daaeec200d4bb}{StopMp3} (void)
\item 
void \hyperlink{main_8c_5e7a5746cfd0d4432d69d986144f0116}{ShowMessageDialog} (const char $\ast$message, int enableYesno)
\item 
void \hyperlink{main_8c_6cb550017406c9323e354377d3db597e}{runebootfile} (char $\ast$\hyperlink{main_8c_1ecbbe01a19f7d48573b6599b1e426a8}{path})
\item 
int \hyperlink{main_8c_9436b2a02930fffa57f0dbee0c854f52}{exit\_\-callback} (int arg1, int arg2, void $\ast$common)
\item 
static int \hyperlink{main_8c_160a9675969621211612592813c9db0b}{CallbackThread} (SceSize args, void $\ast$argp)
\item 
static int \hyperlink{main_8c_4e6d734821d9502ef7546f680e1eba90}{SetupCallbacks} (void)
\item 
static SceUID \hyperlink{main_8c_a2e28443ddf10b42c76c43e1648df3e9}{driverint} (char $\ast$\hyperlink{main_8c_1ecbbe01a19f7d48573b6599b1e426a8}{path})
\item 
int \hyperlink{main_8c_840291bc02cba5474a4cb46a9b9566fe}{main} (void)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
static \hyperlink{structlua__State}{lua\_\-State} $\ast$ \hyperlink{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{L}
\item 
static char \hyperlink{main_8c_1ecbbe01a19f7d48573b6599b1e426a8}{path} \mbox{[}256\mbox{]}
\item 
static char \hyperlink{main_8c_fbcf0d4cc2c35d0661015f1f0648bca6}{script} \mbox{[}256\mbox{]}
\item 
static char \hyperlink{main_8c_d2ecf6a8a64fbb813a1cd2fb744b2306}{driver} \mbox{[}256\mbox{]}
\item 
static char \hyperlink{main_8c_56e649e1cdf86d8e68045478a7d35a6c}{eboot} \mbox{[}256\mbox{]}
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{main_8c_3cb9f0894fab1c8fbb0753c9c7c2a8d9}{
\index{main.c@{main.c}!printf@{printf}}
\index{printf@{printf}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define printf~pspDebugScreenPrintf}}
\label{main_8c_3cb9f0894fab1c8fbb0753c9c7c2a8d9}




\subsection{Function Documentation}
\hypertarget{main_8c_160a9675969621211612592813c9db0b}{
\index{main.c@{main.c}!CallbackThread@{CallbackThread}}
\index{CallbackThread@{CallbackThread}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int CallbackThread (SceSize {\em args}, \/  void $\ast$ {\em argp})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_160a9675969621211612592813c9db0b}


\hypertarget{main_8c_57f8a6e75d1423fd7a3efba9e95fb666}{
\index{main.c@{main.c}!color\_\-init@{color\_\-init}}
\index{color\_\-init@{color\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void color\_\-init ({\bf L})}}
\label{main_8c_57f8a6e75d1423fd7a3efba9e95fb666}


\hypertarget{main_8c_2873e172025381b28d67fcbf3803ca45}{
\index{main.c@{main.c}!control\_\-init@{control\_\-init}}
\index{control\_\-init@{control\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void control\_\-init ({\bf L})}}
\label{main_8c_2873e172025381b28d67fcbf3803ca45}


\hypertarget{main_8c_a2e28443ddf10b42c76c43e1648df3e9}{
\index{main.c@{main.c}!driverint@{driverint}}
\index{driverint@{driverint}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static SceUID driverint (char $\ast$ {\em path})\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_a2e28443ddf10b42c76c43e1648df3e9}


\hypertarget{main_8c_9436b2a02930fffa57f0dbee0c854f52}{
\index{main.c@{main.c}!exit\_\-callback@{exit\_\-callback}}
\index{exit\_\-callback@{exit\_\-callback}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int exit\_\-callback (int {\em arg1}, \/  int {\em arg2}, \/  void $\ast$ {\em common})}}
\label{main_8c_9436b2a02930fffa57f0dbee0c854f52}


\hypertarget{main_8c_7794537582d506c09a0520305d68844e}{
\index{main.c@{main.c}!font\_\-init@{font\_\-init}}
\index{font\_\-init@{font\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void font\_\-init ({\bf L})}}
\label{main_8c_7794537582d506c09a0520305d68844e}


\hypertarget{main_8c_3ec0b3e6fe14daef380a420996d48fb2}{
\index{main.c@{main.c}!image\_\-init@{image\_\-init}}
\index{image\_\-init@{image\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void image\_\-init ({\bf L})}}
\label{main_8c_3ec0b3e6fe14daef380a420996d48fb2}


\hypertarget{main_8c_c231bf9affd15ddcefc01c7bfa5528e7}{
\index{main.c@{main.c}!lua3d\_\-init@{lua3d\_\-init}}
\index{lua3d\_\-init@{lua3d\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void lua3d\_\-init ({\bf L})}}
\label{main_8c_c231bf9affd15ddcefc01c7bfa5528e7}


\hypertarget{main_8c_840291bc02cba5474a4cb46a9b9566fe}{
\index{main.c@{main.c}!main@{main}}
\index{main@{main}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (void)}}
\label{main_8c_840291bc02cba5474a4cb46a9b9566fe}


\hypertarget{main_8c_2e1c8d8ddc2384c008972f4c8f5dd563}{
\index{main.c@{main.c}!net\_\-init@{net\_\-init}}
\index{net\_\-init@{net\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void net\_\-init ({\bf L})}}
\label{main_8c_2e1c8d8ddc2384c008972f4c8f5dd563}


\hypertarget{main_8c_27e6350fa64a9612c93eff44c05efebe}{
\index{main.c@{main.c}!PSP\_\-HEAP\_\-SIZE\_\-KB@{PSP\_\-HEAP\_\-SIZE\_\-KB}}
\index{PSP\_\-HEAP\_\-SIZE\_\-KB@{PSP\_\-HEAP\_\-SIZE\_\-KB}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}PSP\_\-HEAP\_\-SIZE\_\-KB (-2 $\ast$ {\em 1024})}}
\label{main_8c_27e6350fa64a9612c93eff44c05efebe}


\hypertarget{main_8c_e2bafcad228c85d900267ab1c67db868}{
\index{main.c@{main.c}!PSP\_\-MAIN\_\-THREAD\_\-ATTR@{PSP\_\-MAIN\_\-THREAD\_\-ATTR}}
\index{PSP\_\-MAIN\_\-THREAD\_\-ATTR@{PSP\_\-MAIN\_\-THREAD\_\-ATTR}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}PSP\_\-MAIN\_\-THREAD\_\-ATTR (PSP\_\-THREAD\_\-ATTR\_\-USER$|$ {\em PSP\_\-THREAD\_\-ATTR\_\-VFPU})}}
\label{main_8c_e2bafcad228c85d900267ab1c67db868}


\hypertarget{main_8c_9896f109fc230f26bd20c188b5d52ede}{
\index{main.c@{main.c}!PSP\_\-MODULE\_\-INFO@{PSP\_\-MODULE\_\-INFO}}
\index{PSP\_\-MODULE\_\-INFO@{PSP\_\-MODULE\_\-INFO}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}PSP\_\-MODULE\_\-INFO (\char`\"{}Luamin\char`\"{}, \/  0, \/  0, \/  1)}}
\label{main_8c_9896f109fc230f26bd20c188b5d52ede}


\hypertarget{main_8c_6cb550017406c9323e354377d3db597e}{
\index{main.c@{main.c}!runebootfile@{runebootfile}}
\index{runebootfile@{runebootfile}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void runebootfile (char $\ast$ {\em path})}}
\label{main_8c_6cb550017406c9323e354377d3db597e}


\hypertarget{main_8c_804f8a8e407a63e901505ec6ffe06193}{
\index{main.c@{main.c}!screen\_\-init@{screen\_\-init}}
\index{screen\_\-init@{screen\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void screen\_\-init ({\bf L})}}
\label{main_8c_804f8a8e407a63e901505ec6ffe06193}


\hypertarget{main_8c_4e6d734821d9502ef7546f680e1eba90}{
\index{main.c@{main.c}!SetupCallbacks@{SetupCallbacks}}
\index{SetupCallbacks@{SetupCallbacks}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}static int SetupCallbacks (void)\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_4e6d734821d9502ef7546f680e1eba90}


\hypertarget{main_8c_5e7a5746cfd0d4432d69d986144f0116}{
\index{main.c@{main.c}!ShowMessageDialog@{ShowMessageDialog}}
\index{ShowMessageDialog@{ShowMessageDialog}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void ShowMessageDialog (const char $\ast$ {\em message}, \/  int {\em enableYesno})}}
\label{main_8c_5e7a5746cfd0d4432d69d986144f0116}


\hypertarget{main_8c_a219358600a2227980363f45faf06cfe}{
\index{main.c@{main.c}!sound\_\-init@{sound\_\-init}}
\index{sound\_\-init@{sound\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void sound\_\-init ({\bf L})}}
\label{main_8c_a219358600a2227980363f45faf06cfe}


\hypertarget{main_8c_2d3e00bff2ed3133689daaeec200d4bb}{
\index{main.c@{main.c}!StopMp3@{StopMp3}}
\index{StopMp3@{StopMp3}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void StopMp3 (void)}}
\label{main_8c_2d3e00bff2ed3133689daaeec200d4bb}


\hypertarget{main_8c_fd8a10bfef27d3d7347e3eb5d080db27}{
\index{main.c@{main.c}!sys\_\-init@{sys\_\-init}}
\index{sys\_\-init@{sys\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void sys\_\-init ({\bf L})}}
\label{main_8c_fd8a10bfef27d3d7347e3eb5d080db27}


\hypertarget{main_8c_d347ac105307166df67115597dcebd4a}{
\index{main.c@{main.c}!timer\_\-init@{timer\_\-init}}
\index{timer\_\-init@{timer\_\-init}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void timer\_\-init ({\bf L})}}
\label{main_8c_d347ac105307166df67115597dcebd4a}




\subsection{Variable Documentation}
\hypertarget{main_8c_d2ecf6a8a64fbb813a1cd2fb744b2306}{
\index{main.c@{main.c}!driver@{driver}}
\index{driver@{driver}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf driver}\mbox{[}256\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_d2ecf6a8a64fbb813a1cd2fb744b2306}


\hypertarget{main_8c_56e649e1cdf86d8e68045478a7d35a6c}{
\index{main.c@{main.c}!eboot@{eboot}}
\index{eboot@{eboot}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf eboot}\mbox{[}256\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_56e649e1cdf86d8e68045478a7d35a6c}


\hypertarget{main_8c_62f94dfc0036bec0c14106c2f15caf3e}{
\index{main.c@{main.c}!L@{L}}
\index{L@{L}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf lua\_\-State}$\ast$ {\bf L}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_62f94dfc0036bec0c14106c2f15caf3e}


\hypertarget{main_8c_1ecbbe01a19f7d48573b6599b1e426a8}{
\index{main.c@{main.c}!path@{path}}
\index{path@{path}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf path}\mbox{[}256\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_1ecbbe01a19f7d48573b6599b1e426a8}


\hypertarget{main_8c_fbcf0d4cc2c35d0661015f1f0648bca6}{
\index{main.c@{main.c}!script@{script}}
\index{script@{script}!main.c@{main.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}char {\bf script}\mbox{[}256\mbox{]}\hspace{0.3cm}{\tt  \mbox{[}static\mbox{]}}}}
\label{main_8c_fbcf0d4cc2c35d0661015f1f0648bca6}


