mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
60 lines
723 B
C++
60 lines
723 B
C++
#ifndef __MOCKS_C64_H__
|
|
#define __MOCKS_C64_H__
|
|
|
|
/* Network connection type */
|
|
enum
|
|
{
|
|
NONE,
|
|
CONNECT,
|
|
MASTER,
|
|
CLIENT
|
|
};
|
|
|
|
class C64
|
|
{
|
|
public:
|
|
C64()
|
|
{
|
|
this->have_a_break = false;
|
|
}
|
|
|
|
void Pause()
|
|
{
|
|
this->have_a_break = true;
|
|
}
|
|
|
|
void Resume()
|
|
{
|
|
this->have_a_break = false;
|
|
}
|
|
|
|
bool IsPaused()
|
|
{
|
|
return this->have_a_break;
|
|
}
|
|
|
|
void startFakeKeySequence(const char *what)
|
|
{
|
|
printf("Faking %s\n", what);
|
|
}
|
|
|
|
void LoadSnapshot(const char *name)
|
|
{
|
|
printf("Loading savegame %s\n", name);
|
|
}
|
|
|
|
void SaveSnapshot(const char *name)
|
|
{
|
|
printf("Saving savegame %s\n", name);
|
|
}
|
|
|
|
int network_connection_type;
|
|
|
|
private:
|
|
bool have_a_break;
|
|
};
|
|
|
|
extern C64 *TheC64;
|
|
|
|
#endif /*__MOCKS_C64_H__ */
|