realtime clock
This commit is contained in:
@@ -52,12 +52,6 @@ Color ne_processColor(unsigned int color) {
|
||||
return GetColor(color);
|
||||
}
|
||||
|
||||
double ne_timeProc(void *_) {
|
||||
(void)_;
|
||||
double t = GetTime();
|
||||
return (int)(t*100) / 100.0;
|
||||
}
|
||||
|
||||
int keycode_to_oc(int keycode) {
|
||||
switch (keycode) {
|
||||
case KEY_NULL:
|
||||
@@ -561,8 +555,6 @@ int main(int argc, char **argv) {
|
||||
ctx.alloc = ne_sandbox_alloc;
|
||||
}
|
||||
|
||||
ctx.time = ne_timeProc;
|
||||
|
||||
SetConfigFlags(FLAG_WINDOW_RESIZABLE);
|
||||
InitWindow(800, 600, "NeoNucleus Test Emulator");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user