summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPCore.h
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-06-07 11:06:40 +0000
committerhrydgard <hrydgard@gmail.com>2009-06-07 11:06:40 +0000
commitbb06a53e28ee3403e92e42aeba303ac69aecf3d6 (patch)
tree2621a68067ad0a6b29653c2b6f62c339ab579442 /Source/Core/DSPCore/Src/DSPCore.h
parent89cd1a4a76b02f24a9477c4c5b5db84d6565b9b2 (diff)
DSP LLE: Just some renaming and cleanup. Prepared for proper base address support in disassembly. Added a "DebugInterface" for the DSP which would allow us to hook up a CodeView .. although CoreView currently doesn't have any support for variable-length instructions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3351 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPCore.h')
-rw-r--r--Source/Core/DSPCore/Src/DSPCore.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/Source/Core/DSPCore/Src/DSPCore.h b/Source/Core/DSPCore/Src/DSPCore.h
index fa0232929b..4d0537adf4 100644
--- a/Source/Core/DSPCore/Src/DSPCore.h
+++ b/Source/Core/DSPCore/Src/DSPCore.h
@@ -26,9 +26,6 @@
#ifndef _DSPCORE_H
#define _DSPCORE_H
-//namespace DSPCore
-//{
-
#define DSP_IRAM_BYTE_SIZE 0x2000
#define DSP_IRAM_SIZE 0x1000
#define DSP_IRAM_MASK 0x0fff
@@ -83,19 +80,14 @@ struct SDSP
extern SDSP g_dsp;
-void gdsp_init();
-void gdsp_reset();
-void gdsp_shutdown();
-
-bool gdsp_load_irom(const char *filename);
-bool gdsp_load_coef(const char *filename);
+bool DSPCore_Init(const char *irom_filename, const char *coef_filename);
+void DSPCore_Reset();
+void DSPCore_Shutdown(); // Frees all allocated memory.
-void gdsp_check_external_int();
-void gdsp_check_exceptions();
+void DSPCore_CheckExternalInterrupt();
+void DSPCore_CheckExceptions();
// sets a flag in the pending exception register.
-void gdsp_generate_exception(u8 level);
-
-//} // namespace
+void DSPCore_SetException(u8 level);
#endif // _DSPCORE_H