mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-04-27 04:21:52 +00:00
* `RendererContext` abstract class * Delete rt64_layer * Implement renderer creation callback * Make `GraphicsConfig` an abstract class * Remove rt64 * Add renderer callback to `ultramodern::set_callbacks` * Fix rebase * Change setup_result's visibility to protected * Declare abstract `is_equal` method instead of operators * Various fixes * Fix issues * trigger_config_action * Move GraphicsConfig back to ultramodern * Change `update_config` to return if any changes were applied * Rename renderer_wrapper to renderer_context * Remove SDL2 and other libraries * Allow registering get_graphics_api_name * Move WindowHandle to renderer namespace * Comments explaining which callbacks are required * Fix CI * Update readme * `ULTRAMODERN_QUICK_EXIT` macro * Remove --config from readme * Add `add_compile_definitions(NOMINMAX)`
13 lines
No EOL
214 B
C++
13 lines
No EOL
214 B
C++
#ifdef _WIN32
|
|
|
|
#include <Windows.h>
|
|
|
|
#include "ultramodern/ultra64.h"
|
|
#include "ultramodern/ultramodern.hpp"
|
|
|
|
extern "C" unsigned int sleep(unsigned int seconds) {
|
|
Sleep(seconds * 1000);
|
|
return 0;
|
|
}
|
|
|
|
#endif |